linux/drivers/android/binder
Linus Torvalds 00b04f4495 vfs-7.4-rc1.idmap
Please consider pulling these changes from the signed vfs-7.4-rc1.idmap tag.
 
 Thanks!
 Christian
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYKAB0WIQRAhzRXHqcMeLMyaSiRxhvAZXjcogUCatHrlgAKCRCRxhvAZXjc
 opFuAPwLL5l3D3GSRyD+SyOjKYThylgowvH9c2BcLWbSAIO6yQD9F05GX+rrcbUq
 9ijolxAaQZYpEWsemZIIHx6BBwdDBA4=
 =IH8Z
 -----END PGP SIGNATURE-----

Merge tag 'vfs-7.4-rc1.idmap' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs

Pull vfs idmap constification from Christian Brauner:
 "This makes struct mnt_idmap const throughout the tree.

  A mount's idmapping is immutable. The only thing modified after
  alloc_mnt_idmap() is the reference count and that is hidden behind
  mnt_idmap_get() and mnt_idmap_put(). Everything else only reads from
  it. That is the same model struct cred uses and the idmapping is
  sensitive enough to deserve it.

  The conversion goes bottom up through the vfs{g,u}id and fs{g,u}id
  helpers, the privilege checks, acl, xattr and quota and then every
  inode operation that takes an idmap, so ->permission(), ->getattr(),
  ->setattr(), ->create(), ->mkdir(), ->mknod(), ->symlink(),
  ->rename(), ->tmpfile(), ->get_acl(), ->set_acl() and ->fileattr_set()
  with their implementations in every filesystem, plus the LSM hooks.

  struct vfsmount, struct mount_kattr and struct kstatmount store a
  const pointer and nop_mnt_idmap and invalid_mnt_idmap live in rodata,
  so anything that tries to modify them faults instead of silently
  corrupting the initial idmapping"

* tag 'vfs-7.4-rc1.idmap' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs: (27 commits)
  fs: make nop_mnt_idmap and invalid_mnt_idmap const
  fs: port mnt_idmap() and file_mnt_idmap() to const mnt_idmap
  fs: port vfs_*() helpers to const mnt_idmap
  fs: port ->setattr() to pass const mnt_idmap
  fs: port ->getattr() to pass const mnt_idmap
  fs: port ->create() to pass const mnt_idmap
  fs: port ->symlink() to pass const mnt_idmap
  fs: port ->mkdir() to pass const mnt_idmap
  fs: port ->rename() to pass const mnt_idmap
  fs: port ->mknod() to pass const mnt_idmap
  fs: port ->tmpfile() to pass const mnt_idmap
  fs: port ->get_acl() to pass const mnt_idmap
  fs: port ->set_acl() to pass const mnt_idmap
  fs: port ->fileattr_set() to pass const mnt_idmap
  fs: port xattr to const mnt_idmap
  fs: port ->permission() to pass const mnt_idmap
  fs: port acl to const mnt_idmap
  fs: port inode_init_owner() to const mnt_idmap
  fs: port inode_owner_or_capable() to const mnt_idmap
  fs: port privilege checking helpers to const mnt_idmap
  ...
2026-10-19 17:57:49 -10:00
..
node rust_binder: reschedule node refcount update on thread exit 2026-09-16 19:33:40 +01:00
range_alloc rust: allow clippy::collapsible_if globally 2026-04-30 23:21:31 +02:00
allocation.rs Merge 7.2-rc3 into char-misc-next 2026-07-14 17:13:01 +02:00
context.rs rust_binder: shrink all_procs when deregistering processes 2026-02-26 21:37:53 -08:00
debug.rs rust_binder: Add dynamic debug logging mask 2026-07-17 15:15:21 +02:00
deferred_close.rs
defs.rs rust: binder: enable clippy::as_underscore 2026-07-03 12:29:38 +02:00
error.rs rust_binder: fix BINDER_GET_EXTENDED_ERROR 2026-07-03 12:18:59 +02:00
freeze.rs rust_binder: Implement BINDER_DEBUG_DEAD_TRANSACTION 2026-07-17 15:15:22 +02:00
Makefile rust: declare cfi_encoding for lru_status 2026-04-07 10:00:25 +02:00
netlink.rs Char/Misc/IIO/etc driver update for 7.3-rc1 2026-08-25 09:38:50 -07:00
node.rs rust_binder: reschedule node refcount update on thread exit 2026-09-16 19:33:40 +01:00
page_range.rs rust: binder: enable clippy::ref_as_ptr lint 2026-07-03 12:29:38 +02:00
process.rs Char/Misc/IIO/etc driver update for 7.3-rc1 2026-08-25 09:38:50 -07:00
rust_binder_events.c rust_binder: synchronize Rust Binder stats with freeze commands 2026-07-03 12:27:38 +02:00
rust_binder_events.h rust_binder: add command/return tracepoints 2026-04-01 12:18:22 +02:00
rust_binder_internal.h
rust_binder_main.rs Char/Misc/IIO/etc driver update for 7.3-rc1 2026-08-25 09:38:50 -07:00
rust_binder.h rust_binder: add fd translation tracepoints 2026-04-01 12:18:22 +02:00
rust_binderfs.c vfs-7.4-rc1.idmap 2026-10-19 17:57:49 -10:00
stats.rs rust_binder: synchronize Rust Binder stats with freeze commands 2026-07-03 12:27:38 +02:00
thread.rs rust_binder: cancel deferred work items in thread exit 2026-09-16 19:33:40 +01:00
trace.rs rust: binder: enable clippy::ref_as_ptr lint 2026-07-03 12:29:38 +02:00
transaction.rs rust_binder: Update transaction flags to use kernel::impl_flags! 2026-07-31 14:15:54 +02:00