Thread (20 messages) 20 messages, 7 authors, 2025-12-03

Re: [PATCH v2] security,fs,nfs,net: update security_inode_listsecurity() interface

From: Anna Schumaker <hidden>
Date: 2025-05-27 21:03:35
Also in: linux-fsdevel, linux-nfs, linux-security-module, lkml, selinux


On 5/20/25 5:31 PM, Paul Moore wrote:
On Tue, Apr 29, 2025 at 7:34 PM Paul Moore [off-list ref] wrote:
quoted
On Mon, Apr 28, 2025 at 4:15 PM Stephen Smalley
[off-list ref] wrote:
quoted
Update the security_inode_listsecurity() interface to allow
use of the xattr_list_one() helper and update the hook
implementations.

Link: https://lore.kernel.org/selinux/20250424152822.2719-1-stephen.smalley.work@gmail.com/ (local)

Signed-off-by: Stephen Smalley <stephen.smalley.work@gmail.com>
---
This patch is relative to the one linked above, which in theory is on
vfs.fixes but doesn't appear to have been pushed when I looked.

 fs/nfs/nfs4proc.c             | 10 ++++++----
 fs/xattr.c                    | 19 +++++++------------
 include/linux/lsm_hook_defs.h |  4 ++--
 include/linux/security.h      |  5 +++--
 net/socket.c                  | 17 +++++++----------
 security/security.c           | 16 ++++++++--------
 security/selinux/hooks.c      | 10 +++-------
 security/smack/smack_lsm.c    | 13 ++++---------
 8 files changed, 40 insertions(+), 54 deletions(-)
Thanks Stephen.  Once we get ACKs from the NFS, netdev, and Smack
folks I can pull this into the LSM tree.
Gentle ping for Trond, Anna, Jakub, and Casey ... can I get some ACKs
on this patch?  It's a little late for the upcoming merge window, but
I'd like to merge this via the LSM tree after the merge window closes.
For the NFS change:
    Acked-by: Anna Schumaker [off-list ref] 

Anna
Link to the patch if you can't find it in your inbox:
https://lore.kernel.org/linux-security-module/20250428195022.24587-2-stephen.smalley.work@gmail.com/ (local)

--
paul-moore.com
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help