| Summary: | gnome-base/gnome-shell-3.12* - gnome-shell-extension-prefs needs paxmarking | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Alexander Tsoy <alexander> |
| Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | hardened |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
gnome-shell-3.12.2.ebuild.patch
gnome-shell-3.12.2.ebuild.patch |
||
|
Description
Alexander Tsoy
2014-07-28 17:10:13 UTC
Lets do just -m and -mr paxmarkings for now:
@@ -155,8 +155,10 @@
# Future-proof for >=spidermonkey-1.8.7 following polkit's example
if has_version '<dev-lang/spidermonkey-1.8.7'; then
pax-mark mr "${ED}usr/bin/gnome-shell"
+ pax-mark mr "${ED}usr/bin/gnome-shell-extension-prefs"
elif has_version '>=dev-lang/spidermonkey-1.8.7[jit]'; then
pax-mark m "${ED}usr/bin/gnome-shell"
+ pax-mark m "${ED}usr/bin/gnome-shell-extension-prefs"
fi
# Required for gnome-shell on hardened/PaX #457146 and #457194
# PaX EMUTRAMP need to be on
@hardened, do you see it ok? (I have no problem on changing ebuild as it works better for you) Thanks Created attachment 387756 [details, diff] gnome-shell-3.12.2.ebuild.patch (In reply to Alexander Tsoy from comment #1) > Lets do just -m and -mr paxmarkings for now: That's wrong. Attaching the correct patch. Created attachment 387774 [details, diff]
gnome-shell-3.12.2.ebuild.patch
- no need to add PaX flag "E" if binary already have flag "m" (s/if/elsif/)
- mark with "m" if libffi is compiled with USE=-pax_kernel (last "else" block)
(In reply to Pacho Ramos from comment #2) > @hardened, do you see it ok? (I have no problem on changing ebuild as it > works better for you) > > Thanks If it woks i'm okey with it. *gnome-shell-3.14.4 (28 Mar 2015) 28 Mar 2015; Pacho Ramos <pacho@gentoo.org> +gnome-shell-3.14.4.ebuild, -files/gnome-shell-3.10-bluetooth-flag.patch, -files/gnome-shell-3.10.4-bluetooth-gold.patch, -files/gnome-shell-defaults.patch, -gnome-shell-3.12.2.ebuild: Version bump, drop old. Rework pax marking (#518398 by Alexander Tsoy) |