Re: [PATCH v2 16/15] syscall_get_arch: add "struct task_struct *" argument

2018-11-21 Thread Palmer Dabbelt
Cc: linux...@lists.infradead.org Cc: linux-xte...@linux-xtensa.org Cc: linuxppc-...@lists.ozlabs.org Cc: nios2-...@lists.rocketboards.org Cc: openr...@lists.librecores.org Cc: sparcli...@vger.kernel.org Cc: uclinux-h8-de...@lists.sourceforge.jp Cc: x...@kernel.org Signed-off-by: Dmitry V. Levin Reviewed-

Re: [PATCH 1/2] riscv: add audit support

2018-11-15 Thread Palmer Dabbelt
On Tue, 13 Nov 2018 15:34:18 PST (-0800), p...@paul-moore.com wrote: On Tue, Nov 13, 2018 at 5:07 AM Palmer Dabbelt wrote: On Mon, 29 Oct 2018 03:48:53 PDT (-0700), david.abdurachma...@gmail.com wrote: > On RISC-V (riscv) audit is supported through generic lib/audit.c. > The patc

Re: [PATCH 1/2] riscv: add audit support

2018-11-13 Thread Palmer Dabbelt
On Mon, 29 Oct 2018 03:48:53 PDT (-0700), david.abdurachma...@gmail.com wrote: On RISC-V (riscv) audit is supported through generic lib/audit.c. The patch adds required arch specific definitions. Signed-off-by: David Abdurachmanov --- arch/riscv/Kconfig | 1 +

Re: [PATCH 12/13 v2] riscv: define syscall_get_arch()

2018-11-11 Thread Palmer Dabbelt
RCH_64BIT) #define AUDIT_ARCH_SH (EM_SH) Reviewed-by: Palmer Dabbelt Thanks! -- Linux-audit mailing list Linux-audit@redhat.com https://www.redhat.com/mailman/listinfo/linux-audit

Re: [PATCH 12/13] riscv: define syscall_get_arch()

2018-11-09 Thread Palmer Dabbelt
On Thu, 08 Nov 2018 19:17:13 PST (-0800), l...@altlinux.org wrote: syscall_get_arch() is required to be implemented on all architectures that use tracehook_report_syscall_entry() in order to extend the generic ptrace API with PTRACE_GET_SYSCALL_INFO request. Signed-off-by: Dmitry V. Levin ---

Re: [PATCH 2/2] RISC-V: Add support for SECCOMP

2018-10-30 Thread Palmer Dabbelt
On Sun, 28 Oct 2018 04:07:55 PDT (-0700), david.abdurachma...@gmail.com wrote: On Thu, Oct 25, 2018 at 10:36 PM Paul Moore wrote: On Thu, Oct 25, 2018 at 2:31 PM David Abdurachmanov wrote: > On Wed, Oct 24, 2018 at 10:40 PM Palmer Dabbelt wrote: > > From: "Wesl

Re: [PATCH 2/2] RISC-V: Add support for SECCOMP

2018-10-27 Thread Palmer Dabbelt
On Thu, 25 Oct 2018 14:02:20 PDT (-0700), l...@amacapital.net wrote: On Wed, Oct 24, 2018 at 2:42 PM Kees Cook wrote: On Wed, Oct 24, 2018 at 1:40 PM, Palmer Dabbelt wrote: > From: "Wesley W. Terpstra" > > This is a fairly straight-forward implementation of seccomp f

Re: [PATCH 2/2] RISC-V: Add support for SECCOMP

2018-10-27 Thread Palmer Dabbelt
On Thu, 25 Oct 2018 11:31:30 PDT (-0700), david.abdurachma...@gmail.com wrote: On Wed, Oct 24, 2018 at 10:40 PM Palmer Dabbelt wrote: From: "Wesley W. Terpstra" This is a fairly straight-forward implementation of seccomp for RISC-V systems. Signed-off-by: Wesley W. Terpstra

[PATCH 1/2] Move EM_RISCV into elf-em.h

2018-10-24 Thread Palmer Dabbelt
This should never have been inside our arch port to begin with, it's just a relic from when we were maintaining out of tree patches. Signed-off-by: Palmer Dabbelt --- arch/riscv/include/asm/elf.h | 3 --- include/uapi/linux/elf-em.h | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff

[PATCH 2/2] RISC-V: Add support for SECCOMP

2018-10-24 Thread Palmer Dabbelt
From: "Wesley W. Terpstra" This is a fairly straight-forward implementation of seccomp for RISC-V systems. Signed-off-by: Wesley W. Terpstra Signed-off-by: Palmer Dabbelt --- arch/riscv/Kconfig | 18 ++ arch/riscv/include/asm/seccomp.

[PATCH 0/2] RISC-V: Add support for SECCOMP

2018-10-24 Thread Palmer Dabbelt
On Tue, 23 Oct 2018 01:20:28 PDT (-0700), david.abdurachma...@gmail.com wrote: > On Tue, Oct 23, 2018 at 3:20 AM Palmer Dabbelt wrote: > >> I'm pretty sure this is our largest patch set since the original kernel >> contribution, and it's certainly the one with the most contri