aboutsummaryrefslogtreecommitdiffstats
path: root/fs/namespace.c
AgeCommit message (Expand)AuthorFilesLines
2022-03-22mount: warn only once about timestamp range expirationAnthony Iliopoulos1-0/+2
2022-02-14fs: add kernel doc for mnt_{hold,unhold}_writers()Christian Brauner1-0/+30
2022-01-22fs: move namespace sysctls and declare fs base directoryLuis Chamberlain1-1/+23
2022-01-11Merge tag 'fs.idmapped.v5.17' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-14/+39
2021-12-30fs/mount_setattr: always cleanup mount_kattrChristian Brauner1-5/+4
2021-12-05fs: support mapped mounts of mapped filesystemsChristian Brauner1-13/+38
2021-12-03fs: add is_idmapped_mnt() helperChristian Brauner1-1/+1
2021-09-03Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-3/+4
2021-09-03memcg: enable accounting for new namesapces and struct nsproxyVasily Averin1-1/+1
2021-09-03memcg: enable accounting for mnt_cache entriesVasily Averin1-2/+3
2021-08-31Merge tag 'fs.move_mount.move_mount_set_group.v5.15' of git://git.kernel.org/...Linus Torvalds1-1/+76
2021-08-23fs: remove mandatory file locking supportJeff Layton1-19/+10
2021-08-21Merge tag 'locks-v5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/jlay...Linus Torvalds1-1/+5
2021-08-21fs: warn about impending deprecation of mandatory locksJeff Layton1-1/+5
2021-08-10ovl: prevent private clone if bind mount is not allowedMiklos Szeredi1-14/+28
2021-07-26move_mount: allow to add a mount into an existing groupPavel Tikhomirov1-1/+76
2021-06-01mount: Support "nosymfollow" in new mount apiChristian Brauner1-3/+6
2021-05-12fs/mount_setattr: tighten permission checksChristian Brauner1-1/+5
2021-03-31fs/namespace: correct/improve kernel-doc notationRandy Dunlap1-6/+8
2021-02-27Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-33/+20
2021-01-24fs: introduce MOUNT_ATTR_IDMAPChristian Brauner1-7/+115
2021-01-24fs: add mount_setattr()Christian Brauner1-0/+263
2021-01-24fs: add attr_flags_to_mnt_flags helperChristian Brauner1-16/+24
2021-01-24fs: split out functions to hold writersChristian Brauner1-6/+18
2021-01-24namespace: only take read lock in do_reconfigure_mnt()Christian Brauner1-6/+6
2021-01-24mount: make {lock,unlock}_mount_hash() staticChristian Brauner1-0/+10
2021-01-24namespace: take lock_mount_hash() directly when changing flagsChristian Brauner1-14/+8
2021-01-24mount: attach mappings to mountsChristian Brauner1-0/+9
2021-01-04umount(2): move the flag validity checks firstAl Viro1-2/+5
2021-01-04vfs: don't unnecessarily clone write access for writable fdsEric Biggers1-33/+20
2020-12-25Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-3/+6
2020-12-14Merge tag 'fixes-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/brau...Linus Torvalds1-2/+2
2020-12-10fs/namespace.c: WARN if mnt_count has become negativeEric Biggers1-3/+6
2020-10-24Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-0/+2
2020-10-17task_work: cleanup notification modesJens Axboe1-1/+1
2020-10-12Merge branch 'compat.mount' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-2/+2
2020-09-22fs: remove compat_sys_mountChristoph Hellwig1-2/+2
2020-09-04fs: Handle intra-page faults in copy_mount_options()Catalin Marinas1-7/+18
2020-08-27Add a "nosymfollow" mount option.Mattias Nissler1-0/+2
2020-08-19mnt: Use generic ns_common::countKirill Tkhai1-2/+2
2020-08-07Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfsLinus Torvalds1-14/+18
2020-08-07fs: fix a struct path leak in path_umountChristoph Hellwig1-14/+18
2020-08-07Merge branch 'hch.init_path' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-54/+53
2020-07-31init: add an init_umount helperChristoph Hellwig1-2/+2
2020-07-31init: add an init_mount helperChristoph Hellwig1-1/+1
2020-07-31fs: refactor ksys_umountChristoph Hellwig1-22/+18
2020-07-31fs: refactor do_mountChristoph Hellwig1-32/+35
2020-07-14fuse: reject options on reconfigure via fsconfig(2)Miklos Szeredi1-0/+1
2020-06-10Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-4/+1
2020-06-09Merge tag 'ovl-update-5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/m...Linus Torvalds1-0/+16
2020-06-04ovl: make private mounts longtermMiklos Szeredi1-0/+16
2020-06-03Merge tag 'threads-v5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/bra...Linus Torvalds1-4/+11
2020-06-01Merge branch 'from-miklos' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-16/+75
2020-05-29vfs: Remove duplicated d_mountpoint check in __is_local_mountpointNikolay Borisov1-4/+1
2020-05-14proc/mounts: add cursorMiklos Szeredi1-16/+75
2020-05-13nsproxy: attach to namespaces via pidfdsChristian Brauner1-0/+5
2020-05-09nsproxy: add struct nssetChristian Brauner1-4/+6
2020-04-20docs: filesystems: fix renamed referencesMauro Carvalho Chehab1-1/+1
2020-03-13LOOKUP_MOUNTPOINT: fold path_mountpointat() into path_lookupat()Al Viro1-2/+2
2020-02-27follow_automount(): get rid of dead^Wstillborn codeAl Viro1-1/+8
2020-02-27fix automount/automount race properlyAl Viro1-7/+33
2020-02-10do_add_mount(): lift lock_mount/unlock_mount into callersAl Viro1-23/+24
2020-02-03saner copy_mount_options()Al Viro1-42/+7
2020-01-04fs/namespace.c: make to_mnt_ns() staticEric Biggers1-1/+1
2019-12-12init: use do_mount() instead of ksys_mount()Dominik Brodowski1-8/+2
2019-12-08Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-3/+3
2019-10-21fs/namespace: add __user to open_tree and move_mount syscallsBen Dooks1-3/+3
2019-10-16fs/namespace.c: fix use-after-free of mount in mnt_warn_timestamp_expiry()Eric Biggers1-8/+7
2019-09-26Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+1
2019-09-25fs/namespace: untag user pointers in copy_mount_optionsAndrey Konovalov1-1/+1
2019-09-25Merge tag 'fuse-update-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-2/+0
2019-09-19Merge tag 'y2038-vfs' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/p...Linus Torvalds1-1/+32
2019-09-18Merge tag 'filelock-v5.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-3/+8
2019-09-18Merge branch 'work.namei' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-5/+5
2019-09-06vfs: subtype handling moved to fuseDavid Howells1-2/+0
2019-08-30kill the last users of user_{path,lpath,path_dir}()Al Viro1-3/+5
2019-08-30mount: Add mount warning for impending timestamp expiryDeepa Dinamani1-1/+32
2019-08-16locks: print a warning when mount fails due to lack of "mand" supportJeff Layton1-3/+8
2019-07-26fix the struct mount leak in umount_tree()Al Viro1-2/+2
2019-07-21filename_mountpoint(): make LOOKUP_NO_EVAL unconditional thereAl Viro1-2/+0
2019-07-20Merge branch 'work.dcache2' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-82/+77
2019-07-19Merge branch 'work.mount0' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-8/+7
2019-07-16switch the remnants of releasing the mountpoint away from fs_pinAl Viro1-18/+19
2019-07-16get rid of detach_mnt()Al Viro1-34/+28
2019-07-16make struct mountpoint bear the dentry reference to mountpoint, not struct mountAl Viro1-27/+25
2019-07-04mnt_init(): call shmem_init() unconditionallyAl Viro1-0/+2
2019-07-04constify ksys_mount() string argumentsAl Viro1-2/+2
2019-07-04don't bother with registering rootfsAl Viro1-6/+1
2019-07-04fs/namespace.c: shift put_mountpoint() to callers of unhash_mnt()Al Viro1-4/+6
2019-07-04__detach_mounts(): lookup_mountpoint() can't return ERR_PTR() anymoreAl Viro1-1/+1
2019-07-01vfs: move_mount: reject moving kernel internal mountsEric Biggers1-3/+4
2019-06-17fs/namespace: fix unprivileged mount propagationChristian Brauner1-0/+1
2019-06-17vfs: fsmount: add missing mntget()Eric Biggers1-0/+1
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 209Thomas Gleixner1-1/+1
2019-05-25move mount_capable() further outAl Viro1-0/+2
2019-05-09do_move_mount(): fix an unsafe use of is_anon_ns()Al Viro1-1/+1
2019-03-20vfs: syscall: Add fsmount() to create a mount for a superblockDavid Howells1-3/+143
2019-03-20teach move_mount(2) to work with OPEN_TREE_CLONEDavid Howells1-7/+55
2019-03-20vfs: syscall: Add move_mount(2) to move mounts aroundDavid Howells1-31/+95
2019-03-20vfs: syscall: Add open_tree(2) to reference or clone a mountAl Viro1-22/+135
2019-03-12Merge branch 'work.mount' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-149/+246
2019-03-07Merge tag 'audit-pr-20190305' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+2
2019-03-04Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfsLinus Torvalds1-1/+1
2019-02-28vfs: Remove kern_mount_data()David Howells1-3/+3
2019-02-28vfs: Implement a filesystem superblock creation/configuration contextDavid Howells1-16/+9
2019-02-25Revert "x86/fault: BUG() when uaccess helpers fault on kernel addresses"Linus Torvalds1-2/+0
2019-02-01copy_mount_string: Limit string length to PATH_MAXChandan Rajendra1-1/+1
2019-01-30audit: ignore fcaps on umountRichard Guy Briggs1-0/+2
2019-01-30convert do_remount_sb() to fs_contextDavid Howells1-22/+39
2019-01-30vfs_get_tree(): evict the call of security_sb_kern_mount()Al Viro1-5/+7
2019-01-30new helper: do_new_mount_fc()David Howells1-26/+39
2019-01-30teach vfs_get_tree() to handle subtype, switch do_new_mount() to itAl Viro1-31/+46
2019-01-30new helpers: vfs_create_mount(), fc_mount()Al Viro1-24/+52
2019-01-30vfs: Introduce fs_context, switch vfs_kern_mount() to it.David Howells1-14/+32
2019-01-30saner handling of temporary namespacesAl Viro1-39/+35
2019-01-30separate copying and locking mount tree on cross-userns copiesAl Viro1-22/+37
2019-01-05Merge branch 'mount.part1' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-55/+101
2019-01-05Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2019-01-03Remove 'type' argument from access_ok() functionLinus Torvalds1-1/+1
2018-12-21LSM: hide struct security_mnt_opts from any generic codeAl Viro1-5/+4
2018-12-21new helper: security_sb_eat_lsm_opts()Al Viro1-10/+1
2018-12-21LSM: lift extracting and parsing LSM options into the caller of ->sb_remount()Al Viro1-1/+18
2018-12-20vfs: Separate changing mount flags full remountDavid Howells1-54/+92
2018-12-20vfs: Suppress MS_* flag defs within the kernel unless explicitly enabledDavid Howells1-0/+1
2018-11-29VFS: use synchronize_rcu_expedited() in namespace_unlock()NeilBrown1-1/+1
2018-11-12mnt: fix __detach_mounts infinite loopBenjamin Coddington1-3/+3
2018-11-08mount: Prevent MNT_DETACH from disconnecting locked mountsEric W. Biederman1-1/+1
2018-11-08mount: Don't allow copying MNT_UNBINDABLE|MNT_LOCKED mountsEric W. Biederman1-2/+8
2018-11-08mount: Retest MNT_LOCKED in do_umountEric W. Biederman1-2/+8
2018-10-31mm: remove include/linux/bootmem.hMike Rapoport1-1/+1
2018-09-03x86/fault: BUG() when uaccess helpers fault on kernel addressesJann Horn1-0/+2
2018-08-26Merge branch 'ida-4.19' of git://git.infradead.org/users/willy/linux-daxLinus Torvalds1-38/+12
2018-08-21fs: Convert namespace IDAs to new APIMatthew Wilcox1-38/+12
2018-08-21Merge tag 'ovl-update-4.19' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-64/+5
2018-08-09fix __legitimize_mnt()/mntput() raceAl Viro1-0/+14
2018-08-09fix mntput/mntput raceAl Viro1-2/+12
2018-07-18vfs: fix freeze protection in mnt_want_write_file() for overlayfsMiklos Szeredi1-3/+4
2018-07-18Revert "ovl: don't allow writing ioctl on lower layer"Miklos Szeredi1-61/+3
2018-07-18Revert "ovl: fix may_write_real() for overlayfs directories"Miklos Szeredi1-3/+1
2018-05-24fs: Allow superblock owner to access do_remount_sb()Eric W. Biederman1-2/+2
2018-04-20vfs: Undo an overly zealous MS_RDONLY -> SB_RDONLY conversionDavid Howells1-1/+1
2018-04-19Don't leak MNT_INTERNAL away from internal mountsAl Viro1-1/+2
2018-04-02fs: add ksys_umount() helper; remove in-kernel call to sys_umount()Dominik Brodowski1-2/+7
2018-04-02fs: add ksys_mount() helper; remove in-kernel calls to sys_mount()Dominik Brodowski1-2/+8
2017-12-09VFS: Handle lazytime in do_mount()Markus Trippelsdorf1-0/+1
2017-10-25locking/atomics: COCCINELLE/treewide: Convert trivial ACCESS_ONCE() patterns ...Mark Rutland1-1/+1
2017-10-17vfs: fix mounting a filesystem with i_versionMimi Zohar1-1/+2
2017-10-05ovl: fix may_write_real() for overlayfs directoriesAmir Goldstein1-1/+3
2017-09-14Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-5/+3
2017-09-14Merge branch 'work.mount' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-28/+34
2017-09-05ovl: don't allow writing ioctl on lower layerMiklos Szeredi1-3/+61
2017-08-28namespace.c: Don't reinvent the wheel but use existing llist APIByungchul Park1-5/+3
2017-07-17VFS: Differentiate mount flags (MS_*) from internal superblock flagsDavid Howells1-25/+31
2017-07-17VFS: Convert sb->s_flags & MS_RDONLY to sb_rdonly(sb)David Howells1-3/+3
2017-07-15Merge branch 'work.mount' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-61/+2
2017-07-11VFS: Kill off s_options and helpersDavid Howells1-59/+0
2017-07-06mm: update callers to use HASH_ZERO flagPavel Tatashin1-8/+2
2017-07-06VFS: Clean up whitespace in fs/namespace.c and fs/super.cDavid Howells1-2/+2
2017-07-05Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-0/+1
2017-06-15fs: don't forget to put old mntns in mntns_installAndrei Vagin1-0/+2
2017-05-23mnt: In propgate_umount handle visiting mounts in any orderEric W. Biederman1-1/+1
2017-05-23mnt: In umount propagation reparent in a separate passEric W. Biederman1-0/+1
2017-05-12Merge branch 'work.sane_pwd' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-7/+11
2017-04-21make sure that mntns_install() doesn't end up with referral for rootAl Viro1-7/+11
2017-04-10fsnotify: Free fsnotify_mark_connector when there is no mark attachedJan Kara1-3/+0
2017-04-10fsnotify: Move mark list head from object into dedicated structureJan Kara1-3/+3
2017-03-02sched/headers: Prepare to move 'init_task' and 'init_thread_union' from <linu...Ingo Molnar1-0/+2
2017-03-02sched/headers: Prepare to remove <linux/cred.h> inclusion from <linux/sched.h>Ingo Molnar1-0/+1
2017-02-04mnt: Tuck mounts under others instead of creating shadow/side mounts.Eric W. Biederman1-50/+60
2017-02-02fs: Better permission checking for submountsEric W. Biederman1-1/+16
2017-01-10mnt: Protect the mountpoint hashtable with mount_lockEric W. Biederman1-19/+45
2016-12-22Merge branch 'work.namespace' into for-linusAl Viro1-6/+2
2016-12-16Merge branch 'work.autofs' into for-linusAl Viro1-0/+29
2016-12-16reorganize do_make_slave()Al Viro1-0/+2
2016-12-16clone_private_mount() doesn't need to touch namespace_semAl Viro1-2/+0
2016-12-16remove a bogus claim about namespace_sem being held by callers of mnt_alloc_id()Al Viro1-4/+0
2016-12-05namespace.c: constify struct path passed to a bunch of primitivesAl Viro1-4/+4
2016-12-05fs: Constify path_is_under()'s argumentsMickaël Salaün1-1/+1
2016-12-03vfs: add path_is_mountpoint() helperIan Kent1-0/+29
2016-10-15Merge tag 'gcc-plugins-v4.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+1
2016-10-10latent_entropy: Mark functions with __latent_entropyEmese Revfy1-0/+1
2016-10-10Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2016-09-30mnt: Add a per mount namespace limit on the number of mountsEric W. Biederman1-1/+48
2016-09-22Merge branch 'nsfs-ioctls' into HEADEric W. Biederman1-0/+6
2016-09-22kernel: add a helper to get an owning user namespace for a namespaceAndrey Vagin1-0/+6
2016-09-22userns: When the per user per user namespace limit is reached return ENOSPCEric W. Biederman1-1/+1
2016-09-16locks: fix file locking on overlayfsMiklos Szeredi1-1/+1
2016-08-31mntns: Add a limit on the number of mount namespaces.Eric W. Biederman1-1/+21
2016-07-29Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-52/+47
2016-07-01Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-0/+1
2016-06-30namespace: update event counter when umounting a deleted dentryAndrey Ulanov1-0/+1
2016-06-24fs: Treat foreign mounts as nosuidAndy Lutomirski1-0/+13
2016-06-23userns: Remove implicit MNT_NODEV fragility.Eric W. Biederman1-18/+1
2016-06-23mnt: Simplify mount_too_revealingEric W. Biederman1-17/+8
2016-06-23mnt: Move the FS_USERNS_MOUNT check into sget_usernsEric W. Biederman1-4/+0
2016-06-23mnt: Refactor fs_fully_visible into mount_too_revealingEric W. Biederman1-13/+25
2016-06-15mnt: Account for MS_RDONLY in fs_fully_visibleEric W. Biederman1-0/+4
2016-06-06mnt: fs_fully_visible test the proper mount for MNT_LOCKEDEric W. Biederman1-1/+1
2016-06-06mnt: If fs_fully_visible fails call put_filesystem.Eric W. Biederman1-1/+3
2016-01-22wrappers for ->i_mutex accessAl Viro1-5/+5