diff options
| author | Tetsuo Handa <[email protected]> | 2010-02-22 20:44:16 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-02-23 03:50:34 +0000 |
| commit | 701188374b6f1ef9cf7e4dce4a2e69ef4c0012ac (patch) | |
| tree | f716e33bde324c74553a8d0b2acfb70d8ca3f1cc /lib/debugobjects.c | |
| parent | memcg: fix oom killing a child process in an other cgroup (diff) | |
| download | kernel-701188374b6f1ef9cf7e4dce4a2e69ef4c0012ac.tar.gz kernel-701188374b6f1ef9cf7e4dce4a2e69ef4c0012ac.zip | |
kernel/sys.c: fix missing rcu protection for sys_getpriority()
find_task_by_vpid() is not safe without rcu_read_lock(). 2.6.33-rc7 got
RCU protection for sys_setpriority() but missed it for sys_getpriority().
Signed-off-by: Tetsuo Handa <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: "Paul E. McKenney" <[email protected]>
Acked-by: Serge Hallyn <[email protected]>
Acked-by: Thomas Gleixner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
