Re: [PATCH v22 06/23] LSM: Use lsmblob in security_secid_to_secctx

From
James Morris <jmorris@namei.org>
Date
2020-11-10 06:56:35
Also in
lkml, netdev, netfilter-devel, selinux
Reply to
Casey Schaufler, 2020-11-05
On Wed, 4 Nov 2020, Casey Schaufler wrote:
Change security_secid_to_secctx() to take a lsmblob as input
instead of a u32 secid. It will then call the LSM hooks
using the lsmblob element allocated for that module. The
callers have been updated as well. This allows for the
possibility that more than one module may be called upon
to translate a secid to a string, as can occur in the
audit code.

Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Cc: <redacted>
Cc: <redacted>
Ditto with this, + audit. Also, you should put primary maintainers on the 
To: line or they may miss the email.

-- 
James Morris
[off-list ref]
Thread (32 messages) 32 messages, 4 authors, last reply 2020-11-16
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help