Yi Yang
82c9df8201
[PATCH] Fix false old value return of sysctl
...
For the sysctl syscall, if the user wants to get the old value of a
sysctl entry and set a new value for it in the same syscall, the old
value is always overwritten by the new value if the sysctl entry is of
string type and if the user sets its strategy to sysctl_string. This
issue lies in the strategy being run twice if the strategy is set to
sysctl_string, the general strategy sysctl_string always returns 0 if
success.
Such strategy routines as sysctl_jiffies and sysctl_jiffies_ms return 1
because they do read and write for the sysctl entry.
The strategy routine sysctl_string return 0 although it actually read
and write the sysctl entry.
According to my analysis, if a strategy routine do read and write, it
should return 1, if it just does some necessary check but not read and
write, it should return 0, for example sysctl_intvec.
Signed-off-by: Yi Yang <yang.y.yi@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-12-30 17:22:08 -08:00
..
irq
[PATCH] Check the irq number is within bounds
2005-11-23 11:11:28 -08:00
power
[PATCH] fix swsusp on machines not supporting S4
2005-11-29 19:47:03 -08:00
acct.c
[PATCH] saner handling of auto_acct_off() and DQUOT_OFF() in umount
2005-11-07 18:18:09 -08:00
audit.c
[PATCH] Add try_to_freeze to kauditd
2005-12-12 08:57:43 -08:00
auditsc.c
[PATCH] gfp_t: kernel/*
2005-10-28 08:16:49 -07:00
capability.c
compat.c
configs.c
cpu.c
[PATCH] clean up lock_cpu_hotplug() in cpufreq
2005-11-28 14:42:23 -08:00
cpuset.c
[PATCH] cpuset: fix return without releasing semaphore
2005-11-13 18:14:11 -08:00
crash_dump.c
dma.c
exec_domain.c
exit.c
[PATCH] m68k: introduce task_thread_info
2005-11-13 18:14:13 -08:00
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
[PATCH] fix missing includes
2005-10-30 17:37:32 -08:00
Kconfig.hz
Kconfig.preempt
kexec.c
[PATCH] mm: split page table lock
2005-10-29 21:40:42 -07:00
kfifo.c
[PATCH] gfp flags annotations - part 1
2005-10-08 15:00:57 -07:00
kmod.c
[PATCH] Keys: Get rid of warning in kmod.c if keys disabled
2005-10-30 17:37:23 -08:00
kprobes.c
[PATCH] kprobes: increment kprobe missed count for multiprobes
2005-12-12 08:57:45 -08:00
ksysfs.c
kthread.c
[PATCH] Add kthread_stop_sem()
2005-10-30 17:37:17 -08:00
Makefile
[PATCH] RCU torture-testing kernel module
2005-10-30 17:37:27 -08:00
module.c
[PATCH] fix remaining missing includes
2005-11-07 07:53:41 -08:00
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
[PATCH] timespec: normalize off by one errors
2005-11-13 18:14:17 -08:00
printk.c
[PATCH] Fix crash in unregister_console()
2005-11-23 16:08:39 -08:00
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
[PATCH] m68k: introduce setup_thread_stack() and end_of_stack()
2005-11-13 18:14:13 -08:00
seccomp.c
signal.c
[PATCH] signal handling: revert sigkill priority fix
2005-11-13 18:14:15 -08:00
softirq.c
[PATCH] cpu hoptlug: avoid usage of smp_processor_id() in preemptible code
2005-11-07 07:53:29 -08:00
softlockup.c
[PATCH] quieten softlockup at boot
2005-11-09 07:55:50 -08:00
spinlock.c
stop_machine.c
[PATCH] stop_machine() vs. synchronous IPI send deadlock
2005-11-13 18:14:16 -08:00
sys.c
[PATCH] kprobes: no probes on critical path
2005-12-12 08:57:45 -08:00
sys_ni.c
sysctl.c
[PATCH] Fix false old value return of sysctl
2005-12-30 17:22:08 -08:00
time.c
[PATCH] Add getnstimestamp function
2005-12-12 08:57:42 -08:00
timer.c
[PATCH] jiffies_64 cleanup
2005-10-30 17:37:25 -08:00
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