Merge tag 'vfs-fix-ioctl-checking-3' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
Pull common SETFLAGS/FSSETXATTR parameter checking from Darrick Wong: "Here's a patch series that sets up common parameter checking functions for the FS_IOC_SETFLAGS and FS_IOC_FSSETXATTR ioctl implementations. The goal here is to reduce the amount of behaviorial variance between the filesystems where those ioctls originated (ext2 and XFS, respectively) and everybody else. - Standardize parameter checking for the SETFLAGS and FSSETXATTR ioctls (which were the file attribute setters for ext4 and xfs and have now been hoisted to the vfs) - Only allow the DAX flag to be set on files and directories" * tag 'vfs-fix-ioctl-checking-3' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux: vfs: only allow FSSETXATTR to set DAX flag on files and dirs vfs: teach vfs_ioc_fssetxattr_check to check extent size hints vfs: teach vfs_ioc_fssetxattr_check to check project id info vfs: create a generic checking function for FS_IOC_FSSETXATTR vfs: create a generic checking and prep function for FS_IOC_SETFLAGS
No related branches found
No related tags found
Showing
- fs/btrfs/ioctl.c 11 additions, 19 deletionsfs/btrfs/ioctl.c
- fs/efivarfs/file.c 17 additions, 9 deletionsfs/efivarfs/file.c
- fs/ext2/ioctl.c 4 additions, 12 deletionsfs/ext2/ioctl.c
- fs/ext4/ioctl.c 13 additions, 38 deletionsfs/ext4/ioctl.c
- fs/gfs2/file.c 29 additions, 13 deletionsfs/gfs2/file.c
- fs/hfsplus/ioctl.c 12 additions, 9 deletionsfs/hfsplus/ioctl.c
- fs/inode.c 86 additions, 0 deletionsfs/inode.c
- fs/jfs/ioctl.c 7 additions, 15 deletionsfs/jfs/ioctl.c
- fs/nilfs2/ioctl.c 2 additions, 7 deletionsfs/nilfs2/ioctl.c
- fs/ocfs2/ioctl.c 3 additions, 10 deletionsfs/ocfs2/ioctl.c
- fs/orangefs/file.c 28 additions, 9 deletionsfs/orangefs/file.c
- fs/reiserfs/ioctl.c 4 additions, 6 deletionsfs/reiserfs/ioctl.c
- fs/ubifs/ioctl.c 3 additions, 10 deletionsfs/ubifs/ioctl.c
- fs/xfs/xfs_ioctl.c 69 additions, 85 deletionsfs/xfs/xfs_ioctl.c
- include/linux/fs.h 12 additions, 0 deletionsinclude/linux/fs.h
Loading
Please register or sign in to comment