summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-03-16 01:47:26 +0000
committerngie <ngie@FreeBSD.org>2017-03-16 01:47:26 +0000
commit80f91eaee1365a8f9f1bfefce2d881b9801e2290 (patch)
tree271ed2c79758f263bb0a33d8aa9b515328226788
parent0fbab84be4be87967ce7c59f944e6be9bdda89fb (diff)
downloadFreeBSD-src-80f91eaee1365a8f9f1bfefce2d881b9801e2290.zip
FreeBSD-src-80f91eaee1365a8f9f1bfefce2d881b9801e2290.tar.gz
MFC r274130:
r274130 (by bapt): Avoid installing security.functions with executable bits, periodic(8) will try to execute all files with an executable bit in /etc/periodic/*/ while this file is supposed only to be sourced by others
-rw-r--r--etc/periodic/security/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/periodic/security/Makefile b/etc/periodic/security/Makefile
index fbcd454..954becb 100644
--- a/etc/periodic/security/Makefile
+++ b/etc/periodic/security/Makefile
@@ -2,6 +2,8 @@
.include <bsd.own.mk>
+FILESGROUPS= FILES DATA
+
FILES= 100.chksetuid \
110.neggrpperm \
200.chkmounts \
@@ -10,8 +12,8 @@ FILES= 100.chksetuid \
410.logincheck \
700.kernelmsg \
800.loginfail \
- 900.tcpwrap \
- security.functions
+ 900.tcpwrap
+DATA= security.functions
# NB: keep these sorted by MK_* knobs
OpenPOWER on IntegriCloud