summaryrefslogtreecommitdiffstats
path: root/drivers/video/stifb.c
diff options
context:
space:
mode:
authorChris Zankel <chris@zankel.net>2012-10-24 13:15:21 -0700
committerChris Zankel <chris@zankel.net>2012-10-25 14:53:36 -0700
commit6ebe7da25b7879194fdb5c43ea67b383dd9014d6 (patch)
tree078aca917e5fe9db80af42298210684d250f98bf /drivers/video/stifb.c
parentcddfcbcd05851a3b720055d40fc61c63ea1c2bd1 (diff)
downloadop-kernel-dev-6ebe7da25b7879194fdb5c43ea67b383dd9014d6.zip
op-kernel-dev-6ebe7da25b7879194fdb5c43ea67b383dd9014d6.tar.gz
xtensa: reset windowbase/windowstart when cloning the VM
When we copy a user thread with CLONE_VM, we also have to reset windowbase and windowstart to start a pristine stack frame. Otherwise, overflows can happen using the address 0 as the stack pointer. Also add a special case for vfork, which continues on the parent stack until it calls execve. Because this could be a call8, we need to spill the stack pointer of the previus frame (if still 'live' in the register file). Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'drivers/video/stifb.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud