Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2261 - media-video/nvidia-kernel doesn't compile if kernel compiled with PAX
Summary: media-video/nvidia-kernel doesn't compile if kernel compiled with PAX
Status: RESOLVED DUPLICATE of bug 2133
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-30 00:22 UTC by Alson van der Meulen
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Attachments
Make nvidia-kernel compile if PAX is turned on in the kernel config (nvidia-kernel-1.0.2880-r3-grsecurity.diff,1.42 KB, patch)
2002-04-30 00:24 UTC, Alson van der Meulen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alson van der Meulen 2002-04-30 00:22:43 UTC
The nvidia-kernel module uses PAGE_SHARED, but PAGE_SHARED is called
PAGE_SHARED_EXEC and PAGE_SHARED_NOEXEC if CONFIG_GRSECURITY_PAX or
CONFIG_GRSECURITY_PAX_RANDMMAP are defined (defined in
/usr/src/linux/include/asm/pgtable.h). This results in a compile error.

I created a patch that at least makes it compile, but have not tested if it
really makes it work under PAX yet.
Comment 1 Alson van der Meulen 2002-04-30 00:24:32 UTC
Created attachment 728 [details, diff]
Make nvidia-kernel compile if PAX is turned on in the kernel config

Not tested wether it really works yet, only compiled it.
Comment 2 Daniel Robbins (RETIRED) gentoo-dev 2002-04-30 09:34:46 UTC

*** This bug has been marked as a duplicate of 2133 ***