aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorKirill Korotaev <[email protected]>2006-08-13 23:24:23 -0700
committerGreg Kroah-Hartman <[email protected]>2006-08-14 12:54:29 -0700
commit6997a6faaa129a1c91775f7344c8d371a05178ea (patch)
treed1dbf57afc7d561620ad1b192ae031fd234b085a /include/linux
parent012c437d03cb299814e58ac8d574f7510f5989a5 (diff)
[PATCH] sys_getppid oopses on debug kernel
sys_getppid() optimization can access a freed memory. On kernels with DEBUG_SLAB turned ON, this results in Oops. As Dave Hansen noted, this optimization is also unsafe for memory hotplug. So this patch always takes the lock to be safe. [[email protected]: simplifications] Signed-off-by: Kirill Korotaev <[email protected]> Cc: <[email protected]> Cc: Dave Hansen <[email protected]> Signed-off-by: Oleg Nesterov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions