diff options
| -rw-r--r-- | man5/proc.5 | 11 | ||||
| -rw-r--r-- | man5/proc_pid_personality.5 | 23 |
2 files changed, 23 insertions, 11 deletions
diff --git a/man5/proc.5 b/man5/proc.5 index 6a92e2ea42..7eb84b88e9 100644 --- a/man5/proc.5 +++ b/man5/proc.5 @@ -266,17 +266,6 @@ Therefore, it may be desirable to reset the "dumpable" attribute .I after making any desired changes to the process's effective UID or GID. .TP -.IR /proc/ pid /personality " (since Linux 2.6.28)" -.\" commit 478307230810d7e2a753ed220db9066dfdf88718 -This read-only file exposes the process's execution domain, as set by -.BR personality (2). -The value is displayed in hexadecimal notation. -.IP -Permission to access this file is governed by a ptrace access mode -.B PTRACE_MODE_ATTACH_FSCREDS -check; see -.BR ptrace (2). -.TP .IR /proc/ pid /root UNIX and Linux support the idea of a per-process root of the filesystem, set by the diff --git a/man5/proc_pid_personality.5 b/man5/proc_pid_personality.5 new file mode 100644 index 0000000000..49b8f5fdf5 --- /dev/null +++ b/man5/proc_pid_personality.5 @@ -0,0 +1,23 @@ +.\" Copyright (C) 1994, 1995, Daniel Quinlan <quinlan@yggdrasil.com> +.\" Copyright (C) 2002-2008, 2017, Michael Kerrisk <mtk.manpages@gmail.com> +.\" Copyright (C) 2023, Alejandro Colomar <alx@kernel.org> +.\" +.\" SPDX-License-Identifier: GPL-3.0-or-later +.\" +.TH proc_pid_personality 5 (date) "Linux man-pages (unreleased)" +.SH NAME +/proc/pid/personality \- execution domain +.SH DESCRIPTION +.TP +.IR /proc/ pid /personality " (since Linux 2.6.28)" +.\" commit 478307230810d7e2a753ed220db9066dfdf88718 +This read-only file exposes the process's execution domain, as set by +.BR personality (2). +The value is displayed in hexadecimal notation. +.IP +Permission to access this file is governed by a ptrace access mode +.B PTRACE_MODE_ATTACH_FSCREDS +check; see +.BR ptrace (2). +.SH SEE ALSO +.BR proc (5) |
