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

2019-03-17 Thread Dmitry V. Levin
syscall_get_arch() is required to be implemented on all architectures in addition to already implemented syscall_get_nr(), syscall_get_arguments(), syscall_get_error(), and syscall_get_return_value() functions in order to extend the generic ptrace API with PTRACE_GET_SYSCALL_INFO request.

[PATCH v2 11/13] Move EM_UNICORE to uapi/linux/elf-em.h

2019-03-17 Thread Dmitry V. Levin
This should never have been defined in the arch tree to begin with, and now uapi/linux/audit.h header is going to use EM_UNICORE in order to define AUDIT_ARCH_UNICORE which is needed to implement syscall_get_arch() which in turn is required to extend the generic ptrace API with

[PATCH v2 09/13] nds32: define syscall_get_arch()

2019-03-17 Thread Dmitry V. Levin
syscall_get_arch() is required to be implemented on all architectures in addition to already implemented syscall_get_nr(), syscall_get_arguments(), syscall_get_error(), and syscall_get_return_value() functions in order to extend the generic ptrace API with PTRACE_GET_SYSCALL_INFO request.

[PATCH v2 08/13] Move EM_NDS32 to uapi/linux/elf-em.h

2019-03-17 Thread Dmitry V. Levin
This should never have been defined in the arch tree to begin with, and now uapi/linux/audit.h header is going to use EM_NDS32 in order to define AUDIT_ARCH_NDS32 which is needed to implement syscall_get_arch() which in turn is required to extend the generic ptrace API with PTRACE_GET_SYSCALL_INFO

[PATCH v2 10/13] nios2: define syscall_get_arch()

2019-03-17 Thread Dmitry V. Levin
syscall_get_arch() is required to be implemented on all architectures in addition to already implemented syscall_get_nr(), syscall_get_arguments(), syscall_get_error(), and syscall_get_return_value() functions in order to extend the generic ptrace API with PTRACE_GET_SYSCALL_INFO request.

[PATCH v2 07/13] m68k: define syscall_get_arch()

2019-03-17 Thread Dmitry V. Levin
syscall_get_arch() is required to be implemented on all architectures in addition to already implemented syscall_get_nr(), syscall_get_arguments(), syscall_get_error(), and syscall_get_return_value() functions in order to extend the generic ptrace API with PTRACE_GET_SYSCALL_INFO request.

[PATCH v2 06/13] hexagon: define syscall_get_arch()

2019-03-17 Thread Dmitry V. Levin
syscall_get_arch() is required to be implemented on all architectures in addition to already implemented syscall_get_nr(), syscall_get_arguments(), syscall_get_error(), and syscall_get_return_value() functions in order to extend the generic ptrace API with PTRACE_GET_SYSCALL_INFO request.

[PATCH v2 05/13] Move EM_HEXAGON to uapi/linux/elf-em.h

2019-03-17 Thread Dmitry V. Levin
This should never have been defined in the arch tree to begin with, and now uapi/linux/audit.h header is going to use EM_HEXAGON in order to define AUDIT_ARCH_HEXAGON which is needed to implement syscall_get_arch() which in turn is required to extend the generic ptrace API with

[PATCH v2 02/13] arc: define syscall_get_arch()

2019-03-17 Thread Dmitry V. Levin
syscall_get_arch() is required to be implemented on all architectures in addition to already implemented syscall_get_nr(), syscall_get_arguments(), syscall_get_error(), and syscall_get_return_value() functions in order to extend the generic ptrace API with PTRACE_GET_SYSCALL_INFO request.

[PATCH v2 04/13] h8300: define syscall_get_arch()

2019-03-17 Thread Dmitry V. Levin
syscall_get_arch() is required to be implemented on all architectures in addition to already implemented syscall_get_nr(), syscall_get_arguments(), syscall_get_error(), and syscall_get_return_value() functions in order to extend the generic ptrace API with PTRACE_GET_SYSCALL_INFO request.

[PATCH v2 00/13] Prepare syscall_get_arch for PTRACE_GET_SYSCALL_INFO

2019-03-17 Thread Dmitry V. Levin
syscall_get_arch() is required to be implemented on all architectures in order to extend the generic ptrace API with PTRACE_GET_SYSCALL_INFO request: syscall_get_arch() is going to be called from ptrace_request() along with syscall_get_nr(), syscall_get_arguments(), syscall_get_error(), and

Re: [PATCH 09/14] nds32: define syscall_get_arch()

2019-03-17 Thread Greentime Hu
Vincent Chen 於 2019年3月5日 週二 上午7:50寫道: > > Dmitry V. Levin 於 2019年2月27日 週三 下午11:30寫道: > > > > > syscall_get_arch() is required to be implemented on all architectures > > in addition to already implemented syscall_get_nr(), > > syscall_get_arguments(), syscall_get_error(), and > >

Re: [GIT PULL] Audit patches for v5.1

2019-03-17 Thread pr-tracker-bot
The pull request you sent on Tue, 5 Mar 2019 17:35:35 -0500: > git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit.git > tags/audit-pr-20190305 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/be37f21a08ce65c7632c7f45e1755a4b07f278a0 Thank you! --

Re: [PATCH ghak90 V5 04/10] audit: log container info of syscalls

2019-03-17 Thread Neil Horman
On Fri, Mar 15, 2019 at 02:29:52PM -0400, Richard Guy Briggs wrote: > Create a new audit record AUDIT_CONTAINER_ID to document the audit > container identifier of a process if it is present. > > Called from audit_log_exit(), syscalls are covered. > > A sample raw event: > type=SYSCALL

Re: [PATCH ghak90 V5 02/10] audit: add container id

2019-03-17 Thread Neil Horman
On Fri, Mar 15, 2019 at 02:29:50PM -0400, Richard Guy Briggs wrote: > Implement the proc fs write to set the audit container identifier of a > process, emitting an AUDIT_CONTAINER_OP record to document the event. > > This is a write from the container orchestrator task to a proc entry of > the