diff options
author | Sukadev Bhattiprolu <[email protected]> | 2008-10-29 14:01:11 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2008-10-30 11:38:46 -0700 |
commit | d25141a818383b3c3b09f065698c544a7a0ec6e7 (patch) | |
tree | fb2f868b42ccdde710ddf426e1c90f8ffcc83368 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | e74481e23283fb080d4591c258de20785cc3b6c3 (diff) |
'kill sig -1' must only apply to caller's namespace
Currently "kill <sig> -1" kills processes in all namespaces and breaks the
isolation of namespaces. Earlier attempt to fix this was discussed at:
http://lkml.org/lkml/2008/7/23/148
As suggested by Oleg Nesterov in that thread, use "task_pid_vnr() > 1"
check since task_pid_vnr() returns 0 if process is outside the caller's
namespace.
Signed-off-by: Sukadev Bhattiprolu <[email protected]>
Acked-by: Eric W. Biederman <[email protected]>
Tested-by: Daniel Hokka Zakrisson <[email protected]>
Signed-off-by: Oleg Nesterov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions