Skip to content
Snippets Groups Projects
Commit 38cdabb7 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Al Viro
Browse files

binfmt_elf_fdpic: remove the set_fs(KERNEL_DS) in elf_fdpic_core_dump


There is no logic in elf_fdpic_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 d2530b43
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment