• Al Viro's avatar
    aout32 coredump compat fix · 945fb136
    Al Viro authored
    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: default avatarAl Viro <viro@zeniv.linux.org.uk>
    945fb136
ia32_aout.c 12.7 KB