This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository linux.
from 5cf0fd591f2e Kbuild: disable TRIM_UNUSED_KSYMS option new d7d29ac76f7e percpu: reduce the number of cpu distance comparisons new 258e0815e2b1 percpu: fix clang modpost section mismatch new aa8e3291729f Merge branch 'for-5.12' of git://git.kernel.org/pub/scm/li [...] new a6435940b62f mount: attach mappings to mounts new e6c9a7145156 fs: add id translation helpers new 02f92b3868a1 fs: add file and path permissions helpers new 0558c1bf5a08 capability: handle idmapped mounts new 47291baa8ddf namei: make permission helpers idmapped mount aware new 21cb47be6fb9 inode: make init and permission helpers idmapped mount aware new 2f221d6f7b88 attr: handle idmapped mounts new e65ce2a50cf6 acl: handle idmapped mounts new c7c7a1a18af4 xattr: handle idmapped mounts new 71bc356f93a1 commoncap: handle idmapped mounts new 0d56a4518d5e stat: handle idmapped mounts new ba73d98745be namei: handle idmapped mounts in may_*() helpers new 9fe61450972d namei: introduce struct renamedata new 6521f8917082 namei: prepare for idmapped mounts new 643fe55a0679 open: handle idmapped mounts in do_truncate() new b8b546a06188 open: handle idmapped mounts new 7c02cf73d0e2 af_unix: handle idmapped mounts new d06c26f196dd utimes: handle idmapped mounts new 9eccd12ce7f1 fcntl: handle idmapped mounts new b816dd5ddeae init: handle idmapped mounts new 0f5d220b42fb ioctl: handle idmapped mounts new 435ac6214e00 would_dump: handle idmapped mounts new 1ab29965b305 exec: handle idmapped mounts new 549c7297717c fs: make helpers idmap mount aware new 3cee6079f62f apparmor: handle idmapped mounts new a2d2329e30e2 ima: handle idmapped mounts new 0f16ff0f545d ecryptfs: do not mount on top of idmapped mounts new 029a52ada6a7 overlayfs: do not mount on top of idmapped mounts new 899bf2ceb396 nfs: do not export idmapped mounts new 68847c941700 namespace: take lock_mount_hash() directly when changing flags new d033cb6784c4 mount: make {lock,unlock}_mount_hash() static new e58ace1a0fa9 namespace: only take read lock in do_reconfigure_mnt() new fbdc2f6c40f6 fs: split out functions to hold writers new 5b490500f91b fs: add attr_flags_to_mnt_flags helper new 2a1867219c7b fs: add mount_setattr() new 9caccd41541a fs: introduce MOUNT_ATTR_IDMAP new 01eadc8dd96d tests: add mount_setattr() selftests new 4b7899368108 fat: handle idmapped mounts new 14f3db5542e6 ext4: support idmapped mounts new f736d93d76d3 xfs: support idmapped mounts new f69e8091c4a2 xfs: remove the possibly unused mp variable in xfs_file_co [...] new 7d6beb71da3c Merge tag 'idmapped-mounts-v5.12' of git://git.kernel.org/ [...] new c77b52c0a137 gfs2: Add common helper for holding and releasing the free [...] new 96b1454f2e8e gfs2: move freeze glock outside the make_fs_rw and _ro functions new 2a6fe26ccf0b gfs2: make gfs2_log_write_page static new 00e8e9bc3c46 gfs2: amend SLAB_RECLAIM_ACCOUNT on gfs2 related slab cache new bff2e532d433 gfs2: Fix invalid block size message new 4a011849f759 Revert "GFS2: Re-add a call to log_flush_wait when flushin [...] new f5f02fde9f52 gfs2: fix glock confusion in function signal_our_withdraw new 82218943058d gfs2: keep bios separate for each journal new 834ec3e1ee65 gfs2: Lock imbalance on error path in gfs2_recover_one new 78178ca844f0 gfs2: Don't skip dlm unlock if glock has an lvb new 47b7ec1daa51 gfs2: Enable rgrplvb for sb_fs_format 1802 new 866eef48d802 gfs2: Add trusted xattr support new 7009fa9cd9a5 gfs2: Recursive gfs2_quota_hold in gfs2_iomap_end new 0eacdd16adc4 gfs2: Turn gfs2_rbm_incr into gfs2_rbm_add new c65b76b89303 gfs2: Only use struct gfs2_rbm for bitmap manipulations new 3ed08befeb09 gfs2: Get rid of unnecessary variable in gfs2_alloc_blocks new 4272006d956f gfs2: Minor gfs2_inplace_reserve cleanup new 2fdc2fa21bc7 Revert "gfs2: Don't reject a supposedly full bitmap if we [...] new a12c6fa1de84 gfs2: Don't clear GBF_FULL flags in rs_deltree new 560b8eba6bf6 gfs2: Set GBF_FULL flags when reading resource group new f38e998fbbb5 gfs2: Also reflect single-block allocations in rgd->rd_extfail_pt new 3d39fcd16d88 gfs2: Only pass reservation down to gfs2_rbm_find new b2598965dc84 gfs2: Don't search for unreserved space twice new 0ec9b9ea4f83 gfs2: Check for active reservation in gfs2_release new 07974d2a2a98 gfs2: Rename rs_{free -> requested} and rd_{reserved -> re [...] new 725d0e9d464d gfs2: Add per-reservation reserved block accounting new 9e514605c774 gfs2: Add local resource group locking new 06e908cd9ead gfs2: Allow node-wide exclusive glock sharing new 4fc7ec31c3c4 gfs2: Use resource group glock sharing new 736b2f778f0a gfs2: Un-obfuscate function jdesc_find_i new 458094c2c611 gfs2: Simplify the buf_limit and databuf_limit definitions new 5a4e9c607e03 gfs2: Minor gfs2_write_revokes cleanups new 6188e8777de4 gfs2: Some documentation updates new 625a8edd5e00 gfs2: Minor debugging improvement new e7501bf88cd7 gfs2: Rename gfs2_{write => flush}_revokes new 6e80674af06c gfs2: Clean up ail2_empty new 15e20a301ab0 gfs2: Use sb_start_intwrite in gfs2_ail_empty_gl new c968f5788bc9 gfs2: Clean up on-stack transactions new f3708fb59f6c gfs2: Get rid of sd_reserving_log new c1eba1b0bca5 gfs2: Move lock flush locking to gfs2_trans_{begin,end} new 4a3d049db42b gfs2: Don't wait for journal flush in clean_journal new 5ae8fff8d031 gfs2: Clean up gfs2_log_reserve new 297de3180dd7 gfs2: Use a tighter bound in gfs2_trans_begin new 5cb738b5fbd2 gfs2: Get rid of current_tail() new 76fce6548961 gfs2: Move function gfs2_ail_empty_tr new 71b219f4e50b gfs2: Minor calc_reserved cleanup new fe3e39766877 gfs2: Rework the log space allocation logic new 2129b4288852 gfs2: Per-revoke accounting in transactions new 803074ad77b9 Merge branches 'rgrp-glock-sharing' and 'gfs2-revoke' from [...] new 17d776840885 gfs2: Don't get stuck with I/O plugged in gfs2_ail1_flush new f6e1e1d1e149 Merge tag 'gfs2-for-5.12' of git://git.kernel.org/pub/scm/ [...]
The 96 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: Documentation/filesystems/locking.rst | 7 +- Documentation/filesystems/porting.rst | 2 + Documentation/filesystems/vfs.rst | 19 +- arch/alpha/kernel/syscalls/syscall.tbl | 1 + arch/arm/tools/syscall.tbl | 1 + arch/arm64/include/asm/unistd.h | 2 +- arch/arm64/include/asm/unistd32.h | 2 + arch/ia64/kernel/syscalls/syscall.tbl | 1 + arch/m68k/kernel/syscalls/syscall.tbl | 1 + arch/microblaze/kernel/syscalls/syscall.tbl | 1 + arch/mips/kernel/syscalls/syscall_n32.tbl | 1 + arch/mips/kernel/syscalls/syscall_n64.tbl | 1 + arch/mips/kernel/syscalls/syscall_o32.tbl | 1 + arch/parisc/kernel/syscalls/syscall.tbl | 1 + arch/powerpc/kernel/syscalls/syscall.tbl | 1 + arch/powerpc/platforms/cell/spufs/inode.c | 5 +- arch/s390/kernel/syscalls/syscall.tbl | 1 + arch/sh/kernel/syscalls/syscall.tbl | 1 + arch/sparc/kernel/syscalls/syscall.tbl | 1 + arch/x86/entry/syscalls/syscall_32.tbl | 1 + arch/x86/entry/syscalls/syscall_64.tbl | 1 + arch/xtensa/kernel/syscalls/syscall.tbl | 1 + drivers/android/binderfs.c | 6 +- drivers/base/devtmpfs.c | 15 +- fs/9p/acl.c | 8 +- fs/9p/v9fs.h | 3 +- fs/9p/v9fs_vfs.h | 3 +- fs/9p/vfs_inode.c | 36 +- fs/9p/vfs_inode_dotl.c | 39 +- fs/9p/xattr.c | 1 + fs/adfs/adfs.h | 3 +- fs/adfs/inode.c | 5 +- fs/affs/affs.h | 24 +- fs/affs/inode.c | 7 +- fs/affs/namei.c | 15 +- fs/afs/dir.c | 34 +- fs/afs/inode.c | 9 +- fs/afs/internal.h | 7 +- fs/afs/security.c | 3 +- fs/afs/xattr.c | 2 + fs/attr.c | 126 +- fs/autofs/root.c | 17 +- fs/bad_inode.c | 36 +- fs/bfs/dir.c | 12 +- fs/btrfs/acl.c | 6 +- fs/btrfs/ctree.h | 3 +- fs/btrfs/inode.c | 46 +- fs/btrfs/ioctl.c | 27 +- fs/btrfs/tests/btrfs-tests.c | 2 +- fs/btrfs/xattr.c | 2 + fs/cachefiles/interface.c | 4 +- fs/cachefiles/namei.c | 21 +- fs/cachefiles/xattr.c | 29 +- fs/ceph/acl.c | 6 +- fs/ceph/dir.c | 23 +- fs/ceph/inode.c | 18 +- fs/ceph/super.h | 12 +- fs/ceph/xattr.c | 1 + fs/cifs/cifsfs.c | 5 +- fs/cifs/cifsfs.h | 25 +- fs/cifs/dir.c | 8 +- fs/cifs/inode.c | 26 +- fs/cifs/link.c | 3 +- fs/cifs/xattr.c | 1 + fs/coda/coda_linux.h | 8 +- fs/coda/dir.c | 18 +- fs/coda/inode.c | 9 +- fs/coda/pioctl.c | 6 +- fs/configfs/configfs_internal.h | 6 +- fs/configfs/dir.c | 3 +- fs/configfs/inode.c | 5 +- fs/configfs/symlink.c | 6 +- fs/coredump.c | 10 +- fs/crypto/policy.c | 2 +- fs/debugfs/inode.c | 9 +- fs/ecryptfs/crypto.c | 4 +- fs/ecryptfs/inode.c | 84 +- fs/ecryptfs/main.c | 6 + fs/ecryptfs/mmap.c | 4 +- fs/efivarfs/file.c | 2 +- fs/efivarfs/inode.c | 4 +- fs/erofs/inode.c | 7 +- fs/erofs/internal.h | 5 +- fs/exec.c | 12 +- fs/exfat/exfat_fs.h | 8 +- fs/exfat/file.c | 14 +- fs/exfat/namei.c | 14 +- fs/ext2/acl.c | 6 +- fs/ext2/acl.h | 3 +- fs/ext2/ext2.h | 5 +- fs/ext2/ialloc.c | 2 +- fs/ext2/inode.c | 15 +- fs/ext2/ioctl.c | 6 +- fs/ext2/namei.c | 22 +- fs/ext2/xattr_security.c | 1 + fs/ext2/xattr_trusted.c | 1 + fs/ext2/xattr_user.c | 1 + fs/ext4/acl.c | 5 +- fs/ext4/acl.h | 3 +- fs/ext4/ext4.h | 22 +- fs/ext4/ialloc.c | 7 +- fs/ext4/inode.c | 21 +- fs/ext4/ioctl.c | 20 +- fs/ext4/namei.c | 49 +- fs/ext4/super.c | 2 +- fs/ext4/xattr_hurd.c | 1 + fs/ext4/xattr_security.c | 1 + fs/ext4/xattr_trusted.c | 1 + fs/ext4/xattr_user.c | 1 + fs/f2fs/acl.c | 7 +- fs/f2fs/acl.h | 3 +- fs/f2fs/f2fs.h | 7 +- fs/f2fs/file.c | 36 +- fs/f2fs/namei.c | 23 +- fs/f2fs/xattr.c | 4 +- fs/fat/fat.h | 6 +- fs/fat/file.c | 24 +- fs/fat/namei_msdos.c | 12 +- fs/fat/namei_vfat.c | 15 +- fs/fcntl.c | 3 +- fs/fuse/acl.c | 3 +- fs/fuse/dir.c | 46 +- fs/fuse/fuse_i.h | 4 +- fs/fuse/xattr.c | 2 + fs/gfs2/acl.c | 5 +- fs/gfs2/acl.h | 3 +- fs/gfs2/bmap.c | 10 +- fs/gfs2/file.c | 12 +- fs/gfs2/glock.c | 22 +- fs/gfs2/glock.h | 6 + fs/gfs2/glops.c | 38 +- fs/gfs2/incore.h | 54 +- fs/gfs2/inode.c | 70 +- fs/gfs2/inode.h | 3 +- fs/gfs2/lock_dlm.c | 8 +- fs/gfs2/log.c | 525 ++++---- fs/gfs2/log.h | 20 +- fs/gfs2/lops.c | 26 +- fs/gfs2/lops.h | 23 +- fs/gfs2/main.c | 4 +- fs/gfs2/ops_fstype.c | 71 +- fs/gfs2/recovery.c | 14 +- fs/gfs2/rgrp.c | 442 +++--- fs/gfs2/rgrp.h | 6 +- fs/gfs2/super.c | 73 +- fs/gfs2/super.h | 8 +- fs/gfs2/trace_gfs2.h | 37 +- fs/gfs2/trans.c | 102 +- fs/gfs2/trans.h | 5 +- fs/gfs2/util.c | 59 +- fs/gfs2/util.h | 3 + fs/gfs2/xattr.c | 55 +- fs/hfs/attr.c | 1 + fs/hfs/dir.c | 13 +- fs/hfs/hfs_fs.h | 3 +- fs/hfs/inode.c | 8 +- fs/hfsplus/dir.c | 22 +- fs/hfsplus/hfsplus_fs.h | 5 +- fs/hfsplus/inode.c | 16 +- fs/hfsplus/ioctl.c | 2 +- fs/hfsplus/xattr.c | 1 + fs/hfsplus/xattr_security.c | 1 + fs/hfsplus/xattr_trusted.c | 1 + fs/hfsplus/xattr_user.c | 1 + fs/hostfs/hostfs_kern.c | 29 +- fs/hpfs/hpfs_fn.h | 2 +- fs/hpfs/inode.c | 7 +- fs/hpfs/namei.c | 20 +- fs/hugetlbfs/inode.c | 35 +- fs/init.c | 24 +- fs/inode.c | 44 +- fs/internal.h | 2 +- fs/jffs2/acl.c | 6 +- fs/jffs2/acl.h | 3 +- fs/jffs2/dir.c | 33 +- fs/jffs2/fs.c | 7 +- fs/jffs2/os-linux.h | 2 +- fs/jffs2/security.c | 1 + fs/jffs2/xattr_trusted.c | 1 + fs/jffs2/xattr_user.c | 1 + fs/jfs/acl.c | 5 +- fs/jfs/file.c | 9 +- fs/jfs/ioctl.c | 2 +- fs/jfs/jfs_acl.h | 3 +- fs/jfs/jfs_inode.c | 2 +- fs/jfs/jfs_inode.h | 2 +- fs/jfs/namei.c | 21 +- fs/jfs/xattr.c | 2 + fs/kernfs/dir.c | 6 +- fs/kernfs/inode.c | 19 +- fs/kernfs/kernfs-internal.h | 9 +- fs/libfs.c | 28 +- fs/minix/bitmap.c | 2 +- fs/minix/file.c | 7 +- fs/minix/inode.c | 6 +- fs/minix/minix.h | 3 +- fs/minix/namei.c | 24 +- fs/mount.h | 10 - fs/namei.c | 511 +++++-- fs/namespace.c | 484 ++++++- fs/nfs/dir.c | 25 +- fs/nfs/inode.c | 9 +- fs/nfs/internal.h | 14 +- fs/nfs/namespace.c | 15 +- fs/nfs/nfs3_fs.h | 3 +- fs/nfs/nfs3acl.c | 3 +- fs/nfs/nfs4proc.c | 3 + fs/nfsd/export.c | 12 +- fs/nfsd/nfs2acl.c | 6 +- fs/nfsd/nfs3acl.c | 6 +- fs/nfsd/nfs4acl.c | 5 +- fs/nfsd/nfs4recover.c | 6 +- fs/nfsd/nfsfh.c | 3 +- fs/nfsd/nfsproc.c | 2 +- fs/nfsd/vfs.c | 50 +- fs/nilfs2/inode.c | 14 +- fs/nilfs2/ioctl.c | 2 +- fs/nilfs2/namei.c | 19 +- fs/nilfs2/nilfs.h | 6 +- fs/notify/fanotify/fanotify_user.c | 2 +- fs/notify/inotify/inotify_user.c | 2 +- fs/ntfs/inode.c | 6 +- fs/ntfs/inode.h | 3 +- fs/ocfs2/acl.c | 6 +- fs/ocfs2/acl.h | 3 +- fs/ocfs2/dlmfs/dlmfs.c | 17 +- fs/ocfs2/file.c | 18 +- fs/ocfs2/file.h | 11 +- fs/ocfs2/ioctl.c | 2 +- fs/ocfs2/namei.c | 21 +- fs/ocfs2/refcounttree.c | 4 +- fs/ocfs2/xattr.c | 3 + fs/omfs/dir.c | 13 +- fs/omfs/file.c | 7 +- fs/omfs/inode.c | 2 +- fs/open.c | 35 +- fs/orangefs/acl.c | 6 +- fs/orangefs/inode.c | 20 +- fs/orangefs/namei.c | 12 +- fs/orangefs/orangefs-kernel.h | 13 +- fs/orangefs/xattr.c | 1 + fs/overlayfs/copy_up.c | 22 +- fs/overlayfs/dir.c | 31 +- fs/overlayfs/file.c | 6 +- fs/overlayfs/inode.c | 27 +- fs/overlayfs/overlayfs.h | 45 +- fs/overlayfs/super.c | 21 +- fs/overlayfs/util.c | 4 +- fs/posix_acl.c | 103 +- fs/proc/base.c | 28 +- fs/proc/fd.c | 5 +- fs/proc/fd.h | 3 +- fs/proc/generic.c | 12 +- fs/proc/internal.h | 6 +- fs/proc/proc_net.c | 5 +- fs/proc/proc_sysctl.c | 15 +- fs/proc/root.c | 5 +- fs/proc_namespace.c | 3 + fs/ramfs/file-nommu.c | 9 +- fs/ramfs/inode.c | 18 +- fs/reiserfs/acl.h | 3 +- fs/reiserfs/inode.c | 7 +- fs/reiserfs/ioctl.c | 4 +- fs/reiserfs/namei.c | 21 +- fs/reiserfs/reiserfs.h | 3 +- fs/reiserfs/xattr.c | 13 +- fs/reiserfs/xattr.h | 3 +- fs/reiserfs/xattr_acl.c | 8 +- fs/reiserfs/xattr_security.c | 3 +- fs/reiserfs/xattr_trusted.c | 3 +- fs/reiserfs/xattr_user.c | 3 +- fs/remap_range.c | 7 +- fs/stat.c | 26 +- fs/sysv/file.c | 7 +- fs/sysv/ialloc.c | 2 +- fs/sysv/itree.c | 6 +- fs/sysv/namei.c | 21 +- fs/sysv/sysv.h | 3 +- fs/tracefs/inode.c | 4 +- fs/ubifs/dir.c | 30 +- fs/ubifs/file.c | 5 +- fs/ubifs/ioctl.c | 2 +- fs/ubifs/ubifs.h | 5 +- fs/ubifs/xattr.c | 1 + fs/udf/file.c | 9 +- fs/udf/ialloc.c | 2 +- fs/udf/namei.c | 24 +- fs/udf/symlink.c | 7 +- fs/ufs/ialloc.c | 2 +- fs/ufs/inode.c | 7 +- fs/ufs/namei.c | 19 +- fs/ufs/ufs.h | 3 +- fs/utimes.c | 3 +- fs/vboxsf/dir.c | 12 +- fs/vboxsf/utils.c | 9 +- fs/vboxsf/vfsmod.h | 8 +- fs/verity/enable.c | 2 +- fs/xattr.c | 139 +- fs/xfs/xfs_acl.c | 5 +- fs/xfs/xfs_acl.h | 3 +- fs/xfs/xfs_file.c | 4 +- fs/xfs/xfs_inode.c | 26 +- fs/xfs/xfs_inode.h | 16 +- fs/xfs/xfs_ioctl.c | 35 +- fs/xfs/xfs_ioctl32.c | 13 +- fs/xfs/xfs_iops.c | 101 +- fs/xfs/xfs_iops.h | 3 +- fs/xfs/xfs_itable.c | 17 +- fs/xfs/xfs_itable.h | 1 + fs/xfs/xfs_qm.c | 3 +- fs/xfs/xfs_super.c | 2 +- fs/xfs/xfs_symlink.c | 5 +- fs/xfs/xfs_symlink.h | 5 +- fs/xfs/xfs_xattr.c | 7 +- fs/zonefs/super.c | 9 +- include/linux/capability.h | 14 +- include/linux/compiler_attributes.h | 6 + include/linux/fs.h | 186 ++- include/linux/ima.h | 18 +- include/linux/lsm_hook_defs.h | 15 +- include/linux/lsm_hooks.h | 1 + include/linux/mount.h | 7 + include/linux/nfs_fs.h | 7 +- include/linux/posix_acl.h | 21 +- include/linux/posix_acl_xattr.h | 12 +- include/linux/security.h | 54 +- include/linux/syscalls.h | 4 + include/linux/xattr.h | 30 +- include/uapi/asm-generic/unistd.h | 4 +- include/uapi/linux/gfs2_ondisk.h | 5 +- include/uapi/linux/mount.h | 16 + ipc/mqueue.c | 9 +- kernel/auditsc.c | 5 +- kernel/bpf/inode.c | 13 +- kernel/capability.c | 14 +- kernel/cgroup/cgroup.c | 2 +- kernel/sys.c | 2 +- mm/madvise.c | 5 +- mm/memcontrol.c | 2 +- mm/mincore.c | 5 +- mm/percpu.c | 36 +- mm/shmem.c | 50 +- net/socket.c | 6 +- net/unix/af_unix.c | 5 +- security/apparmor/apparmorfs.c | 3 +- security/apparmor/domain.c | 13 +- security/apparmor/file.c | 4 +- security/apparmor/lsm.c | 21 +- security/commoncap.c | 108 +- security/integrity/evm/evm_crypto.c | 11 +- security/integrity/evm/evm_main.c | 4 +- security/integrity/evm/evm_secfs.c | 2 +- security/integrity/ima/ima.h | 19 +- security/integrity/ima/ima_api.c | 10 +- security/integrity/ima/ima_appraise.c | 23 +- security/integrity/ima/ima_asymmetric_keys.c | 3 +- security/integrity/ima/ima_main.c | 40 +- security/integrity/ima/ima_policy.c | 20 +- security/integrity/ima/ima_queue_keys.c | 4 +- security/security.c | 25 +- security/selinux/hooks.c | 23 +- security/smack/smack_lsm.c | 22 +- tools/include/uapi/asm-generic/unistd.h | 4 +- tools/testing/selftests/Makefile | 1 + tools/testing/selftests/mount_setattr/.gitignore | 1 + tools/testing/selftests/mount_setattr/Makefile | 7 + .../selftests/{mount => mount_setattr}/config | 0 .../selftests/mount_setattr/mount_setattr_test.c | 1424 ++++++++++++++++++++ 368 files changed, 5895 insertions(+), 2438 deletions(-) create mode 100644 tools/testing/selftests/mount_setattr/.gitignore create mode 100644 tools/testing/selftests/mount_setattr/Makefile copy tools/testing/selftests/{mount => mount_setattr}/config (100%) create mode 100644 tools/testing/selftests/mount_setattr/mount_setattr_test.c