Thread (11 messages) 11 messages, 6 authors, 2020-11-07

Re: [PATCH 1/2] [lsm] introduce a new hook to query LSM for functionality

From: James Morris <jmorris@namei.org>
Date: 2020-11-07 01:33:19
Also in: linux-nfs, selinux

On Thu, 5 Nov 2020, Olga Kornievskaia wrote:
From: Olga Kornievskaia <redacted>

Add a new hook func_query_vfs to query an LSM module (such as
SELinux) with the intention of finding whether or not it is enabled
or perhaps supports some functionality.

NFS stores security labels for file system objects and SElinux
or any other LSM module can query those objects. But it's
wasteful to do so when no security enforcement is taking place.
Using a new API call of security_func_query_vfs() and asking if
Seems we lost something here.



-- 
James Morris
[off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help