riscv: audit: add audit hook in do_syscall_trace_enter/exit()
authorDavid Abdurachmanov <david.abdurachmanov@gmail.com>
Mon, 29 Oct 2018 10:48:54 +0000 (11:48 +0100)
committerPalmer Dabbelt <palmer@sifive.com>
Mon, 7 Jan 2019 16:22:40 +0000 (08:22 -0800)
commit0aea89430a4c79c65c541c947497007d33fbe002
tree7318444d5544bda424b8712446abbecfecbc4ece
parentefe75c494f57890900caf6c8a0667db35bfaf56a
riscv: audit: add audit hook in do_syscall_trace_enter/exit()

This patch adds auditing functions on entry to and exit from every system
call invocation.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
arch/riscv/kernel/ptrace.c