aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-05-10 15:21:16 +0200
committerDmitry Vyukov <dvyukov@google.com>2019-05-10 15:21:16 +0200
commit16c44697b51f97b1dc98f34cad47ca041b628a81 (patch)
tree154abb7a8c406a84533d762863cd44c6c1a61f91 /sys/linux
parentcfeec859376ebc8256540f14226b0620bf842fc1 (diff)
sys/linux: add definitions of fsopen, fspick, fsconfig, fsmount, move_mount syscalls
Diffstat (limited to 'sys/linux')
-rw-r--r--sys/linux/filesystem.txt23
-rw-r--r--sys/linux/filesystem_386.const28
-rw-r--r--sys/linux/filesystem_amd64.const28
-rw-r--r--sys/linux/filesystem_arm.const28
-rw-r--r--sys/linux/filesystem_arm64.const28
-rw-r--r--sys/linux/filesystem_ppc64le.const28
-rw-r--r--sys/linux/gen/386.go111
-rw-r--r--sys/linux/gen/amd64.go111
-rw-r--r--sys/linux/gen/arm.go25
-rw-r--r--sys/linux/gen/arm64.go25
-rw-r--r--sys/linux/gen/ppc64le.go25
11 files changed, 452 insertions, 8 deletions
diff --git a/sys/linux/filesystem.txt b/sys/linux/filesystem.txt
index 7ac7977b4..3e5f1122b 100644
--- a/sys/linux/filesystem.txt
+++ b/sys/linux/filesystem.txt
@@ -11,9 +11,30 @@ 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]])
-open_tree(dfd fd_dir[opt], filename ptr[in, filename], flags flags[open_tree_flags])
+resource fd_fscontext[fd]
+resource fd_open_tree[fd]
+
+fsopen(type ptr[in, string[filesystem]], flags flags[fsopen_flags]) fd_fscontext
+fspick(dfd fd_dir[opt], path ptr[in, filename], flags flags[fspick_flags]) fd_fscontext
+fsconfig$FSCONFIG_SET_FLAG(fd fd_fscontext, cmd const[FSCONFIG_SET_FLAG], key ptr[in, string[fsconfig_flag_params]], value const[0], aux const[0])
+fsconfig$FSCONFIG_SET_STRING(fd fd_fscontext, cmd const[FSCONFIG_SET_STRING], key ptr[in, string], value ptr[in, string], aux const[0])
+fsconfig$FSCONFIG_SET_BINARY(fd fd_fscontext, cmd const[FSCONFIG_SET_BINARY], key ptr[in, string], value ptr[in, array[int8]], aux bytesize[value])
+fsconfig$FSCONFIG_SET_PATH(fd fd_fscontext, cmd const[FSCONFIG_SET_PATH], key ptr[in, string], value ptr[in, filename], aux fd_dir[opt])
+fsconfig$FSCONFIG_SET_PATH_EMPTY(fd fd_fscontext, cmd const[FSCONFIG_SET_PATH_EMPTY], key ptr[in, string], value ptr[in, filename], aux fd_dir[opt])
+fsconfig$FSCONFIG_SET_FD(fd fd_fscontext, cmd const[FSCONFIG_SET_FD], key ptr[in, string], value const[0], aux fd)
+fsconfig$FSCONFIG_CMD_CREATE(fd fd_fscontext, cmd const[FSCONFIG_CMD_CREATE], key const[0], value const[0], aux const[0])
+fsconfig$FSCONFIG_CMD_RECONFIGURE(fd fd_fscontext, cmd const[FSCONFIG_CMD_RECONFIGURE], key const[0], value const[0], aux const[0])
+fsmount(fs_fd fd_fscontext, flags flags[fsmount_flags], attr_flags flags[fsmount_attr_flags]) fd_open_tree
+move_mount(from_dfd fd_dir[opt], from_pathname ptr[in, filename], to_dfd fd_dir[opt], to_pathname ptr[in, filename], flags flags[move_mount_flags])
+open_tree(dfd fd_dir[opt], filename ptr[in, filename], flags flags[open_tree_flags]) fd_open_tree
open_tree_flags = AT_EMPTY_PATH, AT_NO_AUTOMOUNT, AT_RECURSIVE, AT_SYMLINK_NOFOLLOW, OPEN_TREE_CLONE, OPEN_TREE_CLOEXEC
+fsmount_flags = FSMOUNT_CLOEXEC
+fsopen_flags = FSOPEN_CLOEXEC
+fspick_flags = FSPICK_CLOEXEC
+fsmount_attr_flags = MOUNT_ATTR_RDONLY, MOUNT_ATTR_NOSUID, MOUNT_ATTR_NODEV, MOUNT_ATTR_NOEXEC, MOUNT_ATTR__ATIME, MOUNT_ATTR_NODIRATIME
+move_mount_flags = MOVE_MOUNT_F_SYMLINKS, MOVE_MOUNT_F_AUTOMOUNTS, MOVE_MOUNT_F_EMPTY_PATH, MOVE_MOUNT_T_SYMLINKS, MOVE_MOUNT_T_AUTOMOUNTS, MOVE_MOUNT_T_EMPTY_PATH
+fsconfig_flag_params = "dirsync", "lazytime", "mand", "posixacl", "ro", "sync", "async", "nolazytime", "nomand", "rw", "silent"
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", "dax", "erofs"
diff --git a/sys/linux/filesystem_386.const b/sys/linux/filesystem_386.const
index 0d949e8a0..889dac08a 100644
--- a/sys/linux/filesystem_386.const
+++ b/sys/linux/filesystem_386.const
@@ -3,9 +3,32 @@ AT_EMPTY_PATH = 4096
AT_NO_AUTOMOUNT = 2048
AT_RECURSIVE = 32768
AT_SYMLINK_NOFOLLOW = 256
+FSCONFIG_CMD_CREATE = 6
+FSCONFIG_CMD_RECONFIGURE = 7
+FSCONFIG_SET_BINARY = 2
+FSCONFIG_SET_FD = 5
+FSCONFIG_SET_FLAG = 0
+FSCONFIG_SET_PATH = 3
+FSCONFIG_SET_PATH_EMPTY = 4
+FSCONFIG_SET_STRING = 1
+FSMOUNT_CLOEXEC = 1
+FSOPEN_CLOEXEC = 1
+FSPICK_CLOEXEC = 1
MNT_DETACH = 2
MNT_EXPIRE = 4
MNT_FORCE = 1
+MOUNT_ATTR_NODEV = 4
+MOUNT_ATTR_NODIRATIME = 128
+MOUNT_ATTR_NOEXEC = 8
+MOUNT_ATTR_NOSUID = 2
+MOUNT_ATTR_RDONLY = 1
+MOUNT_ATTR__ATIME = 112
+MOVE_MOUNT_F_AUTOMOUNTS = 2
+MOVE_MOUNT_F_EMPTY_PATH = 4
+MOVE_MOUNT_F_SYMLINKS = 1
+MOVE_MOUNT_T_AUTOMOUNTS = 32
+MOVE_MOUNT_T_EMPTY_PATH = 64
+MOVE_MOUNT_T_SYMLINKS = 16
MS_BIND = 4096
MS_DIRSYNC = 128
MS_I_VERSION = 8388608
@@ -32,6 +55,11 @@ MS_UNBINDABLE = 131072
OPEN_TREE_CLOEXEC = 524288
OPEN_TREE_CLONE = 1
UMOUNT_NOFOLLOW = 8
+__NR_fsconfig = 390
+__NR_fsmount = 391
+__NR_fsopen = 389
+__NR_fspick = 392
__NR_mount = 21
+__NR_move_mount = 388
__NR_open_tree = 387
__NR_umount2 = 52
diff --git a/sys/linux/filesystem_amd64.const b/sys/linux/filesystem_amd64.const
index 1f7904da3..5136b327a 100644
--- a/sys/linux/filesystem_amd64.const
+++ b/sys/linux/filesystem_amd64.const
@@ -3,9 +3,32 @@ AT_EMPTY_PATH = 4096
AT_NO_AUTOMOUNT = 2048
AT_RECURSIVE = 32768
AT_SYMLINK_NOFOLLOW = 256
+FSCONFIG_CMD_CREATE = 6
+FSCONFIG_CMD_RECONFIGURE = 7
+FSCONFIG_SET_BINARY = 2
+FSCONFIG_SET_FD = 5
+FSCONFIG_SET_FLAG = 0
+FSCONFIG_SET_PATH = 3
+FSCONFIG_SET_PATH_EMPTY = 4
+FSCONFIG_SET_STRING = 1
+FSMOUNT_CLOEXEC = 1
+FSOPEN_CLOEXEC = 1
+FSPICK_CLOEXEC = 1
MNT_DETACH = 2
MNT_EXPIRE = 4
MNT_FORCE = 1
+MOUNT_ATTR_NODEV = 4
+MOUNT_ATTR_NODIRATIME = 128
+MOUNT_ATTR_NOEXEC = 8
+MOUNT_ATTR_NOSUID = 2
+MOUNT_ATTR_RDONLY = 1
+MOUNT_ATTR__ATIME = 112
+MOVE_MOUNT_F_AUTOMOUNTS = 2
+MOVE_MOUNT_F_EMPTY_PATH = 4
+MOVE_MOUNT_F_SYMLINKS = 1
+MOVE_MOUNT_T_AUTOMOUNTS = 32
+MOVE_MOUNT_T_EMPTY_PATH = 64
+MOVE_MOUNT_T_SYMLINKS = 16
MS_BIND = 4096
MS_DIRSYNC = 128
MS_I_VERSION = 8388608
@@ -32,6 +55,11 @@ MS_UNBINDABLE = 131072
OPEN_TREE_CLOEXEC = 524288
OPEN_TREE_CLONE = 1
UMOUNT_NOFOLLOW = 8
+__NR_fsconfig = 338
+__NR_fsmount = 339
+__NR_fsopen = 337
+__NR_fspick = 340
__NR_mount = 165
+__NR_move_mount = 336
__NR_open_tree = 335
__NR_umount2 = 166
diff --git a/sys/linux/filesystem_arm.const b/sys/linux/filesystem_arm.const
index 1d00c0693..ed696a08b 100644
--- a/sys/linux/filesystem_arm.const
+++ b/sys/linux/filesystem_arm.const
@@ -3,9 +3,32 @@ AT_EMPTY_PATH = 4096
AT_NO_AUTOMOUNT = 2048
AT_RECURSIVE = 32768
AT_SYMLINK_NOFOLLOW = 256
+FSCONFIG_CMD_CREATE = 6
+FSCONFIG_CMD_RECONFIGURE = 7
+FSCONFIG_SET_BINARY = 2
+FSCONFIG_SET_FD = 5
+FSCONFIG_SET_FLAG = 0
+FSCONFIG_SET_PATH = 3
+FSCONFIG_SET_PATH_EMPTY = 4
+FSCONFIG_SET_STRING = 1
+FSMOUNT_CLOEXEC = 1
+FSOPEN_CLOEXEC = 1
+FSPICK_CLOEXEC = 1
MNT_DETACH = 2
MNT_EXPIRE = 4
MNT_FORCE = 1
+MOUNT_ATTR_NODEV = 4
+MOUNT_ATTR_NODIRATIME = 128
+MOUNT_ATTR_NOEXEC = 8
+MOUNT_ATTR_NOSUID = 2
+MOUNT_ATTR_RDONLY = 1
+MOUNT_ATTR__ATIME = 112
+MOVE_MOUNT_F_AUTOMOUNTS = 2
+MOVE_MOUNT_F_EMPTY_PATH = 4
+MOVE_MOUNT_F_SYMLINKS = 1
+MOVE_MOUNT_T_AUTOMOUNTS = 32
+MOVE_MOUNT_T_EMPTY_PATH = 64
+MOVE_MOUNT_T_SYMLINKS = 16
MS_BIND = 4096
MS_DIRSYNC = 128
MS_I_VERSION = 8388608
@@ -32,6 +55,11 @@ MS_UNBINDABLE = 131072
OPEN_TREE_CLOEXEC = 524288
OPEN_TREE_CLONE = 1
UMOUNT_NOFOLLOW = 8
+# __NR_fsconfig is not set
+# __NR_fsmount is not set
+# __NR_fsopen is not set
+# __NR_fspick is not set
__NR_mount = 21
+# __NR_move_mount is not set
# __NR_open_tree is not set
__NR_umount2 = 52
diff --git a/sys/linux/filesystem_arm64.const b/sys/linux/filesystem_arm64.const
index 827bbe51b..dba809cab 100644
--- a/sys/linux/filesystem_arm64.const
+++ b/sys/linux/filesystem_arm64.const
@@ -3,9 +3,32 @@ AT_EMPTY_PATH = 4096
AT_NO_AUTOMOUNT = 2048
AT_RECURSIVE = 32768
AT_SYMLINK_NOFOLLOW = 256
+FSCONFIG_CMD_CREATE = 6
+FSCONFIG_CMD_RECONFIGURE = 7
+FSCONFIG_SET_BINARY = 2
+FSCONFIG_SET_FD = 5
+FSCONFIG_SET_FLAG = 0
+FSCONFIG_SET_PATH = 3
+FSCONFIG_SET_PATH_EMPTY = 4
+FSCONFIG_SET_STRING = 1
+FSMOUNT_CLOEXEC = 1
+FSOPEN_CLOEXEC = 1
+FSPICK_CLOEXEC = 1
MNT_DETACH = 2
MNT_EXPIRE = 4
MNT_FORCE = 1
+MOUNT_ATTR_NODEV = 4
+MOUNT_ATTR_NODIRATIME = 128
+MOUNT_ATTR_NOEXEC = 8
+MOUNT_ATTR_NOSUID = 2
+MOUNT_ATTR_RDONLY = 1
+MOUNT_ATTR__ATIME = 112
+MOVE_MOUNT_F_AUTOMOUNTS = 2
+MOVE_MOUNT_F_EMPTY_PATH = 4
+MOVE_MOUNT_F_SYMLINKS = 1
+MOVE_MOUNT_T_AUTOMOUNTS = 32
+MOVE_MOUNT_T_EMPTY_PATH = 64
+MOVE_MOUNT_T_SYMLINKS = 16
MS_BIND = 4096
MS_DIRSYNC = 128
MS_I_VERSION = 8388608
@@ -32,6 +55,11 @@ MS_UNBINDABLE = 131072
OPEN_TREE_CLOEXEC = 524288
OPEN_TREE_CLONE = 1
UMOUNT_NOFOLLOW = 8
+# __NR_fsconfig is not set
+# __NR_fsmount is not set
+# __NR_fsopen is not set
+# __NR_fspick is not set
__NR_mount = 40
+# __NR_move_mount is not set
# __NR_open_tree is not set
__NR_umount2 = 39
diff --git a/sys/linux/filesystem_ppc64le.const b/sys/linux/filesystem_ppc64le.const
index 1d00c0693..ed696a08b 100644
--- a/sys/linux/filesystem_ppc64le.const
+++ b/sys/linux/filesystem_ppc64le.const
@@ -3,9 +3,32 @@ AT_EMPTY_PATH = 4096
AT_NO_AUTOMOUNT = 2048
AT_RECURSIVE = 32768
AT_SYMLINK_NOFOLLOW = 256
+FSCONFIG_CMD_CREATE = 6
+FSCONFIG_CMD_RECONFIGURE = 7
+FSCONFIG_SET_BINARY = 2
+FSCONFIG_SET_FD = 5
+FSCONFIG_SET_FLAG = 0
+FSCONFIG_SET_PATH = 3
+FSCONFIG_SET_PATH_EMPTY = 4
+FSCONFIG_SET_STRING = 1
+FSMOUNT_CLOEXEC = 1
+FSOPEN_CLOEXEC = 1
+FSPICK_CLOEXEC = 1
MNT_DETACH = 2
MNT_EXPIRE = 4
MNT_FORCE = 1
+MOUNT_ATTR_NODEV = 4
+MOUNT_ATTR_NODIRATIME = 128
+MOUNT_ATTR_NOEXEC = 8
+MOUNT_ATTR_NOSUID = 2
+MOUNT_ATTR_RDONLY = 1
+MOUNT_ATTR__ATIME = 112
+MOVE_MOUNT_F_AUTOMOUNTS = 2
+MOVE_MOUNT_F_EMPTY_PATH = 4
+MOVE_MOUNT_F_SYMLINKS = 1
+MOVE_MOUNT_T_AUTOMOUNTS = 32
+MOVE_MOUNT_T_EMPTY_PATH = 64
+MOVE_MOUNT_T_SYMLINKS = 16
MS_BIND = 4096
MS_DIRSYNC = 128
MS_I_VERSION = 8388608
@@ -32,6 +55,11 @@ MS_UNBINDABLE = 131072
OPEN_TREE_CLOEXEC = 524288
OPEN_TREE_CLONE = 1
UMOUNT_NOFOLLOW = 8
+# __NR_fsconfig is not set
+# __NR_fsmount is not set
+# __NR_fsopen is not set
+# __NR_fspick is not set
__NR_mount = 21
+# __NR_move_mount is not set
# __NR_open_tree is not set
__NR_umount2 = 52
diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go
index e76aab6a6..4d618b00e 100644
--- a/sys/linux/gen/386.go
+++ b/sys/linux/gen/386.go
@@ -48,6 +48,7 @@ var resources_386 = []*ResourceDesc{
{Name: "fd_event", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_event"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "fd_fanotify", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_fanotify"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "fd_floppy", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_floppy"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
+ {Name: "fd_fscontext", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_fscontext"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "fd_fuse", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_fuse"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "fd_i2c", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_i2c"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "fd_inotify", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_inotify"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
@@ -66,6 +67,7 @@ var resources_386 = []*ResourceDesc{
{Name: "fd_mq", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_mq"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "fd_namespace", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_namespace"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "fd_nbd", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_block_trace", "fd_block", "fd_nbd"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
+ {Name: "fd_open_tree", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_open_tree"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "fd_perf", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base", "fd_perf"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "fd_perf_base", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "fd_pidfd", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_pidfd"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
@@ -29456,6 +29458,62 @@ var syscalls_386 = []*Syscall{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "xattr_name"}}},
}},
+ {NR: 390, Name: "fsconfig$FSCONFIG_CMD_CREATE", CallName: "fsconfig", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 6},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "key", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "value", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aux", TypeSize: 4}}},
+ }},
+ {NR: 390, Name: "fsconfig$FSCONFIG_CMD_RECONFIGURE", CallName: "fsconfig", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 7},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "key", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "value", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aux", TypeSize: 4}}},
+ }},
+ {NR: 390, Name: "fsconfig$FSCONFIG_SET_BINARY", CallName: "fsconfig", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "value", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "aux", TypeSize: 4}}, BitSize: 8, Buf: "value"},
+ }},
+ {NR: 390, Name: "fsconfig$FSCONFIG_SET_FD", CallName: "fsconfig", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 5},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "value", TypeSize: 4}}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "aux", TypeSize: 4}},
+ }},
+ {NR: 390, Name: "fsconfig$FSCONFIG_SET_FLAG", CallName: "fsconfig", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2, SubKind: "fsconfig_flag_params", Values: []string{"dirsync\x00", "lazytime\x00", "mand\x00", "posixacl\x00", "ro\x00", "sync\x00", "async\x00", "nolazytime\x00", "nomand\x00", "rw\x00", "silent\x00"}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "value", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aux", TypeSize: 4}}},
+ }},
+ {NR: 390, Name: "fsconfig$FSCONFIG_SET_PATH", CallName: "fsconfig", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "value", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "aux", TypeSize: 4, IsOptional: true}},
+ }},
+ {NR: 390, Name: "fsconfig$FSCONFIG_SET_PATH_EMPTY", CallName: "fsconfig", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 4},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "value", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "aux", TypeSize: 4, IsOptional: true}},
+ }},
+ {NR: 390, Name: "fsconfig$FSCONFIG_SET_STRING", CallName: "fsconfig", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "value", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aux", TypeSize: 4}}},
+ }},
{NR: 228, Name: "fsetxattr", CallName: "fsetxattr", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "xattr_name"}}},
@@ -29547,6 +29605,20 @@ var syscalls_386 = []*Syscall{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 4}}, Buf: "val"},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "setxattr_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2}, BitMask: true},
}},
+ {NR: 391, Name: "fsmount", CallName: "fsmount", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fs_fd", TypeSize: 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fsmount_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1}, BitMask: true},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fsmount_attr_flags", FldName: "attr_flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 112, 128}, BitMask: true},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_open_tree", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
+ {NR: 389, Name: "fsopen", CallName: "fsopen", Args: []Type{
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "type", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2, SubKind: "filesystem", Values: []string{"sysfs\x00", "rootfs\x00", "ramfs\x00", "tmpfs\x00", "devtmpfs\x00", "debugfs\x00", "securityfs\x00", "sockfs\x00", "pipefs\x00", "anon_inodefs\x00", "devpts\x00", "ext3\x00", "ext2\x00", "ext4\x00", "hugetlbfs\x00", "vfat\x00", "ecryptfs\x00", "fuseblk\x00", "fuse\x00", "rpc_pipefs\x00", "nfs\x00", "nfs4\x00", "nfsd\x00", "binfmt_misc\x00", "autofs\x00", "xfs\x00", "jfs\x00", "msdos\x00", "ntfs\x00", "minix\x00", "hfs\x00", "hfsplus\x00", "qnx4\x00", "ufs\x00", "btrfs\x00", "configfs\x00", "ncpfs\x00", "qnx6\x00", "exofs\x00", "befs\x00", "vxfs\x00", "gfs2\x00", "gfs2meta\x00", "fusectl\x00", "bfs\x00", "nsfs\x00", "efs\x00", "cifs\x00", "efivarfs\x00", "affs\x00", "tracefs\x00", "bdev\x00", "ocfs2\x00", "ocfs2_dlmfs\x00", "hpfs\x00", "proc\x00", "afs\x00", "reiserfs\x00", "jffs2\x00", "romfs\x00", "aio\x00", "sysv\x00", "v7\x00", "udf\x00", "ceph\x00", "pstore\x00", "adfs\x00", "9p\x00", "hostfs\x00", "squashfs\x00", "cramfs\x00", "iso9660\x00", "coda\x00", "nilfs2\x00", "logfs\x00", "overlay\x00", "f2fs\x00", "omfs\x00", "ubifs\x00", "openpromfs\x00", "bpf\x00", "cgroup\x00", "cgroup2\x00", "cpuset\x00", "mqueue\x00", "aufs\x00", "selinuxfs\x00", "dax\x00", "erofs\x00"}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fsopen_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1}, BitMask: true},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
+ {NR: 392, Name: "fspick", CallName: "fspick", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "dfd", TypeSize: 4, IsOptional: true}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "path", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fspick_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1}, BitMask: true},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 108, Name: "fstat", CallName: "fstat", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "statbuf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "stat", Dir: 1}}},
@@ -36757,6 +36829,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: "fs_options[overlay_options]"}}},
}},
+ {NR: 388, Name: "move_mount", CallName: "move_mount", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "from_dfd", TypeSize: 4, IsOptional: true}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "from_pathname", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "to_dfd", TypeSize: 4, IsOptional: true}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "to_pathname", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "move_mount_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 16, 32, 64}, BitMask: true},
+ }},
{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"},
@@ -36903,7 +36982,7 @@ var syscalls_386 = []*Syscall{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "dfd", TypeSize: 4, IsOptional: true}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "filename", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_tree_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{4096, 2048, 32768, 256, 1, 524288}, BitMask: true},
- }},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_open_tree", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 295, Name: "openat", CallName: "openat", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "fd", TypeSize: 4, IsOptional: true}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
@@ -44374,8 +44453,19 @@ var consts_386 = []ConstValue{
{Name: "FR_ACT_TO_TBL", Value: 1},
{Name: "FR_ACT_UNREACHABLE", Value: 7},
{Name: "FR_ACT_UNSPEC"},
+ {Name: "FSCONFIG_CMD_CREATE", Value: 6},
+ {Name: "FSCONFIG_CMD_RECONFIGURE", Value: 7},
+ {Name: "FSCONFIG_SET_BINARY", Value: 2},
+ {Name: "FSCONFIG_SET_FD", Value: 5},
+ {Name: "FSCONFIG_SET_FLAG"},
+ {Name: "FSCONFIG_SET_PATH", Value: 3},
+ {Name: "FSCONFIG_SET_PATH_EMPTY", Value: 4},
+ {Name: "FSCONFIG_SET_STRING", Value: 1},
{Name: "FSLABEL_MAX", Value: 256},
{Name: "FSMAP_SIZE", Value: 64},
+ {Name: "FSMOUNT_CLOEXEC", Value: 1},
+ {Name: "FSOPEN_CLOEXEC", Value: 1},
+ {Name: "FSPICK_CLOEXEC", Value: 1},
{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},
@@ -46139,6 +46229,18 @@ var consts_386 = []ConstValue{
{Name: "MNT_FORCE", Value: 1},
{Name: "MODULE_INIT_IGNORE_MODVERSIONS", Value: 1},
{Name: "MODULE_INIT_IGNORE_VERMAGIC", Value: 2},
+ {Name: "MOUNT_ATTR_NODEV", Value: 4},
+ {Name: "MOUNT_ATTR_NODIRATIME", Value: 128},
+ {Name: "MOUNT_ATTR_NOEXEC", Value: 8},
+ {Name: "MOUNT_ATTR_NOSUID", Value: 2},
+ {Name: "MOUNT_ATTR_RDONLY", Value: 1},
+ {Name: "MOUNT_ATTR__ATIME", Value: 112},
+ {Name: "MOVE_MOUNT_F_AUTOMOUNTS", Value: 2},
+ {Name: "MOVE_MOUNT_F_EMPTY_PATH", Value: 4},
+ {Name: "MOVE_MOUNT_F_SYMLINKS", Value: 1},
+ {Name: "MOVE_MOUNT_T_AUTOMOUNTS", Value: 32},
+ {Name: "MOVE_MOUNT_T_EMPTY_PATH", Value: 64},
+ {Name: "MOVE_MOUNT_T_SYMLINKS", Value: 16},
{Name: "MPOL_BIND", Value: 2},
{Name: "MPOL_DEFAULT"},
{Name: "MPOL_F_ADDR", Value: 2},
@@ -50462,7 +50564,11 @@ var consts_386 = []ConstValue{
{Name: "__NR_flistxattr", Value: 234},
{Name: "__NR_flock", Value: 143},
{Name: "__NR_fremovexattr", Value: 237},
+ {Name: "__NR_fsconfig", Value: 390},
{Name: "__NR_fsetxattr", Value: 228},
+ {Name: "__NR_fsmount", Value: 391},
+ {Name: "__NR_fsopen", Value: 389},
+ {Name: "__NR_fspick", Value: 392},
{Name: "__NR_fstat", Value: 108},
{Name: "__NR_fstatfs", Value: 100},
{Name: "__NR_fsync", Value: 118},
@@ -50546,6 +50652,7 @@ var consts_386 = []ConstValue{
{Name: "__NR_mmap2", Value: 192},
{Name: "__NR_modify_ldt", Value: 123},
{Name: "__NR_mount", Value: 21},
+ {Name: "__NR_move_mount", Value: 388},
{Name: "__NR_move_pages", Value: 317},
{Name: "__NR_mprotect", Value: 125},
{Name: "__NR_mq_getsetattr", Value: 282},
@@ -50717,4 +50824,4 @@ var consts_386 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_386 = "19906cc36b653ddd8259185c6cd75a42d976a61e"
+const revision_386 = "2a310072609dd2e6ae7b07282877fd2cf31ef04b"
diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go
index 0eb9f7256..14ffbed2b 100644
--- a/sys/linux/gen/amd64.go
+++ b/sys/linux/gen/amd64.go
@@ -48,6 +48,7 @@ var resources_amd64 = []*ResourceDesc{
{Name: "fd_event", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_event"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "fd_fanotify", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_fanotify"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "fd_floppy", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_floppy"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
+ {Name: "fd_fscontext", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_fscontext"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "fd_fuse", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_fuse"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "fd_i2c", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_i2c"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "fd_inotify", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_inotify"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
@@ -66,6 +67,7 @@ var resources_amd64 = []*ResourceDesc{
{Name: "fd_mq", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_mq"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "fd_namespace", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_namespace"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "fd_nbd", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_block_trace", "fd_block", "fd_nbd"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
+ {Name: "fd_open_tree", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_open_tree"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "fd_perf", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base", "fd_perf"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "fd_perf_base", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "fd_pidfd", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_pidfd"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
@@ -29938,6 +29940,62 @@ var syscalls_amd64 = []*Syscall{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "xattr_name"}}},
}},
+ {NR: 338, Name: "fsconfig$FSCONFIG_CMD_CREATE", CallName: "fsconfig", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 6},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "key", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "value", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aux", TypeSize: 8}}},
+ }},
+ {NR: 338, Name: "fsconfig$FSCONFIG_CMD_RECONFIGURE", CallName: "fsconfig", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 7},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "key", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "value", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aux", TypeSize: 8}}},
+ }},
+ {NR: 338, Name: "fsconfig$FSCONFIG_SET_BINARY", CallName: "fsconfig", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "value", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "aux", TypeSize: 8}}, BitSize: 8, Buf: "value"},
+ }},
+ {NR: 338, Name: "fsconfig$FSCONFIG_SET_FD", CallName: "fsconfig", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 5},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "value", TypeSize: 8}}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "aux", TypeSize: 4}},
+ }},
+ {NR: 338, Name: "fsconfig$FSCONFIG_SET_FLAG", CallName: "fsconfig", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2, SubKind: "fsconfig_flag_params", Values: []string{"dirsync\x00", "lazytime\x00", "mand\x00", "posixacl\x00", "ro\x00", "sync\x00", "async\x00", "nolazytime\x00", "nomand\x00", "rw\x00", "silent\x00"}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "value", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aux", TypeSize: 8}}},
+ }},
+ {NR: 338, Name: "fsconfig$FSCONFIG_SET_PATH", CallName: "fsconfig", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "value", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "aux", TypeSize: 4, IsOptional: true}},
+ }},
+ {NR: 338, Name: "fsconfig$FSCONFIG_SET_PATH_EMPTY", CallName: "fsconfig", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 4},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "value", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "aux", TypeSize: 4, IsOptional: true}},
+ }},
+ {NR: 338, Name: "fsconfig$FSCONFIG_SET_STRING", CallName: "fsconfig", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "value", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aux", TypeSize: 8}}},
+ }},
{NR: 190, Name: "fsetxattr", CallName: "fsetxattr", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "xattr_name"}}},
@@ -30029,6 +30087,20 @@ var syscalls_amd64 = []*Syscall{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Buf: "val"},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "setxattr_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1, 2}, BitMask: true},
}},
+ {NR: 339, Name: "fsmount", CallName: "fsmount", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fs_fd", TypeSize: 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fsmount_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1}, BitMask: true},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fsmount_attr_flags", FldName: "attr_flags", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 112, 128}, BitMask: true},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_open_tree", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
+ {NR: 337, Name: "fsopen", CallName: "fsopen", Args: []Type{
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "type", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2, SubKind: "filesystem", Values: []string{"sysfs\x00", "rootfs\x00", "ramfs\x00", "tmpfs\x00", "devtmpfs\x00", "debugfs\x00", "securityfs\x00", "sockfs\x00", "pipefs\x00", "anon_inodefs\x00", "devpts\x00", "ext3\x00", "ext2\x00", "ext4\x00", "hugetlbfs\x00", "vfat\x00", "ecryptfs\x00", "fuseblk\x00", "fuse\x00", "rpc_pipefs\x00", "nfs\x00", "nfs4\x00", "nfsd\x00", "binfmt_misc\x00", "autofs\x00", "xfs\x00", "jfs\x00", "msdos\x00", "ntfs\x00", "minix\x00", "hfs\x00", "hfsplus\x00", "qnx4\x00", "ufs\x00", "btrfs\x00", "configfs\x00", "ncpfs\x00", "qnx6\x00", "exofs\x00", "befs\x00", "vxfs\x00", "gfs2\x00", "gfs2meta\x00", "fusectl\x00", "bfs\x00", "nsfs\x00", "efs\x00", "cifs\x00", "efivarfs\x00", "affs\x00", "tracefs\x00", "bdev\x00", "ocfs2\x00", "ocfs2_dlmfs\x00", "hpfs\x00", "proc\x00", "afs\x00", "reiserfs\x00", "jffs2\x00", "romfs\x00", "aio\x00", "sysv\x00", "v7\x00", "udf\x00", "ceph\x00", "pstore\x00", "adfs\x00", "9p\x00", "hostfs\x00", "squashfs\x00", "cramfs\x00", "iso9660\x00", "coda\x00", "nilfs2\x00", "logfs\x00", "overlay\x00", "f2fs\x00", "omfs\x00", "ubifs\x00", "openpromfs\x00", "bpf\x00", "cgroup\x00", "cgroup2\x00", "cpuset\x00", "mqueue\x00", "aufs\x00", "selinuxfs\x00", "dax\x00", "erofs\x00"}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fsopen_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1}, BitMask: true},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
+ {NR: 340, Name: "fspick", CallName: "fspick", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "dfd", TypeSize: 4, IsOptional: true}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "path", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fspick_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1}, BitMask: true},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 5, Name: "fstat", CallName: "fstat", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "statbuf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "stat", Dir: 1}}},
@@ -37259,6 +37331,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: "fs_options[overlay_options]"}}},
}},
+ {NR: 336, Name: "move_mount", CallName: "move_mount", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "from_dfd", TypeSize: 4, IsOptional: true}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "from_pathname", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "to_dfd", TypeSize: 4, IsOptional: true}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "to_pathname", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "move_mount_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 16, 32, 64}, BitMask: true},
+ }},
{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"},
@@ -37405,7 +37484,7 @@ var syscalls_amd64 = []*Syscall{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "dfd", TypeSize: 4, IsOptional: true}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "filename", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_tree_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{4096, 2048, 32768, 256, 1, 524288}, BitMask: true},
- }},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_open_tree", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 257, Name: "openat", CallName: "openat", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "fd", TypeSize: 4, IsOptional: true}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
@@ -44881,8 +44960,19 @@ var consts_amd64 = []ConstValue{
{Name: "FR_ACT_TO_TBL", Value: 1},
{Name: "FR_ACT_UNREACHABLE", Value: 7},
{Name: "FR_ACT_UNSPEC"},
+ {Name: "FSCONFIG_CMD_CREATE", Value: 6},
+ {Name: "FSCONFIG_CMD_RECONFIGURE", Value: 7},
+ {Name: "FSCONFIG_SET_BINARY", Value: 2},
+ {Name: "FSCONFIG_SET_FD", Value: 5},
+ {Name: "FSCONFIG_SET_FLAG"},
+ {Name: "FSCONFIG_SET_PATH", Value: 3},
+ {Name: "FSCONFIG_SET_PATH_EMPTY", Value: 4},
+ {Name: "FSCONFIG_SET_STRING", Value: 1},
{Name: "FSLABEL_MAX", Value: 256},
{Name: "FSMAP_SIZE", Value: 64},
+ {Name: "FSMOUNT_CLOEXEC", Value: 1},
+ {Name: "FSOPEN_CLOEXEC", Value: 1},
+ {Name: "FSPICK_CLOEXEC", Value: 1},
{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},
@@ -46646,6 +46736,18 @@ var consts_amd64 = []ConstValue{
{Name: "MNT_FORCE", Value: 1},
{Name: "MODULE_INIT_IGNORE_MODVERSIONS", Value: 1},
{Name: "MODULE_INIT_IGNORE_VERMAGIC", Value: 2},
+ {Name: "MOUNT_ATTR_NODEV", Value: 4},
+ {Name: "MOUNT_ATTR_NODIRATIME", Value: 128},
+ {Name: "MOUNT_ATTR_NOEXEC", Value: 8},
+ {Name: "MOUNT_ATTR_NOSUID", Value: 2},
+ {Name: "MOUNT_ATTR_RDONLY", Value: 1},
+ {Name: "MOUNT_ATTR__ATIME", Value: 112},
+ {Name: "MOVE_MOUNT_F_AUTOMOUNTS", Value: 2},
+ {Name: "MOVE_MOUNT_F_EMPTY_PATH", Value: 4},
+ {Name: "MOVE_MOUNT_F_SYMLINKS", Value: 1},
+ {Name: "MOVE_MOUNT_T_AUTOMOUNTS", Value: 32},
+ {Name: "MOVE_MOUNT_T_EMPTY_PATH", Value: 64},
+ {Name: "MOVE_MOUNT_T_SYMLINKS", Value: 16},
{Name: "MPOL_BIND", Value: 2},
{Name: "MPOL_DEFAULT"},
{Name: "MPOL_F_ADDR", Value: 2},
@@ -50984,7 +51086,11 @@ var consts_amd64 = []ConstValue{
{Name: "__NR_flistxattr", Value: 196},
{Name: "__NR_flock", Value: 73},
{Name: "__NR_fremovexattr", Value: 199},
+ {Name: "__NR_fsconfig", Value: 338},
{Name: "__NR_fsetxattr", Value: 190},
+ {Name: "__NR_fsmount", Value: 339},
+ {Name: "__NR_fsopen", Value: 337},
+ {Name: "__NR_fspick", Value: 340},
{Name: "__NR_fstat", Value: 5},
{Name: "__NR_fstatfs", Value: 138},
{Name: "__NR_fsync", Value: 74},
@@ -51067,6 +51173,7 @@ var consts_amd64 = []ConstValue{
{Name: "__NR_mmap", Value: 9},
{Name: "__NR_modify_ldt", Value: 154},
{Name: "__NR_mount", Value: 165},
+ {Name: "__NR_move_mount", Value: 336},
{Name: "__NR_move_pages", Value: 279},
{Name: "__NR_mprotect", Value: 10},
{Name: "__NR_mq_getsetattr", Value: 245},
@@ -51239,4 +51346,4 @@ var consts_amd64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_amd64 = "420d4b61bcb10aace96dac3ca84c585fba1635c6"
+const revision_amd64 = "635705c13150622d9e68e6d8b434fb56ed52289c"
diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go
index c81f489b1..c6041203a 100644
--- a/sys/linux/gen/arm.go
+++ b/sys/linux/gen/arm.go
@@ -44009,8 +44009,19 @@ var consts_arm = []ConstValue{
{Name: "FR_ACT_TO_TBL", Value: 1},
{Name: "FR_ACT_UNREACHABLE", Value: 7},
{Name: "FR_ACT_UNSPEC"},
+ {Name: "FSCONFIG_CMD_CREATE", Value: 6},
+ {Name: "FSCONFIG_CMD_RECONFIGURE", Value: 7},
+ {Name: "FSCONFIG_SET_BINARY", Value: 2},
+ {Name: "FSCONFIG_SET_FD", Value: 5},
+ {Name: "FSCONFIG_SET_FLAG"},
+ {Name: "FSCONFIG_SET_PATH", Value: 3},
+ {Name: "FSCONFIG_SET_PATH_EMPTY", Value: 4},
+ {Name: "FSCONFIG_SET_STRING", Value: 1},
{Name: "FSLABEL_MAX", Value: 256},
{Name: "FSMAP_SIZE", Value: 64},
+ {Name: "FSMOUNT_CLOEXEC", Value: 1},
+ {Name: "FSOPEN_CLOEXEC", Value: 1},
+ {Name: "FSPICK_CLOEXEC", Value: 1},
{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},
@@ -45723,6 +45734,18 @@ var consts_arm = []ConstValue{
{Name: "MNT_FORCE", Value: 1},
{Name: "MODULE_INIT_IGNORE_MODVERSIONS", Value: 1},
{Name: "MODULE_INIT_IGNORE_VERMAGIC", Value: 2},
+ {Name: "MOUNT_ATTR_NODEV", Value: 4},
+ {Name: "MOUNT_ATTR_NODIRATIME", Value: 128},
+ {Name: "MOUNT_ATTR_NOEXEC", Value: 8},
+ {Name: "MOUNT_ATTR_NOSUID", Value: 2},
+ {Name: "MOUNT_ATTR_RDONLY", Value: 1},
+ {Name: "MOUNT_ATTR__ATIME", Value: 112},
+ {Name: "MOVE_MOUNT_F_AUTOMOUNTS", Value: 2},
+ {Name: "MOVE_MOUNT_F_EMPTY_PATH", Value: 4},
+ {Name: "MOVE_MOUNT_F_SYMLINKS", Value: 1},
+ {Name: "MOVE_MOUNT_T_AUTOMOUNTS", Value: 32},
+ {Name: "MOVE_MOUNT_T_EMPTY_PATH", Value: 64},
+ {Name: "MOVE_MOUNT_T_SYMLINKS", Value: 16},
{Name: "MPOL_BIND", Value: 2},
{Name: "MPOL_DEFAULT"},
{Name: "MPOL_F_ADDR", Value: 2},
@@ -50288,4 +50311,4 @@ var consts_arm = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm = "f28cd486e09e5843226082d7d3f8e361ca56a8be"
+const revision_arm = "a6919059eb94d6f50a1aecf5881e762d1e6d212f"
diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go
index 6bea19c6f..9d4a36fa2 100644
--- a/sys/linux/gen/arm64.go
+++ b/sys/linux/gen/arm64.go
@@ -44322,8 +44322,19 @@ var consts_arm64 = []ConstValue{
{Name: "FR_ACT_TO_TBL", Value: 1},
{Name: "FR_ACT_UNREACHABLE", Value: 7},
{Name: "FR_ACT_UNSPEC"},
+ {Name: "FSCONFIG_CMD_CREATE", Value: 6},
+ {Name: "FSCONFIG_CMD_RECONFIGURE", Value: 7},
+ {Name: "FSCONFIG_SET_BINARY", Value: 2},
+ {Name: "FSCONFIG_SET_FD", Value: 5},
+ {Name: "FSCONFIG_SET_FLAG"},
+ {Name: "FSCONFIG_SET_PATH", Value: 3},
+ {Name: "FSCONFIG_SET_PATH_EMPTY", Value: 4},
+ {Name: "FSCONFIG_SET_STRING", Value: 1},
{Name: "FSLABEL_MAX", Value: 256},
{Name: "FSMAP_SIZE", Value: 64},
+ {Name: "FSMOUNT_CLOEXEC", Value: 1},
+ {Name: "FSOPEN_CLOEXEC", Value: 1},
+ {Name: "FSPICK_CLOEXEC", Value: 1},
{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},
@@ -46046,6 +46057,18 @@ var consts_arm64 = []ConstValue{
{Name: "MNT_FORCE", Value: 1},
{Name: "MODULE_INIT_IGNORE_MODVERSIONS", Value: 1},
{Name: "MODULE_INIT_IGNORE_VERMAGIC", Value: 2},
+ {Name: "MOUNT_ATTR_NODEV", Value: 4},
+ {Name: "MOUNT_ATTR_NODIRATIME", Value: 128},
+ {Name: "MOUNT_ATTR_NOEXEC", Value: 8},
+ {Name: "MOUNT_ATTR_NOSUID", Value: 2},
+ {Name: "MOUNT_ATTR_RDONLY", Value: 1},
+ {Name: "MOUNT_ATTR__ATIME", Value: 112},
+ {Name: "MOVE_MOUNT_F_AUTOMOUNTS", Value: 2},
+ {Name: "MOVE_MOUNT_F_EMPTY_PATH", Value: 4},
+ {Name: "MOVE_MOUNT_F_SYMLINKS", Value: 1},
+ {Name: "MOVE_MOUNT_T_AUTOMOUNTS", Value: 32},
+ {Name: "MOVE_MOUNT_T_EMPTY_PATH", Value: 64},
+ {Name: "MOVE_MOUNT_T_SYMLINKS", Value: 16},
{Name: "MPOL_BIND", Value: 2},
{Name: "MPOL_DEFAULT"},
{Name: "MPOL_F_ADDR", Value: 2},
@@ -50583,4 +50606,4 @@ var consts_arm64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm64 = "8fb259ddb09ac4807a320b7cbeee530aaa68f59d"
+const revision_arm64 = "f2c20c26aaf4c83bed7b550a26dcc203defc6d67"
diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go
index e826e78b3..8f8a701b1 100644
--- a/sys/linux/gen/ppc64le.go
+++ b/sys/linux/gen/ppc64le.go
@@ -44316,8 +44316,19 @@ var consts_ppc64le = []ConstValue{
{Name: "FR_ACT_TO_TBL", Value: 1},
{Name: "FR_ACT_UNREACHABLE", Value: 7},
{Name: "FR_ACT_UNSPEC"},
+ {Name: "FSCONFIG_CMD_CREATE", Value: 6},
+ {Name: "FSCONFIG_CMD_RECONFIGURE", Value: 7},
+ {Name: "FSCONFIG_SET_BINARY", Value: 2},
+ {Name: "FSCONFIG_SET_FD", Value: 5},
+ {Name: "FSCONFIG_SET_FLAG"},
+ {Name: "FSCONFIG_SET_PATH", Value: 3},
+ {Name: "FSCONFIG_SET_PATH_EMPTY", Value: 4},
+ {Name: "FSCONFIG_SET_STRING", Value: 1},
{Name: "FSLABEL_MAX", Value: 256},
{Name: "FSMAP_SIZE", Value: 64},
+ {Name: "FSMOUNT_CLOEXEC", Value: 1},
+ {Name: "FSOPEN_CLOEXEC", Value: 1},
+ {Name: "FSPICK_CLOEXEC", Value: 1},
{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},
@@ -46027,6 +46038,18 @@ var consts_ppc64le = []ConstValue{
{Name: "MNT_FORCE", Value: 1},
{Name: "MODULE_INIT_IGNORE_MODVERSIONS", Value: 1},
{Name: "MODULE_INIT_IGNORE_VERMAGIC", Value: 2},
+ {Name: "MOUNT_ATTR_NODEV", Value: 4},
+ {Name: "MOUNT_ATTR_NODIRATIME", Value: 128},
+ {Name: "MOUNT_ATTR_NOEXEC", Value: 8},
+ {Name: "MOUNT_ATTR_NOSUID", Value: 2},
+ {Name: "MOUNT_ATTR_RDONLY", Value: 1},
+ {Name: "MOUNT_ATTR__ATIME", Value: 112},
+ {Name: "MOVE_MOUNT_F_AUTOMOUNTS", Value: 2},
+ {Name: "MOVE_MOUNT_F_EMPTY_PATH", Value: 4},
+ {Name: "MOVE_MOUNT_F_SYMLINKS", Value: 1},
+ {Name: "MOVE_MOUNT_T_AUTOMOUNTS", Value: 32},
+ {Name: "MOVE_MOUNT_T_EMPTY_PATH", Value: 64},
+ {Name: "MOVE_MOUNT_T_SYMLINKS", Value: 16},
{Name: "MPOL_BIND", Value: 2},
{Name: "MPOL_DEFAULT"},
{Name: "MPOL_F_ADDR", Value: 2},
@@ -50550,4 +50573,4 @@ var consts_ppc64le = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_ppc64le = "44969c131ff2baab2dfc2fcc524a9f5d5fce898f"
+const revision_ppc64le = "0b321c9de8c65a001f28b71c84c8780f9d4713a9"