randy 96/10/23 07:35:49
Modified: src http_core.c
Log:
Take advantage of these new argument formats for Rlimit directives.
Revision Changes Path
1.40 +3 -3 apache/src/http_core.c
Index: http_core.c
===================================================================
RCS file: /export/home/cvs/apache/src/http_core.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -C3 -r1.39 -r1.40
*** http_core.c 1996/10/22 18:54:02 1.39
--- http_core.c 1996/10/23 14:35:48 1.40
***************
*** 1108,1128 ****
#else
no_set_limit, NULL,
#endif
! OR_ALL, RAW_ARGS, "soft/hard limits for max CPU usage in seconds" },
{ "RLimitMEM",
#if defined (RLIMIT_DATA) || defined (RLIMIT_VMEM)
set_limit_mem, (void*)XtOffsetOf(core_dir_config, limit_mem),
#else
no_set_limit, NULL,
#endif
! OR_ALL, RAW_ARGS, "soft/hard limits for max memory usage per process"
},
{ "RLimitNPROC",
#ifdef RLIMIT_NPROC
set_limit_nproc, (void*)XtOffsetOf(core_dir_config, limit_nproc),
#else
no_set_limit, NULL,
#endif
! OR_ALL, RAW_ARGS, "soft/hard limits for max number of processes per
uid" },
{ "BindAddress", set_bind_address, NULL, RSRC_CONF, TAKE1,
"'*', a numeric IP address, or the name of a host with a unique IP
address"},
{ "Listen", set_listener, NULL, RSRC_CONF, TAKE1,
--- 1108,1128 ----
#else
no_set_limit, NULL,
#endif
! OR_ALL, TAKE12, "soft/hard limits for max CPU usage in seconds" },
{ "RLimitMEM",
#if defined (RLIMIT_DATA) || defined (RLIMIT_VMEM)
set_limit_mem, (void*)XtOffsetOf(core_dir_config, limit_mem),
#else
no_set_limit, NULL,
#endif
! OR_ALL, TAKE12, "soft/hard limits for max memory usage per process" },
{ "RLimitNPROC",
#ifdef RLIMIT_NPROC
set_limit_nproc, (void*)XtOffsetOf(core_dir_config, limit_nproc),
#else
no_set_limit, NULL,
#endif
! OR_ALL, TAKE12, "soft/hard limits for max number of processes per
uid" },
{ "BindAddress", set_bind_address, NULL, RSRC_CONF, TAKE1,
"'*', a numeric IP address, or the name of a host with a unique IP
address"},
{ "Listen", set_listener, NULL, RSRC_CONF, TAKE1,