Linux-man Archive on
 help / color / Atom feed
* [patch] open.2: Document fs.protected_fifos and fs.protected_regular
@ 2019-09-29  3:01 Joseph C. Sible
  0 siblings, 0 replies; only message in thread
From: Joseph C. Sible @ 2019-09-29  3:01 UTC (permalink / raw)
  To: mtk.manpages; +Cc: linux-man

The sysctls fs.protected_fifos and fs.protected_regular can cause
open(2) to fail with EACCES (see Documentation/sysctl/fs.txt for

Signed-off-by: Joseph C. Sible <>
 man2/open.2 | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/man2/open.2 b/man2/open.2
index b0f485b..9ee42b2 100644
--- a/man2/open.2
+++ b/man2/open.2
@@ -958,6 +958,16 @@ is not allowed.
 (See also
 .BR path_resolution (7).)
+.\" commit 30aba6656f61ed44cba445a3c0d38b296fa9e8f5
+is specified, the fs.protected_fifos or fs.protected_regular sysctl is
+enabled, the file already exists and is a FIFO or regular file, the
+owner of the file is neither the current user nor the owner of the
+containing directory, and the containing directory is both world- or
+group-writable and sticky.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-29  3:01 [patch] open.2: Document fs.protected_fifos and fs.protected_regular Joseph C. Sible

Linux-man Archive on

Archives are clonable:
	git clone --mirror linux-man/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-man linux-man/ \
	public-inbox-index linux-man

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone