[GIT PULL] BPF struct_fd changes for 6.12

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Linus,

The following changes since commit de12c3391bce10504c0e7bd767516c74110cfce1:

  add struct fd constructors, get rid of __to_fd() (2024-08-12 22:01:15 -0400)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git tags/bpf-next-6.12-struct-fd

for you to fetch changes up to 37d3dd663f7485bf3e444f40abee3c68f53158cb:

  bpf: convert bpf_token_create() to CLASS(fd, ...) (2024-09-12 18:58:02 -0700)

----------------------------------------------------------------
Since Al's first 3 patches for struct_fd landed in
https://lore.kernel.org/all/20240923034731.GF3413968@ZenIV/

This pull includes struct_fd BPF changes from Al and Andrii.

Note the pull includes Andrii's merge commit for Al's
vfs/stable-struct_fd branch with 3 already landed patches
that Andrii applied back in August when Al created
the stable branch. These 8 patches were developed on top.

The last minute rebases are frown upon, so we didn't rebase
and I don't see a way in git to avoid this extra commit.

fwiw the rebased commits are in bpf-next/struct_fd_latest
branch in unlikely case you prefer that.

The following diff stat is concatenated from two 'git request-pull'
commands, since I couldn't make it to generate both patch list
and diff stat correctly. Either patch list was ok or diff stat.
I hope that's ok, since doing
'git pull bpf-next.git tags/bpf-next-6.12-struct-fd'
gives me exactly this result.

There should be no conflicts.

Signed-off-by: Alexei Starovoitov <ast@xxxxxxxxxx>
----------------------------------------------------------------
Al Viro (6):
      bpf: convert __bpf_prog_get() to CLASS(fd, ...)
      bpf: switch fdget_raw() uses to CLASS(fd_raw, ...)
      bpf: switch maps to CLASS(fd, ...)
      bpf: trivial conversions for fdget()
      bpf: more trivial fdget() conversions
      bpf: convert bpf_token_create() to CLASS(fd, ...)

Andrii Nakryiko (3):
      Merge remote-tracking branch 'vfs/stable-struct_fd'
      bpf: factor out fetching bpf_map from FD and adding it to used_maps list
      security,bpf: constify struct path in bpf_token_create() LSM hook

 include/linux/bpf.h            |  11 ++-
 include/linux/lsm_hook_defs.h  |   2 +-
 include/linux/security.h       |   4 +-
 kernel/bpf/bpf_inode_storage.c |  24 ++----
 kernel/bpf/btf.c               |  11 +--
 kernel/bpf/map_in_map.c        |  38 +++------
 kernel/bpf/syscall.c           | 181 +++++++++++------------------------------
 kernel/bpf/token.c             |  74 ++++++-----------
 kernel/bpf/verifier.c          | 110 ++++++++++++++-----------
 net/core/sock_map.c            |  23 ++----
 security/security.c            |   2 +-
 security/selinux/hooks.c       |   2 +-
 12 files changed, 179 insertions(+), 303 deletions(-)




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux