aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m32r/include/asm/assembler.h
diff options
context:
space:
mode:
authorHugh Dickins <[email protected]>2009-04-16 20:58:12 +0000
committerLinus Torvalds <[email protected]>2009-04-16 21:41:25 +0000
commit05fa199d45c54a9bda7aa3ae6537253d6f097aa9 (patch)
treecfdcdd04bfcef7d0dcb47fad93ba8fa676349dd3 /arch/m32r/include/asm/assembler.h
parentRevert "kobject: don't block for each kobject_uevent". (diff)
downloadkernel-05fa199d45c54a9bda7aa3ae6537253d6f097aa9.tar.gz
kernel-05fa199d45c54a9bda7aa3ae6537253d6f097aa9.zip
mm: pass correct mm when growing stack
Tetsuo Handa reports seeing the WARN_ON(current->mm == NULL) in security_vm_enough_memory(), when do_execve() is touching the target mm's stack, to set up its args and environment. Yes, a UMH_NO_WAIT or UMH_WAIT_PROC call_usermodehelper() spawns an mm-less kernel thread to do the exec. And in any case, that vm_enough_memory check when growing stack ought to be done on the target mm, not on the execer's mm (though apart from the warning, it only makes a slight tweak to OVERCOMMIT_NEVER behaviour). Reported-by: Tetsuo Handa <[email protected]> Signed-off-by: Hugh Dickins <[email protected]> Cc: [email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'arch/m32r/include/asm/assembler.h')
0 files changed, 0 insertions, 0 deletions