From 3b807d4f63989666a6688f614bdbbcd35eb92dcb Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Sun, 13 Jul 2025 01:44:11 +0200 Subject: [PATCH] man/man2const/F_{GET,ADD}_SEALS.2const: Tweak after split, and add link page Signed-off-by: Alejandro Colomar --- man/man2const/F_ADD_SEALS.2const | 1 + man/man2const/F_GET_SEALS.2const | 15 +++++---------- 2 files changed, 6 insertions(+), 10 deletions(-) create mode 100644 man/man2const/F_ADD_SEALS.2const diff --git a/man/man2const/F_ADD_SEALS.2const b/man/man2const/F_ADD_SEALS.2const new file mode 100644 index 000000000..385a99a46 --- /dev/null +++ b/man/man2const/F_ADD_SEALS.2const @@ -0,0 +1 @@ +.so man2const/F_GET_SEALS.2const diff --git a/man/man2const/F_GET_SEALS.2const b/man/man2const/F_GET_SEALS.2const index 8268c8d60..175025c10 100644 --- a/man/man2const/F_GET_SEALS.2const +++ b/man/man2const/F_GET_SEALS.2const @@ -16,7 +16,7 @@ Standard C library .B #include .P .BI "int fcntl(int " fd ", F_ADD_SEALS, int " arg ); -.BI "int fcntl(int " fd ", F_GET_SEALS); +.BI "int fcntl(int " fd ", F_GET_SEALS);" .fi .SH DESCRIPTION File seals limit the set of allowed operations on a given file. @@ -47,7 +47,7 @@ Thus, all open file descriptors referring to the same inode share the same set of seals. Furthermore, seals can never be removed, only added. .TP -.BR F_ADD_SEALS "\~(\f[I]int\f[]; since Linux 3.17)" +.B F_ADD_SEALS Add the seals given in the bit-mask argument .I arg to the set of seals of the inode referred to by the file descriptor @@ -65,7 +65,7 @@ In order to place a seal, the file descriptor .I fd must be writable. .TP -.BR F_GET_SEALS "\~(\f[I]void\f[]; since Linux 3.17)" +.B F_GET_SEALS Return (as the function result) the current set of seals of the inode referred to by .IR fd . @@ -212,12 +212,7 @@ and includes an unrecognized sealing bit. .TP .B EINVAL -.I op -is -.B F_ADD_SEALS -or -.B F_GET_SEALS -and the filesystem containing the inode referred to by +The filesystem containing the inode referred to by .I fd does not support sealing. .TP @@ -234,6 +229,6 @@ or the current set of seals on the file already includes Linux. .\" FIXME . Once glibc adds support, add a note about FTM requirements .SH HISTORY -Linux. +Linux 3.17. .SH SEE ALSO .BR fcntl (2) -- 2.47.2