aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2019-11-05 10:31:39 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2019-11-05 10:31:39 +0100
commit1373b98190de9ab77c40c6fe8b6fc85e6157addc (patch)
tree562f47ae60e8430d59711e6bde64b73bdb4e835c
parent556e715a8a96d6855255f16de2cf9c8b2d9bd6af (diff)
downloadman-pages-1373b98190de9ab77c40c6fe8b6fc85e6157addc.tar.gz
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>
-rw-r--r--man2/ioctl_iflags.211
1 files changed, 11 insertions, 0 deletions
diff --git a/man2/ioctl_iflags.2 b/man2/ioctl_iflags.2
index 9c77b08b9f..fb3fbb112b 100644
--- a/man2/ioctl_iflags.2
+++ b/man2/ioctl_iflags.2
@@ -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),