Re: [RFC PATCH 1/2] audit: allow other filter list types for AUDIT_EXE

2018-06-19 Thread Paul Moore
On Wed, May 30, 2018 at 4:45 AM Ondrej Mosnacek wrote: > > This patch removes the restriction of the AUDIT_EXE field to only > SYSCALL filter and teaches audit_filter to recognize this field. > > This makes it possible to write rule lists such as: > > auditctl -a exit,always [some general

Re: [RFC PATCH 1/2] audit: allow other filter list types for AUDIT_EXE

2018-06-05 Thread Ondrej Mosnacek
2018-06-04 22:41 GMT+02:00 Paul Moore : > On Wed, May 30, 2018 at 4:45 AM, Ondrej Mosnacek wrote: >> This patch removes the restriction of the AUDIT_EXE field to only >> SYSCALL filter and teaches audit_filter to recognize this field. >> >> This makes it possible to write rule lists such as: >>

Re: [RFC PATCH 1/2] audit: allow other filter list types for AUDIT_EXE

2018-06-04 Thread Paul Moore
On Wed, May 30, 2018 at 4:45 AM, Ondrej Mosnacek wrote: > This patch removes the restriction of the AUDIT_EXE field to only > SYSCALL filter and teaches audit_filter to recognize this field. > > This makes it possible to write rule lists such as: > > auditctl -a exit,always [some general

Re: [RFC PATCH 1/2] audit: allow other filter list types for AUDIT_EXE

2018-05-31 Thread Richard Guy Briggs
On 2018-05-30 10:45, Ondrej Mosnacek wrote: > This patch removes the restriction of the AUDIT_EXE field to only > SYSCALL filter and teaches audit_filter to recognize this field. > > This makes it possible to write rule lists such as: > > auditctl -a exit,always [some general rule] > #

[RFC PATCH 1/2] audit: allow other filter list types for AUDIT_EXE

2018-05-30 Thread Ondrej Mosnacek
This patch removes the restriction of the AUDIT_EXE field to only SYSCALL filter and teaches audit_filter to recognize this field. This makes it possible to write rule lists such as: auditctl -a exit,always [some general rule] # Filter out events with executable name /bin/exe1 or