diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-08-29 12:35:25 -0700 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-08-29 15:59:16 -0700 |
| commit | edb2f5f1e1078040c6581ca7e343e3ea5a44e0da (patch) | |
| tree | e1fecaff14e87a23bdf5dfa9c69b2e9309e86e2a /sys/linux | |
| parent | 14b78b9701cd103c1946aec8b6b1c9da0186a0b1 (diff) | |
sys/linux: add ext4 ioctls and overlayfs
Update #533
Diffstat (limited to 'sys/linux')
| -rw-r--r-- | sys/linux/filesystem.txt | 18 | ||||
| -rw-r--r-- | sys/linux/fs_ext4.txt | 39 | ||||
| -rw-r--r-- | sys/linux/fs_ext4_386.const | 30 | ||||
| -rw-r--r-- | sys/linux/fs_ext4_amd64.const | 30 | ||||
| -rw-r--r-- | sys/linux/fs_ext4_arm.const | 30 | ||||
| -rw-r--r-- | sys/linux/fs_ext4_arm64.const | 30 | ||||
| -rw-r--r-- | sys/linux/fs_ext4_ppc64le.const | 30 | ||||
| -rw-r--r-- | sys/linux/fs_ioctl.txt | 143 | ||||
| -rw-r--r-- | sys/linux/fs_ioctl_386.const | 34 | ||||
| -rw-r--r-- | sys/linux/fs_ioctl_amd64.const | 34 | ||||
| -rw-r--r-- | sys/linux/fs_ioctl_arm.const | 34 | ||||
| -rw-r--r-- | sys/linux/fs_ioctl_arm64.const | 34 | ||||
| -rw-r--r-- | sys/linux/fs_ioctl_ppc64le.const | 34 | ||||
| -rw-r--r-- | sys/linux/gen/386.go | 296 | ||||
| -rw-r--r-- | sys/linux/gen/amd64.go | 296 | ||||
| -rw-r--r-- | sys/linux/gen/arm.go | 296 | ||||
| -rw-r--r-- | sys/linux/gen/arm64.go | 296 | ||||
| -rw-r--r-- | sys/linux/gen/ppc64le.go | 296 | ||||
| -rw-r--r-- | sys/linux/sys.txt | 76 | ||||
| -rw-r--r-- | sys/linux/sys_386.const | 11 | ||||
| -rw-r--r-- | sys/linux/sys_amd64.const | 11 | ||||
| -rw-r--r-- | sys/linux/sys_arm.const | 11 | ||||
| -rw-r--r-- | sys/linux/sys_arm64.const | 11 | ||||
| -rw-r--r-- | sys/linux/sys_ppc64le.const | 11 | ||||
| -rw-r--r-- | sys/linux/xattr.txt | 3 |
25 files changed, 1967 insertions, 167 deletions
diff --git a/sys/linux/filesystem.txt b/sys/linux/filesystem.txt index 85ab022a3..10b54b972 100644 --- a/sys/linux/filesystem.txt +++ b/sys/linux/filesystem.txt @@ -7,6 +7,7 @@ mount(src ptr[in, filename], dst ptr[in, filename], type ptr[in, string[filesyst umount2(path ptr[in, filename], flags flags[umount_flags]) mount$bpf(src const[0], dst ptr[in, filename], type ptr[in, string["bpf"]], flags flags[mount_flags], opts ptr[in, fs_options[bpf_options]]) +mount$overlay(src const[0], dst ptr[in, filename], type ptr[in, string["overlay"]], flags flags[mount_flags], opts ptr[in, fs_options[overlay_options]]) filesystem = "sysfs", "rootfs", "ramfs", "tmpfs", "devtmpfs", "debugfs", "securityfs", "sockfs", "pipefs", "anon_inodefs", "devpts", "ext3", "ext2", "ext4", "hugetlbfs", "vfat", "ecryptfs", "fuseblk", "fuse", "rpc_pipefs", "nfs", "nfs4", "nfsd", "binfmt_misc", "autofs", "xfs", "jfs", "msdos", "ntfs", "minix", "hfs", "hfsplus", "qnx4", "ufs", "btrfs", "configfs", "ncpfs", "qnx6", "exofs", "befs", "vxfs", "gfs2", "gfs2meta", "fusectl", "bfs", "nsfs", "efs", "cifs", "efivarfs", "affs", "tracefs", "bdev", "ocfs2", "ocfs2_dlmfs", "hpfs", "proc", "afs", "reiserfs", "jffs2", "romfs", "aio", "sysv", "v7", "udf", "ceph", "pstore", "adfs", "9p", "hostfs", "squashfs", "cramfs", "iso9660", "coda", "nilfs2", "logfs", "overlay", "f2fs", "omfs", "ubifs", "openpromfs", "bpf", "cgroup", "cgroup2", "cpuset", "mqueue", "aufs", "selinuxfs" @@ -569,6 +570,23 @@ bpf_options [ mode fs_opt_oct["mode", int32] ] [varlen] +overlay_options [ + lowerdir fs_opt_filename["lowerdir"] + upperdir fs_opt_filename["upperdir"] + workdir fs_opt_filename["workdir"] + redirect_dir fs_opt_filename["redirect_dir"] + default_permissions stringnoz["default_permissions"] + index_on stringnoz["index=on"] + index_off stringnoz["index=off"] + nfs_export_on stringnoz["nfs_export=on"] + nfs_export_off stringnoz["nfs_export=off"] + xino_on stringnoz["xino=on"] + xino_off stringnoz["xino=off"] + xino_auto stringnoz["xino=auto"] + metacopy_on stringnoz["metacopy=on"] + metacopy_off stringnoz["metacopy=off"] +] [varlen] + codepage_nums = "1250", "1251", "1255", "437", "737", "775", "850", "852", "855", "857", "860", "861", "862", "863", "864", "865", "866", "869", "874", "932", "936", "949", "950" codepages_names = "macceltic", "maccenteuro", "maccroatian", "maccyrillic", "macgaelic", "macgreek", "maciceland", "macinuit", "macroman", "macromanian", "macturkish", "ascii", "default", "cp1250", "cp1251", "cp1255", "cp437", "cp737", "cp775", "cp850", "cp852", "cp855", "cp857", "cp860", "cp861", "cp862", "cp863", "cp864", "cp865", "cp866", "cp869", "cp874", "cp932", "cp936", "cp949", "cp950", "euc-jp", "iso8859-13", "iso8859-14", "iso8859-15", "iso8859-1", "iso8859-2", "iso8859-3", "iso8859-4", "iso8859-5", "iso8859-6", "iso8859-7", "iso8859-9", "koi8-r", "koi8-ru", "koi8-u", "utf8", "none" mount_flags = MS_BIND, MS_DIRSYNC, MS_MANDLOCK, MS_MOVE, MS_NOATIME, MS_NODEV, MS_NODIRATIME, MS_NOEXEC, MS_NOSUID, MS_RDONLY, MS_RELATIME, MS_REMOUNT, MS_SILENT, MS_STRICTATIME, MS_SYNCHRONOUS, MS_REC, MS_POSIXACL, MS_UNBINDABLE, MS_PRIVATE, MS_SLAVE, MS_SHARED, MS_I_VERSION, MS_LAZYTIME diff --git a/sys/linux/fs_ext4.txt b/sys/linux/fs_ext4.txt new file mode 100644 index 000000000..621cb18c0 --- /dev/null +++ b/sys/linux/fs_ext4.txt @@ -0,0 +1,39 @@ +# Copyright 2018 syzkaller project authors. All rights reserved. +# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. + +include <uapi/linux/fs.h> +include <uapi/linux/fsmap.h> +include <fs/ext4/ext4.h> + +ioctl$EXT4_IOC_SETFLAGS(fd fd, cmd const[EXT4_IOC_SETFLAGS], arg ptr[in, flags[ext4_inode_flags, intptr]]) +ioctl$EXT4_IOC_GROUP_EXTEND(fd fd, cmd const[EXT4_IOC_GROUP_EXTEND], arg ptr[in, intptr]) +ioctl$EXT4_IOC_GROUP_ADD(fd fd, cmd const[EXT4_IOC_GROUP_ADD], arg ptr[in, ext4_new_group_input]) +ioctl$EXT4_IOC_MIGRATE(fd fd, cmd const[EXT4_IOC_MIGRATE]) +ioctl$EXT4_IOC_ALLOC_DA_BLKS(fd fd, cmd const[EXT4_IOC_ALLOC_DA_BLKS]) +ioctl$EXT4_IOC_MOVE_EXT(fd fd, cmd const[EXT4_IOC_MOVE_EXT], arg ptr[in, move_extent]) +ioctl$EXT4_IOC_RESIZE_FS(fd fd, cmd const[EXT4_IOC_RESIZE_FS], arg ptr[in, int64]) +ioctl$EXT4_IOC_SWAP_BOOT(fd fd, cmd const[EXT4_IOC_SWAP_BOOT]) +ioctl$EXT4_IOC_PRECACHE_EXTENTS(fd fd, cmd const[EXT4_IOC_PRECACHE_EXTENTS]) +ioctl$EXT4_IOC_SHUTDOWN(fd fd, cmd const[EXT4_IOC_SHUTDOWN], arg ptr[in, flags[ext4_shutdown_flags, int64]]) + +ext4_inode_flags = EXT4_SECRM_FL, EXT4_UNRM_FL, EXT4_COMPR_FL, EXT4_SYNC_FL, EXT4_IMMUTABLE_FL, EXT4_APPEND_FL, EXT4_NODUMP_FL, EXT4_NOATIME_FL, EXT4_PROJINHERIT_FL, EXT4_EOFBLOCKS_FL, EXT4_JOURNAL_DATA_FL, EXT4_NOTAIL_FL, EXT4_DIRSYNC_FL, EXT4_TOPDIR_FL, EXT4_EXTENTS_FL +ext4_shutdown_flags = EXT4_GOING_FLAGS_DEFAULT, EXT4_GOING_FLAGS_LOGFLUSH, EXT4_GOING_FLAGS_NOLOGFLUSH + +ext4_new_group_input { + group int32 + block_bitmap int64 + inode_bitmap int64 + inode_table int64 + blocks_count int32 + reserved_blocks int16 + unused const[0, int16] +} + +move_extent { + reserved const[0, int32] + donor_fd fd + orig_start int64 + donor_start int64 + len int64 + moved_len int64 +} diff --git a/sys/linux/fs_ext4_386.const b/sys/linux/fs_ext4_386.const new file mode 100644 index 000000000..1c4b4af30 --- /dev/null +++ b/sys/linux/fs_ext4_386.const @@ -0,0 +1,30 @@ +# AUTOGENERATED FILE +EXT4_APPEND_FL = 32 +EXT4_COMPR_FL = 4 +EXT4_DIRSYNC_FL = 65536 +EXT4_EOFBLOCKS_FL = 4194304 +EXT4_EXTENTS_FL = 524288 +EXT4_GOING_FLAGS_DEFAULT = 0 +EXT4_GOING_FLAGS_LOGFLUSH = 1 +EXT4_GOING_FLAGS_NOLOGFLUSH = 2 +EXT4_IMMUTABLE_FL = 16 +EXT4_IOC_ALLOC_DA_BLKS = 26124 +EXT4_IOC_GROUP_ADD = 1076127240 +EXT4_IOC_GROUP_EXTEND = 1074030087 +EXT4_IOC_MIGRATE = 26121 +EXT4_IOC_MOVE_EXT = 3223873039 +EXT4_IOC_PRECACHE_EXTENTS = 26130 +EXT4_IOC_RESIZE_FS = 1074292240 +EXT4_IOC_SETFLAGS = 1074030082 +EXT4_IOC_SHUTDOWN = 2147768445 +EXT4_IOC_SWAP_BOOT = 26129 +EXT4_JOURNAL_DATA_FL = 16384 +EXT4_NOATIME_FL = 128 +EXT4_NODUMP_FL = 64 +EXT4_NOTAIL_FL = 32768 +EXT4_PROJINHERIT_FL = 536870912 +EXT4_SECRM_FL = 1 +EXT4_SYNC_FL = 8 +EXT4_TOPDIR_FL = 131072 +EXT4_UNRM_FL = 2 +__NR_ioctl = 54 diff --git a/sys/linux/fs_ext4_amd64.const b/sys/linux/fs_ext4_amd64.const new file mode 100644 index 000000000..803e3dc15 --- /dev/null +++ b/sys/linux/fs_ext4_amd64.const @@ -0,0 +1,30 @@ +# AUTOGENERATED FILE +EXT4_APPEND_FL = 32 +EXT4_COMPR_FL = 4 +EXT4_DIRSYNC_FL = 65536 +EXT4_EOFBLOCKS_FL = 4194304 +EXT4_EXTENTS_FL = 524288 +EXT4_GOING_FLAGS_DEFAULT = 0 +EXT4_GOING_FLAGS_LOGFLUSH = 1 +EXT4_GOING_FLAGS_NOLOGFLUSH = 2 +EXT4_IMMUTABLE_FL = 16 +EXT4_IOC_ALLOC_DA_BLKS = 26124 +EXT4_IOC_GROUP_ADD = 1076389384 +EXT4_IOC_GROUP_EXTEND = 1074292231 +EXT4_IOC_MIGRATE = 26121 +EXT4_IOC_MOVE_EXT = 3223873039 +EXT4_IOC_PRECACHE_EXTENTS = 26130 +EXT4_IOC_RESIZE_FS = 1074292240 +EXT4_IOC_SETFLAGS = 1074292226 +EXT4_IOC_SHUTDOWN = 2147768445 +EXT4_IOC_SWAP_BOOT = 26129 +EXT4_JOURNAL_DATA_FL = 16384 +EXT4_NOATIME_FL = 128 +EXT4_NODUMP_FL = 64 +EXT4_NOTAIL_FL = 32768 +EXT4_PROJINHERIT_FL = 536870912 +EXT4_SECRM_FL = 1 +EXT4_SYNC_FL = 8 +EXT4_TOPDIR_FL = 131072 +EXT4_UNRM_FL = 2 +__NR_ioctl = 16 diff --git a/sys/linux/fs_ext4_arm.const b/sys/linux/fs_ext4_arm.const new file mode 100644 index 000000000..1c4b4af30 --- /dev/null +++ b/sys/linux/fs_ext4_arm.const @@ -0,0 +1,30 @@ +# AUTOGENERATED FILE +EXT4_APPEND_FL = 32 +EXT4_COMPR_FL = 4 +EXT4_DIRSYNC_FL = 65536 +EXT4_EOFBLOCKS_FL = 4194304 +EXT4_EXTENTS_FL = 524288 +EXT4_GOING_FLAGS_DEFAULT = 0 +EXT4_GOING_FLAGS_LOGFLUSH = 1 +EXT4_GOING_FLAGS_NOLOGFLUSH = 2 +EXT4_IMMUTABLE_FL = 16 +EXT4_IOC_ALLOC_DA_BLKS = 26124 +EXT4_IOC_GROUP_ADD = 1076127240 +EXT4_IOC_GROUP_EXTEND = 1074030087 +EXT4_IOC_MIGRATE = 26121 +EXT4_IOC_MOVE_EXT = 3223873039 +EXT4_IOC_PRECACHE_EXTENTS = 26130 +EXT4_IOC_RESIZE_FS = 1074292240 +EXT4_IOC_SETFLAGS = 1074030082 +EXT4_IOC_SHUTDOWN = 2147768445 +EXT4_IOC_SWAP_BOOT = 26129 +EXT4_JOURNAL_DATA_FL = 16384 +EXT4_NOATIME_FL = 128 +EXT4_NODUMP_FL = 64 +EXT4_NOTAIL_FL = 32768 +EXT4_PROJINHERIT_FL = 536870912 +EXT4_SECRM_FL = 1 +EXT4_SYNC_FL = 8 +EXT4_TOPDIR_FL = 131072 +EXT4_UNRM_FL = 2 +__NR_ioctl = 54 diff --git a/sys/linux/fs_ext4_arm64.const b/sys/linux/fs_ext4_arm64.const new file mode 100644 index 000000000..7b0f3fb36 --- /dev/null +++ b/sys/linux/fs_ext4_arm64.const @@ -0,0 +1,30 @@ +# AUTOGENERATED FILE +EXT4_APPEND_FL = 32 +EXT4_COMPR_FL = 4 +EXT4_DIRSYNC_FL = 65536 +EXT4_EOFBLOCKS_FL = 4194304 +EXT4_EXTENTS_FL = 524288 +EXT4_GOING_FLAGS_DEFAULT = 0 +EXT4_GOING_FLAGS_LOGFLUSH = 1 +EXT4_GOING_FLAGS_NOLOGFLUSH = 2 +EXT4_IMMUTABLE_FL = 16 +EXT4_IOC_ALLOC_DA_BLKS = 26124 +EXT4_IOC_GROUP_ADD = 1076389384 +EXT4_IOC_GROUP_EXTEND = 1074292231 +EXT4_IOC_MIGRATE = 26121 +EXT4_IOC_MOVE_EXT = 3223873039 +EXT4_IOC_PRECACHE_EXTENTS = 26130 +EXT4_IOC_RESIZE_FS = 1074292240 +EXT4_IOC_SETFLAGS = 1074292226 +EXT4_IOC_SHUTDOWN = 2147768445 +EXT4_IOC_SWAP_BOOT = 26129 +EXT4_JOURNAL_DATA_FL = 16384 +EXT4_NOATIME_FL = 128 +EXT4_NODUMP_FL = 64 +EXT4_NOTAIL_FL = 32768 +EXT4_PROJINHERIT_FL = 536870912 +EXT4_SECRM_FL = 1 +EXT4_SYNC_FL = 8 +EXT4_TOPDIR_FL = 131072 +EXT4_UNRM_FL = 2 +__NR_ioctl = 29 diff --git a/sys/linux/fs_ext4_ppc64le.const b/sys/linux/fs_ext4_ppc64le.const new file mode 100644 index 000000000..858b54ec8 --- /dev/null +++ b/sys/linux/fs_ext4_ppc64le.const @@ -0,0 +1,30 @@ +# AUTOGENERATED FILE +EXT4_APPEND_FL = 32 +EXT4_COMPR_FL = 4 +EXT4_DIRSYNC_FL = 65536 +EXT4_EOFBLOCKS_FL = 4194304 +EXT4_EXTENTS_FL = 524288 +EXT4_GOING_FLAGS_DEFAULT = 0 +EXT4_GOING_FLAGS_LOGFLUSH = 1 +EXT4_GOING_FLAGS_NOLOGFLUSH = 2 +EXT4_IMMUTABLE_FL = 16 +EXT4_IOC_ALLOC_DA_BLKS = 536897036 +EXT4_IOC_GROUP_ADD = 2150131208 +EXT4_IOC_GROUP_EXTEND = 2148034055 +EXT4_IOC_MIGRATE = 536897033 +EXT4_IOC_MOVE_EXT = 3223873039 +EXT4_IOC_PRECACHE_EXTENTS = 536897042 +EXT4_IOC_RESIZE_FS = 2148034064 +EXT4_IOC_SETFLAGS = 2148034050 +EXT4_IOC_SHUTDOWN = 1074026621 +EXT4_IOC_SWAP_BOOT = 536897041 +EXT4_JOURNAL_DATA_FL = 16384 +EXT4_NOATIME_FL = 128 +EXT4_NODUMP_FL = 64 +EXT4_NOTAIL_FL = 32768 +EXT4_PROJINHERIT_FL = 536870912 +EXT4_SECRM_FL = 1 +EXT4_SYNC_FL = 8 +EXT4_TOPDIR_FL = 131072 +EXT4_UNRM_FL = 2 +__NR_ioctl = 54 diff --git a/sys/linux/fs_ioctl.txt b/sys/linux/fs_ioctl.txt new file mode 100644 index 000000000..977bfdbac --- /dev/null +++ b/sys/linux/fs_ioctl.txt @@ -0,0 +1,143 @@ +# Copyright 2018 syzkaller project authors. All rights reserved. +# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. + +include <uapi/linux/fiemap.h> +include <uapi/linux/fs.h> +include <uapi/linux/fsmap.h> +include <linux/falloc.h> + +ioctl$FIBMAP(fd fd, cmd const[FIBMAP], arg ptr[in, int32]) +ioctl$FIGETBSZ(fd fd, cmd const[FIGETBSZ], arg ptr[out, intptr]) +ioctl$FITRIM(fd fd, cmd const[FITRIM], arg ptr[in, fstrim_range]) +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, intptr]) +ioctl$FS_IOC_SETFLAGS(fd fd, cmd const[FS_IOC_SETFLAGS], arg ptr[in, intptr]) +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]) +ioctl$FS_IOC_RESVSP(fd fd, cmd const[FS_IOC_RESVSP], arg ptr[in, space_resv]) +ioctl$FS_IOC_FSGETXATTR(fd fd, cmd const[FS_IOC_FSGETXATTR], arg ptr[in, fsxattr]) +ioctl$FS_IOC_FSSETXATTR(fd fd, cmd const[FS_IOC_FSSETXATTR], arg ptr[in, fsxattr]) +ioctl$FS_IOC_GETFSLABEL(fd fd, cmd const[FS_IOC_GETFSLABEL], arg ptr[out, array[const[0, int8], FSLABEL_MAX]]) +ioctl$FS_IOC_SETFSLABEL(fd fd, cmd const[FS_IOC_SETFSLABEL], arg ptr[in, array[int8, FSLABEL_MAX]]) +ioctl$FS_IOC_SET_ENCRYPTION_POLICY(fd fd, cmd const[FS_IOC_SET_ENCRYPTION_POLICY], arg ptr[in, fscrypt_policy]) +ioctl$FS_IOC_GET_ENCRYPTION_POLICY(fd fd, cmd const[FS_IOC_GET_ENCRYPTION_POLICY], arg ptr[out, array[int8, 16]]) +ioctl$FS_IOC_GET_ENCRYPTION_PWSALT(fd fd, cmd const[FS_IOC_GET_ENCRYPTION_PWSALT], arg ptr[out, fscrypt_policy]) +ioctl$FS_IOC_GETFSMAP(fd fd, cmd const[FS_IOC_GETFSMAP], arg ptr[in, fsmap_head]) + +fscrypt_policy { + version const[0, int8] + mode fscrypt_policy_mode + flags flags[fs_policy_flags, int8] + master_key_descriptor array[int8, FS_KEY_DESCRIPTOR_SIZE] +} + +fscrypt_policy_mode [ + aes128 fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS] + aes256 fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS] + speck128 fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS] +] + +type fscrypt_policy_mode_t[CONTENTS, FILENAMES] { + contents_encryption_mode const[CONTENTS, int8] + filenames_encryption_mode const[FILENAMES, int8] +} + +fs_policy_flags = FS_POLICY_FLAGS_PAD_4, FS_POLICY_FLAGS_PAD_8, FS_POLICY_FLAGS_PAD_16 + +space_resv { + l_type const[0, int16] + l_whence flags[seek_whence, int16] + l_start int64 + l_len int64 + l_sysid const[0, int32] + l_pid const[0, int32] + l_pad array[const[0, int32], 4] +} + +fstrim_range { + start int64 + len int64 + minlen int64 +} + +file_clone_range { + src_fd fd + pad const[0, int32] + src_offset int64 + src_length int64 + dest_offset int64 +} + +file_dedupe_range { + src_offset int64 + src_length int64 + dest_count len[info, int16] + reserved1 const[0, int16] + reserved2 const[0, int32] + info array[file_dedupe_range_info] +} + +file_dedupe_range_info { + dest_fd fd + pad const[0, int32] + dest_offset int64 + bytes_deduped const[0, int64] + status const[0, int32] + reserved const[0, int32] +} + +fsxattr { + fsx_xflags int32 + fsx_extsize int32 + fsx_nextents int32 + fsx_projid int32 + fsx_cowextsize int32 + fsx_pad const[0, int64] +} + +fiemap { + start int64 + len int64 + flags flags[fiemap_flags, int32] + mapped int32 + count len[extent, int32] + extent array[fiemap_extent] +} + +fiemap_extent { + logical int64 + phys int64 + len int64 + pad1 const[0, int64] + pad2 const[0, int64] + flags flags[fiemap_extent_flags, int32] + pad3 const[0, int32] + pad4 const[0, int32] + pad5 const[0, int32] +} + +fsmap_head { + fmh_iflags const[0, int32] + fmh_oflags const[0, int32] + fmh_count len[fmh_recs, int32] + fmh_entries const[0, int32] + fmh_reserved array[const[0, int64], 6] + fmh_keys array[fsmap, 2] + fmh_recs array[array[const[0, int8], FSMAP_SIZE]] +} + +fsmap { + fmr_device int32 + fmr_flags int32 + fmr_physical int64 + fmr_owner int64 + fmr_offset int64 + fmr_length int64 + fmr_reserved array[const[0, int64], 3] +} + +define FSMAP_SIZE sizeof(struct fsmap) diff --git a/sys/linux/fs_ioctl_386.const b/sys/linux/fs_ioctl_386.const new file mode 100644 index 000000000..2616b2ffc --- /dev/null +++ b/sys/linux/fs_ioctl_386.const @@ -0,0 +1,34 @@ +# AUTOGENERATED FILE +FIBMAP = 1 +FICLONE = 1074041865 +FICLONERANGE = 1075876877 +FIDEDUPERANGE = 3222836278 +FIGETBSZ = 2 +FITRIM = 3222820985 +FSLABEL_MAX = 256 +FSMAP_SIZE = 64 +FS_ENCRYPTION_MODE_AES_128_CBC = 5 +FS_ENCRYPTION_MODE_AES_128_CTS = 6 +FS_ENCRYPTION_MODE_AES_256_CTS = 4 +FS_ENCRYPTION_MODE_AES_256_XTS = 1 +FS_ENCRYPTION_MODE_SPECK128_256_CTS = 8 +FS_ENCRYPTION_MODE_SPECK128_256_XTS = 7 +FS_IOC_FIEMAP = 3223348747 +FS_IOC_FSGETXATTR = 2149341215 +FS_IOC_FSSETXATTR = 1075599392 +FS_IOC_GETFLAGS = 2147771905 +FS_IOC_GETFSLABEL = 2164298801 +FS_IOC_GETFSMAP = 3233830971 +FS_IOC_GETVERSION = 2147776001 +FS_IOC_GET_ENCRYPTION_POLICY = 1074554389 +FS_IOC_GET_ENCRYPTION_PWSALT = 1074816532 +FS_IOC_RESVSP = 1076647976 +FS_IOC_SETFLAGS = 1074030082 +FS_IOC_SETFSLABEL = 1090556978 +FS_IOC_SETVERSION = 1074034178 +FS_IOC_SET_ENCRYPTION_POLICY = 2148296211 +FS_KEY_DESCRIPTOR_SIZE = 8 +FS_POLICY_FLAGS_PAD_16 = 2 +FS_POLICY_FLAGS_PAD_4 = 0 +FS_POLICY_FLAGS_PAD_8 = 1 +__NR_ioctl = 54 diff --git a/sys/linux/fs_ioctl_amd64.const b/sys/linux/fs_ioctl_amd64.const new file mode 100644 index 000000000..50573df43 --- /dev/null +++ b/sys/linux/fs_ioctl_amd64.const @@ -0,0 +1,34 @@ +# AUTOGENERATED FILE +FIBMAP = 1 +FICLONE = 1074041865 +FICLONERANGE = 1075876877 +FIDEDUPERANGE = 3222836278 +FIGETBSZ = 2 +FITRIM = 3222820985 +FSLABEL_MAX = 256 +FSMAP_SIZE = 64 +FS_ENCRYPTION_MODE_AES_128_CBC = 5 +FS_ENCRYPTION_MODE_AES_128_CTS = 6 +FS_ENCRYPTION_MODE_AES_256_CTS = 4 +FS_ENCRYPTION_MODE_AES_256_XTS = 1 +FS_ENCRYPTION_MODE_SPECK128_256_CTS = 8 +FS_ENCRYPTION_MODE_SPECK128_256_XTS = 7 +FS_IOC_FIEMAP = 3223348747 +FS_IOC_FSGETXATTR = 2149341215 +FS_IOC_FSSETXATTR = 1075599392 +FS_IOC_GETFLAGS = 2148034049 +FS_IOC_GETFSLABEL = 2164298801 +FS_IOC_GETFSMAP = 3233830971 +FS_IOC_GETVERSION = 2148038145 +FS_IOC_GET_ENCRYPTION_POLICY = 1074554389 +FS_IOC_GET_ENCRYPTION_PWSALT = 1074816532 +FS_IOC_RESVSP = 1076910120 +FS_IOC_SETFLAGS = 1074292226 +FS_IOC_SETFSLABEL = 1090556978 +FS_IOC_SETVERSION = 1074296322 +FS_IOC_SET_ENCRYPTION_POLICY = 2148296211 +FS_KEY_DESCRIPTOR_SIZE = 8 +FS_POLICY_FLAGS_PAD_16 = 2 +FS_POLICY_FLAGS_PAD_4 = 0 +FS_POLICY_FLAGS_PAD_8 = 1 +__NR_ioctl = 16 diff --git a/sys/linux/fs_ioctl_arm.const b/sys/linux/fs_ioctl_arm.const new file mode 100644 index 000000000..2616b2ffc --- /dev/null +++ b/sys/linux/fs_ioctl_arm.const @@ -0,0 +1,34 @@ +# AUTOGENERATED FILE +FIBMAP = 1 +FICLONE = 1074041865 +FICLONERANGE = 1075876877 +FIDEDUPERANGE = 3222836278 +FIGETBSZ = 2 +FITRIM = 3222820985 +FSLABEL_MAX = 256 +FSMAP_SIZE = 64 +FS_ENCRYPTION_MODE_AES_128_CBC = 5 +FS_ENCRYPTION_MODE_AES_128_CTS = 6 +FS_ENCRYPTION_MODE_AES_256_CTS = 4 +FS_ENCRYPTION_MODE_AES_256_XTS = 1 +FS_ENCRYPTION_MODE_SPECK128_256_CTS = 8 +FS_ENCRYPTION_MODE_SPECK128_256_XTS = 7 +FS_IOC_FIEMAP = 3223348747 +FS_IOC_FSGETXATTR = 2149341215 +FS_IOC_FSSETXATTR = 1075599392 +FS_IOC_GETFLAGS = 2147771905 +FS_IOC_GETFSLABEL = 2164298801 +FS_IOC_GETFSMAP = 3233830971 +FS_IOC_GETVERSION = 2147776001 +FS_IOC_GET_ENCRYPTION_POLICY = 1074554389 +FS_IOC_GET_ENCRYPTION_PWSALT = 1074816532 +FS_IOC_RESVSP = 1076647976 +FS_IOC_SETFLAGS = 1074030082 +FS_IOC_SETFSLABEL = 1090556978 +FS_IOC_SETVERSION = 1074034178 +FS_IOC_SET_ENCRYPTION_POLICY = 2148296211 +FS_KEY_DESCRIPTOR_SIZE = 8 +FS_POLICY_FLAGS_PAD_16 = 2 +FS_POLICY_FLAGS_PAD_4 = 0 +FS_POLICY_FLAGS_PAD_8 = 1 +__NR_ioctl = 54 diff --git a/sys/linux/fs_ioctl_arm64.const b/sys/linux/fs_ioctl_arm64.const new file mode 100644 index 000000000..ee6dbf6ba --- /dev/null +++ b/sys/linux/fs_ioctl_arm64.const @@ -0,0 +1,34 @@ +# AUTOGENERATED FILE +FIBMAP = 1 +FICLONE = 1074041865 +FICLONERANGE = 1075876877 +FIDEDUPERANGE = 3222836278 +FIGETBSZ = 2 +FITRIM = 3222820985 +FSLABEL_MAX = 256 +FSMAP_SIZE = 64 +FS_ENCRYPTION_MODE_AES_128_CBC = 5 +FS_ENCRYPTION_MODE_AES_128_CTS = 6 +FS_ENCRYPTION_MODE_AES_256_CTS = 4 +FS_ENCRYPTION_MODE_AES_256_XTS = 1 +FS_ENCRYPTION_MODE_SPECK128_256_CTS = 8 +FS_ENCRYPTION_MODE_SPECK128_256_XTS = 7 +FS_IOC_FIEMAP = 3223348747 +FS_IOC_FSGETXATTR = 2149341215 +FS_IOC_FSSETXATTR = 1075599392 +FS_IOC_GETFLAGS = 2148034049 +FS_IOC_GETFSLABEL = 2164298801 +FS_IOC_GETFSMAP = 3233830971 +FS_IOC_GETVERSION = 2148038145 +FS_IOC_GET_ENCRYPTION_POLICY = 1074554389 +FS_IOC_GET_ENCRYPTION_PWSALT = 1074816532 +FS_IOC_RESVSP = 1076910120 +FS_IOC_SETFLAGS = 1074292226 +FS_IOC_SETFSLABEL = 1090556978 +FS_IOC_SETVERSION = 1074296322 +FS_IOC_SET_ENCRYPTION_POLICY = 2148296211 +FS_KEY_DESCRIPTOR_SIZE = 8 +FS_POLICY_FLAGS_PAD_16 = 2 +FS_POLICY_FLAGS_PAD_4 = 0 +FS_POLICY_FLAGS_PAD_8 = 1 +__NR_ioctl = 29 diff --git a/sys/linux/fs_ioctl_ppc64le.const b/sys/linux/fs_ioctl_ppc64le.const new file mode 100644 index 000000000..b0524a18a --- /dev/null +++ b/sys/linux/fs_ioctl_ppc64le.const @@ -0,0 +1,34 @@ +# AUTOGENERATED FILE +FIBMAP = 536870913 +FICLONE = 2147783689 +FICLONERANGE = 2149618701 +FIDEDUPERANGE = 3222836278 +FIGETBSZ = 536870914 +FITRIM = 3222820985 +FSLABEL_MAX = 256 +FSMAP_SIZE = 64 +FS_ENCRYPTION_MODE_AES_128_CBC = 5 +FS_ENCRYPTION_MODE_AES_128_CTS = 6 +FS_ENCRYPTION_MODE_AES_256_CTS = 4 +FS_ENCRYPTION_MODE_AES_256_XTS = 1 +FS_ENCRYPTION_MODE_SPECK128_256_CTS = 8 +FS_ENCRYPTION_MODE_SPECK128_256_XTS = 7 +FS_IOC_FIEMAP = 3223348747 +FS_IOC_FSGETXATTR = 1075599391 +FS_IOC_FSSETXATTR = 2149341216 +FS_IOC_GETFLAGS = 1074292225 +FS_IOC_GETFSLABEL = 1090556977 +FS_IOC_GETFSMAP = 3233830971 +FS_IOC_GETVERSION = 1074296321 +FS_IOC_GET_ENCRYPTION_POLICY = 2148296213 +FS_IOC_GET_ENCRYPTION_PWSALT = 2148558356 +FS_IOC_RESVSP = 2150651944 +FS_IOC_SETFLAGS = 2148034050 +FS_IOC_SETFSLABEL = 2164298802 +FS_IOC_SETVERSION = 2148038146 +FS_IOC_SET_ENCRYPTION_POLICY = 1074554387 +FS_KEY_DESCRIPTOR_SIZE = 8 +FS_POLICY_FLAGS_PAD_16 = 2 +FS_POLICY_FLAGS_PAD_4 = 0 +FS_POLICY_FLAGS_PAD_8 = 1 +__NR_ioctl = 54 diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go index 8407e1d00..8af21819d 100644 --- a/sys/linux/gen/386.go +++ b/sys/linux/gen/386.go @@ -3061,6 +3061,16 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_trsize", TypeSize: 4}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_drsize", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "ext4_new_group_input"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ext4_new_group_input", TypeSize: 40}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "group", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "block_bitmap", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "inode_bitmap", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "inode_table", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "blocks_count", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "reserved_blocks", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "unused", TypeSize: 2}}}, + }}}, {Key: StructKey{Name: "ext4_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ext4_options", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "bsddf", TypeSize: 5}, Kind: 2, Values: []string{"bsddf"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "minixdf", TypeSize: 7}, Kind: 2, Values: []string{"minixdf"}, NoZ: true}, @@ -3807,6 +3817,11 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"lowerdir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"lowerdir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"lowerdir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"max_batch_time\", fmt[hex, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"max_batch_time\", fmt[hex, int32]]", TypeSize: 33}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 14}, Kind: 2, Values: []string{"max_batch_time"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -3887,6 +3902,11 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 18}, ArgFormat: 3}}, }}}, + {Key: StructKey{Name: "fs_opt[\"redirect_dir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"redirect_dir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 12}, Kind: 2, Values: []string{"redirect_dir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"resgid\", fmt[hex, gid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"resgid\", fmt[hex, gid]]", TypeSize: 25}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"resgid"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4022,6 +4042,11 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"upperdir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"upperdir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"upperdir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"user_id\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"user_id\", fmt[dec, uid]]", TypeSize: 28}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"user_id"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4047,6 +4072,11 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", TypeSize: 18}, ArgFormat: 3}, }}}, + {Key: StructKey{Name: "fs_opt[\"workdir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"workdir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"workdir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt_elem[bpf_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[bpf_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "bpf_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -4095,6 +4125,10 @@ var structDescs_386 = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "ntfs_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, }}}, + {Key: StructKey{Name: "fs_opt_elem[overlay_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[overlay_options]", IsVarlen: true}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "overlay_options"}, FldName: "elem"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, + }}}, {Key: StructKey{Name: "fs_opt_elem[p9_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[p9_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "p9_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -4163,6 +4197,10 @@ var structDescs_386 = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[ntfs_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, }}}, + {Key: StructKey{Name: "fs_options[overlay_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[overlay_options]", IsVarlen: true}, Fields: []Type{ + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[overlay_options]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, + }}}, {Key: StructKey{Name: "fs_options[p9_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[p9_options]", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[p9_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, @@ -4183,6 +4221,75 @@ var structDescs_386 = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[xfs_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, }}}, + {Key: StructKey{Name: "fscrypt_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy", TypeSize: 12}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &UnionType{Key: StructKey{Name: "fscrypt_policy_mode"}, FldName: "mode"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_policy_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_descriptor", TypeSize: 8}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + }}}, + {Key: StructKey{Name: "fscrypt_policy", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy", TypeSize: 12, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1, ArgDir: 1}}}, + &UnionType{Key: StructKey{Name: "fscrypt_policy_mode", Dir: 1}, FldName: "mode"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_policy_flags", FldName: "flags", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_descriptor", TypeSize: 8, ArgDir: 1}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode", TypeSize: 2}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]"}, FldName: "aes128"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]"}, FldName: "aes256"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]"}, FldName: "speck128"}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", Dir: 1}, FldName: "aes128"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", Dir: 1}, FldName: "aes256"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", Dir: 1}, FldName: "speck128"}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", TypeSize: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1}}, Val: 6}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 6}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", TypeSize: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1}}, Val: 4}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 4}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", TypeSize: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1}}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1}}, Val: 8}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 8}, + }}}, + {Key: StructKey{Name: "fsmap"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsmap", TypeSize: 64}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fmr_device", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fmr_flags", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_physical", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_owner", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_offset", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_length", TypeSize: 8}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmr_reserved", TypeSize: 24}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 3, RangeEnd: 3}, + }}}, + {Key: StructKey{Name: "fsmap_head"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsmap_head", IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fmh_iflags", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fmh_oflags", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "fmh_count", TypeSize: 4}}, Buf: "fmh_recs"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fmh_entries", TypeSize: 4}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmh_reserved", TypeSize: 48}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmh_keys", TypeSize: 128}, Type: &StructType{Key: StructKey{Name: "fsmap"}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmh_recs", IsVarlen: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64}}, + }}}, + {Key: StructKey{Name: "fstrim_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fstrim_range", TypeSize: 24}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "start", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "minlen", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "fsxattr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsxattr", TypeSize: 32}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_xflags", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_extsize", TypeSize: 4}}}, @@ -8336,6 +8443,14 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vifc_rate_limit", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "move_extent"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "move_extent", TypeSize: 40}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "donor_fd", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "orig_start", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "donor_start", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "moved_len", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "mpls_label"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mpls_label", TypeSize: 4}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "ttl", TypeSize: 4}, ArgFormat: 1, BitfieldLen: 8, BitfieldMdl: true}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "s", TypeSize: 4}, ArgFormat: 1, BitfieldOff: 8, BitfieldLen: 1, BitfieldMdl: true}}, @@ -14053,6 +14168,22 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "virtio_net_hdr"}, FldName: "val"}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "void"}, Kind: 1}, }}}, + {Key: StructKey{Name: "overlay_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "overlay_options", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fs_opt[\"lowerdir\", stringnoz[filename]]"}, FldName: "lowerdir"}, + &StructType{Key: StructKey{Name: "fs_opt[\"upperdir\", stringnoz[filename]]"}, FldName: "upperdir"}, + &StructType{Key: StructKey{Name: "fs_opt[\"workdir\", stringnoz[filename]]"}, FldName: "workdir"}, + &StructType{Key: StructKey{Name: "fs_opt[\"redirect_dir\", stringnoz[filename]]"}, FldName: "redirect_dir"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "default_permissions", TypeSize: 19}, Kind: 2, Values: []string{"default_permissions"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "index_on", TypeSize: 8}, Kind: 2, Values: []string{"index=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "index_off", TypeSize: 9}, Kind: 2, Values: []string{"index=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nfs_export_on", TypeSize: 13}, Kind: 2, Values: []string{"nfs_export=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nfs_export_off", TypeSize: 14}, Kind: 2, Values: []string{"nfs_export=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "xino_on", TypeSize: 7}, Kind: 2, Values: []string{"xino=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "xino_off", TypeSize: 8}, Kind: 2, Values: []string{"xino=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "xino_auto", TypeSize: 9}, Kind: 2, Values: []string{"xino=auto"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "metacopy_on", TypeSize: 11}, Kind: 2, Values: []string{"metacopy=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "metacopy_off", TypeSize: 12}, Kind: 2, Values: []string{"metacopy=off"}, NoZ: true}, + }}}, {Key: StructKey{Name: "p9_dir"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "p9_dir", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "p9_qid"}, FldName: "qid"}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "offset", TypeSize: 8}}}, @@ -19690,7 +19821,7 @@ var structDescs_386 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, }}}, {Key: StructKey{Name: "xattr_name"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xattr_name", IsVarlen: true}, Fields: []Type{ - &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "known", IsVarlen: true}, Kind: 2, SubKind: "xattr_names", Values: []string{"system.posix_acl_access\x00", "system.posix_acl_default\x00", "system.advise\x00", "system.sockprotoname\x00", "com.apple.FinderInfo\x00", "com.apple.system.Security\x00", "user.syz\x00", "trusted.syz\x00", "security.evm\x00", "security.ima\x00", "security.selinux\x00", "security.capability\x00"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "known", IsVarlen: true}, Kind: 2, SubKind: "xattr_names", Values: []string{"system.posix_acl_access\x00", "system.posix_acl_default\x00", "system.advise\x00", "system.sockprotoname\x00", "com.apple.FinderInfo\x00", "com.apple.system.Security\x00", "user.syz\x00", "trusted.syz\x00", "security.evm\x00", "security.ima\x00", "security.selinux\x00", "security.capability\x00", "trusted.overlay.opaque\x00", "trusted.overlay.redirect\x00", "trusted.overlay.origin\x00", "trusted.overlay.impure\x00", "trusted.overlay.nlink\x00", "trusted.overlay.upper\x00", "trusted.overlay.metacopy\x00"}}, &StructType{Key: StructKey{Name: "xattr_name_random"}, FldName: "random"}, }}}, {Key: StructKey{Name: "xattr_name_random"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xattr_name_random", IsVarlen: true}, Fields: []Type{ @@ -25042,6 +25173,52 @@ var syscalls_386 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074283779}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}}, }}, + {NR: 54, Name: "ioctl$EXT4_IOC_ALLOC_DA_BLKS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 26124}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_GROUP_ADD", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1076127240}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ext4_new_group_input"}}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_GROUP_EXTEND", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074030087}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_MIGRATE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 26121}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_MOVE_EXT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3223873039}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "move_extent"}}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_PRECACHE_EXTENTS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 26130}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_RESIZE_FS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074292240}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_SETFLAGS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074030082}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ext4_inode_flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 536870912, 4194304, 16384, 32768, 65536, 131072, 524288}, BitMask: true}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_SHUTDOWN", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147768445}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ext4_shutdown_flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2}, BitMask: true}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_SWAP_BOOT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 26129}, + }}, {NR: 54, Name: "ioctl$FIBMAP", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1}, @@ -25062,11 +25239,26 @@ var syscalls_386 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3222836278}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "file_dedupe_range"}}}, }}, + {NR: 54, Name: "ioctl$FIGETBSZ", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4, ArgDir: 1}}}}, + }}, {NR: 54, Name: "ioctl$FIONREAD", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21531}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, }}, + {NR: 54, Name: "ioctl$FITRIM", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3222820985}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fstrim_range"}}}, + }}, + {NR: 54, Name: "ioctl$FS_IOC_FIEMAP", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3223348747}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "v", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fiemap"}}}, + }}, {NR: 54, Name: "ioctl$FS_IOC_FSGETXATTR", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2149341215}, @@ -25077,21 +25269,61 @@ var syscalls_386 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1075599392}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fsxattr"}}}, }}, + {NR: 54, Name: "ioctl$FS_IOC_GETFLAGS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147771905}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4, ArgDir: 1}}}}, + }}, {NR: 54, Name: "ioctl$FS_IOC_GETFSLABEL", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2164298801}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 256, RangeEnd: 256}}, }}, + {NR: 54, Name: "ioctl$FS_IOC_GETFSMAP", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3233830971}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fsmap_head"}}}, + }}, + {NR: 54, Name: "ioctl$FS_IOC_GETVERSION", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147776001}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4, ArgDir: 1}}}}, + }}, + {NR: 54, Name: "ioctl$FS_IOC_GET_ENCRYPTION_POLICY", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074554389}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 16, ArgDir: 1}, Kind: 1, RangeBegin: 16, RangeEnd: 16}}, + }}, + {NR: 54, Name: "ioctl$FS_IOC_GET_ENCRYPTION_PWSALT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074816532}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fscrypt_policy", Dir: 1}}}, + }}, {NR: 54, Name: "ioctl$FS_IOC_RESVSP", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1076647976}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "space_resv"}}}, }}, + {NR: 54, Name: "ioctl$FS_IOC_SETFLAGS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074030082}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}}, + }}, {NR: 54, Name: "ioctl$FS_IOC_SETFSLABEL", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1090556978}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256}, Kind: 1, RangeBegin: 256, RangeEnd: 256}}, }}, + {NR: 54, Name: "ioctl$FS_IOC_SETVERSION", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074034178}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}}, + }}, + {NR: 54, Name: "ioctl$FS_IOC_SET_ENCRYPTION_POLICY", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2148296211}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fscrypt_policy"}}}, + }}, {NR: 54, Name: "ioctl$FUSE_DEV_IOC_CLONE", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fuse", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147804416}, @@ -27840,11 +28072,6 @@ var syscalls_386 = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 22023}, }}, - {NR: 54, Name: "ioctl$fiemap", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3223348747}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "v", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fiemap"}}}, - }}, {NR: 54, Name: "ioctl$ifreq_SIOCGIFINDEX_team", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35123}, @@ -28727,6 +28954,13 @@ var syscalls_386 = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fuse_options"}}}, }}, + {NR: 21, Name: "mount$overlay", CallName: "mount", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "src", TypeSize: 4}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dst", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "type", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 8}, Kind: 2, Values: []string{"overlay\x00"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fs_options[overlay_options]"}}}, + }}, {NR: 317, Name: "move_pages", CallName: "move_pages", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nr", TypeSize: 4}}, Buf: "pages"}, @@ -34483,6 +34717,34 @@ var consts_386 = []ConstValue{ {Name: "EV_SND", Value: 18}, {Name: "EV_SW", Value: 5}, {Name: "EV_SYN"}, + {Name: "EXT4_APPEND_FL", Value: 32}, + {Name: "EXT4_COMPR_FL", Value: 4}, + {Name: "EXT4_DIRSYNC_FL", Value: 65536}, + {Name: "EXT4_EOFBLOCKS_FL", Value: 4194304}, + {Name: "EXT4_EXTENTS_FL", Value: 524288}, + {Name: "EXT4_GOING_FLAGS_DEFAULT"}, + {Name: "EXT4_GOING_FLAGS_LOGFLUSH", Value: 1}, + {Name: "EXT4_GOING_FLAGS_NOLOGFLUSH", Value: 2}, + {Name: "EXT4_IMMUTABLE_FL", Value: 16}, + {Name: "EXT4_IOC_ALLOC_DA_BLKS", Value: 26124}, + {Name: "EXT4_IOC_GROUP_ADD", Value: 1076127240}, + {Name: "EXT4_IOC_GROUP_EXTEND", Value: 1074030087}, + {Name: "EXT4_IOC_MIGRATE", Value: 26121}, + {Name: "EXT4_IOC_MOVE_EXT", Value: 3223873039}, + {Name: "EXT4_IOC_PRECACHE_EXTENTS", Value: 26130}, + {Name: "EXT4_IOC_RESIZE_FS", Value: 1074292240}, + {Name: "EXT4_IOC_SETFLAGS", Value: 1074030082}, + {Name: "EXT4_IOC_SHUTDOWN", Value: 2147768445}, + {Name: "EXT4_IOC_SWAP_BOOT", Value: 26129}, + {Name: "EXT4_JOURNAL_DATA_FL", Value: 16384}, + {Name: "EXT4_NOATIME_FL", Value: 128}, + {Name: "EXT4_NODUMP_FL", Value: 64}, + {Name: "EXT4_NOTAIL_FL", Value: 32768}, + {Name: "EXT4_PROJINHERIT_FL", Value: 536870912}, + {Name: "EXT4_SECRM_FL", Value: 1}, + {Name: "EXT4_SYNC_FL", Value: 8}, + {Name: "EXT4_TOPDIR_FL", Value: 131072}, + {Name: "EXT4_UNRM_FL", Value: 2}, {Name: "FALLOC_FL_COLLAPSE_RANGE", Value: 8}, {Name: "FALLOC_FL_INSERT_RANGE", Value: 32}, {Name: "FALLOC_FL_KEEP_SIZE", Value: 1}, @@ -34566,6 +34828,7 @@ var consts_386 = []ConstValue{ {Name: "FIOQSIZE", Value: 21600}, {Name: "FIOSETOWN", Value: 35073}, {Name: "FITHAW", Value: 3221510264}, + {Name: "FITRIM", Value: 3222820985}, {Name: "FLAT_BINDER_FLAG_ACCEPTS_FDS", Value: 256}, {Name: "FLOW_MODE_HASH", Value: 1}, {Name: "FLOW_MODE_MAP"}, @@ -34608,12 +34871,31 @@ var consts_386 = []ConstValue{ {Name: "FR_ACT_UNREACHABLE", Value: 7}, {Name: "FR_ACT_UNSPEC"}, {Name: "FSLABEL_MAX", Value: 256}, + {Name: "FSMAP_SIZE", Value: 64}, + {Name: "FS_ENCRYPTION_MODE_AES_128_CBC", Value: 5}, + {Name: "FS_ENCRYPTION_MODE_AES_128_CTS", Value: 6}, + {Name: "FS_ENCRYPTION_MODE_AES_256_CTS", Value: 4}, + {Name: "FS_ENCRYPTION_MODE_AES_256_XTS", Value: 1}, + {Name: "FS_ENCRYPTION_MODE_SPECK128_256_CTS", Value: 8}, + {Name: "FS_ENCRYPTION_MODE_SPECK128_256_XTS", Value: 7}, {Name: "FS_IOC_FIEMAP", Value: 3223348747}, {Name: "FS_IOC_FSGETXATTR", Value: 2149341215}, {Name: "FS_IOC_FSSETXATTR", Value: 1075599392}, + {Name: "FS_IOC_GETFLAGS", Value: 2147771905}, {Name: "FS_IOC_GETFSLABEL", Value: 2164298801}, + {Name: "FS_IOC_GETFSMAP", Value: 3233830971}, + {Name: "FS_IOC_GETVERSION", Value: 2147776001}, + {Name: "FS_IOC_GET_ENCRYPTION_POLICY", Value: 1074554389}, + {Name: "FS_IOC_GET_ENCRYPTION_PWSALT", Value: 1074816532}, {Name: "FS_IOC_RESVSP", Value: 1076647976}, + {Name: "FS_IOC_SETFLAGS", Value: 1074030082}, {Name: "FS_IOC_SETFSLABEL", Value: 1090556978}, + {Name: "FS_IOC_SETVERSION", Value: 1074034178}, + {Name: "FS_IOC_SET_ENCRYPTION_POLICY", Value: 2148296211}, + {Name: "FS_KEY_DESCRIPTOR_SIZE", Value: 8}, + {Name: "FS_POLICY_FLAGS_PAD_16", Value: 2}, + {Name: "FS_POLICY_FLAGS_PAD_4"}, + {Name: "FS_POLICY_FLAGS_PAD_8", Value: 1}, {Name: "FUSE_ABORT_ERROR", Value: 2097152}, {Name: "FUSE_ASYNC_DIO", Value: 32768}, {Name: "FUSE_ASYNC_READ", Value: 1}, @@ -39889,4 +40171,4 @@ var consts_386 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_386 = "dbe73eab2bc3191354f1ed7116a1a76b277366e2" +const revision_386 = "0ab8466aca3e49c178c212ed2d6a8123d4eefa68" diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go index bfc2ffefe..7ad442e82 100644 --- a/sys/linux/gen/amd64.go +++ b/sys/linux/gen/amd64.go @@ -3145,6 +3145,16 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_trsize", TypeSize: 4}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_drsize", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "ext4_new_group_input"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ext4_new_group_input", TypeSize: 40}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "group", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "block_bitmap", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "inode_bitmap", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "inode_table", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "blocks_count", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "reserved_blocks", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "unused", TypeSize: 2}}}, + }}}, {Key: StructKey{Name: "ext4_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ext4_options", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "bsddf", TypeSize: 5}, Kind: 2, Values: []string{"bsddf"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "minixdf", TypeSize: 7}, Kind: 2, Values: []string{"minixdf"}, NoZ: true}, @@ -3893,6 +3903,11 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"lowerdir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"lowerdir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"lowerdir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"max_batch_time\", fmt[hex, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"max_batch_time\", fmt[hex, int32]]", TypeSize: 33}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 14}, Kind: 2, Values: []string{"max_batch_time"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -3973,6 +3988,11 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 18}, ArgFormat: 3}}, }}}, + {Key: StructKey{Name: "fs_opt[\"redirect_dir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"redirect_dir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 12}, Kind: 2, Values: []string{"redirect_dir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"resgid\", fmt[hex, gid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"resgid\", fmt[hex, gid]]", TypeSize: 25}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"resgid"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4108,6 +4128,11 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"upperdir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"upperdir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"upperdir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"user_id\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"user_id\", fmt[dec, uid]]", TypeSize: 28}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"user_id"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4133,6 +4158,11 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", TypeSize: 18}, ArgFormat: 3}, }}}, + {Key: StructKey{Name: "fs_opt[\"workdir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"workdir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"workdir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt_elem[bpf_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[bpf_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "bpf_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -4181,6 +4211,10 @@ var structDescs_amd64 = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "ntfs_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, }}}, + {Key: StructKey{Name: "fs_opt_elem[overlay_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[overlay_options]", IsVarlen: true}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "overlay_options"}, FldName: "elem"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, + }}}, {Key: StructKey{Name: "fs_opt_elem[p9_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[p9_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "p9_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -4249,6 +4283,10 @@ var structDescs_amd64 = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[ntfs_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, }}}, + {Key: StructKey{Name: "fs_options[overlay_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[overlay_options]", IsVarlen: true}, Fields: []Type{ + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[overlay_options]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, + }}}, {Key: StructKey{Name: "fs_options[p9_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[p9_options]", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[p9_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, @@ -4269,6 +4307,75 @@ var structDescs_amd64 = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[xfs_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, }}}, + {Key: StructKey{Name: "fscrypt_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy", TypeSize: 12}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &UnionType{Key: StructKey{Name: "fscrypt_policy_mode"}, FldName: "mode"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_policy_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_descriptor", TypeSize: 8}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + }}}, + {Key: StructKey{Name: "fscrypt_policy", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy", TypeSize: 12, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1, ArgDir: 1}}}, + &UnionType{Key: StructKey{Name: "fscrypt_policy_mode", Dir: 1}, FldName: "mode"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_policy_flags", FldName: "flags", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_descriptor", TypeSize: 8, ArgDir: 1}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode", TypeSize: 2}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]"}, FldName: "aes128"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]"}, FldName: "aes256"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]"}, FldName: "speck128"}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", Dir: 1}, FldName: "aes128"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", Dir: 1}, FldName: "aes256"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", Dir: 1}, FldName: "speck128"}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", TypeSize: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1}}, Val: 6}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 6}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", TypeSize: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1}}, Val: 4}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 4}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", TypeSize: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1}}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1}}, Val: 8}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 8}, + }}}, + {Key: StructKey{Name: "fsmap"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsmap", TypeSize: 64}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fmr_device", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fmr_flags", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_physical", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_owner", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_offset", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_length", TypeSize: 8}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmr_reserved", TypeSize: 24}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 3, RangeEnd: 3}, + }}}, + {Key: StructKey{Name: "fsmap_head"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsmap_head", IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fmh_iflags", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fmh_oflags", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "fmh_count", TypeSize: 4}}, Buf: "fmh_recs"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fmh_entries", TypeSize: 4}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmh_reserved", TypeSize: 48}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmh_keys", TypeSize: 128}, Type: &StructType{Key: StructKey{Name: "fsmap"}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmh_recs", IsVarlen: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64}}, + }}}, + {Key: StructKey{Name: "fstrim_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fstrim_range", TypeSize: 24}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "start", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "minlen", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "fsxattr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsxattr", TypeSize: 32}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_xflags", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_extsize", TypeSize: 4}}}, @@ -8452,6 +8559,14 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vifc_rate_limit", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "move_extent"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "move_extent", TypeSize: 40}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "donor_fd", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "orig_start", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "donor_start", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "moved_len", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "mpls_label"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mpls_label", TypeSize: 4}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "ttl", TypeSize: 4}, ArgFormat: 1, BitfieldLen: 8, BitfieldMdl: true}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "s", TypeSize: 4}, ArgFormat: 1, BitfieldOff: 8, BitfieldLen: 1, BitfieldMdl: true}}, @@ -14270,6 +14385,22 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "virtio_net_hdr"}, FldName: "val"}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "void"}, Kind: 1}, }}}, + {Key: StructKey{Name: "overlay_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "overlay_options", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fs_opt[\"lowerdir\", stringnoz[filename]]"}, FldName: "lowerdir"}, + &StructType{Key: StructKey{Name: "fs_opt[\"upperdir\", stringnoz[filename]]"}, FldName: "upperdir"}, + &StructType{Key: StructKey{Name: "fs_opt[\"workdir\", stringnoz[filename]]"}, FldName: "workdir"}, + &StructType{Key: StructKey{Name: "fs_opt[\"redirect_dir\", stringnoz[filename]]"}, FldName: "redirect_dir"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "default_permissions", TypeSize: 19}, Kind: 2, Values: []string{"default_permissions"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "index_on", TypeSize: 8}, Kind: 2, Values: []string{"index=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "index_off", TypeSize: 9}, Kind: 2, Values: []string{"index=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nfs_export_on", TypeSize: 13}, Kind: 2, Values: []string{"nfs_export=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nfs_export_off", TypeSize: 14}, Kind: 2, Values: []string{"nfs_export=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "xino_on", TypeSize: 7}, Kind: 2, Values: []string{"xino=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "xino_off", TypeSize: 8}, Kind: 2, Values: []string{"xino=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "xino_auto", TypeSize: 9}, Kind: 2, Values: []string{"xino=auto"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "metacopy_on", TypeSize: 11}, Kind: 2, Values: []string{"metacopy=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "metacopy_off", TypeSize: 12}, Kind: 2, Values: []string{"metacopy=off"}, NoZ: true}, + }}}, {Key: StructKey{Name: "p9_dir"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "p9_dir", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "p9_qid"}, FldName: "qid"}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "offset", TypeSize: 8}}}, @@ -20014,7 +20145,7 @@ var structDescs_amd64 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, }}}, {Key: StructKey{Name: "xattr_name"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xattr_name", IsVarlen: true}, Fields: []Type{ - &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "known", IsVarlen: true}, Kind: 2, SubKind: "xattr_names", Values: []string{"system.posix_acl_access\x00", "system.posix_acl_default\x00", "system.advise\x00", "system.sockprotoname\x00", "com.apple.FinderInfo\x00", "com.apple.system.Security\x00", "user.syz\x00", "trusted.syz\x00", "security.evm\x00", "security.ima\x00", "security.selinux\x00", "security.capability\x00"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "known", IsVarlen: true}, Kind: 2, SubKind: "xattr_names", Values: []string{"system.posix_acl_access\x00", "system.posix_acl_default\x00", "system.advise\x00", "system.sockprotoname\x00", "com.apple.FinderInfo\x00", "com.apple.system.Security\x00", "user.syz\x00", "trusted.syz\x00", "security.evm\x00", "security.ima\x00", "security.selinux\x00", "security.capability\x00", "trusted.overlay.opaque\x00", "trusted.overlay.redirect\x00", "trusted.overlay.origin\x00", "trusted.overlay.impure\x00", "trusted.overlay.nlink\x00", "trusted.overlay.upper\x00", "trusted.overlay.metacopy\x00"}}, &StructType{Key: StructKey{Name: "xattr_name_random"}, FldName: "random"}, }}}, {Key: StructKey{Name: "xattr_name_random"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xattr_name_random", IsVarlen: true}, Fields: []Type{ @@ -25484,6 +25615,52 @@ var syscalls_amd64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074283779}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}}, }}, + {NR: 16, Name: "ioctl$EXT4_IOC_ALLOC_DA_BLKS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 26124}, + }}, + {NR: 16, Name: "ioctl$EXT4_IOC_GROUP_ADD", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1076389384}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ext4_new_group_input"}}}, + }}, + {NR: 16, Name: "ioctl$EXT4_IOC_GROUP_EXTEND", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074292231}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}}, + }}, + {NR: 16, Name: "ioctl$EXT4_IOC_MIGRATE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 26121}, + }}, + {NR: 16, Name: "ioctl$EXT4_IOC_MOVE_EXT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3223873039}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "move_extent"}}}, + }}, + {NR: 16, Name: "ioctl$EXT4_IOC_PRECACHE_EXTENTS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 26130}, + }}, + {NR: 16, Name: "ioctl$EXT4_IOC_RESIZE_FS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074292240}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + }}, + {NR: 16, Name: "ioctl$EXT4_IOC_SETFLAGS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074292226}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ext4_inode_flags", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 536870912, 4194304, 16384, 32768, 65536, 131072, 524288}, BitMask: true}}, + }}, + {NR: 16, Name: "ioctl$EXT4_IOC_SHUTDOWN", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147768445}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ext4_shutdown_flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2}, BitMask: true}}, + }}, + {NR: 16, Name: "ioctl$EXT4_IOC_SWAP_BOOT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 26129}, + }}, {NR: 16, Name: "ioctl$FIBMAP", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1}, @@ -25504,11 +25681,26 @@ var syscalls_amd64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3222836278}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "file_dedupe_range"}}}, }}, + {NR: 16, Name: "ioctl$FIGETBSZ", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, + }}, {NR: 16, Name: "ioctl$FIONREAD", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21531}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, }}, + {NR: 16, Name: "ioctl$FITRIM", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3222820985}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fstrim_range"}}}, + }}, + {NR: 16, Name: "ioctl$FS_IOC_FIEMAP", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3223348747}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "v", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fiemap"}}}, + }}, {NR: 16, Name: "ioctl$FS_IOC_FSGETXATTR", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2149341215}, @@ -25519,21 +25711,61 @@ var syscalls_amd64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1075599392}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fsxattr"}}}, }}, + {NR: 16, Name: "ioctl$FS_IOC_GETFLAGS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148034049}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, + }}, {NR: 16, Name: "ioctl$FS_IOC_GETFSLABEL", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2164298801}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 256, RangeEnd: 256}}, }}, + {NR: 16, Name: "ioctl$FS_IOC_GETFSMAP", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3233830971}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fsmap_head"}}}, + }}, + {NR: 16, Name: "ioctl$FS_IOC_GETVERSION", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148038145}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, + }}, + {NR: 16, Name: "ioctl$FS_IOC_GET_ENCRYPTION_POLICY", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074554389}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 16, ArgDir: 1}, Kind: 1, RangeBegin: 16, RangeEnd: 16}}, + }}, + {NR: 16, Name: "ioctl$FS_IOC_GET_ENCRYPTION_PWSALT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074816532}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fscrypt_policy", Dir: 1}}}, + }}, {NR: 16, Name: "ioctl$FS_IOC_RESVSP", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1076910120}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "space_resv"}}}, }}, + {NR: 16, Name: "ioctl$FS_IOC_SETFLAGS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074292226}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}}, + }}, {NR: 16, Name: "ioctl$FS_IOC_SETFSLABEL", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1090556978}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256}, Kind: 1, RangeBegin: 256, RangeEnd: 256}}, }}, + {NR: 16, Name: "ioctl$FS_IOC_SETVERSION", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074296322}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}}, + }}, + {NR: 16, Name: "ioctl$FS_IOC_SET_ENCRYPTION_POLICY", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148296211}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fscrypt_policy"}}}, + }}, {NR: 16, Name: "ioctl$FUSE_DEV_IOC_CLONE", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fuse", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147804416}, @@ -28302,11 +28534,6 @@ var syscalls_amd64 = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 22023}, }}, - {NR: 16, Name: "ioctl$fiemap", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3223348747}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "v", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fiemap"}}}, - }}, {NR: 16, Name: "ioctl$ifreq_SIOCGIFINDEX_team", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35123}, @@ -29189,6 +29416,13 @@ var syscalls_amd64 = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fuse_options"}}}, }}, + {NR: 165, Name: "mount$overlay", CallName: "mount", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "src", TypeSize: 8}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dst", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "type", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 8}, Kind: 2, Values: []string{"overlay\x00"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fs_options[overlay_options]"}}}, + }}, {NR: 279, Name: "move_pages", CallName: "move_pages", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nr", TypeSize: 8}}, Buf: "pages"}, @@ -35144,6 +35378,34 @@ var consts_amd64 = []ConstValue{ {Name: "EV_SND", Value: 18}, {Name: "EV_SW", Value: 5}, {Name: "EV_SYN"}, + {Name: "EXT4_APPEND_FL", Value: 32}, + {Name: "EXT4_COMPR_FL", Value: 4}, + {Name: "EXT4_DIRSYNC_FL", Value: 65536}, + {Name: "EXT4_EOFBLOCKS_FL", Value: 4194304}, + {Name: "EXT4_EXTENTS_FL", Value: 524288}, + {Name: "EXT4_GOING_FLAGS_DEFAULT"}, + {Name: "EXT4_GOING_FLAGS_LOGFLUSH", Value: 1}, + {Name: "EXT4_GOING_FLAGS_NOLOGFLUSH", Value: 2}, + {Name: "EXT4_IMMUTABLE_FL", Value: 16}, + {Name: "EXT4_IOC_ALLOC_DA_BLKS", Value: 26124}, + {Name: "EXT4_IOC_GROUP_ADD", Value: 1076389384}, + {Name: "EXT4_IOC_GROUP_EXTEND", Value: 1074292231}, + {Name: "EXT4_IOC_MIGRATE", Value: 26121}, + {Name: "EXT4_IOC_MOVE_EXT", Value: 3223873039}, + {Name: "EXT4_IOC_PRECACHE_EXTENTS", Value: 26130}, + {Name: "EXT4_IOC_RESIZE_FS", Value: 1074292240}, + {Name: "EXT4_IOC_SETFLAGS", Value: 1074292226}, + {Name: "EXT4_IOC_SHUTDOWN", Value: 2147768445}, + {Name: "EXT4_IOC_SWAP_BOOT", Value: 26129}, + {Name: "EXT4_JOURNAL_DATA_FL", Value: 16384}, + {Name: "EXT4_NOATIME_FL", Value: 128}, + {Name: "EXT4_NODUMP_FL", Value: 64}, + {Name: "EXT4_NOTAIL_FL", Value: 32768}, + {Name: "EXT4_PROJINHERIT_FL", Value: 536870912}, + {Name: "EXT4_SECRM_FL", Value: 1}, + {Name: "EXT4_SYNC_FL", Value: 8}, + {Name: "EXT4_TOPDIR_FL", Value: 131072}, + {Name: "EXT4_UNRM_FL", Value: 2}, {Name: "FALLOC_FL_COLLAPSE_RANGE", Value: 8}, {Name: "FALLOC_FL_INSERT_RANGE", Value: 32}, {Name: "FALLOC_FL_KEEP_SIZE", Value: 1}, @@ -35227,6 +35489,7 @@ var consts_amd64 = []ConstValue{ {Name: "FIOQSIZE", Value: 21600}, {Name: "FIOSETOWN", Value: 35073}, {Name: "FITHAW", Value: 3221510264}, + {Name: "FITRIM", Value: 3222820985}, {Name: "FLAT_BINDER_FLAG_ACCEPTS_FDS", Value: 256}, {Name: "FLOW_MODE_HASH", Value: 1}, {Name: "FLOW_MODE_MAP"}, @@ -35269,12 +35532,31 @@ var consts_amd64 = []ConstValue{ {Name: "FR_ACT_UNREACHABLE", Value: 7}, {Name: "FR_ACT_UNSPEC"}, {Name: "FSLABEL_MAX", Value: 256}, + {Name: "FSMAP_SIZE", Value: 64}, + {Name: "FS_ENCRYPTION_MODE_AES_128_CBC", Value: 5}, + {Name: "FS_ENCRYPTION_MODE_AES_128_CTS", Value: 6}, + {Name: "FS_ENCRYPTION_MODE_AES_256_CTS", Value: 4}, + {Name: "FS_ENCRYPTION_MODE_AES_256_XTS", Value: 1}, + {Name: "FS_ENCRYPTION_MODE_SPECK128_256_CTS", Value: 8}, + {Name: "FS_ENCRYPTION_MODE_SPECK128_256_XTS", Value: 7}, {Name: "FS_IOC_FIEMAP", Value: 3223348747}, {Name: "FS_IOC_FSGETXATTR", Value: 2149341215}, {Name: "FS_IOC_FSSETXATTR", Value: 1075599392}, + {Name: "FS_IOC_GETFLAGS", Value: 2148034049}, {Name: "FS_IOC_GETFSLABEL", Value: 2164298801}, + {Name: "FS_IOC_GETFSMAP", Value: 3233830971}, + {Name: "FS_IOC_GETVERSION", Value: 2148038145}, + {Name: "FS_IOC_GET_ENCRYPTION_POLICY", Value: 1074554389}, + {Name: "FS_IOC_GET_ENCRYPTION_PWSALT", Value: 1074816532}, {Name: "FS_IOC_RESVSP", Value: 1076910120}, + {Name: "FS_IOC_SETFLAGS", Value: 1074292226}, {Name: "FS_IOC_SETFSLABEL", Value: 1090556978}, + {Name: "FS_IOC_SETVERSION", Value: 1074296322}, + {Name: "FS_IOC_SET_ENCRYPTION_POLICY", Value: 2148296211}, + {Name: "FS_KEY_DESCRIPTOR_SIZE", Value: 8}, + {Name: "FS_POLICY_FLAGS_PAD_16", Value: 2}, + {Name: "FS_POLICY_FLAGS_PAD_4"}, + {Name: "FS_POLICY_FLAGS_PAD_8", Value: 1}, {Name: "FUSE_ABORT_ERROR", Value: 2097152}, {Name: "FUSE_ASYNC_DIO", Value: 32768}, {Name: "FUSE_ASYNC_READ", Value: 1}, @@ -40575,4 +40857,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "e924cc8d4ebbccfbc29af933eb33d7e34cc8946c" +const revision_amd64 = "33372e78675e3e5dc82af4f6da9b01c41ffc2544" diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go index e4af43017..1b363b062 100644 --- a/sys/linux/gen/arm.go +++ b/sys/linux/gen/arm.go @@ -3066,6 +3066,16 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_trsize", TypeSize: 4}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_drsize", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "ext4_new_group_input"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ext4_new_group_input", TypeSize: 40}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "group", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "block_bitmap", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "inode_bitmap", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "inode_table", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "blocks_count", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "reserved_blocks", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "unused", TypeSize: 2}}}, + }}}, {Key: StructKey{Name: "ext4_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ext4_options", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "bsddf", TypeSize: 5}, Kind: 2, Values: []string{"bsddf"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "minixdf", TypeSize: 7}, Kind: 2, Values: []string{"minixdf"}, NoZ: true}, @@ -3812,6 +3822,11 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"lowerdir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"lowerdir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"lowerdir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"max_batch_time\", fmt[hex, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"max_batch_time\", fmt[hex, int32]]", TypeSize: 33}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 14}, Kind: 2, Values: []string{"max_batch_time"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -3892,6 +3907,11 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 18}, ArgFormat: 3}}, }}}, + {Key: StructKey{Name: "fs_opt[\"redirect_dir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"redirect_dir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 12}, Kind: 2, Values: []string{"redirect_dir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"resgid\", fmt[hex, gid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"resgid\", fmt[hex, gid]]", TypeSize: 25}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"resgid"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4027,6 +4047,11 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"upperdir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"upperdir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"upperdir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"user_id\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"user_id\", fmt[dec, uid]]", TypeSize: 28}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"user_id"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4052,6 +4077,11 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", TypeSize: 18}, ArgFormat: 3}, }}}, + {Key: StructKey{Name: "fs_opt[\"workdir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"workdir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"workdir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt_elem[bpf_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[bpf_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "bpf_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -4100,6 +4130,10 @@ var structDescs_arm = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "ntfs_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, }}}, + {Key: StructKey{Name: "fs_opt_elem[overlay_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[overlay_options]", IsVarlen: true}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "overlay_options"}, FldName: "elem"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, + }}}, {Key: StructKey{Name: "fs_opt_elem[p9_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[p9_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "p9_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -4168,6 +4202,10 @@ var structDescs_arm = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[ntfs_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, }}}, + {Key: StructKey{Name: "fs_options[overlay_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[overlay_options]", IsVarlen: true}, Fields: []Type{ + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[overlay_options]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, + }}}, {Key: StructKey{Name: "fs_options[p9_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[p9_options]", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[p9_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, @@ -4188,6 +4226,75 @@ var structDescs_arm = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[xfs_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, }}}, + {Key: StructKey{Name: "fscrypt_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy", TypeSize: 12}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &UnionType{Key: StructKey{Name: "fscrypt_policy_mode"}, FldName: "mode"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_policy_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_descriptor", TypeSize: 8}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + }}}, + {Key: StructKey{Name: "fscrypt_policy", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy", TypeSize: 12, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1, ArgDir: 1}}}, + &UnionType{Key: StructKey{Name: "fscrypt_policy_mode", Dir: 1}, FldName: "mode"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_policy_flags", FldName: "flags", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_descriptor", TypeSize: 8, ArgDir: 1}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode", TypeSize: 2}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]"}, FldName: "aes128"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]"}, FldName: "aes256"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]"}, FldName: "speck128"}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", Dir: 1}, FldName: "aes128"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", Dir: 1}, FldName: "aes256"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", Dir: 1}, FldName: "speck128"}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", TypeSize: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1}}, Val: 6}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 6}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", TypeSize: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1}}, Val: 4}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 4}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", TypeSize: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1}}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1}}, Val: 8}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 8}, + }}}, + {Key: StructKey{Name: "fsmap"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsmap", TypeSize: 64}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fmr_device", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fmr_flags", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_physical", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_owner", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_offset", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_length", TypeSize: 8}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmr_reserved", TypeSize: 24}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 3, RangeEnd: 3}, + }}}, + {Key: StructKey{Name: "fsmap_head"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsmap_head", IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fmh_iflags", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fmh_oflags", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "fmh_count", TypeSize: 4}}, Buf: "fmh_recs"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fmh_entries", TypeSize: 4}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmh_reserved", TypeSize: 48}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmh_keys", TypeSize: 128}, Type: &StructType{Key: StructKey{Name: "fsmap"}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmh_recs", IsVarlen: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64}}, + }}}, + {Key: StructKey{Name: "fstrim_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fstrim_range", TypeSize: 24}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "start", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "minlen", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "fsxattr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsxattr", TypeSize: 32}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_xflags", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_extsize", TypeSize: 4}}}, @@ -8170,6 +8277,14 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vifc_rate_limit", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "move_extent"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "move_extent", TypeSize: 40}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "donor_fd", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "orig_start", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "donor_start", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "moved_len", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "mpls_label"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mpls_label", TypeSize: 4}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "ttl", TypeSize: 4}, ArgFormat: 1, BitfieldLen: 8, BitfieldMdl: true}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "s", TypeSize: 4}, ArgFormat: 1, BitfieldOff: 8, BitfieldLen: 1, BitfieldMdl: true}}, @@ -13908,6 +14023,22 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "virtio_net_hdr"}, FldName: "val"}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "void"}, Kind: 1}, }}}, + {Key: StructKey{Name: "overlay_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "overlay_options", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fs_opt[\"lowerdir\", stringnoz[filename]]"}, FldName: "lowerdir"}, + &StructType{Key: StructKey{Name: "fs_opt[\"upperdir\", stringnoz[filename]]"}, FldName: "upperdir"}, + &StructType{Key: StructKey{Name: "fs_opt[\"workdir\", stringnoz[filename]]"}, FldName: "workdir"}, + &StructType{Key: StructKey{Name: "fs_opt[\"redirect_dir\", stringnoz[filename]]"}, FldName: "redirect_dir"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "default_permissions", TypeSize: 19}, Kind: 2, Values: []string{"default_permissions"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "index_on", TypeSize: 8}, Kind: 2, Values: []string{"index=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "index_off", TypeSize: 9}, Kind: 2, Values: []string{"index=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nfs_export_on", TypeSize: 13}, Kind: 2, Values: []string{"nfs_export=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nfs_export_off", TypeSize: 14}, Kind: 2, Values: []string{"nfs_export=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "xino_on", TypeSize: 7}, Kind: 2, Values: []string{"xino=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "xino_off", TypeSize: 8}, Kind: 2, Values: []string{"xino=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "xino_auto", TypeSize: 9}, Kind: 2, Values: []string{"xino=auto"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "metacopy_on", TypeSize: 11}, Kind: 2, Values: []string{"metacopy=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "metacopy_off", TypeSize: 12}, Kind: 2, Values: []string{"metacopy=off"}, NoZ: true}, + }}}, {Key: StructKey{Name: "p9_dir"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "p9_dir", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "p9_qid"}, FldName: "qid"}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "offset", TypeSize: 8}}}, @@ -19555,7 +19686,7 @@ var structDescs_arm = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, }}}, {Key: StructKey{Name: "xattr_name"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xattr_name", IsVarlen: true}, Fields: []Type{ - &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "known", IsVarlen: true}, Kind: 2, SubKind: "xattr_names", Values: []string{"system.posix_acl_access\x00", "system.posix_acl_default\x00", "system.advise\x00", "system.sockprotoname\x00", "com.apple.FinderInfo\x00", "com.apple.system.Security\x00", "user.syz\x00", "trusted.syz\x00", "security.evm\x00", "security.ima\x00", "security.selinux\x00", "security.capability\x00"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "known", IsVarlen: true}, Kind: 2, SubKind: "xattr_names", Values: []string{"system.posix_acl_access\x00", "system.posix_acl_default\x00", "system.advise\x00", "system.sockprotoname\x00", "com.apple.FinderInfo\x00", "com.apple.system.Security\x00", "user.syz\x00", "trusted.syz\x00", "security.evm\x00", "security.ima\x00", "security.selinux\x00", "security.capability\x00", "trusted.overlay.opaque\x00", "trusted.overlay.redirect\x00", "trusted.overlay.origin\x00", "trusted.overlay.impure\x00", "trusted.overlay.nlink\x00", "trusted.overlay.upper\x00", "trusted.overlay.metacopy\x00"}}, &StructType{Key: StructKey{Name: "xattr_name_random"}, FldName: "random"}, }}}, {Key: StructKey{Name: "xattr_name_random"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xattr_name_random", IsVarlen: true}, Fields: []Type{ @@ -24929,6 +25060,52 @@ var syscalls_arm = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074283779}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}}, }}, + {NR: 54, Name: "ioctl$EXT4_IOC_ALLOC_DA_BLKS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 26124}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_GROUP_ADD", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1076127240}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ext4_new_group_input"}}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_GROUP_EXTEND", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074030087}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_MIGRATE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 26121}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_MOVE_EXT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3223873039}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "move_extent"}}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_PRECACHE_EXTENTS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 26130}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_RESIZE_FS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074292240}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_SETFLAGS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074030082}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ext4_inode_flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 536870912, 4194304, 16384, 32768, 65536, 131072, 524288}, BitMask: true}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_SHUTDOWN", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147768445}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ext4_shutdown_flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2}, BitMask: true}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_SWAP_BOOT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 26129}, + }}, {NR: 54, Name: "ioctl$FIBMAP", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1}, @@ -24949,11 +25126,26 @@ var syscalls_arm = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3222836278}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "file_dedupe_range"}}}, }}, + {NR: 54, Name: "ioctl$FIGETBSZ", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4, ArgDir: 1}}}}, + }}, {NR: 54, Name: "ioctl$FIONREAD", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21531}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, }}, + {NR: 54, Name: "ioctl$FITRIM", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3222820985}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fstrim_range"}}}, + }}, + {NR: 54, Name: "ioctl$FS_IOC_FIEMAP", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3223348747}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "v", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fiemap"}}}, + }}, {NR: 54, Name: "ioctl$FS_IOC_FSGETXATTR", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2149341215}, @@ -24964,21 +25156,61 @@ var syscalls_arm = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1075599392}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fsxattr"}}}, }}, + {NR: 54, Name: "ioctl$FS_IOC_GETFLAGS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147771905}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4, ArgDir: 1}}}}, + }}, {NR: 54, Name: "ioctl$FS_IOC_GETFSLABEL", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2164298801}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 256, RangeEnd: 256}}, }}, + {NR: 54, Name: "ioctl$FS_IOC_GETFSMAP", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3233830971}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fsmap_head"}}}, + }}, + {NR: 54, Name: "ioctl$FS_IOC_GETVERSION", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147776001}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4, ArgDir: 1}}}}, + }}, + {NR: 54, Name: "ioctl$FS_IOC_GET_ENCRYPTION_POLICY", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074554389}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 16, ArgDir: 1}, Kind: 1, RangeBegin: 16, RangeEnd: 16}}, + }}, + {NR: 54, Name: "ioctl$FS_IOC_GET_ENCRYPTION_PWSALT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074816532}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fscrypt_policy", Dir: 1}}}, + }}, {NR: 54, Name: "ioctl$FS_IOC_RESVSP", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1076647976}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "space_resv"}}}, }}, + {NR: 54, Name: "ioctl$FS_IOC_SETFLAGS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074030082}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}}, + }}, {NR: 54, Name: "ioctl$FS_IOC_SETFSLABEL", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1090556978}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256}, Kind: 1, RangeBegin: 256, RangeEnd: 256}}, }}, + {NR: 54, Name: "ioctl$FS_IOC_SETVERSION", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074034178}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}}, + }}, + {NR: 54, Name: "ioctl$FS_IOC_SET_ENCRYPTION_POLICY", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2148296211}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fscrypt_policy"}}}, + }}, {NR: 54, Name: "ioctl$FUSE_DEV_IOC_CLONE", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fuse", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147804416}, @@ -27612,11 +27844,6 @@ var syscalls_arm = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 22023}, }}, - {NR: 54, Name: "ioctl$fiemap", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3223348747}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "v", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fiemap"}}}, - }}, {NR: 54, Name: "ioctl$ifreq_SIOCGIFINDEX_team", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35123}, @@ -28465,6 +28692,13 @@ var syscalls_arm = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fuse_options"}}}, }}, + {NR: 21, Name: "mount$overlay", CallName: "mount", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "src", TypeSize: 4}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dst", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "type", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 8}, Kind: 2, Values: []string{"overlay\x00"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fs_options[overlay_options]"}}}, + }}, {NR: 344, Name: "move_pages", CallName: "move_pages", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nr", TypeSize: 4}}, Buf: "pages"}, @@ -34403,6 +34637,34 @@ var consts_arm = []ConstValue{ {Name: "EV_SND", Value: 18}, {Name: "EV_SW", Value: 5}, {Name: "EV_SYN"}, + {Name: "EXT4_APPEND_FL", Value: 32}, + {Name: "EXT4_COMPR_FL", Value: 4}, + {Name: "EXT4_DIRSYNC_FL", Value: 65536}, + {Name: "EXT4_EOFBLOCKS_FL", Value: 4194304}, + {Name: "EXT4_EXTENTS_FL", Value: 524288}, + {Name: "EXT4_GOING_FLAGS_DEFAULT"}, + {Name: "EXT4_GOING_FLAGS_LOGFLUSH", Value: 1}, + {Name: "EXT4_GOING_FLAGS_NOLOGFLUSH", Value: 2}, + {Name: "EXT4_IMMUTABLE_FL", Value: 16}, + {Name: "EXT4_IOC_ALLOC_DA_BLKS", Value: 26124}, + {Name: "EXT4_IOC_GROUP_ADD", Value: 1076127240}, + {Name: "EXT4_IOC_GROUP_EXTEND", Value: 1074030087}, + {Name: "EXT4_IOC_MIGRATE", Value: 26121}, + {Name: "EXT4_IOC_MOVE_EXT", Value: 3223873039}, + {Name: "EXT4_IOC_PRECACHE_EXTENTS", Value: 26130}, + {Name: "EXT4_IOC_RESIZE_FS", Value: 1074292240}, + {Name: "EXT4_IOC_SETFLAGS", Value: 1074030082}, + {Name: "EXT4_IOC_SHUTDOWN", Value: 2147768445}, + {Name: "EXT4_IOC_SWAP_BOOT", Value: 26129}, + {Name: "EXT4_JOURNAL_DATA_FL", Value: 16384}, + {Name: "EXT4_NOATIME_FL", Value: 128}, + {Name: "EXT4_NODUMP_FL", Value: 64}, + {Name: "EXT4_NOTAIL_FL", Value: 32768}, + {Name: "EXT4_PROJINHERIT_FL", Value: 536870912}, + {Name: "EXT4_SECRM_FL", Value: 1}, + {Name: "EXT4_SYNC_FL", Value: 8}, + {Name: "EXT4_TOPDIR_FL", Value: 131072}, + {Name: "EXT4_UNRM_FL", Value: 2}, {Name: "FALLOC_FL_COLLAPSE_RANGE", Value: 8}, {Name: "FALLOC_FL_INSERT_RANGE", Value: 32}, {Name: "FALLOC_FL_KEEP_SIZE", Value: 1}, @@ -34486,6 +34748,7 @@ var consts_arm = []ConstValue{ {Name: "FIOQSIZE", Value: 21598}, {Name: "FIOSETOWN", Value: 35073}, {Name: "FITHAW", Value: 3221510264}, + {Name: "FITRIM", Value: 3222820985}, {Name: "FLAT_BINDER_FLAG_ACCEPTS_FDS", Value: 256}, {Name: "FLOW_MODE_HASH", Value: 1}, {Name: "FLOW_MODE_MAP"}, @@ -34528,12 +34791,31 @@ var consts_arm = []ConstValue{ {Name: "FR_ACT_UNREACHABLE", Value: 7}, {Name: "FR_ACT_UNSPEC"}, {Name: "FSLABEL_MAX", Value: 256}, + {Name: "FSMAP_SIZE", Value: 64}, + {Name: "FS_ENCRYPTION_MODE_AES_128_CBC", Value: 5}, + {Name: "FS_ENCRYPTION_MODE_AES_128_CTS", Value: 6}, + {Name: "FS_ENCRYPTION_MODE_AES_256_CTS", Value: 4}, + {Name: "FS_ENCRYPTION_MODE_AES_256_XTS", Value: 1}, + {Name: "FS_ENCRYPTION_MODE_SPECK128_256_CTS", Value: 8}, + {Name: "FS_ENCRYPTION_MODE_SPECK128_256_XTS", Value: 7}, {Name: "FS_IOC_FIEMAP", Value: 3223348747}, {Name: "FS_IOC_FSGETXATTR", Value: 2149341215}, {Name: "FS_IOC_FSSETXATTR", Value: 1075599392}, + {Name: "FS_IOC_GETFLAGS", Value: 2147771905}, {Name: "FS_IOC_GETFSLABEL", Value: 2164298801}, + {Name: "FS_IOC_GETFSMAP", Value: 3233830971}, + {Name: "FS_IOC_GETVERSION", Value: 2147776001}, + {Name: "FS_IOC_GET_ENCRYPTION_POLICY", Value: 1074554389}, + {Name: "FS_IOC_GET_ENCRYPTION_PWSALT", Value: 1074816532}, {Name: "FS_IOC_RESVSP", Value: 1076647976}, + {Name: "FS_IOC_SETFLAGS", Value: 1074030082}, {Name: "FS_IOC_SETFSLABEL", Value: 1090556978}, + {Name: "FS_IOC_SETVERSION", Value: 1074034178}, + {Name: "FS_IOC_SET_ENCRYPTION_POLICY", Value: 2148296211}, + {Name: "FS_KEY_DESCRIPTOR_SIZE", Value: 8}, + {Name: "FS_POLICY_FLAGS_PAD_16", Value: 2}, + {Name: "FS_POLICY_FLAGS_PAD_4"}, + {Name: "FS_POLICY_FLAGS_PAD_8", Value: 1}, {Name: "FUSE_ABORT_ERROR", Value: 2097152}, {Name: "FUSE_ASYNC_DIO", Value: 32768}, {Name: "FUSE_ASYNC_READ", Value: 1}, @@ -39755,4 +40037,4 @@ var consts_arm = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm = "ddb7b318ae5be82f0e3f939726efff84d9755b43" +const revision_arm = "9dd20e4161d6cbff9b6f8d43607b987c5ccfac61" diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go index 3f1af1514..fd63523e6 100644 --- a/sys/linux/gen/arm64.go +++ b/sys/linux/gen/arm64.go @@ -3145,6 +3145,16 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_trsize", TypeSize: 4}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_drsize", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "ext4_new_group_input"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ext4_new_group_input", TypeSize: 40}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "group", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "block_bitmap", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "inode_bitmap", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "inode_table", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "blocks_count", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "reserved_blocks", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "unused", TypeSize: 2}}}, + }}}, {Key: StructKey{Name: "ext4_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ext4_options", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "bsddf", TypeSize: 5}, Kind: 2, Values: []string{"bsddf"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "minixdf", TypeSize: 7}, Kind: 2, Values: []string{"minixdf"}, NoZ: true}, @@ -3893,6 +3903,11 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"lowerdir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"lowerdir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"lowerdir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"max_batch_time\", fmt[hex, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"max_batch_time\", fmt[hex, int32]]", TypeSize: 33}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 14}, Kind: 2, Values: []string{"max_batch_time"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -3973,6 +3988,11 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 18}, ArgFormat: 3}}, }}}, + {Key: StructKey{Name: "fs_opt[\"redirect_dir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"redirect_dir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 12}, Kind: 2, Values: []string{"redirect_dir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"resgid\", fmt[hex, gid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"resgid\", fmt[hex, gid]]", TypeSize: 25}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"resgid"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4108,6 +4128,11 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"upperdir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"upperdir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"upperdir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"user_id\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"user_id\", fmt[dec, uid]]", TypeSize: 28}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"user_id"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4133,6 +4158,11 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", TypeSize: 18}, ArgFormat: 3}, }}}, + {Key: StructKey{Name: "fs_opt[\"workdir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"workdir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"workdir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt_elem[bpf_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[bpf_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "bpf_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -4181,6 +4211,10 @@ var structDescs_arm64 = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "ntfs_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, }}}, + {Key: StructKey{Name: "fs_opt_elem[overlay_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[overlay_options]", IsVarlen: true}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "overlay_options"}, FldName: "elem"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, + }}}, {Key: StructKey{Name: "fs_opt_elem[p9_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[p9_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "p9_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -4249,6 +4283,10 @@ var structDescs_arm64 = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[ntfs_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, }}}, + {Key: StructKey{Name: "fs_options[overlay_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[overlay_options]", IsVarlen: true}, Fields: []Type{ + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[overlay_options]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, + }}}, {Key: StructKey{Name: "fs_options[p9_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[p9_options]", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[p9_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, @@ -4269,6 +4307,75 @@ var structDescs_arm64 = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[xfs_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, }}}, + {Key: StructKey{Name: "fscrypt_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy", TypeSize: 12}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &UnionType{Key: StructKey{Name: "fscrypt_policy_mode"}, FldName: "mode"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_policy_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_descriptor", TypeSize: 8}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + }}}, + {Key: StructKey{Name: "fscrypt_policy", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy", TypeSize: 12, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1, ArgDir: 1}}}, + &UnionType{Key: StructKey{Name: "fscrypt_policy_mode", Dir: 1}, FldName: "mode"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_policy_flags", FldName: "flags", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_descriptor", TypeSize: 8, ArgDir: 1}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode", TypeSize: 2}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]"}, FldName: "aes128"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]"}, FldName: "aes256"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]"}, FldName: "speck128"}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", Dir: 1}, FldName: "aes128"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", Dir: 1}, FldName: "aes256"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", Dir: 1}, FldName: "speck128"}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", TypeSize: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1}}, Val: 6}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 6}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", TypeSize: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1}}, Val: 4}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 4}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", TypeSize: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1}}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1}}, Val: 8}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 8}, + }}}, + {Key: StructKey{Name: "fsmap"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsmap", TypeSize: 64}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fmr_device", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fmr_flags", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_physical", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_owner", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_offset", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_length", TypeSize: 8}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmr_reserved", TypeSize: 24}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 3, RangeEnd: 3}, + }}}, + {Key: StructKey{Name: "fsmap_head"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsmap_head", IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fmh_iflags", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fmh_oflags", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "fmh_count", TypeSize: 4}}, Buf: "fmh_recs"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fmh_entries", TypeSize: 4}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmh_reserved", TypeSize: 48}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmh_keys", TypeSize: 128}, Type: &StructType{Key: StructKey{Name: "fsmap"}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmh_recs", IsVarlen: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64}}, + }}}, + {Key: StructKey{Name: "fstrim_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fstrim_range", TypeSize: 24}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "start", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "minlen", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "fsxattr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsxattr", TypeSize: 32}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_xflags", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_extsize", TypeSize: 4}}}, @@ -8269,6 +8376,14 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vifc_rate_limit", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "move_extent"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "move_extent", TypeSize: 40}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "donor_fd", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "orig_start", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "donor_start", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "moved_len", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "mpls_label"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mpls_label", TypeSize: 4}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "ttl", TypeSize: 4}, ArgFormat: 1, BitfieldLen: 8, BitfieldMdl: true}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "s", TypeSize: 4}, ArgFormat: 1, BitfieldOff: 8, BitfieldLen: 1, BitfieldMdl: true}}, @@ -14087,6 +14202,22 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "virtio_net_hdr"}, FldName: "val"}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "void"}, Kind: 1}, }}}, + {Key: StructKey{Name: "overlay_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "overlay_options", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fs_opt[\"lowerdir\", stringnoz[filename]]"}, FldName: "lowerdir"}, + &StructType{Key: StructKey{Name: "fs_opt[\"upperdir\", stringnoz[filename]]"}, FldName: "upperdir"}, + &StructType{Key: StructKey{Name: "fs_opt[\"workdir\", stringnoz[filename]]"}, FldName: "workdir"}, + &StructType{Key: StructKey{Name: "fs_opt[\"redirect_dir\", stringnoz[filename]]"}, FldName: "redirect_dir"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "default_permissions", TypeSize: 19}, Kind: 2, Values: []string{"default_permissions"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "index_on", TypeSize: 8}, Kind: 2, Values: []string{"index=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "index_off", TypeSize: 9}, Kind: 2, Values: []string{"index=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nfs_export_on", TypeSize: 13}, Kind: 2, Values: []string{"nfs_export=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nfs_export_off", TypeSize: 14}, Kind: 2, Values: []string{"nfs_export=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "xino_on", TypeSize: 7}, Kind: 2, Values: []string{"xino=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "xino_off", TypeSize: 8}, Kind: 2, Values: []string{"xino=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "xino_auto", TypeSize: 9}, Kind: 2, Values: []string{"xino=auto"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "metacopy_on", TypeSize: 11}, Kind: 2, Values: []string{"metacopy=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "metacopy_off", TypeSize: 12}, Kind: 2, Values: []string{"metacopy=off"}, NoZ: true}, + }}}, {Key: StructKey{Name: "p9_dir"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "p9_dir", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "p9_qid"}, FldName: "qid"}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "offset", TypeSize: 8}}}, @@ -19806,7 +19937,7 @@ var structDescs_arm64 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, }}}, {Key: StructKey{Name: "xattr_name"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xattr_name", IsVarlen: true}, Fields: []Type{ - &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "known", IsVarlen: true}, Kind: 2, SubKind: "xattr_names", Values: []string{"system.posix_acl_access\x00", "system.posix_acl_default\x00", "system.advise\x00", "system.sockprotoname\x00", "com.apple.FinderInfo\x00", "com.apple.system.Security\x00", "user.syz\x00", "trusted.syz\x00", "security.evm\x00", "security.ima\x00", "security.selinux\x00", "security.capability\x00"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "known", IsVarlen: true}, Kind: 2, SubKind: "xattr_names", Values: []string{"system.posix_acl_access\x00", "system.posix_acl_default\x00", "system.advise\x00", "system.sockprotoname\x00", "com.apple.FinderInfo\x00", "com.apple.system.Security\x00", "user.syz\x00", "trusted.syz\x00", "security.evm\x00", "security.ima\x00", "security.selinux\x00", "security.capability\x00", "trusted.overlay.opaque\x00", "trusted.overlay.redirect\x00", "trusted.overlay.origin\x00", "trusted.overlay.impure\x00", "trusted.overlay.nlink\x00", "trusted.overlay.upper\x00", "trusted.overlay.metacopy\x00"}}, &StructType{Key: StructKey{Name: "xattr_name_random"}, FldName: "random"}, }}}, {Key: StructKey{Name: "xattr_name_random"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xattr_name_random", IsVarlen: true}, Fields: []Type{ @@ -25223,6 +25354,52 @@ var syscalls_arm64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074283779}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}}, }}, + {NR: 29, Name: "ioctl$EXT4_IOC_ALLOC_DA_BLKS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 26124}, + }}, + {NR: 29, Name: "ioctl$EXT4_IOC_GROUP_ADD", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1076389384}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ext4_new_group_input"}}}, + }}, + {NR: 29, Name: "ioctl$EXT4_IOC_GROUP_EXTEND", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074292231}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}}, + }}, + {NR: 29, Name: "ioctl$EXT4_IOC_MIGRATE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 26121}, + }}, + {NR: 29, Name: "ioctl$EXT4_IOC_MOVE_EXT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3223873039}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "move_extent"}}}, + }}, + {NR: 29, Name: "ioctl$EXT4_IOC_PRECACHE_EXTENTS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 26130}, + }}, + {NR: 29, Name: "ioctl$EXT4_IOC_RESIZE_FS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074292240}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + }}, + {NR: 29, Name: "ioctl$EXT4_IOC_SETFLAGS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074292226}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ext4_inode_flags", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 536870912, 4194304, 16384, 32768, 65536, 131072, 524288}, BitMask: true}}, + }}, + {NR: 29, Name: "ioctl$EXT4_IOC_SHUTDOWN", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147768445}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ext4_shutdown_flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2}, BitMask: true}}, + }}, + {NR: 29, Name: "ioctl$EXT4_IOC_SWAP_BOOT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 26129}, + }}, {NR: 29, Name: "ioctl$FIBMAP", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1}, @@ -25243,11 +25420,26 @@ var syscalls_arm64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3222836278}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "file_dedupe_range"}}}, }}, + {NR: 29, Name: "ioctl$FIGETBSZ", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, + }}, {NR: 29, Name: "ioctl$FIONREAD", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21531}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, }}, + {NR: 29, Name: "ioctl$FITRIM", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3222820985}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fstrim_range"}}}, + }}, + {NR: 29, Name: "ioctl$FS_IOC_FIEMAP", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3223348747}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "v", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fiemap"}}}, + }}, {NR: 29, Name: "ioctl$FS_IOC_FSGETXATTR", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2149341215}, @@ -25258,21 +25450,61 @@ var syscalls_arm64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1075599392}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fsxattr"}}}, }}, + {NR: 29, Name: "ioctl$FS_IOC_GETFLAGS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148034049}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, + }}, {NR: 29, Name: "ioctl$FS_IOC_GETFSLABEL", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2164298801}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 256, RangeEnd: 256}}, }}, + {NR: 29, Name: "ioctl$FS_IOC_GETFSMAP", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3233830971}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fsmap_head"}}}, + }}, + {NR: 29, Name: "ioctl$FS_IOC_GETVERSION", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148038145}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, + }}, + {NR: 29, Name: "ioctl$FS_IOC_GET_ENCRYPTION_POLICY", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074554389}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 16, ArgDir: 1}, Kind: 1, RangeBegin: 16, RangeEnd: 16}}, + }}, + {NR: 29, Name: "ioctl$FS_IOC_GET_ENCRYPTION_PWSALT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074816532}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fscrypt_policy", Dir: 1}}}, + }}, {NR: 29, Name: "ioctl$FS_IOC_RESVSP", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1076910120}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "space_resv"}}}, }}, + {NR: 29, Name: "ioctl$FS_IOC_SETFLAGS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074292226}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}}, + }}, {NR: 29, Name: "ioctl$FS_IOC_SETFSLABEL", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1090556978}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256}, Kind: 1, RangeBegin: 256, RangeEnd: 256}}, }}, + {NR: 29, Name: "ioctl$FS_IOC_SETVERSION", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074296322}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}}, + }}, + {NR: 29, Name: "ioctl$FS_IOC_SET_ENCRYPTION_POLICY", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148296211}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fscrypt_policy"}}}, + }}, {NR: 29, Name: "ioctl$FUSE_DEV_IOC_CLONE", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fuse", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147804416}, @@ -27926,11 +28158,6 @@ var syscalls_arm64 = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 22023}, }}, - {NR: 29, Name: "ioctl$fiemap", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3223348747}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "v", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fiemap"}}}, - }}, {NR: 29, Name: "ioctl$ifreq_SIOCGIFINDEX_team", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35123}, @@ -28758,6 +28985,13 @@ var syscalls_arm64 = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fuse_options"}}}, }}, + {NR: 40, Name: "mount$overlay", CallName: "mount", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "src", TypeSize: 8}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dst", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "type", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 8}, Kind: 2, Values: []string{"overlay\x00"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fs_options[overlay_options]"}}}, + }}, {NR: 239, Name: "move_pages", CallName: "move_pages", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nr", TypeSize: 8}}, Buf: "pages"}, @@ -34626,6 +34860,34 @@ var consts_arm64 = []ConstValue{ {Name: "EV_SND", Value: 18}, {Name: "EV_SW", Value: 5}, {Name: "EV_SYN"}, + {Name: "EXT4_APPEND_FL", Value: 32}, + {Name: "EXT4_COMPR_FL", Value: 4}, + {Name: "EXT4_DIRSYNC_FL", Value: 65536}, + {Name: "EXT4_EOFBLOCKS_FL", Value: 4194304}, + {Name: "EXT4_EXTENTS_FL", Value: 524288}, + {Name: "EXT4_GOING_FLAGS_DEFAULT"}, + {Name: "EXT4_GOING_FLAGS_LOGFLUSH", Value: 1}, + {Name: "EXT4_GOING_FLAGS_NOLOGFLUSH", Value: 2}, + {Name: "EXT4_IMMUTABLE_FL", Value: 16}, + {Name: "EXT4_IOC_ALLOC_DA_BLKS", Value: 26124}, + {Name: "EXT4_IOC_GROUP_ADD", Value: 1076389384}, + {Name: "EXT4_IOC_GROUP_EXTEND", Value: 1074292231}, + {Name: "EXT4_IOC_MIGRATE", Value: 26121}, + {Name: "EXT4_IOC_MOVE_EXT", Value: 3223873039}, + {Name: "EXT4_IOC_PRECACHE_EXTENTS", Value: 26130}, + {Name: "EXT4_IOC_RESIZE_FS", Value: 1074292240}, + {Name: "EXT4_IOC_SETFLAGS", Value: 1074292226}, + {Name: "EXT4_IOC_SHUTDOWN", Value: 2147768445}, + {Name: "EXT4_IOC_SWAP_BOOT", Value: 26129}, + {Name: "EXT4_JOURNAL_DATA_FL", Value: 16384}, + {Name: "EXT4_NOATIME_FL", Value: 128}, + {Name: "EXT4_NODUMP_FL", Value: 64}, + {Name: "EXT4_NOTAIL_FL", Value: 32768}, + {Name: "EXT4_PROJINHERIT_FL", Value: 536870912}, + {Name: "EXT4_SECRM_FL", Value: 1}, + {Name: "EXT4_SYNC_FL", Value: 8}, + {Name: "EXT4_TOPDIR_FL", Value: 131072}, + {Name: "EXT4_UNRM_FL", Value: 2}, {Name: "FALLOC_FL_COLLAPSE_RANGE", Value: 8}, {Name: "FALLOC_FL_INSERT_RANGE", Value: 32}, {Name: "FALLOC_FL_KEEP_SIZE", Value: 1}, @@ -34709,6 +34971,7 @@ var consts_arm64 = []ConstValue{ {Name: "FIOQSIZE", Value: 21600}, {Name: "FIOSETOWN", Value: 35073}, {Name: "FITHAW", Value: 3221510264}, + {Name: "FITRIM", Value: 3222820985}, {Name: "FLAT_BINDER_FLAG_ACCEPTS_FDS", Value: 256}, {Name: "FLOW_MODE_HASH", Value: 1}, {Name: "FLOW_MODE_MAP"}, @@ -34751,12 +35014,31 @@ var consts_arm64 = []ConstValue{ {Name: "FR_ACT_UNREACHABLE", Value: 7}, {Name: "FR_ACT_UNSPEC"}, {Name: "FSLABEL_MAX", Value: 256}, + {Name: "FSMAP_SIZE", Value: 64}, + {Name: "FS_ENCRYPTION_MODE_AES_128_CBC", Value: 5}, + {Name: "FS_ENCRYPTION_MODE_AES_128_CTS", Value: 6}, + {Name: "FS_ENCRYPTION_MODE_AES_256_CTS", Value: 4}, + {Name: "FS_ENCRYPTION_MODE_AES_256_XTS", Value: 1}, + {Name: "FS_ENCRYPTION_MODE_SPECK128_256_CTS", Value: 8}, + {Name: "FS_ENCRYPTION_MODE_SPECK128_256_XTS", Value: 7}, {Name: "FS_IOC_FIEMAP", Value: 3223348747}, {Name: "FS_IOC_FSGETXATTR", Value: 2149341215}, {Name: "FS_IOC_FSSETXATTR", Value: 1075599392}, + {Name: "FS_IOC_GETFLAGS", Value: 2148034049}, {Name: "FS_IOC_GETFSLABEL", Value: 2164298801}, + {Name: "FS_IOC_GETFSMAP", Value: 3233830971}, + {Name: "FS_IOC_GETVERSION", Value: 2148038145}, + {Name: "FS_IOC_GET_ENCRYPTION_POLICY", Value: 1074554389}, + {Name: "FS_IOC_GET_ENCRYPTION_PWSALT", Value: 1074816532}, {Name: "FS_IOC_RESVSP", Value: 1076910120}, + {Name: "FS_IOC_SETFLAGS", Value: 1074292226}, {Name: "FS_IOC_SETFSLABEL", Value: 1090556978}, + {Name: "FS_IOC_SETVERSION", Value: 1074296322}, + {Name: "FS_IOC_SET_ENCRYPTION_POLICY", Value: 2148296211}, + {Name: "FS_KEY_DESCRIPTOR_SIZE", Value: 8}, + {Name: "FS_POLICY_FLAGS_PAD_16", Value: 2}, + {Name: "FS_POLICY_FLAGS_PAD_4"}, + {Name: "FS_POLICY_FLAGS_PAD_8", Value: 1}, {Name: "FUSE_ABORT_ERROR", Value: 2097152}, {Name: "FUSE_ASYNC_DIO", Value: 32768}, {Name: "FUSE_ASYNC_READ", Value: 1}, @@ -39969,4 +40251,4 @@ var consts_arm64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm64 = "ef0f71b538b41ef1b53876986ebbb854b51f1b9e" +const revision_arm64 = "e9599de96431bd43043a28d423bf4923cc867878" diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go index e4d2d13b9..0c940ffb5 100644 --- a/sys/linux/gen/ppc64le.go +++ b/sys/linux/gen/ppc64le.go @@ -3136,6 +3136,16 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_trsize", TypeSize: 4}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_drsize", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "ext4_new_group_input"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ext4_new_group_input", TypeSize: 40}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "group", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "block_bitmap", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "inode_bitmap", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "inode_table", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "blocks_count", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "reserved_blocks", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "unused", TypeSize: 2}}}, + }}}, {Key: StructKey{Name: "ext4_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ext4_options", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "bsddf", TypeSize: 5}, Kind: 2, Values: []string{"bsddf"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "minixdf", TypeSize: 7}, Kind: 2, Values: []string{"minixdf"}, NoZ: true}, @@ -3884,6 +3894,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"lowerdir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"lowerdir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"lowerdir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"max_batch_time\", fmt[hex, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"max_batch_time\", fmt[hex, int32]]", TypeSize: 33}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 14}, Kind: 2, Values: []string{"max_batch_time"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -3964,6 +3979,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 18}, ArgFormat: 3}}, }}}, + {Key: StructKey{Name: "fs_opt[\"redirect_dir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"redirect_dir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 12}, Kind: 2, Values: []string{"redirect_dir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"resgid\", fmt[hex, gid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"resgid\", fmt[hex, gid]]", TypeSize: 25}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"resgid"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4099,6 +4119,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"upperdir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"upperdir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"upperdir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"user_id\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"user_id\", fmt[dec, uid]]", TypeSize: 28}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"user_id"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4124,6 +4149,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", TypeSize: 18}, ArgFormat: 3}, }}}, + {Key: StructKey{Name: "fs_opt[\"workdir\", stringnoz[filename]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"workdir\", stringnoz[filename]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"workdir"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt_elem[bpf_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[bpf_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "bpf_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -4172,6 +4202,10 @@ var structDescs_ppc64le = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "ntfs_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, }}}, + {Key: StructKey{Name: "fs_opt_elem[overlay_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[overlay_options]", IsVarlen: true}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "overlay_options"}, FldName: "elem"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, + }}}, {Key: StructKey{Name: "fs_opt_elem[p9_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[p9_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "p9_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -4240,6 +4274,10 @@ var structDescs_ppc64le = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[ntfs_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, }}}, + {Key: StructKey{Name: "fs_options[overlay_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[overlay_options]", IsVarlen: true}, Fields: []Type{ + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[overlay_options]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, + }}}, {Key: StructKey{Name: "fs_options[p9_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[p9_options]", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[p9_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, @@ -4260,6 +4298,75 @@ var structDescs_ppc64le = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[xfs_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, }}}, + {Key: StructKey{Name: "fscrypt_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy", TypeSize: 12}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &UnionType{Key: StructKey{Name: "fscrypt_policy_mode"}, FldName: "mode"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_policy_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_descriptor", TypeSize: 8}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + }}}, + {Key: StructKey{Name: "fscrypt_policy", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy", TypeSize: 12, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1, ArgDir: 1}}}, + &UnionType{Key: StructKey{Name: "fscrypt_policy_mode", Dir: 1}, FldName: "mode"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_policy_flags", FldName: "flags", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_descriptor", TypeSize: 8, ArgDir: 1}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode", TypeSize: 2}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]"}, FldName: "aes128"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]"}, FldName: "aes256"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]"}, FldName: "speck128"}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", Dir: 1}, FldName: "aes128"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", Dir: 1}, FldName: "aes256"}, + &StructType{Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", Dir: 1}, FldName: "speck128"}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", TypeSize: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1}}, Val: 6}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_128_CBC, FS_ENCRYPTION_MODE_AES_128_CTS]", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 6}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", TypeSize: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1}}, Val: 4}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_AES_256_XTS, FS_ENCRYPTION_MODE_AES_256_CTS]", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 4}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", TypeSize: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1}}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1}}, Val: 8}, + }}}, + {Key: StructKey{Name: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_mode_t[FS_ENCRYPTION_MODE_SPECK128_256_XTS, FS_ENCRYPTION_MODE_SPECK128_256_CTS]", TypeSize: 2, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "contents_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "filenames_encryption_mode", TypeSize: 1, ArgDir: 1}}, Val: 8}, + }}}, + {Key: StructKey{Name: "fsmap"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsmap", TypeSize: 64}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fmr_device", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fmr_flags", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_physical", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_owner", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_offset", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fmr_length", TypeSize: 8}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmr_reserved", TypeSize: 24}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 3, RangeEnd: 3}, + }}}, + {Key: StructKey{Name: "fsmap_head"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsmap_head", IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fmh_iflags", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fmh_oflags", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "fmh_count", TypeSize: 4}}, Buf: "fmh_recs"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fmh_entries", TypeSize: 4}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmh_reserved", TypeSize: 48}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmh_keys", TypeSize: 128}, Type: &StructType{Key: StructKey{Name: "fsmap"}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fmh_recs", IsVarlen: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64}}, + }}}, + {Key: StructKey{Name: "fstrim_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fstrim_range", TypeSize: 24}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "start", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "minlen", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "fsxattr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsxattr", TypeSize: 32}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_xflags", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_extsize", TypeSize: 4}}}, @@ -8200,6 +8307,14 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vifc_rate_limit", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "move_extent"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "move_extent", TypeSize: 40}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "donor_fd", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "orig_start", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "donor_start", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "moved_len", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "mpls_label"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mpls_label", TypeSize: 4}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "ttl", TypeSize: 4}, ArgFormat: 1, BitfieldLen: 8, BitfieldMdl: true}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "s", TypeSize: 4}, ArgFormat: 1, BitfieldOff: 8, BitfieldLen: 1, BitfieldMdl: true}}, @@ -13997,6 +14112,22 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "virtio_net_hdr"}, FldName: "val"}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "void"}, Kind: 1}, }}}, + {Key: StructKey{Name: "overlay_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "overlay_options", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fs_opt[\"lowerdir\", stringnoz[filename]]"}, FldName: "lowerdir"}, + &StructType{Key: StructKey{Name: "fs_opt[\"upperdir\", stringnoz[filename]]"}, FldName: "upperdir"}, + &StructType{Key: StructKey{Name: "fs_opt[\"workdir\", stringnoz[filename]]"}, FldName: "workdir"}, + &StructType{Key: StructKey{Name: "fs_opt[\"redirect_dir\", stringnoz[filename]]"}, FldName: "redirect_dir"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "default_permissions", TypeSize: 19}, Kind: 2, Values: []string{"default_permissions"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "index_on", TypeSize: 8}, Kind: 2, Values: []string{"index=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "index_off", TypeSize: 9}, Kind: 2, Values: []string{"index=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nfs_export_on", TypeSize: 13}, Kind: 2, Values: []string{"nfs_export=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nfs_export_off", TypeSize: 14}, Kind: 2, Values: []string{"nfs_export=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "xino_on", TypeSize: 7}, Kind: 2, Values: []string{"xino=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "xino_off", TypeSize: 8}, Kind: 2, Values: []string{"xino=off"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "xino_auto", TypeSize: 9}, Kind: 2, Values: []string{"xino=auto"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "metacopy_on", TypeSize: 11}, Kind: 2, Values: []string{"metacopy=on"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "metacopy_off", TypeSize: 12}, Kind: 2, Values: []string{"metacopy=off"}, NoZ: true}, + }}}, {Key: StructKey{Name: "p9_dir"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "p9_dir", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "p9_qid"}, FldName: "qid"}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "offset", TypeSize: 8}}}, @@ -18817,7 +18948,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, }}}, {Key: StructKey{Name: "xattr_name"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xattr_name", IsVarlen: true}, Fields: []Type{ - &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "known", IsVarlen: true}, Kind: 2, SubKind: "xattr_names", Values: []string{"system.posix_acl_access\x00", "system.posix_acl_default\x00", "system.advise\x00", "system.sockprotoname\x00", "com.apple.FinderInfo\x00", "com.apple.system.Security\x00", "user.syz\x00", "trusted.syz\x00", "security.evm\x00", "security.ima\x00", "security.selinux\x00", "security.capability\x00"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "known", IsVarlen: true}, Kind: 2, SubKind: "xattr_names", Values: []string{"system.posix_acl_access\x00", "system.posix_acl_default\x00", "system.advise\x00", "system.sockprotoname\x00", "com.apple.FinderInfo\x00", "com.apple.system.Security\x00", "user.syz\x00", "trusted.syz\x00", "security.evm\x00", "security.ima\x00", "security.selinux\x00", "security.capability\x00", "trusted.overlay.opaque\x00", "trusted.overlay.redirect\x00", "trusted.overlay.origin\x00", "trusted.overlay.impure\x00", "trusted.overlay.nlink\x00", "trusted.overlay.upper\x00", "trusted.overlay.metacopy\x00"}}, &StructType{Key: StructKey{Name: "xattr_name_random"}, FldName: "random"}, }}}, {Key: StructKey{Name: "xattr_name_random"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xattr_name_random", IsVarlen: true}, Fields: []Type{ @@ -24280,6 +24411,52 @@ var syscalls_ppc64le = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148025603}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}}, }}, + {NR: 54, Name: "ioctl$EXT4_IOC_ALLOC_DA_BLKS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536897036}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_GROUP_ADD", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2150131208}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ext4_new_group_input"}}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_GROUP_EXTEND", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148034055}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_MIGRATE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536897033}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_MOVE_EXT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3223873039}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "move_extent"}}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_PRECACHE_EXTENTS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536897042}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_RESIZE_FS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148034064}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_SETFLAGS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148034050}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ext4_inode_flags", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 536870912, 4194304, 16384, 32768, 65536, 131072, 524288}, BitMask: true}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_SHUTDOWN", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074026621}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ext4_shutdown_flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2}, BitMask: true}}, + }}, + {NR: 54, Name: "ioctl$EXT4_IOC_SWAP_BOOT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536897041}, + }}, {NR: 54, Name: "ioctl$FIBMAP", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536870913}, @@ -24300,11 +24477,26 @@ var syscalls_ppc64le = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3222836278}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "file_dedupe_range"}}}, }}, + {NR: 54, Name: "ioctl$FIGETBSZ", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536870914}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, + }}, {NR: 54, Name: "ioctl$FIONREAD", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074030207}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, }}, + {NR: 54, Name: "ioctl$FITRIM", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3222820985}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fstrim_range"}}}, + }}, + {NR: 54, Name: "ioctl$FS_IOC_FIEMAP", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3223348747}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "v", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fiemap"}}}, + }}, {NR: 54, Name: "ioctl$FS_IOC_FSGETXATTR", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1075599391}, @@ -24315,21 +24507,61 @@ var syscalls_ppc64le = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2149341216}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fsxattr"}}}, }}, + {NR: 54, Name: "ioctl$FS_IOC_GETFLAGS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074292225}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, + }}, {NR: 54, Name: "ioctl$FS_IOC_GETFSLABEL", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1090556977}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 256, RangeEnd: 256}}, }}, + {NR: 54, Name: "ioctl$FS_IOC_GETFSMAP", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3233830971}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fsmap_head"}}}, + }}, + {NR: 54, Name: "ioctl$FS_IOC_GETVERSION", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074296321}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, + }}, + {NR: 54, Name: "ioctl$FS_IOC_GET_ENCRYPTION_POLICY", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148296213}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 16, ArgDir: 1}, Kind: 1, RangeBegin: 16, RangeEnd: 16}}, + }}, + {NR: 54, Name: "ioctl$FS_IOC_GET_ENCRYPTION_PWSALT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148558356}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fscrypt_policy", Dir: 1}}}, + }}, {NR: 54, Name: "ioctl$FS_IOC_RESVSP", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2150651944}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "space_resv"}}}, }}, + {NR: 54, Name: "ioctl$FS_IOC_SETFLAGS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148034050}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}}, + }}, {NR: 54, Name: "ioctl$FS_IOC_SETFSLABEL", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2164298802}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256}, Kind: 1, RangeBegin: 256, RangeEnd: 256}}, }}, + {NR: 54, Name: "ioctl$FS_IOC_SETVERSION", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148038146}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}}, + }}, + {NR: 54, Name: "ioctl$FS_IOC_SET_ENCRYPTION_POLICY", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074554387}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fscrypt_policy"}}}, + }}, {NR: 54, Name: "ioctl$FUSE_DEV_IOC_CLONE", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fuse", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074062592}, @@ -26393,11 +26625,6 @@ var syscalls_ppc64le = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 22023}, }}, - {NR: 54, Name: "ioctl$fiemap", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3223348747}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "v", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fiemap"}}}, - }}, {NR: 54, Name: "ioctl$ifreq_SIOCGIFINDEX_team", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35123}, @@ -27280,6 +27507,13 @@ var syscalls_ppc64le = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fuse_options"}}}, }}, + {NR: 21, Name: "mount$overlay", CallName: "mount", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "src", TypeSize: 8}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dst", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "type", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 8}, Kind: 2, Values: []string{"overlay\x00"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fs_options[overlay_options]"}}}, + }}, {NR: 301, Name: "move_pages", CallName: "move_pages", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nr", TypeSize: 8}}, Buf: "pages"}, @@ -33021,6 +33255,34 @@ var consts_ppc64le = []ConstValue{ {Name: "EV_SND", Value: 18}, {Name: "EV_SW", Value: 5}, {Name: "EV_SYN"}, + {Name: "EXT4_APPEND_FL", Value: 32}, + {Name: "EXT4_COMPR_FL", Value: 4}, + {Name: "EXT4_DIRSYNC_FL", Value: 65536}, + {Name: "EXT4_EOFBLOCKS_FL", Value: 4194304}, + {Name: "EXT4_EXTENTS_FL", Value: 524288}, + {Name: "EXT4_GOING_FLAGS_DEFAULT"}, + {Name: "EXT4_GOING_FLAGS_LOGFLUSH", Value: 1}, + {Name: "EXT4_GOING_FLAGS_NOLOGFLUSH", Value: 2}, + {Name: "EXT4_IMMUTABLE_FL", Value: 16}, + {Name: "EXT4_IOC_ALLOC_DA_BLKS", Value: 536897036}, + {Name: "EXT4_IOC_GROUP_ADD", Value: 2150131208}, + {Name: "EXT4_IOC_GROUP_EXTEND", Value: 2148034055}, + {Name: "EXT4_IOC_MIGRATE", Value: 536897033}, + {Name: "EXT4_IOC_MOVE_EXT", Value: 3223873039}, + {Name: "EXT4_IOC_PRECACHE_EXTENTS", Value: 536897042}, + {Name: "EXT4_IOC_RESIZE_FS", Value: 2148034064}, + {Name: "EXT4_IOC_SETFLAGS", Value: 2148034050}, + {Name: "EXT4_IOC_SHUTDOWN", Value: 1074026621}, + {Name: "EXT4_IOC_SWAP_BOOT", Value: 536897041}, + {Name: "EXT4_JOURNAL_DATA_FL", Value: 16384}, + {Name: "EXT4_NOATIME_FL", Value: 128}, + {Name: "EXT4_NODUMP_FL", Value: 64}, + {Name: "EXT4_NOTAIL_FL", Value: 32768}, + {Name: "EXT4_PROJINHERIT_FL", Value: 536870912}, + {Name: "EXT4_SECRM_FL", Value: 1}, + {Name: "EXT4_SYNC_FL", Value: 8}, + {Name: "EXT4_TOPDIR_FL", Value: 131072}, + {Name: "EXT4_UNRM_FL", Value: 2}, {Name: "FALLOC_FL_COLLAPSE_RANGE", Value: 8}, {Name: "FALLOC_FL_INSERT_RANGE", Value: 32}, {Name: "FALLOC_FL_KEEP_SIZE", Value: 1}, @@ -33104,6 +33366,7 @@ var consts_ppc64le = []ConstValue{ {Name: "FIOQSIZE", Value: 1074292352}, {Name: "FIOSETOWN", Value: 35073}, {Name: "FITHAW", Value: 3221510264}, + {Name: "FITRIM", Value: 3222820985}, {Name: "FLAT_BINDER_FLAG_ACCEPTS_FDS", Value: 256}, {Name: "FLOW_MODE_HASH", Value: 1}, {Name: "FLOW_MODE_MAP"}, @@ -33146,12 +33409,31 @@ var consts_ppc64le = []ConstValue{ {Name: "FR_ACT_UNREACHABLE", Value: 7}, {Name: "FR_ACT_UNSPEC"}, {Name: "FSLABEL_MAX", Value: 256}, + {Name: "FSMAP_SIZE", Value: 64}, + {Name: "FS_ENCRYPTION_MODE_AES_128_CBC", Value: 5}, + {Name: "FS_ENCRYPTION_MODE_AES_128_CTS", Value: 6}, + {Name: "FS_ENCRYPTION_MODE_AES_256_CTS", Value: 4}, + {Name: "FS_ENCRYPTION_MODE_AES_256_XTS", Value: 1}, + {Name: "FS_ENCRYPTION_MODE_SPECK128_256_CTS", Value: 8}, + {Name: "FS_ENCRYPTION_MODE_SPECK128_256_XTS", Value: 7}, {Name: "FS_IOC_FIEMAP", Value: 3223348747}, {Name: "FS_IOC_FSGETXATTR", Value: 1075599391}, {Name: "FS_IOC_FSSETXATTR", Value: 2149341216}, + {Name: "FS_IOC_GETFLAGS", Value: 1074292225}, {Name: "FS_IOC_GETFSLABEL", Value: 1090556977}, + {Name: "FS_IOC_GETFSMAP", Value: 3233830971}, + {Name: "FS_IOC_GETVERSION", Value: 1074296321}, + {Name: "FS_IOC_GET_ENCRYPTION_POLICY", Value: 2148296213}, + {Name: "FS_IOC_GET_ENCRYPTION_PWSALT", Value: 2148558356}, {Name: "FS_IOC_RESVSP", Value: 2150651944}, + {Name: "FS_IOC_SETFLAGS", Value: 2148034050}, {Name: "FS_IOC_SETFSLABEL", Value: 2164298802}, + {Name: "FS_IOC_SETVERSION", Value: 2148038146}, + {Name: "FS_IOC_SET_ENCRYPTION_POLICY", Value: 1074554387}, + {Name: "FS_KEY_DESCRIPTOR_SIZE", Value: 8}, + {Name: "FS_POLICY_FLAGS_PAD_16", Value: 2}, + {Name: "FS_POLICY_FLAGS_PAD_4"}, + {Name: "FS_POLICY_FLAGS_PAD_8", Value: 1}, {Name: "FUSE_ABORT_ERROR", Value: 2097152}, {Name: "FUSE_ASYNC_DIO", Value: 32768}, {Name: "FUSE_ASYNC_READ", Value: 1}, @@ -37325,4 +37607,4 @@ var consts_ppc64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_ppc64le = "0feb061fb6fa9489333c65648c531912f74ad46b" +const revision_ppc64le = "98026d18b7f0e17bb45daee39c681e0d5b4f4a39" diff --git a/sys/linux/sys.txt b/sys/linux/sys.txt index 72b934a6e..def19a7bd 100644 --- a/sys/linux/sys.txt +++ b/sys/linux/sys.txt @@ -164,61 +164,6 @@ ioctl(fd fd, cmd intptr, arg buffer[in]) ioctl$void(fd fd, cmd flags[ioctl_void]) ioctl$int_in(fd fd, cmd flags[ioctl_int_in], v ptr[in, int64]) ioctl$int_out(fd fd, cmd flags[ioctl_int_out], v ptr[out, intptr]) -ioctl$fiemap(fd fd, cmd const[FS_IOC_FIEMAP], v ptr[in, fiemap]) -ioctl$FS_IOC_RESVSP(fd fd, cmd const[FS_IOC_RESVSP], arg ptr[in, space_resv]) -ioctl$FIBMAP(fd fd, cmd const[FIBMAP], arg ptr[in, int32]) -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_FSGETXATTR(fd fd, cmd const[FS_IOC_FSGETXATTR], arg ptr[in, fsxattr]) -ioctl$FS_IOC_FSSETXATTR(fd fd, cmd const[FS_IOC_FSSETXATTR], arg ptr[in, fsxattr]) -ioctl$FS_IOC_GETFSLABEL(fd fd, cmd const[FS_IOC_GETFSLABEL], arg ptr[out, array[const[0, int8], FSLABEL_MAX]]) -ioctl$FS_IOC_SETFSLABEL(fd fd, cmd const[FS_IOC_SETFSLABEL], arg ptr[in, array[int8, FSLABEL_MAX]]) - -space_resv { - l_type const[0, int16] - l_whence flags[seek_whence, int16] - l_start int64 - l_len int64 - l_sysid const[0, int32] - l_pid const[0, int32] - l_pad array[const[0, int32], 4] -} - -file_clone_range { - src_fd fd - pad const[0, int32] - src_offset int64 - src_length int64 - dest_offset int64 -} - -file_dedupe_range { - src_offset int64 - src_length int64 - dest_count len[info, int16] - reserved1 const[0, int16] - reserved2 const[0, int32] - info array[file_dedupe_range_info] -} - -file_dedupe_range_info { - dest_fd fd - pad const[0, int32] - dest_offset int64 - bytes_deduped const[0, int64] - status const[0, int32] - reserved const[0, int32] -} - -fsxattr { - fsx_xflags int32 - fsx_extsize int32 - fsx_nextents int32 - fsx_projid int32 - fsx_cowextsize int32 - fsx_pad const[0, int64] -} fcntl$dupfd(fd fd, cmd flags[fcntl_dupfd], arg fd) fd fcntl$getflags(fd fd, cmd flags[fcntl_getflags]) @@ -896,27 +841,6 @@ ucred { gid gid } -fiemap { - start int64 - len int64 - flags flags[fiemap_flags, int32] - mapped int32 - count len[extent, int32] - extent array[fiemap_extent] -} - -fiemap_extent { - logical int64 - phys int64 - len int64 - pad1 const[0, int64] - pad2 const[0, int64] - flags flags[fiemap_extent_flags, int32] - pad3 const[0, int32] - pad4 const[0, int32] - pad5 const[0, int32] -} - kcmp_epoll_slot { efd fd_epoll tfd fd diff --git a/sys/linux/sys_386.const b/sys/linux/sys_386.const index 3434dc15c..3ca2c0e81 100644 --- a/sys/linux/sys_386.const +++ b/sys/linux/sys_386.const @@ -98,10 +98,6 @@ FAN_UNLIMITED_MARKS = 32 FAN_UNLIMITED_QUEUE = 16 FASYNC = 8192 FD_CLOEXEC = 1 -FIBMAP = 1 -FICLONE = 1074041865 -FICLONERANGE = 1075876877 -FIDEDUPERANGE = 3222836278 FIEMAP_EXTENT_DATA_ENCRYPTED = 128 FIEMAP_EXTENT_DATA_INLINE = 512 FIEMAP_EXTENT_DATA_TAIL = 1024 @@ -124,13 +120,6 @@ FIONBIO = 21537 FIONCLEX = 21584 FIOQSIZE = 21600 FITHAW = 3221510264 -FSLABEL_MAX = 256 -FS_IOC_FIEMAP = 3223348747 -FS_IOC_FSGETXATTR = 2149341215 -FS_IOC_FSSETXATTR = 1075599392 -FS_IOC_GETFSLABEL = 2164298801 -FS_IOC_RESVSP = 1076647976 -FS_IOC_SETFSLABEL = 1090556978 FUTEX_CMP_REQUEUE = 4 FUTEX_REQUEUE = 3 FUTEX_WAIT = 0 diff --git a/sys/linux/sys_amd64.const b/sys/linux/sys_amd64.const index 9e2999d71..6225739aa 100644 --- a/sys/linux/sys_amd64.const +++ b/sys/linux/sys_amd64.const @@ -98,10 +98,6 @@ FAN_UNLIMITED_MARKS = 32 FAN_UNLIMITED_QUEUE = 16 FASYNC = 8192 FD_CLOEXEC = 1 -FIBMAP = 1 -FICLONE = 1074041865 -FICLONERANGE = 1075876877 -FIDEDUPERANGE = 3222836278 FIEMAP_EXTENT_DATA_ENCRYPTED = 128 FIEMAP_EXTENT_DATA_INLINE = 512 FIEMAP_EXTENT_DATA_TAIL = 1024 @@ -124,13 +120,6 @@ FIONBIO = 21537 FIONCLEX = 21584 FIOQSIZE = 21600 FITHAW = 3221510264 -FSLABEL_MAX = 256 -FS_IOC_FIEMAP = 3223348747 -FS_IOC_FSGETXATTR = 2149341215 -FS_IOC_FSSETXATTR = 1075599392 -FS_IOC_GETFSLABEL = 2164298801 -FS_IOC_RESVSP = 1076910120 -FS_IOC_SETFSLABEL = 1090556978 FUTEX_CMP_REQUEUE = 4 FUTEX_REQUEUE = 3 FUTEX_WAIT = 0 diff --git a/sys/linux/sys_arm.const b/sys/linux/sys_arm.const index 0e66a0fe4..3cffcf155 100644 --- a/sys/linux/sys_arm.const +++ b/sys/linux/sys_arm.const @@ -98,10 +98,6 @@ FAN_UNLIMITED_MARKS = 32 FAN_UNLIMITED_QUEUE = 16 FASYNC = 8192 FD_CLOEXEC = 1 -FIBMAP = 1 -FICLONE = 1074041865 -FICLONERANGE = 1075876877 -FIDEDUPERANGE = 3222836278 FIEMAP_EXTENT_DATA_ENCRYPTED = 128 FIEMAP_EXTENT_DATA_INLINE = 512 FIEMAP_EXTENT_DATA_TAIL = 1024 @@ -124,13 +120,6 @@ FIONBIO = 21537 FIONCLEX = 21584 FIOQSIZE = 21598 FITHAW = 3221510264 -FSLABEL_MAX = 256 -FS_IOC_FIEMAP = 3223348747 -FS_IOC_FSGETXATTR = 2149341215 -FS_IOC_FSSETXATTR = 1075599392 -FS_IOC_GETFSLABEL = 2164298801 -FS_IOC_RESVSP = 1076647976 -FS_IOC_SETFSLABEL = 1090556978 FUTEX_CMP_REQUEUE = 4 FUTEX_REQUEUE = 3 FUTEX_WAIT = 0 diff --git a/sys/linux/sys_arm64.const b/sys/linux/sys_arm64.const index 27c3cdf08..fa67e87ce 100644 --- a/sys/linux/sys_arm64.const +++ b/sys/linux/sys_arm64.const @@ -98,10 +98,6 @@ FAN_UNLIMITED_MARKS = 32 FAN_UNLIMITED_QUEUE = 16 FASYNC = 8192 FD_CLOEXEC = 1 -FIBMAP = 1 -FICLONE = 1074041865 -FICLONERANGE = 1075876877 -FIDEDUPERANGE = 3222836278 FIEMAP_EXTENT_DATA_ENCRYPTED = 128 FIEMAP_EXTENT_DATA_INLINE = 512 FIEMAP_EXTENT_DATA_TAIL = 1024 @@ -124,13 +120,6 @@ FIONBIO = 21537 FIONCLEX = 21584 FIOQSIZE = 21600 FITHAW = 3221510264 -FSLABEL_MAX = 256 -FS_IOC_FIEMAP = 3223348747 -FS_IOC_FSGETXATTR = 2149341215 -FS_IOC_FSSETXATTR = 1075599392 -FS_IOC_GETFSLABEL = 2164298801 -FS_IOC_RESVSP = 1076910120 -FS_IOC_SETFSLABEL = 1090556978 FUTEX_CMP_REQUEUE = 4 FUTEX_REQUEUE = 3 FUTEX_WAIT = 0 diff --git a/sys/linux/sys_ppc64le.const b/sys/linux/sys_ppc64le.const index 437292dce..ba749f663 100644 --- a/sys/linux/sys_ppc64le.const +++ b/sys/linux/sys_ppc64le.const @@ -98,10 +98,6 @@ FAN_UNLIMITED_MARKS = 32 FAN_UNLIMITED_QUEUE = 16 FASYNC = 8192 FD_CLOEXEC = 1 -FIBMAP = 536870913 -FICLONE = 2147783689 -FICLONERANGE = 2149618701 -FIDEDUPERANGE = 3222836278 FIEMAP_EXTENT_DATA_ENCRYPTED = 128 FIEMAP_EXTENT_DATA_INLINE = 512 FIEMAP_EXTENT_DATA_TAIL = 1024 @@ -124,13 +120,6 @@ FIONBIO = 2147772030 FIONCLEX = 536897026 FIOQSIZE = 1074292352 FITHAW = 3221510264 -FSLABEL_MAX = 256 -FS_IOC_FIEMAP = 3223348747 -FS_IOC_FSGETXATTR = 1075599391 -FS_IOC_FSSETXATTR = 2149341216 -FS_IOC_GETFSLABEL = 1090556977 -FS_IOC_RESVSP = 2150651944 -FS_IOC_SETFSLABEL = 2164298802 FUTEX_CMP_REQUEUE = 4 FUTEX_REQUEUE = 3 FUTEX_WAIT = 0 diff --git a/sys/linux/xattr.txt b/sys/linux/xattr.txt index 2b978a77b..9684d6773 100644 --- a/sys/linux/xattr.txt +++ b/sys/linux/xattr.txt @@ -30,4 +30,5 @@ setxattr_flags = XATTR_CREATE, XATTR_REPLACE xattr_prefix = "system.", "trusted.", "security.", "user.", "btrfs.", "osx.", "os2." -xattr_names = "system.posix_acl_access", "system.posix_acl_default", "system.advise", "system.sockprotoname", "com.apple.FinderInfo", "com.apple.system.Security", "user.syz", "trusted.syz", "security.evm", "security.ima", "security.selinux", "security.capability" +# TODO: specify meaningful values for known attributes, for example, the only meaninful value for "trusted.overlay.origin" is "y". +xattr_names = "system.posix_acl_access", "system.posix_acl_default", "system.advise", "system.sockprotoname", "com.apple.FinderInfo", "com.apple.system.Security", "user.syz", "trusted.syz", "security.evm", "security.ima", "security.selinux", "security.capability", "trusted.overlay.opaque", "trusted.overlay.redirect", "trusted.overlay.origin", "trusted.overlay.impure", "trusted.overlay.nlink", "trusted.overlay.upper", "trusted.overlay.metacopy" |
