aboutsummaryrefslogtreecommitdiffstats
path: root/fs/overlayfs/copy_up.c
AgeCommit message (Expand)AuthorFilesLines
2025-11-19ovl: remove struct ovl_cu_creds and associated functionsChristian Brauner1-28/+0
2025-11-19ovl: port ovl_copy_up_tmpfile() to cred guardChristian Brauner1-8/+8
2025-11-19ovl: mark *_cu_creds() as unused temporarilyChristian Brauner1-2/+2
2025-11-19ovl: port ovl_copy_up_workdir() to cred guardChristian Brauner1-8/+7
2025-11-19ovl: add copy up credential guardChristian Brauner1-0/+27
2025-11-19ovl: port ovl_copy_up_flags() to cred guardsChristian Brauner1-4/+2
2025-11-19Merge branch 'vfs-6.19.directory.locking' into base.vfs-6.19.ovlChristian Brauner1-42/+31
2025-11-14VFS: change vfs_mkdir() to unlock on failure.NeilBrown1-2/+2
2025-11-14VFS/ovl/smb: introduce start_renaming_dentry()NeilBrown1-31/+23
2025-11-14VFS/nfsd/cachefiles/ovl: add start_creating() and end_creating()NeilBrown1-11/+8
2025-10-10Revert "fs: make vfs_fileattr_[get|set] return -EOPNOTSUPP"Andrey Albershteyn1-1/+1
2025-10-03Merge tag 'pull-f_path' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-1/+1
2025-09-23ovl: Add S_CASEFOLD as part of the inode flag to be copiedAndré Almeida1-1/+1
2025-09-15ovl_sync_file(): constify path argumentAl Viro1-1/+1
2025-07-28Merge tag 'vfs-6.17-rc1.fileattr' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-3/+3
2025-07-18ovl: rename ovl_cleanup_unlocked() to ovl_cleanup()NeilBrown1-2/+2
2025-07-18ovl: narrow the locked region in ovl_copy_up_workdir()NeilBrown1-2/+2
2025-07-18ovl: Call ovl_create_temp() without lock held.NeilBrown1-6/+0
2025-07-18ovl: change ovl_create_index() to take dir locksNeilBrown1-9/+13
2025-07-18ovl: simplify an error path in ovl_copy_up_workdir()NeilBrown1-9/+11
2025-07-04tree-wide: s/struct fileattr/struct file_kattr/gChristian Brauner1-2/+2
2025-07-02fs: make vfs_fileattr_[get|set] return -EOPNOTSUPPAndrey Albershteyn1-1/+1
2025-06-16VFS: change old_dir and new_dir in struct renamedata to dentrysNeilBrown1-3/+3
2025-02-19ovl: fix UAF in ovl_dentry_update_reval by moving dput() in ovl_link_upVasiliy Kovalev1-1/+1
2025-01-06ovl: pass realinode to ovl_encode_real_fh() instead of realdentryAmir Goldstein1-5/+6
2024-12-19fs: relax assertions on failure to encode file handlesAmir Goldstein1-3/+2
2024-11-22Merge tag 'ovl-update-6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+1
2024-11-11ovl: use wrapper ovl_revert_creds()Vinicius Costa Gomes1-1/+1
2024-10-07remove pointless includes of <linux/fdtable.h>Al Viro1-1/+0
2024-09-19Merge tag 'ovl-update-6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-4/+39
2024-08-30ovl: fsync after metadata copy-upAmir Goldstein1-4/+39
2024-07-31lsm: Refactor return value of LSM hook inode_copy_up_xattrXu Kuohai1-3/+3
2024-04-09security: allow finer granularity in permitting copy-up of security xattrsStefan Berger1-1/+1
2024-03-17ovl: relax WARN_ON in ovl_verify_area()Amir Goldstein1-3/+3
2024-02-06remap_range: merge do_clone_file_range() into vfs_clone_file_range()Amir Goldstein1-8/+6
2024-01-11Merge tag 'pull-rename' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-3/+6
2024-01-10Merge tag 'ovl-update-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/o...Linus Torvalds1-1/+7
2024-01-08Merge tag 'vfs-6.8.rw' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfsLinus Torvalds1-4/+26
2023-12-17ovl: fix dentry reference leak after changes to underlying layersAmir Goldstein1-2/+3
2023-12-12splice: return type ssize_t from all helpersAmir Goldstein1-1/+1
2023-12-01fs: move file_start_write() into direct_splice_actor()Amir Goldstein1-2/+0
2023-11-25rename(): avoid a deadlock in the case of parents having no common ancestorAl Viro1-3/+6
2023-11-24ovl: add permission hooks outside of do_splice_direct()Amir Goldstein1-1/+25
2023-11-20ovl: initialize ovl_copy_up_ctx.destname inside ovl_do_copy_up()Amir Goldstein1-1/+7
2023-10-31ovl: do not encode lower fh with upper sb_writers heldAmir Goldstein1-20/+33
2023-10-31ovl: do not open/llseek lower file with upper sb_writers heldAmir Goldstein1-21/+55
2023-10-31ovl: reorder ovl_want_write() after ovl_inode_lock()Amir Goldstein1-10/+3
2023-09-26Merge tag 'v6.6-rc4.vfs.fixes' of gitolite.kernel.org:pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2023-09-25overlayfs: set ctime when setting mtime and atimeJeff Layton1-1/+1
2023-09-04ovl: fix failed copyup of fileattr on a symlinkAmir Goldstein1-1/+2
2023-08-12ovl: make consistent use of OVL_FS()Andrea Righi1-1/+1
2023-08-12ovl: add support for unique fsid per instanceAmir Goldstein1-1/+1
2023-08-12ovl: Handle verity during copy-upAlexander Larsson1-4/+44
2023-08-12ovl: Validate verity xattr when resolving lowerdataAlexander Larsson1-1/+1
2023-06-19ovl: implement lazy lookup of lowerdata in data-only layersAmir Goldstein1-0/+9
2023-06-19ovl: update of dentry revalidate flags after copy upAmir Goldstein1-0/+2
2023-03-06ovl: check for ->listxattr() supportChristian Brauner1-2/+1
2023-01-27ovl: fail on invalid uid/gid mapping at copy upMiklos Szeredi1-0/+4
2023-01-27ovl: fix tmpfile leakMiklos Szeredi1-1/+1
2022-10-20ovl: use posix acl apiChristian Brauner1-0/+38
2022-10-10Merge tag 'pull-tmpfile' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-51/+57
2022-09-24ovl: use vfs_tmpfile_open() helperMiklos Szeredi1-51/+57
2022-09-01overlayfs: constify pathAl Viro1-6/+6
2022-08-03Merge tag 'pull-work.lseek' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-2/+1
2022-07-16fs: do not compare against ->llseekJason A. Donenfeld1-2/+1
2022-06-26attr: port attribute changes to new typesChristian Brauner1-2/+2
2022-04-28ovl: use ovl_path_getxattr() wrapperChristian Brauner1-11/+10
2022-04-28ovl: use ovl_lookup_upper() wrapperChristian Brauner1-5/+7
2022-04-28ovl: use ovl_do_notify_change() wrapperChristian Brauner1-4/+4
2022-04-28ovl: pass ofs to setattr operationsChristian Brauner1-8/+11
2022-04-28ovl: pass ofs to creation operationsChristian Brauner1-9/+12
2022-04-28ovl: use wrappers to all vfs_*xattr() callsAmir Goldstein1-10/+11
2022-01-14ovl: don't fail copy up if no fileattr support on upperMiklos Szeredi1-1/+11
2022-01-14ovl: fix NULL pointer dereference in copy up warningChristoph Fritz1-2/+2
2021-11-04ovl: fix filattr copy-up failureMiklos Szeredi1-5/+18
2021-08-17ovl: use kvalloc in xattr copy-upMiklos Szeredi1-4/+5
2021-08-17ovl: consistent behavior for immutable/append-only inodesAmir Goldstein1-2/+15
2021-08-17ovl: copy up sync/noatime fileattr flagsAmir Goldstein1-7/+44
2021-08-17ovl: pass ovl_fs to ovl_check_setxattr()Amir Goldstein1-5/+5
2021-04-12ovl: fix missing revert_creds() on error pathDan Carpenter1-1/+2
2021-02-23Merge tag 'idmapped-mounts-v5.12' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-11/+11
2021-01-28ovl: skip getxattr of security labelsAmir Goldstein1-7/+8
2021-01-24xattr: handle idmapped mountsTycho Andersen1-7/+7
2021-01-24attr: handle idmapped mountsChristian Brauner1-4/+4
2020-12-14ovl: do not fail when setting origin xattrMiklos Szeredi1-1/+2
2020-11-12ovl: introduce new "uuid=off" option for inodes index featurePavel Tikhomirov1-1/+2
2020-11-12ovl: propagate ovl_fs to ovl_decode_real_fh and ovl_encode_real_fhPavel Tikhomirov1-10/+12
2020-09-02ovl: pass ovl_fs down to functions accessing private xattrsMiklos Szeredi1-7/+9
2020-09-02ovl: drop flags argument from ovl_do_setxattr()Miklos Szeredi1-1/+1
2020-09-02ovl: adhere to the vfs_ vs. ovl_do_ conventions for xattrsMiklos Szeredi1-3/+3
2020-09-02ovl: clean up ovl_getxattr() in copy_up.cMiklos Szeredi1-21/+11
2020-09-02duplicate ovl_getxattr()Miklos Szeredi1-0/+33
2020-09-02ovl: provide a mount option "volatile"Vivek Goyal1-4/+8
2020-08-04Merge tag 'uninit-macro-v5.9-rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2020-07-16treewide: Remove uninitialized_var() usageKees Cook1-1/+1
2020-07-16ovl: change ovl_copy_up_flags staticyoungjun1-1/+1
2020-06-04ovl: initialize error in ovl_copy_xattrYuxuan Shui1-1/+1
2020-05-13ovl: prepare to copy up without workdirAmir Goldstein1-3/+4
2020-03-17ovl: ignore failure to copy up unknown xattrsMiklos Szeredi1-2/+14
2020-01-22ovl: improving copy-up efficiency for big sparse fileChengguang Xu1-2/+39
2020-01-22ovl: use pr_fmt auto generate prefixlijiazi1-1/+1
2019-12-10ovl: don't use a temp buf for encoding real fhAmir Goldstein1-21/+16
2019-12-10ovl: make sure that real fid is 32bit aligned in memoryAmir Goldstein1-14/+16
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-18ovl: fix typo in MODULE_PARM_DESCNicolas Schier1-1/+1
2019-05-06ovl: fix missing upper fs freeze protection on copy up for ioctlAmir Goldstein1-3/+3
2019-02-13ovl: Do not lose security.capability xattr over metadata file copy-upVivek Goyal1-2/+26
2019-02-04ovl: During copy up, first copy up data and then xattrsVivek Goyal1-13/+18
2018-11-02Merge tag 'xfs-4.20-merge-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-3/+3
2018-10-30vfs: plumb remap flags through the vfs clone functionsDarrick J. Wong1-1/+1
2018-10-30vfs: make remap_file_range functions take and return bytes completedDarrick J. Wong1-3/+3
2018-10-26ovl: fold copy-up helpers into callersMiklos Szeredi1-108/+67
2018-10-26ovl: untangle copy up call chainAmir Goldstein1-86/+159
2018-10-26ovl: clean up error handling in ovl_get_tmpfile()Miklos Szeredi1-3/+2
2018-09-24vfs: swap names of {do,vfs}_clone_file_range()Amir Goldstein1-1/+1
2018-07-20ovl: Enable metadata only featureVivek Goyal1-3/+0
2018-07-20ovl: add helper to force data copy-upVivek Goyal1-0/+5
2018-07-20ovl: Copy up meta inode data from lowest data inodeVivek Goyal1-4/+9
2018-07-20ovl: A new xattr OVL_XATTR_METACOPY for file on upperVivek Goyal1-5/+51
2018-07-20ovl: Add helper ovl_already_copied_up()Vivek Goyal1-18/+2
2018-07-20ovl: Copy up only metadata during copy up where it makes senseVivek Goyal1-1/+24
2018-07-20ovl: During copy up, first copy up metadata and then dataVivek Goyal1-19/+17
2018-07-20ovl: Move the copy up helpers to copy_up.cVivek Goyal1-0/+32
2018-07-18ovl: obsolete "check_copy_up" module optionMiklos Szeredi1-23/+7
2018-05-31ovl: clean up copy-up error pathsMiklos Szeredi1-36/+18
2018-05-31ovl: create helper ovl_create_temp()Amir Goldstein1-10/+4
2018-05-31ovl: return dentry from ovl_create_real()Miklos Szeredi1-11/+4
2018-05-31ovl: struct cattr cleanupsAmir Goldstein1-3/+2
2018-05-31ovl: strip debug argument from ovl_do_ helpersAmir Goldstein1-5/+4
2018-04-12ovl: disambiguate ovl_encode_fh()Amir Goldstein1-3/+3
2018-01-24ovl: copy up of disconnected dentriesAmir Goldstein1-15/+41
2018-01-24ovl: index directories on copy up for NFS exportAmir Goldstein1-6/+116
2018-01-24ovl: create ovl_need_index() helperAmir Goldstein1-5/+1
2018-01-24ovl: generalize ovl_verify_origin() and helpersAmir Goldstein1-3/+3
2018-01-24ovl: fix inconsistent d_ino for legacy merge dirAmir Goldstein1-2/+2
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-1/+6
2017-10-05ovl: fix missing unlock_rename() in ovl_do_copy_up()Amir Goldstein1-4/+2
2017-09-13mm: treewide: remove GFP_TEMPORARY allocation flagMichal Hocko1-1/+1
2017-07-04ovl: mark parent impure and restore timestamp on ovl_link_up()Amir Goldstein1-24/+33
2017-07-04ovl: persistent overlay inode nlink for indexed inodesAmir Goldstein1-0/+5
2017-07-04ovl: implement index dir copy upAmir Goldstein1-28/+97
2017-07-04ovl: move copy up lock outMiklos Szeredi1-25/+13
2017-07-04ovl: rearrange copy upMiklos Szeredi1-36/+50
2017-07-04ovl: add flag for upper in ovl_entryMiklos Szeredi1-0/+1
2017-07-04ovl: use struct copy_up_ctx as function argumentMiklos Szeredi1-82/+78
2017-07-04ovl: base tmpfile in workdir tooMiklos Szeredi1-5/+3
2017-07-04ovl: factor out ovl_copy_up_inode() helperAmir Goldstein1-17/+29
2017-07-04ovl: extract helper to get temp file in copy upMiklos Szeredi1-18/+41
2017-07-04ovl: defer upper dir lock to tempfile linkAmir Goldstein1-29/+38
2017-07-04ovl: verify index dir matches upper dirAmir Goldstein1-2/+10
2017-07-04ovl: verify upper root dir matches lower root dirAmir Goldstein1-1/+1
2017-07-04ovl: introduce the inodes index dir featureAmir Goldstein1-5/+4
2017-07-04ovl: move __upperdentry to ovl_inodeMiklos Szeredi1-2/+1
2017-07-04Merge tag 'uuid-for-4.13' of git://git.infradead.org/users/hch/uuid into over...Miklos Szeredi1-4/+3
2017-06-28ovl: don't set origin on broken lower hardlinkMiklos Szeredi1-3/+8
2017-06-28ovl: copy-up: don't unlock between lookup and linkMiklos Szeredi1-12/+12
2017-06-05overlayfs: use uuid_t instead of uuid_beChristoph Hellwig1-1/+1
2017-06-05fs: switch ->s_uuid to uuid_tChristoph Hellwig1-3/+2
2017-05-29ovl: mark upper merge dir with type origin entries "impure"Amir Goldstein1-0/+5
2017-05-19ovl: remove unused arg from ovl_lookup_temp()Miklos Szeredi1-1/+1
2017-05-18ovl: don't fail copy-up if upper doesn't support xattrMiklos Szeredi1-1/+5
2017-05-18ovl: fix creds leak in copy up error pathAmir Goldstein1-5/+6
2017-05-05ovl: store file handle of lower inode on copy upAmir Goldstein1-0/+82
2017-03-03Merge branch 'overlayfs-linus' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-25/+66
2017-03-03Merge branch 'rebased-statx' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-2/+4
2017-03-02statx: Add a system call to make enhanced file info availableDavid Howells1-2/+4
2017-03-02sched/headers: Prepare to move signal wakeup & sigpending methods from <linux...Ingo Molnar1-1/+1
2017-03-02sched/headers: Prepare to remove <linux/cred.h> inclusion from <linux/sched.h>Ingo Molnar1-0/+1
2017-02-07ovl: concurrent copy up of regular filesAmir Goldstein1-4/+31
2017-02-07ovl: copy up regular file using O_TMPFILEAmir Goldstein1-7/+20
2017-02-07ovl: rearrange code in ovl_copy_up_locked()Amir Goldstein1-24/+25
2016-12-16Merge branch 'overlayfs-linus' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-29/+32
2016-12-16ovl: clean up kstat usageAl Viro1-5/+7
2016-12-16ovl: fold ovl_copy_up_truncate() into ovl_copy_up()Amir Goldstein1-3/+11
2016-12-16ovl: opaque cleanupMiklos Szeredi1-6/+0
2016-12-16ovl: redirect on rename-dirMiklos Szeredi1-14/+6
2016-12-16ovl: use vfs_clone_file_range() for copy up if possibleAmir Goldstein1-1/+8
2016-12-04don't open-code file_inode()Al Viro1-1/+1
2016-10-31ovl: fsync after copy-upMiklos Szeredi1-0/+2
2016-10-14Merge branch 'overlayfs-linus' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-47/+20
2016-10-14ovl: use vfs_get_link()Miklos Szeredi1-40/+6
2016-10-10Merge branch 'work.xattr' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-2/+2
2016-10-07xattr: Add __vfs_{get,set,remove}xattr helpersAndreas Gruenbacher1-2/+2
2016-10-04Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds1-0/+22
2016-09-19ovl: during copy up, switch to mounter's creds earlyVivek Goyal1-6/+3
2016-09-16ovl: copy_up_xattr(): use strnlenMiklos Szeredi1-1/+11
2016-08-08security,overlayfs: Provide security hook for copy up of xattrs for overlay fileVivek Goyal1-0/+7
2016-08-08security, overlayfs: provide copy up security hook for unioned filesVivek Goyal1-0/+15
2016-08-08ovl: don't copy up opaquenessMiklos Szeredi1-0/+2
2016-07-29ovl: store real inode pointer in ->i_privateMiklos Szeredi1-0/+1
2016-05-27ovl: override creds with the ones from the superblock mounterAntonio Murdaca1-25/+1
2016-03-21ovl: fixed coding style warningSohom Bhattacharjee1-0/+1
2016-03-21ovl: Warn on copy up if a process has a R/O fd open to the lower fileDavid Howells1-0/+34
2016-01-22wrappers for ->i_mutex accessAl Viro1-2/+2
2016-01-21Merge branch 'overlayfs-linus' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-15/+26
2015-12-06ovl: get rid of the dead code left from broken (and disabled) optimizationsAl Viro1-17/+6
2015-11-10ovl: use a minimal buffer in ovl_copy_xattrVito Caputo1-14/+25
2015-11-10ovl: allow zero size xattrMiklos Szeredi1-1/+1