Blame rpm-4.9.x-elfattr.patch
|
Panu Matilainen |
fc034a |
commit 87d9e3c4adac92ff544440dd1239a4ae4fe05bb4
|
|
Panu Matilainen |
fc034a |
Author: Panu Matilainen <pmatilai@redhat.com>
|
|
Panu Matilainen |
fc034a |
Date: Mon Nov 28 14:00:45 2011 +0200
|
|
Panu Matilainen |
fc034a |
|
|
Panu Matilainen |
fc034a |
Fix classification of ELF binaries with setuid/setgid bit, oops...
|
|
Panu Matilainen |
fc034a |
|
|
Panu Matilainen |
fc034a |
diff --git a/fileattrs/elf.attr b/fileattrs/elf.attr
|
|
Panu Matilainen |
fc034a |
index bc6ce83..595b33e 100644
|
|
Panu Matilainen |
fc034a |
--- a/fileattrs/elf.attr
|
|
Panu Matilainen |
fc034a |
+++ b/fileattrs/elf.attr
|
|
Panu Matilainen |
fc034a |
@@ -1,4 +1,4 @@
|
|
Panu Matilainen |
fc034a |
%__elf_provides %{_rpmconfigdir}/elfdeps --provides %{?__filter_GLIBC_PRIVATE:--filter-private}
|
|
Panu Matilainen |
fc034a |
%__elf_requires %{_rpmconfigdir}/elfdeps --requires %{?__filter_GLIBC_PRIVATE:--filter-private}
|
|
Panu Matilainen |
fc034a |
-%__elf_magic ^(sticky )?ELF (32|64)-bit.*$
|
|
Panu Matilainen |
fc034a |
+%__elf_magic ^(setuid )?(setgid )?(sticky )?ELF (32|64)-bit.*$
|
|
Panu Matilainen |
fc034a |
%__elf_flags exeonly
|