summaryrefslogtreecommitdiffstats
path: root/backends/Makefile.am
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2018-07-21 16:10:25 +0200
committerMark Wielaard <mark@klomp.org>2018-07-22 10:05:56 +0200
commit4d240015c63d7cb702b70f7b17c8535c8223858a (patch)
treeb7fd4489d65e6fd88ced65c3c6936095f617ed49 /backends/Makefile.am
parent272f70b8ac7dfab779810141c12735202492b881 (diff)
elfcompress: Swap fchmod and fchown calls on new file.
Calling fchmod with a suid bit on a file might silently fail or the suid bit might be slilently cleared by a call to fchown if already set. Swap the calls so that the owner is set first and then set the suid bit. https://bugzilla.redhat.com/show_bug.cgi?id=1607044 Reported-and-tested-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org> Signed-off-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'backends/Makefile.am')
0 files changed, 0 insertions, 0 deletions