summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2020-07-02 15:20:22 -0700
committerKees Cook <keescook@chromium.org>2020-07-08 16:00:22 -0700
commit60f7bb66b88b649433bf700acfc60c3f24953871 (patch)
treea8645c78975252d456c17685eb840ee74f504ac4 /Makefile
parentb25a7c5af9051850d4f3d93ca500056ab6ec724b (diff)
kprobes: Do not expose probe addresses to non-CAP_SYSLOG
The kprobe show() functions were using "current"'s creds instead of the file opener's creds for kallsyms visibility. Fix to use seq_file->file->f_cred. Cc: Masami Hiramatsu <mhiramat@kernel.org> Cc: stable@vger.kernel.org Fixes: 81365a947de4 ("kprobes: Show address of kprobes if kallsyms does") Fixes: ffb9bd68ebdb ("kprobes: Show blacklist addresses as same as kallsyms does") Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions