aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorUlrich Drepper <[email protected]>2007-07-31 00:38:16 -0700
committerLinus Torvalds <[email protected]>2007-07-31 15:39:39 -0700
commit9eb3ff40376e505eafb927b4a4cbccc928df68ec (patch)
tree86566782602f9012935c2de195f970f878b94401 /scripts/patch-kernel
parent07a304603cd0133468e3a153f4fe78b02733d0db (diff)
CPU online file permission
Is there a reason why the "online" file in the subdirectories for the CPUs in /sys/devices/system isn't world-readable? I cannot imagine it to be security relevant especially now that a getcpu() syscall can be used to determine what CPUa thread runs on. The file is useful to correctly implement the sysconf() function to return the number of online CPUs. In the presence of hotplug we currently cannot provide this information. The patch below should to it. Signed-off-by: Ulrich Drepper <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions