[LinuxPPS] 18 Aug 04:22 - powerpc: Fix loss of vdso on fork on 32-bit

linuxpps: Benjamin Herrenschmidt <> webmaster at enneenne.com
Wed Aug 20 00:00:05 CEST 2008


powerpc: Fix loss of vdso on fork on 32-bit  
  
When we fork, init_new_context() improperly resets the vdso_base  
of the new context to 0. That means that the new process loses  
access to the vdso for signal trampolines.  
  
The initialization should be unnecessary anyway as the context  
on a fresh mm should be 0 in the first place and binfmt_elf  
will initialize that value for a newly loaded process.  
  
Signed-off-by: Benjamin Herrenschmidt   
Signed-off-by: Paul Mackerras   
  
arch/powerpc/include/asm/mmu_context.h

URL: http://gitweb.enneenne.com/?p=linuxpps;a=commit;h=3fadc52b2c9171b138b93f4a0121ceba67241b3b



More information about the LinuxPPS mailing list