mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-26 21:00:30 +00:00
sys/linux: make fs flags explicit in ioctl$FS_IOC_SETFLAGS
Make fs flags explicit in FS_IOC_SETFLAGS, FS_IOC_GETFLAGS ioctls. Signed-off-by: Denis Efremov <efremov@linux.com>
This commit is contained in:
parent
db2522a1a7
commit
38237e24ca
@ -13,8 +13,9 @@ ioctl$FICLONE(fd fd, cmd const[FICLONE], arg fd)
|
||||
ioctl$FICLONERANGE(fd fd, cmd const[FICLONERANGE], arg ptr[in, file_clone_range])
|
||||
ioctl$FIDEDUPERANGE(fd fd, cmd const[FIDEDUPERANGE], arg ptr[in, file_dedupe_range])
|
||||
|
||||
ioctl$FS_IOC_GETFLAGS(fd fd, cmd const[FS_IOC_GETFLAGS], arg ptr[out, int32])
|
||||
ioctl$FS_IOC_SETFLAGS(fd fd, cmd const[FS_IOC_SETFLAGS], arg ptr[in, int32])
|
||||
ioctl$FS_IOC_GETFLAGS(fd fd, cmd const[FS_IOC_GETFLAGS], arg ptr[out, flags[fs_flags, int32]])
|
||||
ioctl$FS_IOC_SETFLAGS(fd fd, cmd const[FS_IOC_SETFLAGS], arg ptr[in, flags[fs_flags, int32]])
|
||||
|
||||
ioctl$FS_IOC_GETVERSION(fd fd, cmd const[FS_IOC_GETVERSION], arg ptr[out, intptr])
|
||||
ioctl$FS_IOC_SETVERSION(fd fd, cmd const[FS_IOC_SETVERSION], arg ptr[in, intptr])
|
||||
ioctl$FS_IOC_FIEMAP(fd fd, cmd const[FS_IOC_FIEMAP], v ptr[in, fiemap])
|
||||
@ -112,4 +113,6 @@ fsmap {
|
||||
fmr_reserved array[const[0, int64], 3]
|
||||
}
|
||||
|
||||
fs_flags = FS_SECRM_FL, FS_UNRM_FL, FS_COMPR_FL, FS_SYNC_FL, FS_IMMUTABLE_FL, FS_APPEND_FL, FS_NODUMP_FL, FS_NOATIME_FL, FS_DIRTY_FL, FS_COMPRBLK_FL, FS_NOCOMP_FL, FS_ENCRYPT_FL, FS_BTREE_FL, FS_INDEX_FL, FS_IMAGIC_FL, FS_JOURNAL_DATA_FL, FS_NOTAIL_FL, FS_DIRSYNC_FL, FS_TOPDIR_FL, FS_HUGE_FILE_FL, FS_EXTENT_FL, FS_VERITY_FL, FS_EA_INODE_FL, FS_EOFBLOCKS_FL, FS_NOCOW_FL, FS_DAX_FL, FS_INLINE_DATA_FL, FS_PROJINHERIT_FL, FS_CASEFOLD_FL, FS_RESERVED_FL
|
||||
|
||||
define FSMAP_SIZE sizeof(struct fsmap)
|
||||
|
@ -7,6 +7,23 @@ FIGETBSZ = 2
|
||||
FITRIM = 3222820985
|
||||
FSLABEL_MAX = 256
|
||||
FSMAP_SIZE = 64
|
||||
FS_APPEND_FL = 32
|
||||
FS_BTREE_FL = 4096
|
||||
FS_CASEFOLD_FL = 1073741824
|
||||
FS_COMPRBLK_FL = 512
|
||||
FS_COMPR_FL = 4
|
||||
FS_DAX_FL = 33554432
|
||||
FS_DIRSYNC_FL = 65536
|
||||
FS_DIRTY_FL = 256
|
||||
FS_EA_INODE_FL = 2097152
|
||||
FS_ENCRYPT_FL = 2048
|
||||
FS_EOFBLOCKS_FL = 4194304
|
||||
FS_EXTENT_FL = 524288
|
||||
FS_HUGE_FILE_FL = 262144
|
||||
FS_IMAGIC_FL = 8192
|
||||
FS_IMMUTABLE_FL = 16
|
||||
FS_INDEX_FL = 4096
|
||||
FS_INLINE_DATA_FL = 268435456
|
||||
FS_IOC_FIEMAP = 3223348747
|
||||
FS_IOC_FSGETXATTR = 2149341215
|
||||
FS_IOC_FSSETXATTR = 1075599392
|
||||
@ -18,4 +35,17 @@ FS_IOC_RESVSP = 1076647976
|
||||
FS_IOC_SETFLAGS = 1074030082
|
||||
FS_IOC_SETFSLABEL = 1090556978
|
||||
FS_IOC_SETVERSION = 1074034178
|
||||
FS_JOURNAL_DATA_FL = 16384
|
||||
FS_NOATIME_FL = 128
|
||||
FS_NOCOMP_FL = 1024
|
||||
FS_NOCOW_FL = 8388608
|
||||
FS_NODUMP_FL = 64
|
||||
FS_NOTAIL_FL = 32768
|
||||
FS_PROJINHERIT_FL = 536870912
|
||||
FS_RESERVED_FL = 2147483648
|
||||
FS_SECRM_FL = 1
|
||||
FS_SYNC_FL = 8
|
||||
FS_TOPDIR_FL = 131072
|
||||
FS_UNRM_FL = 2
|
||||
FS_VERITY_FL = 1048576
|
||||
__NR_ioctl = 54
|
||||
|
@ -7,6 +7,23 @@ FIGETBSZ = 2
|
||||
FITRIM = 3222820985
|
||||
FSLABEL_MAX = 256
|
||||
FSMAP_SIZE = 64
|
||||
FS_APPEND_FL = 32
|
||||
FS_BTREE_FL = 4096
|
||||
FS_CASEFOLD_FL = 1073741824
|
||||
FS_COMPRBLK_FL = 512
|
||||
FS_COMPR_FL = 4
|
||||
FS_DAX_FL = 33554432
|
||||
FS_DIRSYNC_FL = 65536
|
||||
FS_DIRTY_FL = 256
|
||||
FS_EA_INODE_FL = 2097152
|
||||
FS_ENCRYPT_FL = 2048
|
||||
FS_EOFBLOCKS_FL = 4194304
|
||||
FS_EXTENT_FL = 524288
|
||||
FS_HUGE_FILE_FL = 262144
|
||||
FS_IMAGIC_FL = 8192
|
||||
FS_IMMUTABLE_FL = 16
|
||||
FS_INDEX_FL = 4096
|
||||
FS_INLINE_DATA_FL = 268435456
|
||||
FS_IOC_FIEMAP = 3223348747
|
||||
FS_IOC_FSGETXATTR = 2149341215
|
||||
FS_IOC_FSSETXATTR = 1075599392
|
||||
@ -18,4 +35,17 @@ FS_IOC_RESVSP = 1076910120
|
||||
FS_IOC_SETFLAGS = 1074292226
|
||||
FS_IOC_SETFSLABEL = 1090556978
|
||||
FS_IOC_SETVERSION = 1074296322
|
||||
FS_JOURNAL_DATA_FL = 16384
|
||||
FS_NOATIME_FL = 128
|
||||
FS_NOCOMP_FL = 1024
|
||||
FS_NOCOW_FL = 8388608
|
||||
FS_NODUMP_FL = 64
|
||||
FS_NOTAIL_FL = 32768
|
||||
FS_PROJINHERIT_FL = 536870912
|
||||
FS_RESERVED_FL = 2147483648
|
||||
FS_SECRM_FL = 1
|
||||
FS_SYNC_FL = 8
|
||||
FS_TOPDIR_FL = 131072
|
||||
FS_UNRM_FL = 2
|
||||
FS_VERITY_FL = 1048576
|
||||
__NR_ioctl = 16
|
||||
|
@ -7,6 +7,23 @@ FIGETBSZ = 2
|
||||
FITRIM = 3222820985
|
||||
FSLABEL_MAX = 256
|
||||
FSMAP_SIZE = 64
|
||||
FS_APPEND_FL = 32
|
||||
FS_BTREE_FL = 4096
|
||||
FS_CASEFOLD_FL = 1073741824
|
||||
FS_COMPRBLK_FL = 512
|
||||
FS_COMPR_FL = 4
|
||||
FS_DAX_FL = 33554432
|
||||
FS_DIRSYNC_FL = 65536
|
||||
FS_DIRTY_FL = 256
|
||||
FS_EA_INODE_FL = 2097152
|
||||
FS_ENCRYPT_FL = 2048
|
||||
FS_EOFBLOCKS_FL = 4194304
|
||||
FS_EXTENT_FL = 524288
|
||||
FS_HUGE_FILE_FL = 262144
|
||||
FS_IMAGIC_FL = 8192
|
||||
FS_IMMUTABLE_FL = 16
|
||||
FS_INDEX_FL = 4096
|
||||
FS_INLINE_DATA_FL = 268435456
|
||||
FS_IOC_FIEMAP = 3223348747
|
||||
FS_IOC_FSGETXATTR = 2149341215
|
||||
FS_IOC_FSSETXATTR = 1075599392
|
||||
@ -18,4 +35,17 @@ FS_IOC_RESVSP = 1076910120
|
||||
FS_IOC_SETFLAGS = 1074030082
|
||||
FS_IOC_SETFSLABEL = 1090556978
|
||||
FS_IOC_SETVERSION = 1074034178
|
||||
FS_JOURNAL_DATA_FL = 16384
|
||||
FS_NOATIME_FL = 128
|
||||
FS_NOCOMP_FL = 1024
|
||||
FS_NOCOW_FL = 8388608
|
||||
FS_NODUMP_FL = 64
|
||||
FS_NOTAIL_FL = 32768
|
||||
FS_PROJINHERIT_FL = 536870912
|
||||
FS_RESERVED_FL = 2147483648
|
||||
FS_SECRM_FL = 1
|
||||
FS_SYNC_FL = 8
|
||||
FS_TOPDIR_FL = 131072
|
||||
FS_UNRM_FL = 2
|
||||
FS_VERITY_FL = 1048576
|
||||
__NR_ioctl = 54
|
||||
|
@ -7,6 +7,23 @@ FIGETBSZ = 2
|
||||
FITRIM = 3222820985
|
||||
FSLABEL_MAX = 256
|
||||
FSMAP_SIZE = 64
|
||||
FS_APPEND_FL = 32
|
||||
FS_BTREE_FL = 4096
|
||||
FS_CASEFOLD_FL = 1073741824
|
||||
FS_COMPRBLK_FL = 512
|
||||
FS_COMPR_FL = 4
|
||||
FS_DAX_FL = 33554432
|
||||
FS_DIRSYNC_FL = 65536
|
||||
FS_DIRTY_FL = 256
|
||||
FS_EA_INODE_FL = 2097152
|
||||
FS_ENCRYPT_FL = 2048
|
||||
FS_EOFBLOCKS_FL = 4194304
|
||||
FS_EXTENT_FL = 524288
|
||||
FS_HUGE_FILE_FL = 262144
|
||||
FS_IMAGIC_FL = 8192
|
||||
FS_IMMUTABLE_FL = 16
|
||||
FS_INDEX_FL = 4096
|
||||
FS_INLINE_DATA_FL = 268435456
|
||||
FS_IOC_FIEMAP = 3223348747
|
||||
FS_IOC_FSGETXATTR = 2149341215
|
||||
FS_IOC_FSSETXATTR = 1075599392
|
||||
@ -18,4 +35,17 @@ FS_IOC_RESVSP = 1076910120
|
||||
FS_IOC_SETFLAGS = 1074292226
|
||||
FS_IOC_SETFSLABEL = 1090556978
|
||||
FS_IOC_SETVERSION = 1074296322
|
||||
FS_JOURNAL_DATA_FL = 16384
|
||||
FS_NOATIME_FL = 128
|
||||
FS_NOCOMP_FL = 1024
|
||||
FS_NOCOW_FL = 8388608
|
||||
FS_NODUMP_FL = 64
|
||||
FS_NOTAIL_FL = 32768
|
||||
FS_PROJINHERIT_FL = 536870912
|
||||
FS_RESERVED_FL = 2147483648
|
||||
FS_SECRM_FL = 1
|
||||
FS_SYNC_FL = 8
|
||||
FS_TOPDIR_FL = 131072
|
||||
FS_UNRM_FL = 2
|
||||
FS_VERITY_FL = 1048576
|
||||
__NR_ioctl = 29
|
||||
|
@ -7,6 +7,23 @@ FIGETBSZ = 536870914
|
||||
FITRIM = 3222820985
|
||||
FSLABEL_MAX = 256
|
||||
FSMAP_SIZE = 64
|
||||
FS_APPEND_FL = 32
|
||||
FS_BTREE_FL = 4096
|
||||
FS_CASEFOLD_FL = 1073741824
|
||||
FS_COMPRBLK_FL = 512
|
||||
FS_COMPR_FL = 4
|
||||
FS_DAX_FL = 33554432
|
||||
FS_DIRSYNC_FL = 65536
|
||||
FS_DIRTY_FL = 256
|
||||
FS_EA_INODE_FL = 2097152
|
||||
FS_ENCRYPT_FL = 2048
|
||||
FS_EOFBLOCKS_FL = 4194304
|
||||
FS_EXTENT_FL = 524288
|
||||
FS_HUGE_FILE_FL = 262144
|
||||
FS_IMAGIC_FL = 8192
|
||||
FS_IMMUTABLE_FL = 16
|
||||
FS_INDEX_FL = 4096
|
||||
FS_INLINE_DATA_FL = 268435456
|
||||
FS_IOC_FIEMAP = 3223348747
|
||||
FS_IOC_FSGETXATTR = 1075599391
|
||||
FS_IOC_FSSETXATTR = 2149341216
|
||||
@ -18,4 +35,17 @@ FS_IOC_RESVSP = 2150651944
|
||||
FS_IOC_SETFLAGS = 2148034050
|
||||
FS_IOC_SETFSLABEL = 2164298802
|
||||
FS_IOC_SETVERSION = 2148038146
|
||||
FS_JOURNAL_DATA_FL = 16384
|
||||
FS_NOATIME_FL = 128
|
||||
FS_NOCOMP_FL = 1024
|
||||
FS_NOCOW_FL = 8388608
|
||||
FS_NODUMP_FL = 64
|
||||
FS_NOTAIL_FL = 32768
|
||||
FS_PROJINHERIT_FL = 536870912
|
||||
FS_RESERVED_FL = 2147483648
|
||||
FS_SECRM_FL = 1
|
||||
FS_SYNC_FL = 8
|
||||
FS_TOPDIR_FL = 131072
|
||||
FS_UNRM_FL = 2
|
||||
FS_VERITY_FL = 1048576
|
||||
__NR_ioctl = 5015
|
||||
|
@ -7,6 +7,23 @@ FIGETBSZ = 536870914
|
||||
FITRIM = 3222820985
|
||||
FSLABEL_MAX = 256
|
||||
FSMAP_SIZE = 64
|
||||
FS_APPEND_FL = 32
|
||||
FS_BTREE_FL = 4096
|
||||
FS_CASEFOLD_FL = 1073741824
|
||||
FS_COMPRBLK_FL = 512
|
||||
FS_COMPR_FL = 4
|
||||
FS_DAX_FL = 33554432
|
||||
FS_DIRSYNC_FL = 65536
|
||||
FS_DIRTY_FL = 256
|
||||
FS_EA_INODE_FL = 2097152
|
||||
FS_ENCRYPT_FL = 2048
|
||||
FS_EOFBLOCKS_FL = 4194304
|
||||
FS_EXTENT_FL = 524288
|
||||
FS_HUGE_FILE_FL = 262144
|
||||
FS_IMAGIC_FL = 8192
|
||||
FS_IMMUTABLE_FL = 16
|
||||
FS_INDEX_FL = 4096
|
||||
FS_INLINE_DATA_FL = 268435456
|
||||
FS_IOC_FIEMAP = 3223348747
|
||||
FS_IOC_FSGETXATTR = 1075599391
|
||||
FS_IOC_FSSETXATTR = 2149341216
|
||||
@ -18,4 +35,17 @@ FS_IOC_RESVSP = 2150651944
|
||||
FS_IOC_SETFLAGS = 2148034050
|
||||
FS_IOC_SETFSLABEL = 2164298802
|
||||
FS_IOC_SETVERSION = 2148038146
|
||||
FS_JOURNAL_DATA_FL = 16384
|
||||
FS_NOATIME_FL = 128
|
||||
FS_NOCOMP_FL = 1024
|
||||
FS_NOCOW_FL = 8388608
|
||||
FS_NODUMP_FL = 64
|
||||
FS_NOTAIL_FL = 32768
|
||||
FS_PROJINHERIT_FL = 536870912
|
||||
FS_RESERVED_FL = 2147483648
|
||||
FS_SECRM_FL = 1
|
||||
FS_SYNC_FL = 8
|
||||
FS_TOPDIR_FL = 131072
|
||||
FS_UNRM_FL = 2
|
||||
FS_VERITY_FL = 1048576
|
||||
__NR_ioctl = 54
|
||||
|
@ -7,6 +7,23 @@ FIGETBSZ = 2
|
||||
FITRIM = 3222820985
|
||||
FSLABEL_MAX = 256
|
||||
FSMAP_SIZE = 64
|
||||
FS_APPEND_FL = 32
|
||||
FS_BTREE_FL = 4096
|
||||
FS_CASEFOLD_FL = 1073741824
|
||||
FS_COMPRBLK_FL = 512
|
||||
FS_COMPR_FL = 4
|
||||
FS_DAX_FL = 33554432
|
||||
FS_DIRSYNC_FL = 65536
|
||||
FS_DIRTY_FL = 256
|
||||
FS_EA_INODE_FL = 2097152
|
||||
FS_ENCRYPT_FL = 2048
|
||||
FS_EOFBLOCKS_FL = 4194304
|
||||
FS_EXTENT_FL = 524288
|
||||
FS_HUGE_FILE_FL = 262144
|
||||
FS_IMAGIC_FL = 8192
|
||||
FS_IMMUTABLE_FL = 16
|
||||
FS_INDEX_FL = 4096
|
||||
FS_INLINE_DATA_FL = 268435456
|
||||
FS_IOC_FIEMAP = 3223348747
|
||||
FS_IOC_FSGETXATTR = 2149341215
|
||||
FS_IOC_FSSETXATTR = 1075599392
|
||||
@ -18,4 +35,17 @@ FS_IOC_RESVSP = 1076910120
|
||||
FS_IOC_SETFLAGS = 1074292226
|
||||
FS_IOC_SETFSLABEL = 1090556978
|
||||
FS_IOC_SETVERSION = 1074296322
|
||||
FS_JOURNAL_DATA_FL = 16384
|
||||
FS_NOATIME_FL = 128
|
||||
FS_NOCOMP_FL = 1024
|
||||
FS_NOCOW_FL = 8388608
|
||||
FS_NODUMP_FL = 64
|
||||
FS_NOTAIL_FL = 32768
|
||||
FS_PROJINHERIT_FL = 536870912
|
||||
FS_RESERVED_FL = 2147483648
|
||||
FS_SECRM_FL = 1
|
||||
FS_SYNC_FL = 8
|
||||
FS_TOPDIR_FL = 131072
|
||||
FS_UNRM_FL = 2
|
||||
FS_VERITY_FL = 1048576
|
||||
__NR_ioctl = 29
|
||||
|
@ -7,6 +7,23 @@ FIGETBSZ = 2
|
||||
FITRIM = 3222820985
|
||||
FSLABEL_MAX = 256
|
||||
FSMAP_SIZE = 64
|
||||
FS_APPEND_FL = 32
|
||||
FS_BTREE_FL = 4096
|
||||
FS_CASEFOLD_FL = 1073741824
|
||||
FS_COMPRBLK_FL = 512
|
||||
FS_COMPR_FL = 4
|
||||
FS_DAX_FL = 33554432
|
||||
FS_DIRSYNC_FL = 65536
|
||||
FS_DIRTY_FL = 256
|
||||
FS_EA_INODE_FL = 2097152
|
||||
FS_ENCRYPT_FL = 2048
|
||||
FS_EOFBLOCKS_FL = 4194304
|
||||
FS_EXTENT_FL = 524288
|
||||
FS_HUGE_FILE_FL = 262144
|
||||
FS_IMAGIC_FL = 8192
|
||||
FS_IMMUTABLE_FL = 16
|
||||
FS_INDEX_FL = 4096
|
||||
FS_INLINE_DATA_FL = 268435456
|
||||
FS_IOC_FIEMAP = 3223348747
|
||||
FS_IOC_FSGETXATTR = 2149341215
|
||||
FS_IOC_FSSETXATTR = 1075599392
|
||||
@ -18,4 +35,17 @@ FS_IOC_RESVSP = 1076910120
|
||||
FS_IOC_SETFLAGS = 1074292226
|
||||
FS_IOC_SETFSLABEL = 1090556978
|
||||
FS_IOC_SETVERSION = 1074296322
|
||||
FS_JOURNAL_DATA_FL = 16384
|
||||
FS_NOATIME_FL = 128
|
||||
FS_NOCOMP_FL = 1024
|
||||
FS_NOCOW_FL = 8388608
|
||||
FS_NODUMP_FL = 64
|
||||
FS_NOTAIL_FL = 32768
|
||||
FS_PROJINHERIT_FL = 536870912
|
||||
FS_RESERVED_FL = 2147483648
|
||||
FS_SECRM_FL = 1
|
||||
FS_SYNC_FL = 8
|
||||
FS_TOPDIR_FL = 131072
|
||||
FS_UNRM_FL = 2
|
||||
FS_VERITY_FL = 1048576
|
||||
__NR_ioctl = 54
|
||||
|
Loading…
Reference in New Issue
Block a user