Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 608870

Summary: sys-kernel/hardened-sources: the autoconfig picks both CONFIG_PAX_PT_PAX_FLAGS and CONFIG_PAX_XATTR_PAX_FLAGS
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: HardenedAssignee: Anthony Basile <blueness>
Status: RESOLVED OBSOLETE    
Severity: normal CC: chewi, gnu-emacs, hardened, kernel
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 607990    

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.)