Skip to content
Commit d2530b43 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Al Viro
Browse files

binfmt_elf: remove the set_fs(KERNEL_DS) in elf_core_dump



There is no logic in elf_core_dump itself or in the various arch helpers
called from it which use uaccess routines on kernel pointers except for
the file writes thate are nicely encapsulated by using __kernel_write in
dump_emit.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent fa4751f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment