commit | 945fb136dfcb5291b4fb2abd4fd1edf790de44ff | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sat Jun 22 11:01:38 2013 +0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sat Jun 22 11:01:38 2013 +0400 |
tree | a32b99fade5a47d619b1c9fa5613f49f84bfa9dc | |
parent | 7995bd287134f6c8f80d94bebe7396f05a9bc42b [diff] |
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>