Merge tag 'ovl-update-6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs
Pull overlayfs updates from Amir Goldstein: - Fix a syzbot reported NULL pointer deref with bfs lower layers - Fix a copy up failure of large file from lower fuse fs - Followup cleanup of backing_file API from Miklos - Introduction and use of revert/override_creds_light() helpers, that were suggested by Christian as a mitigation to cache line bouncing and false sharing of fields in overlayfs creator_cred long lived struct cred copy. - Store up to two backing file references (upper and lower) in an ovl_file container instead of storing a single backing file in file->private_data. This is used to avoid the practice of opening a short lived backing file for the duration of some file operations and to avoid the specialized use of FDPUT_FPUT in such occasions, that was getting in the way of Al's fd_file() conversions. * tag 'ovl-update-6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs: ovl: Filter invalid inodes with missing lookup function ovl: convert ovl_real_fdget() callers to ovl_real_file() ovl: convert ovl_real_fdget_path() callers to ovl_real_file_path() ovl: store upper real file in ovl_file struct ovl: allocate a container struct ovl_file for ovl private context ovl: do not open non-data lower file for fsync ovl: Optimize override/revert creds ovl: pass an explicit reference of creators creds to callers ovl: use wrapper ovl_revert_creds() fs/backing-file: Convert to revert/override_creds_light() cred: Add a light version of override/revert_creds() backing-file: clean up the API ovl: properly handle large files in ovl_security_fileattr
No related branches found
No related tags found
Showing
- fs/backing-file.c 26 additions, 27 deletionsfs/backing-file.c
- fs/fuse/passthrough.c 18 additions, 14 deletionsfs/fuse/passthrough.c
- fs/overlayfs/copy_up.c 1 addition, 1 deletionfs/overlayfs/copy_up.c
- fs/overlayfs/dir.c 47 additions, 21 deletionsfs/overlayfs/dir.c
- fs/overlayfs/file.c 190 additions, 137 deletionsfs/overlayfs/file.c
- fs/overlayfs/inode.c 16 additions, 11 deletionsfs/overlayfs/inode.c
- fs/overlayfs/namei.c 5 additions, 5 deletionsfs/overlayfs/namei.c
- fs/overlayfs/overlayfs.h 4 additions, 0 deletionsfs/overlayfs/overlayfs.h
- fs/overlayfs/readdir.c 4 additions, 4 deletionsfs/overlayfs/readdir.c
- fs/overlayfs/util.c 11 additions, 3 deletionsfs/overlayfs/util.c
- fs/overlayfs/xattrs.c 4 additions, 5 deletionsfs/overlayfs/xattrs.c
- include/linux/backing-file.h 5 additions, 6 deletionsinclude/linux/backing-file.h
- include/linux/cred.h 18 additions, 0 deletionsinclude/linux/cred.h
- kernel/cred.c 3 additions, 3 deletionskernel/cred.c
Loading
Please register or sign in to comment