diff --git a/libmisc/limits.c b/libmisc/limits.c index 22f85043..121a1002 100644 --- a/libmisc/limits.c +++ b/libmisc/limits.c @@ -249,13 +249,11 @@ static int do_user_limits (const char *buf, const char *name) /* RLIMIT_CORE - max core file size (KB) */ retval |= setrlimit_value (RLIMIT_CORE, pp, 1024); break; -#ifdef RLIMIT_DATA case 'd': case 'D': /* RLIMIT_DATA - max data size (KB) */ retval |= setrlimit_value (RLIMIT_DATA, pp, 1024); break; -#endif #ifdef RLIMIT_FSIZE case 'f': case 'F': diff --git a/libmisc/pwd_init.c b/libmisc/pwd_init.c index b8980c70..2f69083c 100644 --- a/libmisc/pwd_init.c +++ b/libmisc/pwd_init.c @@ -35,9 +35,7 @@ void pwd_init (void) setrlimit (RLIMIT_AS, &rlim); setrlimit (RLIMIT_CPU, &rlim); -#ifdef RLIMIT_DATA setrlimit (RLIMIT_DATA, &rlim); -#endif #ifdef RLIMIT_FSIZE setrlimit (RLIMIT_FSIZE, &rlim); #endif