Stub for setrlimit

Change-Id: I54c7233d71805711bd72e1e751456aad30fd3e35
This commit is contained in:
2014-07-28 17:05:23 +02:00
parent e39e890e08
commit ac5b3e53d8
10 changed files with 49 additions and 25 deletions
-2
View File
@@ -207,7 +207,6 @@ pw_cont(int sig)
void
pw_init(void)
{
#if !defined(__minix)
struct rlimit rlim;
/* Unlimited resource limits. */
@@ -221,7 +220,6 @@ pw_init(void)
/* Don't drop core (not really necessary, but GP's). */
rlim.rlim_cur = rlim.rlim_max = 0;
(void)setrlimit(RLIMIT_CORE, &rlim);
#endif /* !defined(__minix) */
/* Turn off signals. */
(void)signal(SIGALRM, SIG_IGN);