forked from rpms/glibc
b30ff9539f
Upstream commit: 4bdcc1963bc2b5ba5f8e319e402d9eb2cb6096c1 - manual: make setrlimit() description less ambiguous - manual/stdio: Clarify putc and putwc - malloc: add multi-threaded tests for aligned_alloc/calloc/malloc - malloc: avoid global locks in tst-aligned_alloc-lib.c - resolv: Track single-request fallback via _res._flags (bug 31476) - resolv: Do not wait for non-existing second DNS response after error (bug 30081) - resolv: Allow short error responses to match any query (bug 31890) - elf: Fix localplt.awk for DT_RELR-enabled builds (BZ 31978) - Fix usage of _STACK_GROWS_DOWN and _STACK_GROWS_UP defines [BZ 31989] - Linux: Make __rseq_size useful for feature detection (bug 31965) - elf: Make dl-rseq-symbols Linux only - nptl: fix potential merge of __rseq_* relro symbols - s390x: Fix segfault in wcsncmp [BZ #31934] - stdlib: fix arc4random fallback to /dev/urandom (BZ 31612) - math: Provide missing math symbols on libc.a (BZ 31781) - math: Fix isnanf128 static build (BZ 31774) - math: Fix i386 and m68k exp10 on static build (BZ 31775) - math: Fix i386 and m68k fmod/fmodf on static build (BZ 31488) - posix: Fix pidfd_spawn/pidfd_spawnp leak if execve fails (BZ 31695)
32 lines
1.4 KiB
Diff
32 lines
1.4 KiB
Diff
commit 4bdcc1963bc2b5ba5f8e319e402d9eb2cb6096c1
|
|
Author: Lukas Bulwahn <lukas.bulwahn@redhat.com>
|
|
Date: Mon Jul 29 11:08:17 2024 +0200
|
|
|
|
manual: make setrlimit() description less ambiguous
|
|
|
|
The existing description for setrlimit() has some ambiguity. It could be
|
|
understood to have the semantics of getrlimit(), i.e., the limits from the
|
|
process are stored in the provided rlp pointer.
|
|
|
|
Make the description more explicit that rlp are the input values, and that
|
|
the limits of the process is changed with this function.
|
|
|
|
Reviewed-by: Florian Weimer <fweimer@redhat.com>
|
|
(cherry picked from commit aedbf08891069fc029ed021e4dba933eb877b394)
|
|
|
|
diff --git a/manual/resource.texi b/manual/resource.texi
|
|
index 37462abc9e467690..743cc9439665b9d5 100644
|
|
--- a/manual/resource.texi
|
|
+++ b/manual/resource.texi
|
|
@@ -192,8 +192,8 @@ If the sources are compiled with @code{_FILE_OFFSET_BITS == 64} on a
|
|
@standards{BSD, sys/resource.h}
|
|
@safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}}
|
|
@c Direct syscall on most systems; lock-taking critical section on HURD.
|
|
-Store the current and maximum limits for the resource @var{resource}
|
|
-in @code{*@var{rlp}}.
|
|
+Change the current and maximum limits of the process for the resource
|
|
+@var{resource} to the values provided in @code{*@var{rlp}}.
|
|
|
|
The return value is @code{0} on success and @code{-1} on failure. The
|
|
following @code{errno} error condition is possible:
|