]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fallocate: forbid --posix with special options
authorChris Hofstaedtler <zeha@debian.org>
Tue, 21 Jan 2025 17:58:48 +0000 (18:58 +0100)
committerChris Hofstaedtler <chris@hofstaedtler.name>
Wed, 22 Jan 2025 18:26:50 +0000 (19:26 +0100)
commitb85feb999c505222d4815638344c8883d5e4ab58
treebbf625b74417e703b6774bbf86410045913caf4c
parente0f63c2f1d84030ee0fd367900336bb3db84dd78
fallocate: forbid --posix with special options

Option --posix picks posix_fallocate, which does not have a
mode flag. Forbid using any options that set mode flags when
also giving --posix.

Signed-off-by: Chris Hofstaedtler <zeha@debian.org>
sys-utils/fallocate.1.adoc
sys-utils/fallocate.c