diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-08-12 09:03:26 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-08-18 06:22:34 +0200 |
commit | 3fadc52b2c9171b138b93f4a0121ceba67241b3b (patch) | |
tree | 24512228e7afbf4c8fcdce6be9175f9655249ffc /init/do_mounts_rd.c | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/coo... (diff) | |
download | linux-3fadc52b2c9171b138b93f4a0121ceba67241b3b.tar.xz linux-3fadc52b2c9171b138b93f4a0121ceba67241b3b.zip |
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 <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'init/do_mounts_rd.c')
0 files changed, 0 insertions, 0 deletions