[packages/adapter: 266/631] - notice suid programs marked with glob in filelist
glen
glen at pld-linux.org
Mon Sep 12 19:56:45 CEST 2016
commit 85bed066643a4883727e42aa94b388208c4bc4dc
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Tue Dec 27 01:09:17 2005 +0000
- notice suid programs marked with glob in filelist
Changed files:
adapter.awk -> 1.256
adapter.awk | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 6971391..d52c5ef 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1088,6 +1088,11 @@ function use_files_macros( i, n, t, a)
$0 = $0 " # FIXME nobody user/group can't own files! -adapter.awk"
}
+ # suid programs with globs are evil
+ if (/%attr\(4...,.*\*/ && !/FIXME/) {
+ $0 = $0 " # FIXME no globs for suid files"
+ }
+
# replace back
gsub("%{_sysconfdir}/cron\.d", "/etc/cron.d")
gsub("%{_sysconfdir}/crontab\.d", "/etc/crontab.d")
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885
More information about the pld-cvs-commit
mailing list