* [PATCH 1/2] man2: update glibc wrapper status and clean up FIXMEs
@ 2026-01-06 11:26 Simon Essien
2026-01-06 11:26 ` [PATCH 2/2] path_resolution.7: document read-only mounts, ACLs, and immutable files Simon Essien
0 siblings, 1 reply; 3+ messages in thread
From: Simon Essien @ 2026-01-06 11:26 UTC (permalink / raw)
To: alx; +Cc: linux-man, Simon Essien
Update seccomp(2) to reflect that glibc 2.33 added a wrapper.
Update sched_setattr(2) to remove obsolete FIXME markers, as the
lack of a glibc wrapper is already correctly noted in the text.
Signed-off-by: Simon Essien <champbreed1@gmail.com>
---
man/man2/sched_setattr.2 | 5 +----
man/man2/seccomp.2 | 4 ++--
2 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/man/man2/sched_setattr.2 b/man/man2/sched_setattr.2
index 6d5718022..c8010b8fa 100644
--- a/man/man2/sched_setattr.2
+++ b/man/man2/sched_setattr.2
@@ -460,7 +460,6 @@ does not include all CPUs in the system
Linux.
.SH HISTORY
Linux 3.14.
-.\" FIXME . Add glibc version
.SH NOTES
glibc does not provide wrappers for these system calls;
call them using
@@ -482,9 +481,7 @@ provides a superset of the functionality of
and (partially)
.BR getpriority (2).
.SH BUGS
-In Linux versions up to
-.\" FIXME . patch sent to Peter Zijlstra
-3.15,
+In Linux versions up to 3.15,
.BR sched_setattr ()
failed with the error
.B EFAULT
diff --git a/man/man2/seccomp.2 b/man/man2/seccomp.2
index 125794880..685ed4713 100644
--- a/man/man2/seccomp.2
+++ b/man/man2/seccomp.2
@@ -25,7 +25,7 @@ Standard C library
.fi
.P
.IR Note :
-glibc provides no wrapper for
+Before glibc 2.33, glibc provided no wrapper for
.BR seccomp (),
necessitating the use of
.BR syscall (2).
@@ -863,7 +863,7 @@ be determined.
Linux.
.SH HISTORY
Linux 3.17.
-.\" FIXME . Add glibc version
+Glibc 2.33.
.SH NOTES
Rather than hand-coding seccomp filters as shown in the example below,
you may prefer to employ the
--
2.51.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] path_resolution.7: document read-only mounts, ACLs, and immutable files
2026-01-06 11:26 [PATCH 1/2] man2: update glibc wrapper status and clean up FIXMEs Simon Essien
@ 2026-01-06 11:26 ` Simon Essien
0 siblings, 0 replies; 3+ messages in thread
From: Simon Essien @ 2026-01-06 11:26 UTC (permalink / raw)
To: alx; +Cc: linux-man, Simon Essien
Address several FIXMEs by adding brief mentions of:
- EROFS errors on read-only filesystems.
- Access restrictions from filesystem ACLs.
- Access restrictions from immutable file attributes.
Signed-off-by: Simon Essien <champbreed1@gmail.com>
---
man/man7/path_resolution.7 | 18 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)
diff --git a/man/man7/path_resolution.7 b/man/man7/path_resolution.7
index cdf21e1f7..78573f3c2 100644
--- a/man/man7/path_resolution.7
+++ b/man/man7/path_resolution.7
@@ -225,7 +225,12 @@ Similarly, Linux uses the fsgid ("filesystem group ID")
instead of the effective group ID.
See
.BR setfsgid (2).
-.\" FIXME . say something about filesystem mounted read-only ?
+.P
+Even if a process has the necessary permissions to access or
+modify a file, an attempt to modify any part of the filesystem
+will fail with the error
+.B EROFS
+if the filesystem is currently mounted read-only.
.SS Bypassing permission checks: superuser and capabilities
On a traditional UNIX system, the superuser
.RI ( root ,
@@ -256,8 +261,15 @@ The
.B CAP_DAC_READ_SEARCH
capability grants read and search permission
on directories, and read permission on ordinary files.
-.\" FIXME . say something about immutable files
-.\" FIXME . say something about ACLs
+.P
+Beyond the standard permissions, access may also be restricted by
+filesystem-specific ACLs (Access Control Lists) or by
+immutable file attributes.
+See
+.BR acl (5)
+and
+.BR chattr (1)
+for more details.
.SH SEE ALSO
.BR readlink (2),
.BR capabilities (7),
--
2.51.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 1/2] man2: update glibc wrapper status and clean up FIXMEs
@ 2026-01-06 11:39 Simon Essien
0 siblings, 0 replies; 3+ messages in thread
From: Simon Essien @ 2026-01-06 11:39 UTC (permalink / raw)
To: alx; +Cc: linux-man, Simon Essien
Update seccomp(2) to reflect that glibc 2.33 added a wrapper.
Update sched_setattr(2) to remove obsolete FIXME markers, as the
lack of a glibc wrapper is already correctly noted in the text.
Signed-off-by: Simon Essien <champbreed1@gmail.com>
---
man/man2/sched_setattr.2 | 5 +----
man/man2/seccomp.2 | 4 ++--
2 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/man/man2/sched_setattr.2 b/man/man2/sched_setattr.2
index 6d5718022..c8010b8fa 100644
--- a/man/man2/sched_setattr.2
+++ b/man/man2/sched_setattr.2
@@ -460,7 +460,6 @@ does not include all CPUs in the system
Linux.
.SH HISTORY
Linux 3.14.
-.\" FIXME . Add glibc version
.SH NOTES
glibc does not provide wrappers for these system calls;
call them using
@@ -482,9 +481,7 @@ provides a superset of the functionality of
and (partially)
.BR getpriority (2).
.SH BUGS
-In Linux versions up to
-.\" FIXME . patch sent to Peter Zijlstra
-3.15,
+In Linux versions up to 3.15,
.BR sched_setattr ()
failed with the error
.B EFAULT
diff --git a/man/man2/seccomp.2 b/man/man2/seccomp.2
index 125794880..685ed4713 100644
--- a/man/man2/seccomp.2
+++ b/man/man2/seccomp.2
@@ -25,7 +25,7 @@ Standard C library
.fi
.P
.IR Note :
-glibc provides no wrapper for
+Before glibc 2.33, glibc provided no wrapper for
.BR seccomp (),
necessitating the use of
.BR syscall (2).
@@ -863,7 +863,7 @@ be determined.
Linux.
.SH HISTORY
Linux 3.17.
-.\" FIXME . Add glibc version
+Glibc 2.33.
.SH NOTES
Rather than hand-coding seccomp filters as shown in the example below,
you may prefer to employ the
--
2.51.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-01-06 11:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-06 11:26 [PATCH 1/2] man2: update glibc wrapper status and clean up FIXMEs Simon Essien
2026-01-06 11:26 ` [PATCH 2/2] path_resolution.7: document read-only mounts, ACLs, and immutable files Simon Essien
-- strict thread matches above, loose matches on Subject: below --
2026-01-06 11:39 [PATCH 1/2] man2: update glibc wrapper status and clean up FIXMEs Simon Essien
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox