Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182619 - [docs] Mentioning not to use COMPAT_VDSO
Summary: [docs] Mentioning not to use COMPAT_VDSO
Status: RESOLVED FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Project-specific documentation (show other bugs)
Hardware: All Linux
: High minor
Assignee: The Gentoo Linux Hardened Team
URL: http://www.gentoo.org/proj/en/hardene...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-19 22:51 UTC by Mark
Modified: 2008-04-13 00:49 UTC (History)
2 users (show)

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


Attachments
Diff of XML (pax-qs.diff,297 bytes, text/plain)
2007-06-20 21:16 UTC, Mark
Details
Unified Diff (pax-qs.diff,513 bytes, text/plain)
2007-06-20 21:24 UTC, Mark
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark 2007-06-19 22:51:34 UTC
The PaX quick start is useful to getting PaX set-up, however if CONFIG_COMPAT_VDSO is set, then some of the PaX options are unavailable. So I feel it might be useful to comment on mentioning to unset this option.

Reproducible: Always

Steps to Reproduce:
1. Follow guide
2. Enable all the kernel options it informs you to
3. Discover that you cannot find all the kernel options due to VDSO being enabled.

Actual Results:  
Some of the PaX options are hidden.

Expected Results:  
To be able to follow the guide and enable all the options it suggests.

See this: http://forums.grsecurity.net/viewtopic.php?t=1647
Comment 1 solar (RETIRED) gentoo-dev 2007-06-20 14:55:43 UTC
Please attach a diff of the .xml file with your clarifications.

http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo/xml/htdocs/proj/en/hardened/pax-quickstart.xml?content-type=text/plain
Comment 2 Mark 2007-06-20 21:16:43 UTC
Created attachment 122638 [details]
Diff of XML

This is an addition paragraph and kernel example to ensure that all the PaX options show when they step onto the PaX kernel configuration.

PAX_PAGEEXEC > depends on !COMPAT_VDSO
PAX_SEGMEXEC > depends on !COMPAT_VDSO
Comment 3 Mark 2007-06-20 21:24:21 UTC
Created attachment 122639 [details]
Unified Diff

Sorry ignore last diff
Comment 4 Gordon Malm (RETIRED) gentoo-dev 2008-04-12 22:30:12 UTC
The docs definitely need some love, but I am not sure this particular update is needed anymore since it is now impossible to select COMPAT_VDSO.  I think it would be distraction/noise as the user would go to check and make sure they didn't have it enabled... only to look and look and no longer be able to find the option.  Kerin, what do you think?
Comment 5 kfm 2008-04-12 23:38:08 UTC
Re: Comment 4

Agreed. Not only is it impossible to enable the kconfig option in 2.6.23-r9 (which is stable), it's impossible to enable it at runtime via sysctl as of 2.6.24. In view of these recent changes, and with due respect to the reporter for raising a perfectly valid concern, I recommend closing as FIXED (or, being pedantic, INVALID).