]> git.ipfire.org Git - thirdparty/shadow.git/commit
Remove uses of ulimit(3)
authorAlejandro Colomar <alx@kernel.org>
Fri, 2 Dec 2022 21:10:18 +0000 (22:10 +0100)
committerSerge Hallyn <serge@hallyn.com>
Thu, 15 Dec 2022 22:22:05 +0000 (16:22 -0600)
commitcdaa04e4601b91b4b13979ebb3865bc9db2e5467
tree8e6b3bfa2cdacafad7985514c9322ce4a5e7ab19
parent0527fa677bfcdb34b34fd5ffef0ae8d97f25709c
Remove uses of ulimit(3)

The function is obsolete.  It is recommended to use getrlimit(2) instead
(see the manual page for ulimit(3) or the POSIX manual for it).  Since
getrlimit(2) is required by POSIX.1-2001, we can rely on it.

Cc: Christian Göttsche <cgzones@googlemail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
configure.ac
libmisc/ulimit.c