summaryrefslogtreecommitdiffstats
path: root/sbin/init/Makefile
diff options
context:
space:
mode:
authordavidn <davidn@FreeBSD.org>1997-01-19 16:49:13 +0000
committerdavidn <davidn@FreeBSD.org>1997-01-19 16:49:13 +0000
commit557de278bcc6a33e6842306495187985a682f3f2 (patch)
tree20e28f16629360989ab47f63ef37b9ac0b2f6f30 /sbin/init/Makefile
parentccc345ffe508058dd560cb5a884721ac8147709c (diff)
downloadFreeBSD-src-557de278bcc6a33e6842306495187985a682f3f2.zip
FreeBSD-src-557de278bcc6a33e6842306495187985a682f3f2.tar.gz
Impose login_cap resource limits on processes started by init.
/etc/rc started with "daemon" settings. "window=" started with "default" settings gettys started with "default" settings. This should open the way to junk kernel options MAX_{OPEN,CHILD} and the corresponding sysctl vars.
Diffstat (limited to 'sbin/init/Makefile')
-rw-r--r--sbin/init/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/init/Makefile b/sbin/init/Makefile
index eb5a356..f566f88 100644
--- a/sbin/init/Makefile
+++ b/sbin/init/Makefile
@@ -5,7 +5,7 @@ PROG= init
MAN8= init.8
BINMODE=500
INSTALLFLAGS=-fschg
-CFLAGS+=-DDEBUGSHELL -DSECURE
+CFLAGS+=-DDEBUGSHELL -DSECURE -DLOGIN_CAP
.if exists(../../secure) && !defined(NOCRYPT) && !defined(NOSECURE)
DISTRIBUTION=des
OpenPOWER on IntegriCloud