Re: [PATCH ghak81 V3 2/3] audit: normalize loginuid read access

2018-05-18 Thread Paul Moore
On Wed, May 16, 2018 at 7:55 AM, Richard Guy Briggs wrote: > Recognizing that the loginuid is an internal audit value, use an access > function to retrieve the audit loginuid value for the task rather than > reaching directly into the task struct to get it. > > Signed-off-by:

Re: [PATCH ghak81 V3 1/3] audit: use new audit_context access funciton for seccomp_actions_logged

2018-05-18 Thread Paul Moore
On Wed, May 16, 2018 at 7:55 AM, Richard Guy Briggs wrote: > On the rebase of the following commit on the new seccomp actions_logged > function, one audit_context access was missed. > > commit cdfb6b341f0f2409aba24b84f3b4b2bba50be5c5 > ("audit: use inline function to get audit

Re: [PATCH ghak81 V3 3/3] audit: collect audit task parameters

2018-05-18 Thread Paul Moore
On Wed, May 16, 2018 at 7:55 AM, Richard Guy Briggs wrote: > The audit-related parameters in struct task_struct should ideally be > collected together and accessed through a standard audit API. > > Collect the existing loginuid, sessionid and audit_context together in a > new

Re: SELinux musl support

2018-05-18 Thread Jason Zaman
On Fri, May 18, 2018 at 08:58:58AM -0400, Stephen Smalley wrote: > On 05/18/2018 01:03 AM, Jason Zaman wrote: > > On Thu, May 17, 2018 at 09:22:01PM +0200, Nicolas Iooss wrote: > >> On Thu, May 17, 2018 at 7:11 AM, Jason Zaman wrote: > >>> This series fixes compiling and

Re: SELinux musl support

2018-05-18 Thread Stephen Smalley
On 05/18/2018 01:03 AM, Jason Zaman wrote: > On Thu, May 17, 2018 at 09:22:01PM +0200, Nicolas Iooss wrote: >> On Thu, May 17, 2018 at 7:11 AM, Jason Zaman wrote: >>> This series fixes compiling and running on musl libc. >>> >>> patches 1-2 are fairly trivial. >>> >>> patches