Description of problem: The <numaif.h> header contains: extern long get_mempolicy(int *policy, const unsigned long *nmask, unsigned long maxnode, void *addr, int flags); But the nmask pointer points to writable memory. This problem is not noticed by the compiler when compiling the package since this is a system call. But it might lead to bad problems when using the interface since the compiler can assume the memory is not changed. Version-Release number of selected component (if applicable): 0.9.8-4 How reproducible: always Steps to Reproduce: 1.look at /usr/include/numaif.h 2. 3. Actual results: above prototype Expected results: const removed: extern long get_mempolicy(int *policy, unsigned long *nmask, unsigned long maxnode, void *addr, int flags); Additional info: This must also be fixed in RHEL versions. Without this change incorrect code might silently be generated.
Fixeed in devel, bug cloned for RHEL. Thanks Uli
Changing version to '9' as part of upcoming Fedora 9 GA. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Has been fixed in F9.