diff options
author | Palmer Dabbelt <palmer@sifive.com> | 2019-01-07 17:45:47 +0100 |
---|---|---|
committer | Palmer Dabbelt <palmer@sifive.com> | 2019-01-07 17:45:47 +0100 |
commit | 801009424e05cf110f016d7fac7fcf20ef94941a (patch) | |
tree | b46e0f4c1fa20bbd00dc838c19d3b824cc673b23 /arch/riscv/Kconfig | |
parent | RISC-V: Support MODULE_SECTIONS mechanism on RV32 (diff) | |
parent | riscv: add HAVE_SYSCALL_TRACEPOINTS to Kconfig (diff) | |
download | linux-801009424e05cf110f016d7fac7fcf20ef94941a.tar.xz linux-801009424e05cf110f016d7fac7fcf20ef94941a.zip |
Fix a handful of audit-related issue
This is sort of a mix between a new feature and a bug fix. I've managed
to screw up merging this patch set a handful of times but I think it's
OK this time around. The main new feature here is audit support for
RISC-V, with some fixes to audit-related bugs that cropped up along the
way:
* The addition of NR_syscalls into unistd.h, which is necessary for
CONFIG_FTRACE_SYSCALLS.
* The definition of CREATE_TRACE_POINTS so
__tracepoint_sys_{enter,exit} get defined.
* A fix for trace_sys_exit() so we can enable
CONFIG_HAVE_SYSCALL_TRACEPOINTS.
Diffstat (limited to 'arch/riscv/Kconfig')
-rw-r--r-- | arch/riscv/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 6be2c08ff2b5..feeeaa60697c 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -28,11 +28,13 @@ config RISCV select GENERIC_STRNLEN_USER select GENERIC_SMP_IDLE_THREAD select GENERIC_ATOMIC64 if !64BIT || !RISCV_ISA_A + select HAVE_ARCH_AUDITSYSCALL select HAVE_MEMBLOCK_NODE_MAP select HAVE_DMA_CONTIGUOUS select HAVE_FUTEX_CMPXCHG if FUTEX select HAVE_GENERIC_DMA_COHERENT select HAVE_PERF_EVENTS + select HAVE_SYSCALL_TRACEPOINTS select IRQ_DOMAIN select RISCV_ISA_A if SMP select SPARSE_IRQ |