kernel-ark/drivers/base
Ulrich Drepper 9eb3ff4037 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 <drepper@redhat.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-31 15:39:39 -07:00
..
power Introduce CONFIG_SUSPEND for suspend-to-Ram and standby 2007-07-29 16:45:38 -07:00
attribute_container.c
base.h
bus.c
class.c
core.c driver core: revert "device" link creation check 2007-07-30 14:25:12 -07:00
cpu.c CPU online file permission 2007-07-31 15:39:39 -07:00
dd.c
devres.c
dma-mapping.c
dmapool.c
driver.c
firmware_class.c kernel-doc fixes for PCI and drivers/base/ 2007-07-30 14:25:12 -07:00
firmware.c
hypervisor.c
init.c
isa.c
Kconfig
Makefile
map.c
memory.c
node.c
platform.c
sys.c
topology.c
transport_class.c