summaryrefslogtreecommitdiffstats
path: root/usr.bin/tip
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>2001-09-09 04:54:10 +0000
committerdillon <dillon@FreeBSD.org>2001-09-09 04:54:10 +0000
commit838c380fcf37ee619a9b4f2c4a0f1b2af6c131ca (patch)
tree9fefd5178f0b57721dce479e0224af7341784f02 /usr.bin/tip
parentaed5856aa95fc7edc81d952f2c440a76b49021a6 (diff)
downloadFreeBSD-src-838c380fcf37ee619a9b4f2c4a0f1b2af6c131ca.zip
FreeBSD-src-838c380fcf37ee619a9b4f2c4a0f1b2af6c131ca.tar.gz
Make sure that all non-root-owned binaries in standard system
paths are chflaged 'schg' to prevent exploit vectors when run by cron, by a root user, or by a user other then the one owning the binary. This applies to most of the uucp binaries, cu, tip, and man (man was already installed properly). MFC will occur when approved.
Diffstat (limited to 'usr.bin/tip')
-rw-r--r--usr.bin/tip/tip/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/tip/tip/Makefile b/usr.bin/tip/tip/Makefile
index fd208d7..982f3dc 100644
--- a/usr.bin/tip/tip/Makefile
+++ b/usr.bin/tip/tip/Makefile
@@ -21,6 +21,7 @@ LINKS= ${BINDIR}/tip
MAN= tip.1 modems.5
SRCS= acu.c acutab.c cmds.c cmdtab.c cu.c hunt.c log.c partab.c \
remote.c tip.c tipout.c value.c vars.c
+INSTALLFLAGS+= -fschg
BINDIR?= /usr/bin
BINOWN= uucp
OpenPOWER on IntegriCloud