Re: [PATCH] net/tipc: initialize security state for new connection socket

2015-07-08 Thread David Miller
From: Stephen Smalley Date: Tue, 7 Jul 2015 09:43:45 -0400 > Calling connect() with an AF_TIPC socket would trigger a series > of error messages from SELinux along the lines of: > SELinux: Invalid class 0 > type=AVC msg=audit(1434126658.487:34500): avc: denied { } > for pid=292 comm="kworke

Re: [PATCH] net/tipc: initialize security state for new connection socket

2015-07-07 Thread Ying Xue
On 07/07/2015 09:43 PM, Stephen Smalley wrote: > Calling connect() with an AF_TIPC socket would trigger a series > of error messages from SELinux along the lines of: > SELinux: Invalid class 0 > type=AVC msg=audit(1434126658.487:34500): avc: denied { } > for pid=292 comm="kworker/u16:5" sconte

[PATCH] net/tipc: initialize security state for new connection socket

2015-07-07 Thread Stephen Smalley
Calling connect() with an AF_TIPC socket would trigger a series of error messages from SELinux along the lines of: SELinux: Invalid class 0 type=AVC msg=audit(1434126658.487:34500): avc: denied { } for pid=292 comm="kworker/u16:5" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:obje