From 0d081107beadbdcb65578a5f52d1bac0103cc963 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Sun, 17 Mar 2019 17:15:58 +0300 Subject: sys/linux: Add rfkill description for Linux --- sys/linux/dev_rfkill.txt | 21 +++++++++++++++++++++ sys/linux/dev_rfkill_386.const | 7 +++++++ sys/linux/dev_rfkill_amd64.const | 7 +++++++ sys/linux/dev_rfkill_arm.const | 7 +++++++ sys/linux/dev_rfkill_arm64.const | 7 +++++++ sys/linux/dev_rfkill_ppc64le.const | 7 +++++++ sys/linux/gen/386.go | 36 ++++++++++++++++++++++++++++++++++-- sys/linux/gen/amd64.go | 36 ++++++++++++++++++++++++++++++++++-- sys/linux/gen/arm.go | 36 ++++++++++++++++++++++++++++++++++-- sys/linux/gen/arm64.go | 36 ++++++++++++++++++++++++++++++++++-- sys/linux/gen/ppc64le.go | 36 ++++++++++++++++++++++++++++++++++-- sys/linux/sys.txt | 1 - 12 files changed, 226 insertions(+), 11 deletions(-) create mode 100644 sys/linux/dev_rfkill.txt create mode 100644 sys/linux/dev_rfkill_386.const create mode 100644 sys/linux/dev_rfkill_amd64.const create mode 100644 sys/linux/dev_rfkill_arm.const create mode 100644 sys/linux/dev_rfkill_arm64.const create mode 100644 sys/linux/dev_rfkill_ppc64le.const (limited to 'sys/linux') diff --git a/sys/linux/dev_rfkill.txt b/sys/linux/dev_rfkill.txt new file mode 100644 index 000000000..dab3df781 --- /dev/null +++ b/sys/linux/dev_rfkill.txt @@ -0,0 +1,21 @@ +# Copyright 2019 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 +include + +resource fd_rfkill[fd] + +openat$rfkill(fd const[AT_FDCWD], file ptr[in, string["/dev/rfkill"]], flags flags[open_flags], mode const[0]) fd_rfkill + +write$rfkill(fd fd_rfkill, data ptr[in, rfkill_event], len bytesize[data]) +read$rfkill(fd fd_rfkill, data ptr[out, rfkill_event], len bytesize[data]) +ioctl$RFKILL_IOCTL_NOINPUT(fd fd_rfkill, cmd const[RFKILL_IOCTL_NOINPUT]) + +rfkill_event { + idx int32 + type int8[0:NUM_RFKILL_TYPES] + op int8[0:RFKILL_OP_CHANGE_ALL] + soft int8[0:1] + hard int8[0:1] +} [packed] diff --git a/sys/linux/dev_rfkill_386.const b/sys/linux/dev_rfkill_386.const new file mode 100644 index 000000000..d1a492d6a --- /dev/null +++ b/sys/linux/dev_rfkill_386.const @@ -0,0 +1,7 @@ +# AUTOGENERATED FILE +NUM_RFKILL_TYPES = 9 +RFKILL_IOCTL_NOINPUT = 20993 +RFKILL_OP_CHANGE_ALL = 3 +__NR_ioctl = 54 +__NR_read = 3 +__NR_write = 4 diff --git a/sys/linux/dev_rfkill_amd64.const b/sys/linux/dev_rfkill_amd64.const new file mode 100644 index 000000000..dd1bad4c6 --- /dev/null +++ b/sys/linux/dev_rfkill_amd64.const @@ -0,0 +1,7 @@ +# AUTOGENERATED FILE +NUM_RFKILL_TYPES = 9 +RFKILL_IOCTL_NOINPUT = 20993 +RFKILL_OP_CHANGE_ALL = 3 +__NR_ioctl = 16 +__NR_read = 0 +__NR_write = 1 diff --git a/sys/linux/dev_rfkill_arm.const b/sys/linux/dev_rfkill_arm.const new file mode 100644 index 000000000..d1a492d6a --- /dev/null +++ b/sys/linux/dev_rfkill_arm.const @@ -0,0 +1,7 @@ +# AUTOGENERATED FILE +NUM_RFKILL_TYPES = 9 +RFKILL_IOCTL_NOINPUT = 20993 +RFKILL_OP_CHANGE_ALL = 3 +__NR_ioctl = 54 +__NR_read = 3 +__NR_write = 4 diff --git a/sys/linux/dev_rfkill_arm64.const b/sys/linux/dev_rfkill_arm64.const new file mode 100644 index 000000000..22d2d5230 --- /dev/null +++ b/sys/linux/dev_rfkill_arm64.const @@ -0,0 +1,7 @@ +# AUTOGENERATED FILE +NUM_RFKILL_TYPES = 9 +RFKILL_IOCTL_NOINPUT = 20993 +RFKILL_OP_CHANGE_ALL = 3 +__NR_ioctl = 29 +__NR_read = 63 +__NR_write = 64 diff --git a/sys/linux/dev_rfkill_ppc64le.const b/sys/linux/dev_rfkill_ppc64le.const new file mode 100644 index 000000000..6f2db63c8 --- /dev/null +++ b/sys/linux/dev_rfkill_ppc64le.const @@ -0,0 +1,7 @@ +# AUTOGENERATED FILE +NUM_RFKILL_TYPES = 9 +RFKILL_IOCTL_NOINPUT = 536891905 +RFKILL_OP_CHANGE_ALL = 3 +__NR_ioctl = 54 +__NR_read = 3 +__NR_write = 4 diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go index 1552f8fbe..83b5d0aed 100644 --- a/sys/linux/gen/386.go +++ b/sys/linux/gen/386.go @@ -69,6 +69,7 @@ var resources_386 = []*ResourceDesc{ {Name: "fd_random", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_random"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_rawtp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base", "fd_rawtp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_rdma_cm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rdma_cm"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "fd_rfkill", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rfkill"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_rtc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rtc"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_selinux_access", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_access"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_selinux_attr", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_attr"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -18345,6 +18346,20 @@ var structDescs_386 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sks", TypeSize: 3, ArgDir: 2}, Kind: 1, RangeBegin: 3, RangeEnd: 3}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "asb", TypeSize: 46, ArgDir: 2}, Kind: 1, RangeBegin: 46, RangeEnd: 46}, }}}, + {Key: StructKey{Name: "rfkill_event"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rfkill_event", TypeSize: 8}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "idx", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "type", TypeSize: 1}}, Kind: 2, RangeEnd: 9}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "op", TypeSize: 1}}, Kind: 2, RangeEnd: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "soft", TypeSize: 1}}, Kind: 2, RangeEnd: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hard", TypeSize: 1}}, Kind: 2, RangeEnd: 1}, + }}}, + {Key: StructKey{Name: "rfkill_event", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rfkill_event", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "idx", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "type", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 9}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "op", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "soft", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hard", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 1}, + }}}, {Key: StructKey{Name: "rlimit"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rlimit", TypeSize: 8}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "soft", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "hard", TypeSize: 4}}}, @@ -31478,6 +31493,10 @@ var syscalls_386 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074049280}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_pppoe"}}}, }}, + {NR: 54, Name: "ioctl$RFKILL_IOCTL_NOINPUT", CallName: "ioctl", MissingArgs: 1, Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rfkill", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 20993}, + }}, {NR: 54, Name: "ioctl$RNDADDENTROPY", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_random", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074287107}, @@ -34978,7 +34997,7 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 12}, Kind: 2, Values: []string{"/dev/rfkill\x00"}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 1024, 8192, 524288, 64, 16384, 65536, 128, 32768, 262144, 256, 131072, 2048, 2097152, 1052672, 512, 4194304}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 4}}}, - }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rfkill", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 295, Name: "openat$rtc", CallName: "openat", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 4}}, Val: 18446744073709551516}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 10}, Kind: 2, Values: []string{"/dev/rtc0\x00"}}}, @@ -35754,6 +35773,11 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "val"}, }}, + {NR: 3, Name: "read$rfkill", CallName: "read", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rfkill", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "rfkill_event", Dir: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "data"}, + }}, {NR: 3, Name: "read$trusty", CallName: "read", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_trusty", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, @@ -40395,6 +40419,11 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 4}}, BitSize: 8, Buf: "data"}, }}, + {NR: 4, Name: "write$rfkill", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rfkill", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "rfkill_event"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "data"}, + }}, {NR: 4, Name: "write$selinux_access", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_selinux_access", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "selinux_access_req"}}}, @@ -43793,6 +43822,7 @@ var consts_386 = []ConstValue{ {Name: "NUD_PROBE", Value: 16}, {Name: "NUD_REACHABLE", Value: 2}, {Name: "NUD_STALE", Value: 4}, + {Name: "NUM_RFKILL_TYPES", Value: 9}, {Name: "N_NULL", Value: 27}, {Name: "N_TTY"}, {Name: "OMAGIC", Value: 263}, @@ -44383,6 +44413,8 @@ var consts_386 = []ConstValue{ {Name: "RENAME_WHITEOUT", Value: 4}, {Name: "RFCOMM_CONNINFO", Value: 2}, {Name: "RFCOMM_LM", Value: 3}, + {Name: "RFKILL_IOCTL_NOINPUT", Value: 20993}, + {Name: "RFKILL_OP_CHANGE_ALL", Value: 3}, {Name: "RLIMIT_AS", Value: 9}, {Name: "RLIMIT_CORE", Value: 4}, {Name: "RLIMIT_CPU"}, @@ -47783,4 +47815,4 @@ var consts_386 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_386 = "0a0e33691ab05cdb4188e6ed357107f6b910fafb" +const revision_386 = "7cc507343dee5356a071ba44c5b8aea2254fbc41" diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go index 268e6f3c2..3cb5e48b7 100644 --- a/sys/linux/gen/amd64.go +++ b/sys/linux/gen/amd64.go @@ -69,6 +69,7 @@ var resources_amd64 = []*ResourceDesc{ {Name: "fd_random", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_random"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_rawtp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base", "fd_rawtp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_rdma_cm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rdma_cm"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "fd_rfkill", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rfkill"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_rtc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rtc"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_selinux_access", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_access"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_selinux_attr", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_attr"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -18637,6 +18638,20 @@ var structDescs_amd64 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sks", TypeSize: 3, ArgDir: 2}, Kind: 1, RangeBegin: 3, RangeEnd: 3}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "asb", TypeSize: 46, ArgDir: 2}, Kind: 1, RangeBegin: 46, RangeEnd: 46}, }}}, + {Key: StructKey{Name: "rfkill_event"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rfkill_event", TypeSize: 8}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "idx", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "type", TypeSize: 1}}, Kind: 2, RangeEnd: 9}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "op", TypeSize: 1}}, Kind: 2, RangeEnd: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "soft", TypeSize: 1}}, Kind: 2, RangeEnd: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hard", TypeSize: 1}}, Kind: 2, RangeEnd: 1}, + }}}, + {Key: StructKey{Name: "rfkill_event", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rfkill_event", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "idx", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "type", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 9}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "op", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "soft", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hard", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 1}, + }}}, {Key: StructKey{Name: "rlimit"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rlimit", TypeSize: 16}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "soft", TypeSize: 8}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "hard", TypeSize: 8}}}, @@ -31973,6 +31988,10 @@ var syscalls_amd64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074311424}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_pppoe"}}}, }}, + {NR: 16, Name: "ioctl$RFKILL_IOCTL_NOINPUT", CallName: "ioctl", MissingArgs: 1, Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rfkill", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 20993}, + }}, {NR: 16, Name: "ioctl$RNDADDENTROPY", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_random", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074287107}, @@ -35493,7 +35512,7 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 12}, Kind: 2, Values: []string{"/dev/rfkill\x00"}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 1024, 8192, 524288, 64, 16384, 65536, 128, 32768, 262144, 256, 131072, 2048, 2097152, 1052672, 512, 4194304}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 8}}}, - }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rfkill", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 257, Name: "openat$rtc", CallName: "openat", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 8}}, Val: 18446744073709551516}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 10}, Kind: 2, Values: []string{"/dev/rtc0\x00"}}}, @@ -36269,6 +36288,11 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "val"}, }}, + {Name: "read$rfkill", CallName: "read", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rfkill", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rfkill_event", Dir: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "data"}, + }}, {Name: "read$trusty", CallName: "read", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_trusty", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, @@ -40915,6 +40939,11 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 8}}, BitSize: 8, Buf: "data"}, }}, + {NR: 1, Name: "write$rfkill", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rfkill", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rfkill_event"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "data"}, + }}, {NR: 1, Name: "write$selinux_access", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_selinux_access", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "selinux_access_req"}}}, @@ -44313,6 +44342,7 @@ var consts_amd64 = []ConstValue{ {Name: "NUD_PROBE", Value: 16}, {Name: "NUD_REACHABLE", Value: 2}, {Name: "NUD_STALE", Value: 4}, + {Name: "NUM_RFKILL_TYPES", Value: 9}, {Name: "N_NULL", Value: 27}, {Name: "N_TTY"}, {Name: "OMAGIC", Value: 263}, @@ -44903,6 +44933,8 @@ var consts_amd64 = []ConstValue{ {Name: "RENAME_WHITEOUT", Value: 4}, {Name: "RFCOMM_CONNINFO", Value: 2}, {Name: "RFCOMM_LM", Value: 3}, + {Name: "RFKILL_IOCTL_NOINPUT", Value: 20993}, + {Name: "RFKILL_OP_CHANGE_ALL", Value: 3}, {Name: "RLIMIT_AS", Value: 9}, {Name: "RLIMIT_CORE", Value: 4}, {Name: "RLIMIT_CPU"}, @@ -48318,4 +48350,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "a17fc9ffd2d2e5fae6122fcc2f7b8307394fe83d" +const revision_amd64 = "1b83c687dd66fb52ff98e92e84b0de9a91d3a769" diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go index 77158de45..e884a7ec8 100644 --- a/sys/linux/gen/arm.go +++ b/sys/linux/gen/arm.go @@ -69,6 +69,7 @@ var resources_arm = []*ResourceDesc{ {Name: "fd_random", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_random"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_rawtp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base", "fd_rawtp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_rdma_cm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rdma_cm"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "fd_rfkill", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rfkill"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_rtc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rtc"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_selinux_access", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_access"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_selinux_attr", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_attr"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -18162,6 +18163,20 @@ var structDescs_arm = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sks", TypeSize: 3, ArgDir: 2}, Kind: 1, RangeBegin: 3, RangeEnd: 3}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "asb", TypeSize: 46, ArgDir: 2}, Kind: 1, RangeBegin: 46, RangeEnd: 46}, }}}, + {Key: StructKey{Name: "rfkill_event"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rfkill_event", TypeSize: 8}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "idx", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "type", TypeSize: 1}}, Kind: 2, RangeEnd: 9}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "op", TypeSize: 1}}, Kind: 2, RangeEnd: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "soft", TypeSize: 1}}, Kind: 2, RangeEnd: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hard", TypeSize: 1}}, Kind: 2, RangeEnd: 1}, + }}}, + {Key: StructKey{Name: "rfkill_event", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rfkill_event", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "idx", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "type", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 9}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "op", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "soft", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hard", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 1}, + }}}, {Key: StructKey{Name: "rlimit"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rlimit", TypeSize: 8}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "soft", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "hard", TypeSize: 4}}}, @@ -31167,6 +31182,10 @@ var syscalls_arm = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074049280}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_pppoe"}}}, }}, + {NR: 54, Name: "ioctl$RFKILL_IOCTL_NOINPUT", CallName: "ioctl", MissingArgs: 1, Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rfkill", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 20993}, + }}, {NR: 54, Name: "ioctl$RNDADDENTROPY", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_random", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074287107}, @@ -34639,7 +34658,7 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 12}, Kind: 2, Values: []string{"/dev/rfkill\x00"}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 1024, 8192, 524288, 64, 65536, 16384, 128, 131072, 262144, 256, 32768, 2048, 2097152, 1052672, 512, 4194304}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 4}}}, - }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rfkill", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 322, Name: "openat$rtc", CallName: "openat", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 4}}, Val: 18446744073709551516}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 10}, Kind: 2, Values: []string{"/dev/rtc0\x00"}}}, @@ -35415,6 +35434,11 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "val"}, }}, + {NR: 3, Name: "read$rfkill", CallName: "read", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rfkill", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "rfkill_event", Dir: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "data"}, + }}, {NR: 3, Name: "read$trusty", CallName: "read", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_trusty", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, @@ -40044,6 +40068,11 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 4}}, BitSize: 8, Buf: "data"}, }}, + {NR: 4, Name: "write$rfkill", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rfkill", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "rfkill_event"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "data"}, + }}, {NR: 4, Name: "write$selinux_access", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_selinux_access", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "selinux_access_req"}}}, @@ -43382,6 +43411,7 @@ var consts_arm = []ConstValue{ {Name: "NUD_PROBE", Value: 16}, {Name: "NUD_REACHABLE", Value: 2}, {Name: "NUD_STALE", Value: 4}, + {Name: "NUM_RFKILL_TYPES", Value: 9}, {Name: "N_NULL", Value: 27}, {Name: "N_TTY"}, {Name: "OMAGIC", Value: 263}, @@ -43970,6 +44000,8 @@ var consts_arm = []ConstValue{ {Name: "RENAME_WHITEOUT", Value: 4}, {Name: "RFCOMM_CONNINFO", Value: 2}, {Name: "RFCOMM_LM", Value: 3}, + {Name: "RFKILL_IOCTL_NOINPUT", Value: 20993}, + {Name: "RFKILL_OP_CHANGE_ALL", Value: 3}, {Name: "RLIMIT_AS", Value: 9}, {Name: "RLIMIT_CORE", Value: 4}, {Name: "RLIMIT_CPU"}, @@ -47360,4 +47392,4 @@ var consts_arm = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm = "4fb2c502fa3c67c71fe60ddf2550873f4335a914" +const revision_arm = "6962ddc02aaca1b341ba2013f3a49ed93315270e" diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go index e5b233dc6..0770cbba4 100644 --- a/sys/linux/gen/arm64.go +++ b/sys/linux/gen/arm64.go @@ -69,6 +69,7 @@ var resources_arm64 = []*ResourceDesc{ {Name: "fd_random", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_random"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_rawtp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base", "fd_rawtp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_rdma_cm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rdma_cm"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "fd_rfkill", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rfkill"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_rtc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rtc"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_selinux_access", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_access"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_selinux_attr", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_attr"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -18454,6 +18455,20 @@ var structDescs_arm64 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sks", TypeSize: 3, ArgDir: 2}, Kind: 1, RangeBegin: 3, RangeEnd: 3}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "asb", TypeSize: 46, ArgDir: 2}, Kind: 1, RangeBegin: 46, RangeEnd: 46}, }}}, + {Key: StructKey{Name: "rfkill_event"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rfkill_event", TypeSize: 8}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "idx", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "type", TypeSize: 1}}, Kind: 2, RangeEnd: 9}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "op", TypeSize: 1}}, Kind: 2, RangeEnd: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "soft", TypeSize: 1}}, Kind: 2, RangeEnd: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hard", TypeSize: 1}}, Kind: 2, RangeEnd: 1}, + }}}, + {Key: StructKey{Name: "rfkill_event", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rfkill_event", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "idx", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "type", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 9}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "op", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "soft", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hard", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 1}, + }}}, {Key: StructKey{Name: "rlimit"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rlimit", TypeSize: 16}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "soft", TypeSize: 8}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "hard", TypeSize: 8}}}, @@ -31570,6 +31585,10 @@ var syscalls_arm64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074311424}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_pppoe"}}}, }}, + {NR: 29, Name: "ioctl$RFKILL_IOCTL_NOINPUT", CallName: "ioctl", MissingArgs: 1, Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rfkill", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 20993}, + }}, {NR: 29, Name: "ioctl$RNDADDENTROPY", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_random", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074287107}, @@ -35025,7 +35044,7 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 12}, Kind: 2, Values: []string{"/dev/rfkill\x00"}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 1024, 8192, 524288, 64, 65536, 16384, 128, 131072, 262144, 256, 32768, 2048, 2097152, 1052672, 512, 4194304}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 8}}}, - }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rfkill", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 56, Name: "openat$rtc", CallName: "openat", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 8}}, Val: 18446744073709551516}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 10}, Kind: 2, Values: []string{"/dev/rtc0\x00"}}}, @@ -35792,6 +35811,11 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "val"}, }}, + {NR: 63, Name: "read$rfkill", CallName: "read", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rfkill", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rfkill_event", Dir: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "data"}, + }}, {NR: 63, Name: "read$trusty", CallName: "read", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_trusty", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, @@ -40370,6 +40394,11 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 8}}, BitSize: 8, Buf: "data"}, }}, + {NR: 64, Name: "write$rfkill", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rfkill", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rfkill_event"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "data"}, + }}, {NR: 64, Name: "write$selinux_access", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_selinux_access", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "selinux_access_req"}}}, @@ -43718,6 +43747,7 @@ var consts_arm64 = []ConstValue{ {Name: "NUD_PROBE", Value: 16}, {Name: "NUD_REACHABLE", Value: 2}, {Name: "NUD_STALE", Value: 4}, + {Name: "NUM_RFKILL_TYPES", Value: 9}, {Name: "N_NULL", Value: 27}, {Name: "N_TTY"}, {Name: "OMAGIC", Value: 263}, @@ -44294,6 +44324,8 @@ var consts_arm64 = []ConstValue{ {Name: "RENAME_WHITEOUT", Value: 4}, {Name: "RFCOMM_CONNINFO", Value: 2}, {Name: "RFCOMM_LM", Value: 3}, + {Name: "RFKILL_IOCTL_NOINPUT", Value: 20993}, + {Name: "RFKILL_OP_CHANGE_ALL", Value: 3}, {Name: "RLIMIT_AS", Value: 9}, {Name: "RLIMIT_CORE", Value: 4}, {Name: "RLIMIT_CPU"}, @@ -47668,4 +47700,4 @@ var consts_arm64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm64 = "4b7009c8009f4d05ae3478b07945151611372941" +const revision_arm64 = "4c009092e16fad6c60a8bc300210130c96b909e9" diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go index d2949f360..af248c4f4 100644 --- a/sys/linux/gen/ppc64le.go +++ b/sys/linux/gen/ppc64le.go @@ -69,6 +69,7 @@ var resources_ppc64le = []*ResourceDesc{ {Name: "fd_random", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_random"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_rawtp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base", "fd_rawtp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_rdma_cm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rdma_cm"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "fd_rfkill", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rfkill"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_rtc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rtc"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_selinux_access", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_access"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_selinux_attr", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_attr"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -18406,6 +18407,20 @@ var structDescs_ppc64le = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sks", TypeSize: 3, ArgDir: 2}, Kind: 1, RangeBegin: 3, RangeEnd: 3}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "asb", TypeSize: 46, ArgDir: 2}, Kind: 1, RangeBegin: 46, RangeEnd: 46}, }}}, + {Key: StructKey{Name: "rfkill_event"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rfkill_event", TypeSize: 8}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "idx", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "type", TypeSize: 1}}, Kind: 2, RangeEnd: 9}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "op", TypeSize: 1}}, Kind: 2, RangeEnd: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "soft", TypeSize: 1}}, Kind: 2, RangeEnd: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hard", TypeSize: 1}}, Kind: 2, RangeEnd: 1}, + }}}, + {Key: StructKey{Name: "rfkill_event", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rfkill_event", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "idx", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "type", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 9}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "op", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "soft", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hard", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 1}, + }}}, {Key: StructKey{Name: "rlimit"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rlimit", TypeSize: 16}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "soft", TypeSize: 8}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "hard", TypeSize: 8}}}, @@ -31485,6 +31500,10 @@ var syscalls_ppc64le = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148053248}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_pppoe"}}}, }}, + {NR: 54, Name: "ioctl$RFKILL_IOCTL_NOINPUT", CallName: "ioctl", MissingArgs: 1, Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rfkill", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536891905}, + }}, {NR: 54, Name: "ioctl$RNDADDENTROPY", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_random", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148028931}, @@ -34930,7 +34949,7 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 12}, Kind: 2, Values: []string{"/dev/rfkill\x00"}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 1024, 8192, 524288, 64, 131072, 16384, 128, 65536, 262144, 256, 32768, 2048, 2097152, 1052672, 512, 4194304}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 8}}}, - }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rfkill", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 286, Name: "openat$rtc", CallName: "openat", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 8}}, Val: 18446744073709551516}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 10}, Kind: 2, Values: []string{"/dev/rtc0\x00"}}}, @@ -35706,6 +35725,11 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "val"}, }}, + {NR: 3, Name: "read$rfkill", CallName: "read", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rfkill", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rfkill_event", Dir: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "data"}, + }}, {NR: 3, Name: "read$trusty", CallName: "read", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_trusty", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, @@ -40338,6 +40362,11 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 8}}, BitSize: 8, Buf: "data"}, }}, + {NR: 4, Name: "write$rfkill", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rfkill", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rfkill_event"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "data"}, + }}, {NR: 4, Name: "write$selinux_access", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_selinux_access", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "selinux_access_req"}}}, @@ -43673,6 +43702,7 @@ var consts_ppc64le = []ConstValue{ {Name: "NUD_PROBE", Value: 16}, {Name: "NUD_REACHABLE", Value: 2}, {Name: "NUD_STALE", Value: 4}, + {Name: "NUM_RFKILL_TYPES", Value: 9}, {Name: "N_NULL", Value: 27}, {Name: "N_TTY"}, {Name: "OMAGIC", Value: 263}, @@ -44263,6 +44293,8 @@ var consts_ppc64le = []ConstValue{ {Name: "RENAME_WHITEOUT", Value: 4}, {Name: "RFCOMM_CONNINFO", Value: 2}, {Name: "RFCOMM_LM", Value: 3}, + {Name: "RFKILL_IOCTL_NOINPUT", Value: 536891905}, + {Name: "RFKILL_OP_CHANGE_ALL", Value: 3}, {Name: "RLIMIT_AS", Value: 9}, {Name: "RLIMIT_CORE", Value: 4}, {Name: "RLIMIT_CPU"}, @@ -47605,4 +47637,4 @@ var consts_ppc64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_ppc64le = "1a16c369fcafc67ece8515c18e01226cccf49276" +const revision_ppc64le = "52e9211f8a1d33c22eaa8126c55cb78998ccec39" diff --git a/sys/linux/sys.txt b/sys/linux/sys.txt index 9101402dc..00b3908c4 100644 --- a/sys/linux/sys.txt +++ b/sys/linux/sys.txt @@ -462,7 +462,6 @@ openat$zero(fd const[AT_FDCWD], file ptr[in, string["/dev/zero"]], flags flags[o openat$full(fd const[AT_FDCWD], file ptr[in, string["/dev/full"]], flags flags[open_flags], mode const[0]) fd openat$vga_arbiter(fd const[AT_FDCWD], file ptr[in, string["/dev/vga_arbiter"]], flags flags[open_flags], mode const[0]) fd openat$rtc(fd const[AT_FDCWD], file ptr[in, string["/dev/rtc0"]], flags flags[open_flags], mode const[0]) fd -openat$rfkill(fd const[AT_FDCWD], file ptr[in, string["/dev/rfkill"]], flags flags[open_flags], mode const[0]) fd openat$qat_adf_ctl(fd const[AT_FDCWD], file ptr[in, string["/dev/qat_adf_ctl"]], flags flags[open_flags], mode const[0]) fd openat$mixer(fd const[AT_FDCWD], file ptr[in, string["/dev/mixer"]], flags flags[open_flags], mode const[0]) fd openat$irnet(fd const[AT_FDCWD], file ptr[in, string["/dev/irnet"]], flags flags[open_flags], mode const[0]) fd -- cgit mrf-deployment