Assume RLIMIT_FSIZE is defined
It is required by POSIX.1-2001. 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
91adf3b8bb
commit
5ebf28c999
@@ -36,9 +36,7 @@ void pwd_init (void)
|
||||
|
||||
setrlimit (RLIMIT_CPU, &rlim);
|
||||
setrlimit (RLIMIT_DATA, &rlim);
|
||||
#ifdef RLIMIT_FSIZE
|
||||
setrlimit (RLIMIT_FSIZE, &rlim);
|
||||
#endif
|
||||
#ifdef RLIMIT_NOFILE
|
||||
setrlimit (RLIMIT_NOFILE, &rlim);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user