Re: [PATCH v18 05/23] net: Prepare UDS for security module stacking

2020-07-09 Thread Stephen Smalley
On Thu, Jul 9, 2020 at 12:28 PM John Johansen wrote: > > On 7/9/20 9:11 AM, Stephen Smalley wrote: > > On Wed, Jul 8, 2020 at 8:23 PM Casey Schaufler > > wrote: > >> > >> Change the data used in UDS SO_PEERSEC processing from a > >> secid to a more general struct lsmblob. Update the > >> securit

Re: [PATCH v18 05/23] net: Prepare UDS for security module stacking

2020-07-09 Thread Casey Schaufler
On 7/9/2020 9:28 AM, John Johansen wrote: > On 7/9/20 9:11 AM, Stephen Smalley wrote: >> On Wed, Jul 8, 2020 at 8:23 PM Casey Schaufler >> wrote: >>> Change the data used in UDS SO_PEERSEC processing from a >>> secid to a more general struct lsmblob. Update the >>> security_socket_getpeersec_dgra

Re: [PATCH v18 05/23] net: Prepare UDS for security module stacking

2020-07-09 Thread John Johansen
On 7/9/20 9:11 AM, Stephen Smalley wrote: > On Wed, Jul 8, 2020 at 8:23 PM Casey Schaufler wrote: >> >> Change the data used in UDS SO_PEERSEC processing from a >> secid to a more general struct lsmblob. Update the >> security_socket_getpeersec_dgram() interface to use the >> lsmblob. There is a s

Re: [PATCH v18 05/23] net: Prepare UDS for security module stacking

2020-07-09 Thread Stephen Smalley
On Wed, Jul 8, 2020 at 8:23 PM Casey Schaufler wrote: > > Change the data used in UDS SO_PEERSEC processing from a > secid to a more general struct lsmblob. Update the > security_socket_getpeersec_dgram() interface to use the > lsmblob. There is a small amount of scaffolding code > that will come

[PATCH v18 05/23] net: Prepare UDS for security module stacking

2020-07-08 Thread Casey Schaufler
Change the data used in UDS SO_PEERSEC processing from a secid to a more general struct lsmblob. Update the security_socket_getpeersec_dgram() interface to use the lsmblob. There is a small amount of scaffolding code that will come out when the security_secid_to_secctx() code is brought in line wit