aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>2001-09-09 04:54:10 +0000
committerMatthew Dillon <dillon@FreeBSD.org>2001-09-09 04:54:10 +0000
commitea079e4650aa744003da874f2ea55b9e1fda6de5 (patch)
tree9fefd5178f0b57721dce479e0224af7341784f02 /usr.bin
parent7b832f6f75fe9993d39130bfa1f69777b1a34397 (diff)
downloadsrc-ea079e4650aa744003da874f2ea55b9e1fda6de5.tar.gz
src-ea079e4650aa744003da874f2ea55b9e1fda6de5.zip
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.
Notes
Notes: svn path=/head/; revision=83238
Diffstat (limited to 'usr.bin')
-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 fd208d77e62d..982f3dc55ad2 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