ioctl_iflags.2: Emphasize that FS_IOC_GETFLAGS and FS_IOC_SETFLAGS argument is 'int *'

Reported-by: Robert Edmonds <edmonds@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2019-11-05 10:31:39 +01:00
parent 556e715a8a
commit 1373b98190
1 changed files with 11 additions and 0 deletions

View File

@ -200,6 +200,17 @@ the effective user ID of the caller must match the owner of the file,
or the caller must have the
.BR CAP_FOWNER
capability.
.PP
The type of the argument given to the
.BR FS_IOC_GETFLAGS
and
.BR FS_IOC_SETFLAGS
operations is
.IR "int\ *" ,
notwithstanding the implication in the kernel source file
.I include/uapi/linux/fs.h
that the argument is
.IR "long\ *" .
.SH SEE ALSO
.BR chattr (1),
.BR lsattr (1),