Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 608870 - sys-kernel/hardened-sources: the autoconfig picks both CONFIG_PAX_PT_PAX_FLAGS and CONFIG_PAX_XATTR_PAX_FLAGS
Summary: sys-kernel/hardened-sources: the autoconfig picks both CONFIG_PAX_PT_PAX_FLAG...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 607990
  Show dependency tree
 
Reported: 2017-02-10 14:19 UTC by Agostino Sarubbo
Modified: 2019-02-07 00:40 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2017-02-10 14:19:20 UTC
This is probably an upstream bug that I'd like to track also here because of bug 607990.

We know that a proper config should have one of CONFIG_PAX_PT_PAX_FLAGS/CONFIG_PAX_XATTR_PAX_FLAGS but the actual autoconfig picks both.
This may lead to failure like what we have in bug 607990.
Comment 1 James Le Cuirot gentoo-dev 2017-02-10 14:33:12 UTC
blueness has told me that CONFIG_PAX_PT_PAX_FLAGS is on its death bed. It should probably just pick CONFIG_PAX_XATTR_PAX_FLAGS now.
Comment 2 Anthony Basile gentoo-dev 2017-02-10 14:50:29 UTC
(In reply to James Le Cuirot from comment #1)
> blueness has told me that CONFIG_PAX_PT_PAX_FLAGS is on its death bed. It
> should probably just pick CONFIG_PAX_XATTR_PAX_FLAGS now.

correct, i didn't want to hard force these on or off for backwards compatibility, so i just chose a default setting which was congruent with what we are supporting going forward.
Comment 3 Ulrich Müller gentoo-dev 2017-05-26 07:23:34 UTC
Any progress here?

Please note that enabling both CONFIG_PAX_PT_PAX_FLAGS and CONFIG_PAX_XATTR_PAX_FLAGS breaks the build system of app-editors/emacs:25.
(However, I'll close any Emacs bug about this issue as invalid, because everyone keeps telling me that this is not a supported kernel configuration.)