aboutsummaryrefslogtreecommitdiffstats
path: root/fs/overlayfs/inode.c
AgeCommit message (Expand)AuthorFilesLines
6 daysMerge tag 'vfs-6.19-rc1.ovl' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-69/+49
6 daysMerge tag 'vfs-6.19-rc1.inode' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-3/+3
2025-11-19ovl: port ovl_fileattr_get() to cred guardChristian Brauner1-4/+2
2025-11-19ovl: port ovl_fileattr_set() to cred guardChristian Brauner1-13/+12
2025-11-19ovl: port ovl_fiemap() to cred guardChristian Brauner1-7/+2
2025-11-19ovl: port ovl_set_or_remove_acl() to cred guardChristian Brauner1-11/+8
2025-11-19ovl: port do_ovl_get_acl() to cred guardChristian Brauner1-5/+2
2025-11-19ovl: port ovl_get_link() to cred guardChristian Brauner1-7/+2
2025-11-19ovl: port ovl_permission() to cred guardChristian Brauner1-5/+2
2025-11-19ovl: port ovl_getattr() to cred guardChristian Brauner1-13/+17
2025-11-19ovl: port ovl_setattr() to cred guardChristian Brauner1-4/+2
2025-10-20overlayfs: use the new ->i_state accessorsMateusz Guzik1-3/+3
2025-10-10Revert "fs: make vfs_fileattr_[get|set] return -EOPNOTSUPP"Andrey Albershteyn1-1/+4
2025-09-23ovl: Add S_CASEFOLD as part of the inode flag to be copiedAndré Almeida1-0/+1
2025-07-04tree-wide: s/struct fileattr/struct file_kattr/gChristian Brauner1-6/+6
2025-07-02fs: make vfs_fileattr_[get|set] return -EOPNOTSUPPAndrey Albershteyn1-4/+1
2024-11-22Merge tag 'ovl-update-6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-11/+16
2024-11-13fs: Simplify getattr interface function checking AT_GETATTR_NOSEC flagStefan Berger1-5/+5
2024-11-11ovl: use wrapper ovl_revert_creds()Vinicius Costa Gomes1-10/+10
2024-11-11ovl: properly handle large files in ovl_security_fileattrOleksandr Tymoshenko1-1/+6
2024-05-10ovl: remove duplicate included headerThorsten Blum1-1/+0
2023-11-18fs: Pass AT_GETATTR_NOSEC flag to getattr interface functionStefan Berger1-5/+5
2023-10-31ovl: Move xattr support to new xattrs.c fileAmir Goldstein1-122/+0
2023-10-31ovl: reorder ovl_want_write() after ovl_inode_lock()Amir Goldstein1-30/+27
2023-10-18overlayfs: convert to new timestamp accessorsJeff Layton1-1/+2
2023-08-30Merge tag 'ovl-update-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/o...Linus Torvalds1-4/+4
2023-08-12ovl: make consistent use of OVL_FS()Andrea Righi1-3/+3
2023-08-12ovl: support encoding non-decodable file handlesAmir Goldstein1-1/+1
2023-08-11fs: drop the timespec64 argument from update_timeJeff Layton1-1/+1
2023-06-19ovl: pass ovl_fs to xino helpersAmir Goldstein1-8/+10
2023-06-19ovl: prepare for lazy lookup of lowerdata inodeAmir Goldstein1-4/+14
2023-06-19ovl: prepare to store lowerdata redirect for lazy lowerdata lookupAmir Goldstein1-0/+2
2023-06-19ovl: deduplicate lowerdata and lowerstack[]Amir Goldstein1-2/+0
2023-06-19ovl: deduplicate lowerpath and lowerstack[]Amir Goldstein1-6/+2
2023-06-19ovl: move ovl_entry into ovl_inodeAmir Goldstein1-4/+4
2023-06-19ovl: fix null pointer dereference in ovl_get_acl_rcu()Zhihao Cheng1-6/+6
2023-06-19ovl: fix null pointer dereference in ovl_permission()Zhihao Cheng1-3/+2
2023-01-19fs: port vfs{g,u}id helpers to mnt_idmapChristian Brauner1-6/+4
2023-01-19fs: port privilege checking helpers to mnt_idmapChristian Brauner1-1/+1
2023-01-19fs: port inode_owner_or_capable() to mnt_idmapChristian Brauner1-1/+1
2023-01-19fs: port ->permission() to pass mnt_idmapChristian Brauner1-5/+5
2023-01-19fs: port ->fileattr_set() to pass mnt_idmapChristian Brauner1-2/+2
2023-01-19fs: port ->set_acl() to pass mnt_idmapChristian Brauner1-1/+1
2023-01-19fs: port ->get_acl() to pass mnt_idmapChristian Brauner1-4/+6
2023-01-19fs: port ->getattr() to pass mnt_idmapChristian Brauner1-1/+1
2023-01-19fs: port ->setattr() to pass mnt_idmapChristian Brauner1-3/+3
2022-11-03ovl: call posix_acl_release() after error checkingChristian Brauner1-1/+1
2022-10-20ovl: use posix acl apiChristian Brauner1-2/+2
2022-10-20ovl: implement set acl methodChristian Brauner1-0/+94
2022-10-20ovl: implement get acl methodChristian Brauner1-31/+78
2022-10-20fs: rename current get acl methodChristian Brauner1-3/+3
2022-10-06Merge tag 'pull-path' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfsLinus Torvalds1-3/+3
2022-09-01overlayfs: constify pathAl Viro1-3/+3
2022-08-17acl: handle idmapped mounts for idmapped filesystemsChristian Brauner1-4/+7
2022-08-08Merge tag 'ovl-update-6.0' of git://git.kernel.org/pub/scm/linux/kernel/git/m...Linus Torvalds1-1/+3
2022-07-28ovl: improve ovl_get_acl() if POSIX ACL support is offYang Xu1-1/+3
2022-07-15ovl: handle idmappings in ovl_get_acl()Christian Brauner1-8/+79
2022-04-28ovl: handle idmappings in ovl_xattr_{g,s}et()Christian Brauner1-4/+6
2022-04-28ovl: handle idmappings in ovl_permission()Christian Brauner1-3/+6
2022-04-28ovl: use ovl_copy_{real,upper}attr() wrappersChristian Brauner1-4/+4
2022-04-28ovl: store lower path in ovl_inodeAmir Goldstein1-4/+7
2022-04-28ovl: handle idmappings for layer fileattrsChristian Brauner1-1/+1
2022-04-28ovl: use ovl_path_getxattr() wrapperChristian Brauner1-3/+7
2022-04-28ovl: use ovl_do_notify_change() wrapperChristian Brauner1-1/+2
2022-04-28ovl: use wrappers to all vfs_*xattr() callsAmir Goldstein1-8/+9
2021-11-04ovl: fix filattr copy-up failureMiklos Szeredi1-1/+4
2021-08-18ovl: enable RCU'd ->get_acl()Miklos Szeredi1-3/+4
2021-08-18vfs: add rcu argument to ->get_acl() callbackMiklos Szeredi1-1/+4
2021-08-17ovl: update ctime when changing fileattrChengguang Xu1-0/+3
2021-08-17ovl: skip checking lower file's i_writecount on truncateChengguang Xu1-6/+0
2021-08-17ovl: consistent behavior for immutable/append-only inodesAmir Goldstein1-3/+47
2021-08-17ovl: copy up sync/noatime fileattr flagsAmir Goldstein1-13/+31
2021-04-30Merge tag 'ovl-update-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-11/+7
2021-04-12ovl: stack fileattr opsMiklos Szeredi1-0/+77
2021-04-12ovl: trivial typo fixes in the file inode.cBhaskar Chowdhury1-3/+3
2021-04-12ovl: remove ovl_map_dev_ino() return valueyoungjun1-8/+4
2021-02-23Merge tag 'idmapped-mounts-v5.12' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-12/+15
2021-01-28ovl: perform vfs_getxattr() with mounter credsMiklos Szeredi1-0/+2
2021-01-24fs: make helpers idmap mount awareChristian Brauner1-4/+6
2021-01-24xattr: handle idmapped mountsTycho Andersen1-4/+5
2021-01-24attr: handle idmapped mountsChristian Brauner1-2/+2
2021-01-24namei: make permission helpers idmapped mount awareChristian Brauner1-2/+2
2020-12-14ovl: user xattrMiklos Szeredi1-3/+9
2020-11-12ovl: fix incorrect extent info in metacopy caseChengguang Xu1-1/+1
2020-09-02ovl: rearrange ovl_can_list()Miklos Szeredi1-3/+6
2020-09-02ovl: pass ovl_fs down to functions accessing private xattrsMiklos Szeredi1-10/+12
2020-09-02ovl: drop flags argument from ovl_do_setxattr()Miklos Szeredi1-1/+1
2020-09-02ovl: use ovl_do_getxattr() for private xattrMiklos Szeredi1-1/+2
2020-06-09Merge tag 'ovl-update-5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/m...Linus Torvalds1-13/+4
2020-06-05Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-4/+1
2020-06-04ovl: make oip->index boolMiklos Szeredi1-1/+1
2020-06-04ovl: add accessor for ofs->upper_mntMiklos Szeredi1-2/+2
2020-06-03fs: handle FIEMAP_FLAG_SYNC in fiemap_prepChristoph Hellwig1-4/+0
2020-06-03fs: move the fiemap definitions out of fs.hChristoph Hellwig1-0/+1
2020-06-02ovl: initialize OVL_UPPERDATA in ovl_lookup()Vivek Goyal1-10/+1
2020-04-30ovl: clear ATTR_OPEN from attr->ia_validVivek Goyal1-3/+14
2020-04-30ovl: clear ATTR_FILE from attr->ia_validVivek Goyal1-0/+7
2020-03-27ovl: enable xino automatically in more casesAmir Goldstein1-4/+4
2020-03-27ovl: avoid possible inode number collisions with xino=onAmir Goldstein1-10/+29
2020-03-27ovl: use a private non-persistent ino poolAmir Goldstein1-3/+12
2020-03-17ovl: fix a typo in commentChengguang Xu1-1/+1
2020-03-17ovl: simplify i_ino initializationAmir Goldstein1-9/+26
2020-03-17ovl: fix out of date comment and unreachable codeAmir Goldstein1-3/+5
2020-03-17ovl: fix value of i_ino for lower hardlink corner caseAmir Goldstein1-1/+3
2020-01-24ovl: fix corner case of non-constant st_dev;st_inoAmir Goldstein1-12/+4
2020-01-24ovl: generalize the lower_fs[] arrayAmir Goldstein1-12/+9
2020-01-24ovl: simplify ovl_same_sb() helperAmir Goldstein1-4/+4
2020-01-22ovl: use ovl_inode_lock in ovl_llseek()Amir Goldstein1-0/+21
2020-01-22ovl: use pr_fmt auto generate prefixlijiazi1-3/+3
2019-12-10ovl: fix corner case of non-unique st_dev;st_inoAmir Goldstein1-1/+7
2019-09-11ovl: filter of trusted xattr results in auditMark Salyzyn1-1/+2
2019-06-21Merge tag 'spdx-5.2-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds1-4/+1
2019-06-19treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500Thomas Gleixner1-4/+1
2019-06-19ovl: make i_ino consistent with st_ino in more casesAmir Goldstein1-6/+6
2019-05-29ovl: detect overlapping layersAmir Goldstein1-0/+48
2019-05-08ovl: relax WARN_ON() for overlapping layers use caseAmir Goldstein1-1/+2
2018-12-04Revert "ovl: relax permission checking on underlying layers"Miklos Szeredi1-13/+4
2018-10-26ovl: relax permission checking on underlying layersMiklos Szeredi1-4/+13
2018-09-25ovl: make symbol 'ovl_aops' staticWei Yongjun1-1/+1
2018-08-30ovl: fix GPF in swapfile_activate of file from overlayfs over xfsAmir Goldstein1-0/+6
2018-08-30ovl: respect FIEMAP_FLAG_SYNC flagAmir Goldstein1-0/+4
2018-07-20ovl: Do not do metadata only copy-up for truncate operationVivek Goyal1-1/+8
2018-07-20ovl: Add an inode flag OVL_CONST_INOVivek Goyal1-0/+3
2018-07-20ovl: Store lower data inode in ovl_inodeVivek Goyal1-1/+1
2018-07-20ovl: Fix ovl_getattr() to get number of blocks from lowerVivek Goyal1-1/+34
2018-07-20ovl: Modify ovl_lookup() and friends to lookup metacopy dentryVivek Goyal1-1/+10
2018-07-20ovl: Use out_err instead of out_nomemVivek Goyal1-7/+10
2018-07-20ovl: Move the copy up helpers to copy_up.cVivek Goyal1-32/+0
2018-07-20ovl: Initialize ovl_inode->redirect in ovl_get_inode()Vivek Goyal1-0/+3
2018-07-18ovl: add ovl_fiemap()Miklos Szeredi1-1/+28
2018-07-18ovl: stack file opsMiklos Szeredi1-0/+1
2018-07-18ovl: copy up file size as wellMiklos Szeredi1-9/+0
2018-07-18Revert "Revert "ovl: get_write_access() in truncate""Miklos Szeredi1-0/+21
2018-07-18ovl: copy up timesMiklos Szeredi1-0/+3
2018-06-15Merge tag 'vfs-timespec64' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds1-1/+1
2018-06-05vfs: change inode times to use struct timespec64Deepa Dinamani1-1/+1
2018-05-31ovl: use inode_insert5() to hash a newly created inodeAmir Goldstein1-2/+10
2018-05-31ovl: Pass argument to ovl_get_inode() in a structureVivek Goyal1-9/+11
2018-04-12ovl: consistent i_ino for non-samefs with xinoAmir Goldstein1-9/+18
2018-04-12ovl: constant st_ino for non-samefs with xinoAmir Goldstein1-2/+29
2018-04-12ovl: allocate anon bdev per unique lower fsAmir Goldstein1-4/+5
2018-04-12ovl: factor out ovl_map_dev_ino() helperAmir Goldstein1-39/+49
2018-04-12ovl: cleanup ovl_update_time()Miklos Szeredi1-17/+11
2018-04-12ovl: cleanup setting OVL_INDEXVivek Goyal1-0/+3
2018-04-12ovl: set lower layer st_dev only if setting lower st_inoAmir Goldstein1-5/+2
2018-04-12ovl: set i_ino to the value of st_ino for NFS exportAmir Goldstein1-4/+17
2018-02-16ovl: hash non-dir by lower inode for fsnotifyAmir Goldstein1-18/+40
2018-01-24ovl: lookup connected ancestor of dir in inode cacheAmir Goldstein1-6/+15
2018-01-24ovl: hash non-indexed dir by upper inode for NFS exportAmir Goldstein1-1/+3
2018-01-24ovl: decode lower file handles of unlinked but open filesAmir Goldstein1-0/+16
2018-01-24ovl: copy up of disconnected dentriesAmir Goldstein1-1/+3
2018-01-24ovl: do not pass overlay dentry to ovl_get_inode()Amir Goldstein1-9/+7
2018-01-24ovl: unbless lower st_ino of unverified originAmir Goldstein1-4/+12
2018-01-19ovl: hash directory inodes for fsnotifyAmir Goldstein1-11/+28
2017-11-09ovl: relax same fs constraint for constant st_inoAmir Goldstein1-20/+29
2017-11-09ovl: return anonymous st_dev for lower inodesChandan Rajendra1-0/+15
2017-11-09ovl: move include of ovl_entry.h into overlayfs.hAmir Goldstein1-1/+0
2017-11-09ovl: no direct iteration for dir with origin xattrAmir Goldstein1-0/+10
2017-11-09ovl: lockdep annotate of nested OVL_I(inode)->lockAmir Goldstein1-0/+4
2017-10-24ovl: fix EIO from lookup of non-indexed upperAmir Goldstein1-4/+16
2017-09-12ovl: fix false positive ESTALE on lookupAmir Goldstein1-4/+7
2017-07-27ovl: check snprintf returnMiklos Szeredi1-0/+3
2017-07-20ovl: fix xattr get and set with selinuxMiklos Szeredi1-15/+17
2017-07-04ovl: cleanup orphan index entriesAmir Goldstein1-3/+3
2017-07-04ovl: persistent overlay inode nlink for indexed inodesAmir Goldstein1-1/+111
2017-07-04ovl: implement index dir copy upAmir Goldstein1-8/+5
2017-07-04ovl: hash overlay non-dir inodes by copy up originMiklos Szeredi1-5/+41
2017-07-04ovl: lookup index entry for copy up originAmir Goldstein1-2/+6
2017-07-04ovl: move impure to ovl_inodeMiklos Szeredi1-0/+4
2017-07-04ovl: move __upperdentry to ovl_inodeMiklos Szeredi1-9/+17
2017-07-04ovl: use i_private only as a keyMiklos Szeredi1-2/+2
2017-07-04ovl: simplify getting inodeMiklos Szeredi1-8/+18
2017-05-29ovl: filter trusted xattr for non-adminMiklos Szeredi1-1/+11
2017-05-05ovl: merge getattr for dir and nondirMiklos Szeredi1-4/+27
2017-05-05ovl: constant st_ino/st_dev across copy upAmir Goldstein1-1/+38
2017-03-08ovl: lockdep annotate of nested stacked overlayfs inode lockAmir Goldstein1-0/+37
2017-03-03Merge branch 'rebased-statx' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-3/+4
2017-03-02statx: Add a system call to make enhanced file info availableDavid Howells1-3/+4
2017-03-02sched/headers: Prepare to remove <linux/cred.h> inclusion from <linux/sched.h>Ingo Molnar1-0/+1
2016-12-17Merge uncontroversial parts of branch 'readlink' of git://git.kernel.org/pub/...Linus Torvalds1-1/+0
2016-12-16ovl: fold ovl_copy_up_truncate() into ovl_copy_up()Amir Goldstein1-32/+1
2016-12-16ovl: treat special files like a regular fsMiklos Szeredi1-14/+10
2016-12-16Revert "ovl: get_write_access() in truncate"Miklos Szeredi1-21/+0
2016-12-09vfs: remove ".readlink = generic_readlink" assignmentsMiklos Szeredi1-1/+0
2016-10-31ovl: fix get_acl() on tmpfsMiklos Szeredi1-3/+0
2016-10-14Merge branch 'overlayfs-linus' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-34/+10
2016-10-14ovl: use vfs_get_link()Miklos Szeredi1-9/+1
2016-10-14ovl: use generic_readlinkMiklos Szeredi1-20/+1
2016-10-10Merge branch 'work.xattr' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-6/+0
2016-10-08Merge remote-tracking branch 'jk/vfs' into work.miscAl Viro1-1/+1
2016-10-07vfs: Remove {get,set,remove}xattr inode operationsAndreas Gruenbacher1-6/+0
2016-09-22fs: Give dentry to inode_change_ok() instead of inodeJan Kara1-1/+1
2016-09-19ovl: during copy up, switch to mounter's creds earlyVivek Goyal1-5/+8
2016-09-01ovl: listxattr: use strnlen()Miklos Szeredi1-7/+10
2016-09-01ovl: Switch to generic_getxattrAndreas Gruenbacher1-7/+4
2016-09-01ovl: Switch to generic_removexattrAndreas Gruenbacher1-44/+21
2016-09-01ovl: Fix OVL_XATTR_PREFIXAndreas Gruenbacher1-3/+2
2016-09-01ovl: don't cache acl on overlay layerMiklos Szeredi1-0/+3
2016-09-01ovl: use cached acl on underlying layerMiklos Szeredi1-2/+3
2016-08-08ovl: don't copy up opaquenessMiklos Szeredi1-1/+1