[PATCH 1/2] /proc/kcore: Fix SMAP violation when dumping vsyscall user page

2018-02-12 Thread Jia Zhang
The commit df04abfd181a ("fs/proc/kcore.c: Add bounce buffer for ktext data") introduces a bounce buffer to work around CONFIG_HARDENED_USERCOPY=y. However, accessing vsyscall user page will cause SMAP violation in this way. In order to fix this issue, simply replace memcpy() with

[PATCH 1/2] /proc/kcore: Fix SMAP violation when dumping vsyscall user page

2018-02-12 Thread Jia Zhang
The commit df04abfd181a ("fs/proc/kcore.c: Add bounce buffer for ktext data") introduces a bounce buffer to work around CONFIG_HARDENED_USERCOPY=y. However, accessing vsyscall user page will cause SMAP violation in this way. In order to fix this issue, simply replace memcpy() with

Re: [PATCH 1/2] /proc/kcore: Fix SMAP violation when dumping vsyscall user page

2018-02-04 Thread Jia Zhang
Hi Jiri, The maintainers are too busy to review this patchset. You are the author of the commit df04abfd181a. Please help to review this patchset. Thanks, Jia On 2018/1/30 下午2:42, Jia Zhang wrote: > The commit df04abfd181a > ("fs/proc/kcore.c: Add bounce buffer for ktext data") introduces a >

Re: [PATCH 1/2] /proc/kcore: Fix SMAP violation when dumping vsyscall user page

2018-02-04 Thread Jia Zhang
Hi Jiri, The maintainers are too busy to review this patchset. You are the author of the commit df04abfd181a. Please help to review this patchset. Thanks, Jia On 2018/1/30 下午2:42, Jia Zhang wrote: > The commit df04abfd181a > ("fs/proc/kcore.c: Add bounce buffer for ktext data") introduces a >

Re: [PATCH 1/2] /proc/kcore: Fix SMAP violation when dumping vsyscall user page

2018-01-31 Thread Jia Zhang
Hi, Are there any comments here? Thanks, Jia On 2018/1/30 下午2:42, Jia Zhang wrote: > The commit df04abfd181a > ("fs/proc/kcore.c: Add bounce buffer for ktext data") introduces a > bounce buffer to work around CONFIG_HARDENED_USERCOPY=y. However, > accessing vsyscall user page will cause SMAP

Re: [PATCH 1/2] /proc/kcore: Fix SMAP violation when dumping vsyscall user page

2018-01-31 Thread Jia Zhang
Hi, Are there any comments here? Thanks, Jia On 2018/1/30 下午2:42, Jia Zhang wrote: > The commit df04abfd181a > ("fs/proc/kcore.c: Add bounce buffer for ktext data") introduces a > bounce buffer to work around CONFIG_HARDENED_USERCOPY=y. However, > accessing vsyscall user page will cause SMAP

[PATCH 1/2] /proc/kcore: Fix SMAP violation when dumping vsyscall user page

2018-01-29 Thread Jia Zhang
The commit df04abfd181a ("fs/proc/kcore.c: Add bounce buffer for ktext data") introduces a bounce buffer to work around CONFIG_HARDENED_USERCOPY=y. However, accessing vsyscall user page will cause SMAP violation in this way. In order to fix this issue, simply replace memcpy() with

[PATCH 1/2] /proc/kcore: Fix SMAP violation when dumping vsyscall user page

2018-01-29 Thread Jia Zhang
The commit df04abfd181a ("fs/proc/kcore.c: Add bounce buffer for ktext data") introduces a bounce buffer to work around CONFIG_HARDENED_USERCOPY=y. However, accessing vsyscall user page will cause SMAP violation in this way. In order to fix this issue, simply replace memcpy() with