summaryrefslogtreecommitdiffstats
path: root/arch/riscv/Kconfig
diff options
context:
space:
mode:
authorDavid Abdurachmanov <david.abdurachmanov@gmail.com>2018-10-29 11:48:53 +0100
committerPalmer Dabbelt <palmer@sifive.com>2019-01-07 17:22:39 +0100
commitefe75c494f57890900caf6c8a0667db35bfaf56a (patch)
tree874556a5b33b4203aba387f88d1b0e231d35be38 /arch/riscv/Kconfig
parentLinux 4.20 (diff)
downloadlinux-efe75c494f57890900caf6c8a0667db35bfaf56a.tar.xz
linux-efe75c494f57890900caf6c8a0667db35bfaf56a.zip
riscv: add audit support
On RISC-V (riscv) audit is supported through generic lib/audit.c. The patch adds required arch specific definitions. Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'arch/riscv/Kconfig')
-rw-r--r--arch/riscv/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index 55da93f4e818..38787c48d76c 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -28,6 +28,7 @@ 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