diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2026-08-17 11:02:10 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2026-08-17 11:02:10 -0700 |
| commit | de03b17ec046d81c4713bc54306579b9024fc513 (patch) | |
| tree | 1a15783aa1f0662c6563719f2394eecf2ff6a688 /drivers/phy/axiado/git@git.tavy.me:linux.git | |
| parent | 9ea8d6197d9f43a15ccb9c0dce601ec535d5da7e (diff) | |
| parent | 8abc1c8badc11c859bb4ba43211611347e59c55c (diff) | |
Merge tag 'vfs-7.3-rc1.kfunc' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
Pull vfs bpf access updates from Christian Brauner:
"This adds a bpf_sock_read_xattr() kfunc so a BPF LSM program can read
a user.* extended attribute from a socket's sockfs inode locklessly.
userspace already uses user.* xattrs on sockets to implement socket
rate limiting and to tag sockets for other purposes such as a varlink
registry. There has been no efficient way for a BPF program to read
those labels back. With this a listening socket marked from userspace
with fsetxattr() can be read back during bind or connect and acted
upon on the connecting socket. That lets userspace mark sockets and
later rediscover them or implement policy on them"
* tag 'vfs-7.3-rc1.kfunc' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs:
selftests/bpf: Add test for bpf_sock_read_xattr() kfunc
fs: Add bpf_sock_read_xattr() kfunc to read socket xattrs
Diffstat (limited to 'drivers/phy/axiado/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
