summaryrefslogtreecommitdiffstats
path: root/gnu
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 /gnu
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 'gnu')
-rw-r--r--gnu/libexec/uucp/cu/Makefile1
-rw-r--r--gnu/libexec/uucp/uucp/Makefile1
-rw-r--r--gnu/libexec/uucp/uuname/Makefile2
-rw-r--r--gnu/libexec/uucp/uustat/Makefile1
-rw-r--r--gnu/libexec/uucp/uux/Makefile1
5 files changed, 5 insertions, 1 deletions
diff --git a/gnu/libexec/uucp/cu/Makefile b/gnu/libexec/uucp/cu/Makefile
index 612546d..faad03b 100644
--- a/gnu/libexec/uucp/cu/Makefile
+++ b/gnu/libexec/uucp/cu/Makefile
@@ -12,6 +12,7 @@ LDADD+= $(LIBUNIX) $(LIBUUCONF) $(LIBUUCP)
DPADD+= $(LIBUNIX) $(LIBUUCONF) $(LIBUUCP)
CFLAGS+= -I$(.CURDIR)/../common_sources\
-DVERSION=\"$(VERSION)\"
+INSTALLFLAGS+= -fschg
.include <bsd.prog.mk>
.PATH: $(.CURDIR)/../common_sources
diff --git a/gnu/libexec/uucp/uucp/Makefile b/gnu/libexec/uucp/uucp/Makefile
index 0219fff..2f91d82 100644
--- a/gnu/libexec/uucp/uucp/Makefile
+++ b/gnu/libexec/uucp/uucp/Makefile
@@ -11,6 +11,7 @@ LDADD+= $(LIBUNIX) $(LIBUUCONF) $(LIBUUCP)
DPADD+= $(LIBUNIX) $(LIBUUCONF) $(LIBUUCP)
CFLAGS+= -I$(.CURDIR)/../common_sources\
-DVERSION=\"$(VERSION)\"
+INSTALLFLAGS+= -fschg
.include <bsd.prog.mk>
.PATH: $(.CURDIR)/../common_sources
diff --git a/gnu/libexec/uucp/uuname/Makefile b/gnu/libexec/uucp/uuname/Makefile
index f5e6dd9..743a3b5 100644
--- a/gnu/libexec/uucp/uuname/Makefile
+++ b/gnu/libexec/uucp/uuname/Makefile
@@ -11,7 +11,7 @@ LDADD+= $(LIBUNIX) $(LIBUUCONF) $(LIBUUCP)
DPADD+= $(LIBUNIX) $(LIBUUCONF) $(LIBUUCP)
CFLAGS+= -I$(.CURDIR)/../common_sources\
-DVERSION=\"$(VERSION)\"
-
+INSTALLFLAGS+= -fschg
.include <bsd.prog.mk>
.PATH: $(.CURDIR)/../common_sources
diff --git a/gnu/libexec/uucp/uustat/Makefile b/gnu/libexec/uucp/uustat/Makefile
index be839ca..5743180 100644
--- a/gnu/libexec/uucp/uustat/Makefile
+++ b/gnu/libexec/uucp/uustat/Makefile
@@ -13,6 +13,7 @@ DPADD+= $(LIBUNIX) $(LIBUUCONF) $(LIBUUCP)
CFLAGS+= -I$(.CURDIR)/../common_sources\
-DOWNER=\"$(owner)\"\
-DVERSION=\"$(VERSION)\"
+INSTALLFLAGS+= -fschg
.include <bsd.prog.mk>
.PATH: $(.CURDIR)/../common_sources
diff --git a/gnu/libexec/uucp/uux/Makefile b/gnu/libexec/uucp/uux/Makefile
index 6059352..9194c1e 100644
--- a/gnu/libexec/uucp/uux/Makefile
+++ b/gnu/libexec/uucp/uux/Makefile
@@ -11,6 +11,7 @@ LDADD+= $(LIBUNIX) $(LIBUUCONF) $(LIBUUCP)
DPADD+= $(LIBUNIX) $(LIBUUCONF) $(LIBUUCP)
CFLAGS+= -I$(.CURDIR)/../common_sources\
-DVERSION=\"$(VERSION)\"
+INSTALLFLAGS+= -fschg
.include <bsd.prog.mk>
.PATH: $(.CURDIR)/../common_sources
OpenPOWER on IntegriCloud