Re: [PATCH 2/2] seccomp: Audit SECCOMP_RET_ERRNO actions with errno values

2017-01-02 Thread Paul Moore
On Mon, Jan 2, 2017 at 1:49 PM, Steve Grubb wrote: > On Monday, January 2, 2017 5:42:47 PM EST Tyler Hicks wrote: >> On 2017-01-02 12:20:53, Steve Grubb wrote: >> > On Monday, January 2, 2017 4:53:10 PM EST Tyler Hicks wrote: ... >> Thanks for having a look at the field name I was using. Althoug

Re: [PATCH 2/2] seccomp: Audit SECCOMP_RET_ERRNO actions with errno values

2017-01-02 Thread Steve Grubb
On Monday, January 2, 2017 5:42:47 PM EST Tyler Hicks wrote: > On 2017-01-02 12:20:53, Steve Grubb wrote: > > On Monday, January 2, 2017 4:53:10 PM EST Tyler Hicks wrote: > > > Generate audit records for SECCOMP_RET_ERRNO actions, which were > > > previously not audited. > > > > > > Additionally,

Re: [PATCH 2/2] seccomp: Audit SECCOMP_RET_ERRNO actions with errno values

2017-01-02 Thread Tyler Hicks
On 2017-01-02 12:20:53, Steve Grubb wrote: > On Monday, January 2, 2017 4:53:10 PM EST Tyler Hicks wrote: > > Generate audit records for SECCOMP_RET_ERRNO actions, which were > > previously not audited. > > > > Additionally, include the errno value that will be set in the audit > > message. > > >

Re: [PATCH 2/2] seccomp: Audit SECCOMP_RET_ERRNO actions with errno values

2017-01-02 Thread Steve Grubb
On Monday, January 2, 2017 4:53:10 PM EST Tyler Hicks wrote: > Generate audit records for SECCOMP_RET_ERRNO actions, which were > previously not audited. > > Additionally, include the errno value that will be set in the audit > message. > > Signed-off-by: Tyler Hicks > --- > include/linux/audit

[PATCH 2/2] seccomp: Audit SECCOMP_RET_ERRNO actions with errno values

2017-01-02 Thread Tyler Hicks
Generate audit records for SECCOMP_RET_ERRNO actions, which were previously not audited. Additionally, include the errno value that will be set in the audit message. Signed-off-by: Tyler Hicks --- include/linux/audit.h | 19 ++- kernel/auditsc.c | 3 +++ kernel/seccomp.c