public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Panu Matilainen <pmatilai@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: - fix classification of elf executables with sticky bit set (#689182)
Date: Mon, 23 Nov 2026 09:27:06 GMT [thread overview]
Message-ID: <179542602605.1.4304718105791843482.rpms-rpm-629d3eaa7695@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : 629d3eaa7695d8220356969cfbd7aad1056e49c9
Author : Panu Matilainen <pmatilai@redhat.com>
Date : 2011-03-22T08:46:32+02:00
Stats : +27/-4 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/629d3eaa7695d8220356969cfbd7aad1056e49c9?branch=pmatilai-v6
Log:
- fix classification of elf executables with sticky bit set (#689182)
- also renumber manifest crash patch to reflect upstream status
---
diff --git a/rpm-4.9.0-sticky-elf.patch b/rpm-4.9.0-sticky-elf.patch
new file mode 100644
index 0000000..52b10f5
--- /dev/null
+++ b/rpm-4.9.0-sticky-elf.patch
@@ -0,0 +1,16 @@
+commit 6eba5dc468aa2d26ff80f9321e8d4d014279d506
+Author: Panu Matilainen <pmatilai@redhat.com>
+Date: Tue Mar 22 08:36:35 2011 +0200
+
+ Fix classification of ELF binaries with sticky bit (RhBug:689182)
+
+diff --git a/fileattrs/elf.attr b/fileattrs/elf.attr
+index fba180b..bc6ce83 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 ^ELF (32|64)-bit.*$
++%__elf_magic ^(sticky )?ELF (32|64)-bit.*$
+ %__elf_flags exeonly
diff --git a/rpm.spec b/rpm.spec
index 9b80d92..f25172e 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -21,7 +21,7 @@
Summary: The RPM package management system
Name: rpm
Version: %{rpmver}
-Release: %{?snapver:0.%{snapver}.}3%{?dist}
+Release: %{?snapver:0.%{snapver}.}4%{?dist}
Group: System Environment/Base
Url: http://www.rpm.org/
Source0: http://rpm.org/releases/rpm-4.8.x/%{name}-%{srcver}.tar.bz2
@@ -38,10 +38,12 @@ Patch2: rpm-4.8.90-fedora-specspo.patch
Patch3: rpm-4.8.0-no-man-dirs.patch
# gnupg2 comes installed by default, avoid need to drag in gnupg too
Patch4: rpm-4.8.1-use-gpg2.patch
-# Do not try to free and unallocated variable (#688091)
-Patch5: rpm-4.9.0-manifest-fix.patch
# Patches already in upstream
+# Do not try to free and unallocated variable (#688091)
+Patch100: rpm-4.9.0-manifest-fix.patch
+# Recognize elf executables with sticky bit as elf
+Patch101: rpm-4.9.0-sticky-elf.patch
# These are not yet upstream
Patch301: rpm-4.6.0-niagara.patch
@@ -206,7 +208,9 @@ packages on a system.
%patch2 -p1 -b .fedora-specspo
%patch3 -p1 -b .no-man-dirs
%patch4 -p1 -b .use-gpg2
-%patch5 -p1 -b .manifest-fix
+
+%patch100 -p1 -b .manifest-fix
+%patch101 -p1 -b .sticky-elf
%patch301 -p1 -b .niagara
%patch302 -p1 -b .geode
@@ -420,6 +424,9 @@ exit 0
%doc COPYING doc/librpm/html/*
%changelog
+* Tue Mar 22 2011 Panu Matilainen <pmatilai@redhat.com> - 4.9.0-4
+- fix classification of elf executables with sticky bit set (#689182)
+
* Wed Mar 16 2011 Jindirch Novy <jnovy@redhat.com> - 4.9.0-3
- fix crash in package manifest check (#688091)
reply other threads:[~2026-11-23 9:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179542602605.1.4304718105791843482.rpms-rpm-629d3eaa7695@fedoraproject.org \
--to=pmatilai@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox