summaryrefslogtreecommitdiffstats
path: root/man5/proc_pid_personality.5
diff options
context:
space:
mode:
Diffstat (limited to 'man5/proc_pid_personality.5')
-rw-r--r--man5/proc_pid_personality.523
1 files changed, 23 insertions, 0 deletions
diff --git a/man5/proc_pid_personality.5 b/man5/proc_pid_personality.5
new file mode 100644
index 0000000..4dccf0c
--- /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 2023-08-15 "Linux man-pages 6.7"
+.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)