]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- notice suid programs marked with glob in filelist
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 27 Dec 2005 01:09:17 +0000 (01:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    adapter.awk -> 1.256

adapter.awk

index 69713916fd08eaa5296a7d4ed69ab238f2769f05..d52c5ef477b151e9b0ee7a94942686d22de89dc4 100644 (file)
@@ -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")
This page took 0.036376 seconds and 4 git commands to generate.