diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-05-12 17:14:05 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-05-12 17:14:05 +0000 |
commit | 43842e811d5886d3ca1bd9e833b5a327c08c21aa (patch) | |
tree | 9519a9dc2c803a6917ac4d8200808e4b40130bbc /sbin | |
parent | 09101e13b4b9b464a686f6fa57d11183bbd60dda (diff) |
These small setuid programs allocate a resvport, and then immediately revoke
privs. Link them static, so that even less code is run before main does that
job.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/ping/Makefile | 3 | ||||
-rw-r--r-- | sbin/ping6/Makefile | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sbin/ping/Makefile b/sbin/ping/Makefile index 540c356f820..764d110881f 100644 --- a/sbin/ping/Makefile +++ b/sbin/ping/Makefile @@ -1,8 +1,9 @@ -# $OpenBSD: Makefile,v 1.3 1997/09/21 11:37:55 deraadt Exp $ +# $OpenBSD: Makefile,v 1.4 2002/05/12 17:14:02 deraadt Exp $ PROG= ping MAN= ping.8 BINOWN= root BINMODE=4555 +LDSTATIC=-static .include <bsd.prog.mk> diff --git a/sbin/ping6/Makefile b/sbin/ping6/Makefile index 4f4b63a6031..3de7f2088ab 100644 --- a/sbin/ping6/Makefile +++ b/sbin/ping6/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2000/06/20 20:00:03 itojun Exp $ +# $OpenBSD: Makefile,v 1.5 2002/05/12 17:14:04 deraadt Exp $ PROG= ping6 MAN= ping6.8 @@ -11,6 +11,7 @@ CPPFLAGS+= -DINET6 BINOWN= root BINGRP= bin BINMODE=4555 +LDSTATIC=-static # kame scopeid hack CPPFLAGS+=-DKAME_SCOPEID |