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>
This commit is contained in:
committed by
Serge Hallyn
parent
0527fa677b
commit
cdaa04e460
@@ -38,7 +38,7 @@ dnl Checks for libraries.
|
||||
dnl Checks for header files.
|
||||
AC_CHECK_HEADERS(crypt.h utmp.h \
|
||||
termio.h sgtty.h sys/ioctl.h paths.h \
|
||||
ulimit.h sys/capability.h sys/random.h sys/resource.h \
|
||||
sys/capability.h sys/random.h sys/resource.h \
|
||||
gshadow.h lastlog.h rpc/key_prot.h netdb.h acl/libacl.h \
|
||||
attr/libattr.h attr/error_context.h)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user