linux-stable-rt/kernel
Linus Torvalds de9e007d91 sysctl: make sure to terminate strings with a NUL
This is a slightly more complete fix for the previous minimal sysctl
string fix.  It always terminates the returned string with a NUL, even
if the full result wouldn't fit in the user-supplied buffer.

The returned length is the full untruncated length, so that you can
tell when truncation has occurred.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-12-31 17:00:29 -08:00
..
irq
power [PATCH] fix swsusp on machines not supporting S4 2005-11-29 19:47:03 -08:00
Kconfig.hz
Kconfig.preempt
Makefile
acct.c
audit.c [PATCH] Add try_to_freeze to kauditd 2005-12-12 08:57:43 -08:00
auditsc.c
capability.c
compat.c
configs.c
cpu.c
cpuset.c
crash_dump.c
dma.c
exec_domain.c
exit.c
extable.c
fork.c [PATCH] cpuset fork locking fix 2005-11-28 14:42:24 -08:00
futex.c [PATCH] Fix memory ordering problem in wake_futex() 2005-12-24 12:13:27 -08:00
intermodule.c
itimer.c
kallsyms.c
kexec.c
kfifo.c
kmod.c
kprobes.c [PATCH] kprobes: increment kprobe missed count for multiprobes 2005-12-12 08:57:45 -08:00
ksysfs.c
kthread.c
module.c
panic.c
params.c [PATCH] kernel/params.c: fix sysfs access with CONFIG_MODULES=n 2005-12-20 10:31:33 -08:00
pid.c
posix-cpu-timers.c [PATCH] fix 32bit overflow in timespec_to_sample() 2005-11-28 14:42:23 -08:00
posix-timers.c
printk.c
profile.c
ptrace.c [PATCH] Fix crash when ptrace poking hugepage areas 2005-11-29 19:47:03 -08:00
rcupdate.c [PATCH] Fix RCU race in access of nohz_cpu_mask 2005-12-12 08:57:42 -08:00
rcutorture.c [PATCH] Fix bug in RCU torture test 2005-12-12 08:57:42 -08:00
resource.c
sched.c
seccomp.c
signal.c
softirq.c
softlockup.c
spinlock.c
stop_machine.c
sys.c [PATCH] kprobes: no probes on critical path 2005-12-12 08:57:45 -08:00
sys_ni.c
sysctl.c sysctl: make sure to terminate strings with a NUL 2005-12-31 17:00:29 -08:00
time.c [PATCH] Add getnstimestamp function 2005-12-12 08:57:42 -08:00
timer.c
uid16.c
user.c
wait.c
workqueue.c [PATCH] Fix hardcoded cpu=0 in workqueue for per_cpu_ptr() calls 2005-11-28 14:42:23 -08:00