summaryrefslogtreecommitdiff
path: root/fileattrs/elf.attr
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2011-11-28 14:00:45 +0200
committerPanu Matilainen <pmatilai@redhat.com>2011-11-28 14:00:45 +0200
commit87d9e3c4adac92ff544440dd1239a4ae4fe05bb4 (patch)
tree78119ec23509da9712a9c07a314663f854e5005d /fileattrs/elf.attr
parentfb30c0aac8b3da8c75a8cb1578a719ce38db59eb (diff)
downloadrpm-87d9e3c4adac92ff544440dd1239a4ae4fe05bb4.tar.gz
rpm-87d9e3c4adac92ff544440dd1239a4ae4fe05bb4.tar.bz2
rpm-87d9e3c4adac92ff544440dd1239a4ae4fe05bb4.zip
Fix classification of ELF binaries with setuid/setgid bit, oops...
Diffstat (limited to 'fileattrs/elf.attr')
-rw-r--r--fileattrs/elf.attr2
1 files changed, 1 insertions, 1 deletions
diff --git a/fileattrs/elf.attr b/fileattrs/elf.attr
index bc6ce8389..595b33e09 100644
--- a/fileattrs/elf.attr
+++ b/fileattrs/elf.attr
@@ -1,4 +1,4 @@
%__elf_provides %{_rpmconfigdir}/elfdeps --provides %{?__filter_GLIBC_PRIVATE:--filter-private}
%__elf_requires %{_rpmconfigdir}/elfdeps --requires %{?__filter_GLIBC_PRIVATE:--filter-private}
-%__elf_magic ^(sticky )?ELF (32|64)-bit.*$
+%__elf_magic ^(setuid )?(setgid )?(sticky )?ELF (32|64)-bit.*$
%__elf_flags exeonly