]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
aout32 coredump compat fix
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 22 Jun 2013 07:01:38 +0000 (11:01 +0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 22 Jun 2013 07:01:38 +0000 (11:01 +0400)
commit945fb136dfcb5291b4fb2abd4fd1edf790de44ff
treea32b99fade5a47d619b1c9fa5613f49f84bfa9dc
parent7995bd287134f6c8f80d94bebe7396f05a9bc42b
aout32 coredump compat fix

dump_seek() does SEEK_CUR, not SEEK_SET; native binfmt_aout
handles it correctly (seeks by PAGE_SIZE - sizeof(struct user),
getting the current position to PAGE_SIZE), compat one seeks
by PAGE_SIZE and ends up at PAGE_SIZE + already written...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/x86/ia32/ia32_aout.c