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/ping | |
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/ping')
-rw-r--r-- | sbin/ping/Makefile | 3 |
1 files changed, 2 insertions, 1 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> |