Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148724868
D41109.1788277219.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D41109.1788277219.diff
View Options
diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2
--- a/lib/libc/sys/ptrace.2
+++ b/lib/libc/sys/ptrace.2
@@ -164,17 +164,22 @@
.Fn ptrace
requests from targeting processes with the real user identifier different
from the real user identifier of the caller.
-The requests return
-.Er ESRCH
-if policy is not met.
+These requests will fail with error
+.Er ESRCH .
.It Dv security.bsd.see_other_gids
Setting this sysctl to zero value disallows
.Fn ptrace
-requests from process belonging to a group that is not also one of
-the group of the target process.
-The requests return
-.Er ESRCH
-if policy is not met.
+requests from processes belonging to a group that is not also one of the group
+of the target process.
+These requests will fail with error
+.Er ESRCH .
+.It Dv security.bsd.see_jail_proc
+Setting this sysctl to zero value disallows
+.Fn ptrace
+requests from processes belonging to a different jail than that of the target
+process, even if the former jail is an ancestor of the latter.
+These requests will fail with error
+.Er ESRCH .
.It Dv securelevel and init
The
.Xr init 1
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Sep 1, 3:40 PM (13 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29498095
Default Alt Text
D41109.1788277219.diff (1 KB)
Attached To
Mode
D41109: ptrace(2): Disabling: Describe influence of security.bsd.see_jail_proc
Attached
Detach File
Event Timeline
Log In to Comment