Re: [PATCH v4 3/3] audit: add OPENAT2 record to list how

2021-10-21 Thread Richard Guy Briggs
On 2021-10-21 15:00, Steve Grubb wrote: > On Monday, October 4, 2021 2:27:18 PM EDT Richard Guy Briggs wrote: > > > As a heads-up, I had to change the AUDIT_OPENAT2 value to 1337 as the > > > 1336 value is already in use by AUDIT_URINGOP. It wasn't caught > > > during my initial build test as the

Re: [PATCH v4 3/3] audit: add OPENAT2 record to list how

2021-10-21 Thread Steve Grubb
On Monday, October 4, 2021 2:27:18 PM EDT Richard Guy Briggs wrote: > > As a heads-up, I had to change the AUDIT_OPENAT2 value to 1337 as the > > 1336 value is already in use by AUDIT_URINGOP. It wasn't caught > > during my initial build test as the LSM/audit io_uring patches are in > > selinux/ne

Re: [PATCH v4 3/3] audit: add OPENAT2 record to list how

2021-10-04 Thread Richard Guy Briggs
On 2021-10-04 12:08, Paul Moore wrote: > On Wed, May 19, 2021 at 4:02 PM Richard Guy Briggs wrote: > > > > Since the openat2(2) syscall uses a struct open_how pointer to communicate > > its parameters they are not usefully recorded by the audit SYSCALL record's > > four existing arguments. > > > >

Re: [PATCH v4 3/3] audit: add OPENAT2 record to list how

2021-10-04 Thread Paul Moore
On Wed, May 19, 2021 at 4:02 PM Richard Guy Briggs wrote: > > Since the openat2(2) syscall uses a struct open_how pointer to communicate > its parameters they are not usefully recorded by the audit SYSCALL record's > four existing arguments. > > Add a new audit record type OPENAT2 that reports the

Re: [PATCH v4 3/3] audit: add OPENAT2 record to list how

2021-05-25 Thread Richard Guy Briggs
On 2021-05-24 19:08, Paul Moore wrote: > On Thu, May 20, 2021 at 4:03 AM Christian Brauner > wrote: > > On Wed, May 19, 2021 at 04:00:22PM -0400, Richard Guy Briggs wrote: > > > Since the openat2(2) syscall uses a struct open_how pointer to communicate > > > its parameters they are not usefully re

Re: [PATCH v4 3/3] audit: add OPENAT2 record to list how

2021-05-24 Thread Paul Moore
On Thu, May 20, 2021 at 4:03 AM Christian Brauner wrote: > On Wed, May 19, 2021 at 04:00:22PM -0400, Richard Guy Briggs wrote: > > Since the openat2(2) syscall uses a struct open_how pointer to communicate > > its parameters they are not usefully recorded by the audit SYSCALL record's > > four exi

Re: [PATCH v4 3/3] audit: add OPENAT2 record to list how

2021-05-20 Thread Christian Brauner
On Wed, May 19, 2021 at 04:00:22PM -0400, Richard Guy Briggs wrote: > Since the openat2(2) syscall uses a struct open_how pointer to communicate > its parameters they are not usefully recorded by the audit SYSCALL record's > four existing arguments. > > Add a new audit record type OPENAT2 that rep

[PATCH v4 3/3] audit: add OPENAT2 record to list how

2021-05-19 Thread Richard Guy Briggs
Since the openat2(2) syscall uses a struct open_how pointer to communicate its parameters they are not usefully recorded by the audit SYSCALL record's four existing arguments. Add a new audit record type OPENAT2 that reports the parameters in its third argument, struct open_how with fields oflag,