See attached patch.
-- Jamie Strandboge | http://www.canonical.com
Author: Jamie Strandboge <[email protected]> Description: glibc's __get_nprocs() now checks /sys/devices/system/cpu/online in addition to /proc/stat for the number of processors. This is used in the _SC_NPROCESSORS_ONLN implementation, a part of sysconf. This was introduced in upstream glibc commit: http://repo.or.cz/w/glibc.git/patch/84e2a551a72c79b020694bb327e33b6d71b09b63 Bug-Ubuntu: https://launchpad.net/bugs/929531 Index: apparmor-2.7.0/profiles/apparmor.d/abstractions/base =================================================================== --- apparmor-2.7.0.orig/profiles/apparmor.d/abstractions/base 2012-02-09 07:57:35.000000000 -0600 +++ apparmor-2.7.0/profiles/apparmor.d/abstractions/base 2012-02-09 08:01:13.000000000 -0600 @@ -86,6 +86,7 @@ @{PROC}/meminfo r, @{PROC}/stat r, @{PROC}/cpuinfo r, + /sys/devices/system/cpu/online r, # glibc's *printf protections read the maps file @{PROC}/*/maps r,
signature.asc
Description: This is a digitally signed message part
-- AppArmor mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
