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

Bug 2261

Summary: media-video/nvidia-kernel doesn't compile if kernel compiled with PAX
Product: Gentoo Linux Reporter: Alson van der Meulen <gentoo>
Component: New packagesAssignee: Daniel Robbins (RETIRED) <drobbins>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Make nvidia-kernel compile if PAX is turned on in the kernel config

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 ***