Thread (23 messages) 23 messages, 11 authors, 2025-03-02

Re: [PATCH v3] fs: introduce getfsxattrat and setfsxattrat syscalls

From: Paul Moore <paul@paul-moore.com>
Date: 2025-02-22 00:34:11
Also in: linux-alpha, linux-arch, linux-fsdevel, linux-m68k, linux-mips, linux-s390, linux-security-module, linux-sh, linux-xfs, linuxppc-dev, lkml, sparclinux

On Fri, Feb 21, 2025 at 10:08 AM Mickaël Salaün [off-list ref] wrote:
It looks security checks are missing.  With IOCTL commands, file
permissions are checked at open time, but with these syscalls the path
is only resolved but no specific access seems to be checked (except
inode_owner_or_capable via vfs_fileattr_set).
Thanks for reviewing the patch and catching this Mickaël.  I agree
with the hooks identified and their placement; it should be fairly
straightforward with only a few lines added in each case.

-- 
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