summaryrefslogtreecommitdiffstats
path: root/man/man5/proc_pid_limits.5
diff options
context:
space:
mode:
Diffstat (limited to 'man/man5/proc_pid_limits.5')
-rw-r--r--man/man5/proc_pid_limits.525
1 files changed, 25 insertions, 0 deletions
diff --git a/man/man5/proc_pid_limits.5 b/man/man5/proc_pid_limits.5
new file mode 100644
index 000000000..9e34495a8
--- /dev/null
+++ b/man/man5/proc_pid_limits.5
@@ -0,0 +1,25 @@
+.\" 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_oid_limits 5 (date) "Linux man-pages (unreleased)"
+.SH NAME
+/proc/pid/limits \- resource limits
+.SH DESCRIPTION
+.TP
+.IR /proc/ pid /limits " (since Linux 2.6.24)"
+This file displays the soft limit, hard limit, and units of measurement
+for each of the process's resource limits (see
+.BR getrlimit (2)).
+Up to and including Linux 2.6.35,
+this file is protected to allow reading only by the real UID of the process.
+Since Linux 2.6.36,
+.\" commit 3036e7b490bf7878c6dae952eec5fb87b1106589
+this file is readable by all users on the system.
+.\" FIXME Describe /proc/[pid]/loginuid
+.\" Added in Linux 2.6.11; updating requires CAP_AUDIT_CONTROL
+.\" CONFIG_AUDITSYSCALL
+.SH SEE ALSO
+.BR proc (5)