From: "Anthony G. Basile" <blueness@gentoo.org>
To: Gentoo Development <gentoo-dev@lists.gentoo.org>
Subject: [gentoo-dev] Proposed update to pax-utils.eclass
Date: Sun, 17 Mar 2013 08:19:05 -0400 [thread overview]
Message-ID: <5145B4B9.3070104@gentoo.org> (raw)
Hi everyone,
The hardened team has been working on getting PaX markings moved to
Extended Attributes rather then putting them in a program header of the
ELF binaries [1]. The motivation here is that this is a generally safer
way of doing PaX markings since mangling an ELF binary can break things [2].
The last step in the process is getting an eclass on the tree which does
both xattr as well as elf phdr based PaX markings. We've been testing
one for a while and we think we've clobbered all the bugs. The eclass
deviates significantly from the one on the tree, so a I'm not sure a
diff is the best way to present it. The current version is on the
hardened-dev overay [3]. It also makes use of a new utility called
paxctl-ng which does what paxctl did but also with xattr [4].
You may want to look at some documentation too. A updated discussion of
PaX which includes xattr stuff is at [5]. A migration guide is at [6].
Please review. We are in no rush to get this done, so if you find bugs
or have concerns, add blockers to the tracker [1].
Ref.
[1] https://bugs.gentoo.org/show_bug.cgi?id=427888
[2] eg skype, https://bugs.gentoo.org/show_bug.cgi?id=461668
[3]
http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=blob;f=eclass/pax-utils.eclass;h=b27d5e2f6e503cf47e9e321e441f1fe8c9c1dbd8;hb=646c49292c140491c3e1aee58a82f3c3b6a4e99f
[4] This is part of the sys-apps/elfix package. The repo is at
http://git.overlays.gentoo.org/gitweb/?p=proj/elfix.git;a=summary
[5] http://www.gentoo.org/proj/en/hardened/pax-quickstart.xml
[6] http://www.gentoo.org/proj/en/hardened/pax-migrate-xattr.xml
--
Anthony G. Basile, Ph.D.
Gentoo Linux Developer [Hardened]
E-Mail : blueness@gentoo.org
GnuPG FP : 1FED FAD9 D82C 52A5 3BAB DC79 9384 FA6E F52D 4BBA
GnuPG ID : F52D4BBA
next reply other threads:[~2013-03-17 12:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-17 12:19 Anthony G. Basile [this message]
2013-03-25 0:20 ` [gentoo-dev] Proposed update to pax-utils.eclass Anthony G. Basile
2013-03-27 12:39 ` Gilles Dartiguelongue
2013-03-27 15:22 ` Alec Warner
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=5145B4B9.3070104@gentoo.org \
--to=blueness@gentoo.org \
--cc=gentoo-dev@lists.gentoo.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