doc: add missing link to setrlimit(2)

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2025-12-27 13:06:56 +01:00
1 parent f6c69eb108
commit a2d45e8f5e
1 file changed
+4 -3
+4 -3
View File
@@ -129,9 +129,10 @@ omitted. `RESOURCE` is the lower-case `RLIMIT_` string constants from
`setrlimit(2)`, without prefix. E.g. to set `RLIMIT_CPU`, use `cpu`. `setrlimit(2)`, without prefix. E.g. to set `RLIMIT_CPU`, use `cpu`.
LIMIT is an integer that depends on the resource being modified, see LIMIT is an integer that depends on the resource being modified, see
the man page, or the kernel `/proc/PID/limits` file, for details. [setrlimit(2)](https://man7.org/linux/man-pages/man2/setrlimit.2.html),
Finit versions before v3.1 used `infinity` for `unlimited`, which is or the kernel `/proc/PID/limits` file, for details. Finit versions
still supported, albeit deprecated. before v3.1 used `infinity` for `unlimited`, which is still supported,
albeit deprecated.
# No process is allowed more than 8MB of address space # No process is allowed more than 8MB of address space
rlimit hard as 8388608 rlimit hard as 8388608