commit | d2530b436f114dfbd1adc70c59d8d31038318726 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue May 05 12:12:55 2020 +0200 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue May 05 16:46:10 2020 -0400 |
tree | ee9aed56f555de9359bd026b00330ec191c6fe95 | |
parent | fa4751f454e6b51ef93babfd8b6c8b43a65c9db2 [diff] |
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: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>