diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-12-30 11:12:51 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-12-30 12:25:05 +0100 |
| commit | 9942de5fb06cec2ff4bee69835f336d1bfd839b8 (patch) | |
| tree | d1029e74d94bc91b2cd6074e5247311bd231cefa /sys | |
| parent | badabe5ac033696ada62199bfa16cc140b5095aa (diff) | |
sys/linux: add /dev/mISDNtimer
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/linux/gen/386.go | 21 | ||||
| -rw-r--r-- | sys/linux/gen/amd64.go | 21 | ||||
| -rw-r--r-- | sys/linux/gen/arm.go | 21 | ||||
| -rw-r--r-- | sys/linux/gen/arm64.go | 21 | ||||
| -rw-r--r-- | sys/linux/gen/ppc64le.go | 21 | ||||
| -rw-r--r-- | sys/linux/socket_isdn.txt | 14 | ||||
| -rw-r--r-- | sys/linux/socket_isdn_386.const | 2 | ||||
| -rw-r--r-- | sys/linux/socket_isdn_amd64.const | 2 | ||||
| -rw-r--r-- | sys/linux/socket_isdn_arm.const | 2 | ||||
| -rw-r--r-- | sys/linux/socket_isdn_arm64.const | 2 | ||||
| -rw-r--r-- | sys/linux/socket_isdn_ppc64le.const | 2 |
11 files changed, 124 insertions, 5 deletions
diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go index 10ddab705..26160e10d 100644 --- a/sys/linux/gen/386.go +++ b/sys/linux/gen/386.go @@ -59,6 +59,7 @@ var resources_386 = []*ResourceDesc{ {Name: "fd_loop_num", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}, Kind: []string{"fd_loop_num"}, Values: []uint64{0, 1, 2, 10, 11, 12}}, {Name: "fd_memfd", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_memfd"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_midi", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_midi"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "fd_misdntimer", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_misdntimer"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {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}}, @@ -29139,6 +29140,11 @@ var syscalls_386 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1794}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 4}}}, }}, + {NR: 54, Name: "ioctl$IMADDTIMER", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_misdntimer", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147764544}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "misdntimer_timeouts", TypeSize: 4}}, Vals: []uint64{0, 20, 50, 1000000, 18446744073709551615}}}, + }}, {NR: 54, Name: "ioctl$IMCLEAR_L2", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_isdn", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147764550}, @@ -29149,6 +29155,11 @@ var syscalls_386 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147764549}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "mISDN_ctrl_req"}}}, }}, + {NR: 54, Name: "ioctl$IMDELTIMER", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_misdntimer", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147764545}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "misdntimer_id", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3}}}, + }}, {NR: 54, Name: "ioctl$IMGETCOUNT", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_isdn_base", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147764547}, @@ -33375,6 +33386,12 @@ var syscalls_386 = []*Syscall{ &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_block", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 295, Name: "openat$misdntimer", 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: 16}, Kind: 2, Values: []string{"/dev/mISDNtimer\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_misdntimer", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 295, Name: "openat$mixer", 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: 11}, Kind: 2, Values: []string{"/dev/mixer\x00"}}}, @@ -40462,10 +40479,12 @@ var consts_386 = []ConstValue{ {Name: "IGMP_MTRACE_RESP", Value: 30}, {Name: "IGMP_PIM", Value: 20}, {Name: "IGMP_TRACE", Value: 21}, + {Name: "IMADDTIMER", Value: 2147764544}, {Name: "IMA_XATTR_DIGEST", Value: 1}, {Name: "IMA_XATTR_DIGEST_NG", Value: 4}, {Name: "IMCLEAR_L2", Value: 2147764550}, {Name: "IMCTRLREQ", Value: 2147764549}, + {Name: "IMDELTIMER", Value: 2147764545}, {Name: "IMGETCOUNT", Value: 2147764547}, {Name: "IMGETDEVINFO", Value: 2147764548}, {Name: "IMGETVERSION", Value: 2147764546}, @@ -45691,4 +45710,4 @@ var consts_386 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_386 = "469c8789e8728b919131a25b3b739d0b1d8b3a94" +const revision_386 = "5aaf090e92bd7c5383b7932dc1aebd7fcf72f15f" diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go index 9a571fbca..db44daf50 100644 --- a/sys/linux/gen/amd64.go +++ b/sys/linux/gen/amd64.go @@ -59,6 +59,7 @@ var resources_amd64 = []*ResourceDesc{ {Name: "fd_loop_num", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}, Kind: []string{"fd_loop_num"}, Values: []uint64{0, 1, 2, 10, 11, 12}}, {Name: "fd_memfd", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_memfd"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_midi", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_midi"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "fd_misdntimer", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_misdntimer"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {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}}, @@ -29685,6 +29686,11 @@ var syscalls_amd64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1794}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}}, }}, + {NR: 16, Name: "ioctl$IMADDTIMER", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_misdntimer", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147764544}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "misdntimer_timeouts", TypeSize: 4}}, Vals: []uint64{0, 20, 50, 1000000, 18446744073709551615}}}, + }}, {NR: 16, Name: "ioctl$IMCLEAR_L2", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_isdn", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147764550}, @@ -29695,6 +29701,11 @@ var syscalls_amd64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147764549}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mISDN_ctrl_req"}}}, }}, + {NR: 16, Name: "ioctl$IMDELTIMER", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_misdntimer", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147764545}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "misdntimer_id", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3}}}, + }}, {NR: 16, Name: "ioctl$IMGETCOUNT", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_isdn_base", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147764547}, @@ -33991,6 +34002,12 @@ var syscalls_amd64 = []*Syscall{ &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_block", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 257, Name: "openat$misdntimer", 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: 16}, Kind: 2, Values: []string{"/dev/mISDNtimer\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_misdntimer", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 257, Name: "openat$mixer", 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: 11}, Kind: 2, Values: []string{"/dev/mixer\x00"}}}, @@ -41227,10 +41244,12 @@ var consts_amd64 = []ConstValue{ {Name: "IGMP_MTRACE_RESP", Value: 30}, {Name: "IGMP_PIM", Value: 20}, {Name: "IGMP_TRACE", Value: 21}, + {Name: "IMADDTIMER", Value: 2147764544}, {Name: "IMA_XATTR_DIGEST", Value: 1}, {Name: "IMA_XATTR_DIGEST_NG", Value: 4}, {Name: "IMCLEAR_L2", Value: 2147764550}, {Name: "IMCTRLREQ", Value: 2147764549}, + {Name: "IMDELTIMER", Value: 2147764545}, {Name: "IMGETCOUNT", Value: 2147764547}, {Name: "IMGETDEVINFO", Value: 2147764548}, {Name: "IMGETVERSION", Value: 2147764546}, @@ -46481,4 +46500,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "218d115079e472bb2b040f2784fb8b8c4f1f9373" +const revision_amd64 = "91c48089b7c96ad119c37a47e77f60669627791e" diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go index d397971db..1b5b880fa 100644 --- a/sys/linux/gen/arm.go +++ b/sys/linux/gen/arm.go @@ -59,6 +59,7 @@ var resources_arm = []*ResourceDesc{ {Name: "fd_loop_num", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}, Kind: []string{"fd_loop_num"}, Values: []uint64{0, 1, 2, 10, 11, 12}}, {Name: "fd_memfd", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_memfd"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_midi", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_midi"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "fd_misdntimer", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_misdntimer"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {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}}, @@ -29007,6 +29008,11 @@ var syscalls_arm = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1794}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 4}}}, }}, + {NR: 54, Name: "ioctl$IMADDTIMER", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_misdntimer", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147764544}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "misdntimer_timeouts", TypeSize: 4}}, Vals: []uint64{0, 20, 50, 1000000, 18446744073709551615}}}, + }}, {NR: 54, Name: "ioctl$IMCLEAR_L2", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_isdn", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147764550}, @@ -29017,6 +29023,11 @@ var syscalls_arm = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147764549}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "mISDN_ctrl_req"}}}, }}, + {NR: 54, Name: "ioctl$IMDELTIMER", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_misdntimer", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147764545}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "misdntimer_id", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3}}}, + }}, {NR: 54, Name: "ioctl$IMGETCOUNT", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_isdn_base", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147764547}, @@ -33144,6 +33155,12 @@ var syscalls_arm = []*Syscall{ &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_block", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 322, Name: "openat$misdntimer", 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: 16}, Kind: 2, Values: []string{"/dev/mISDNtimer\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_misdntimer", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 322, Name: "openat$mixer", 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: 11}, Kind: 2, Values: []string{"/dev/mixer\x00"}}}, @@ -40354,10 +40371,12 @@ var consts_arm = []ConstValue{ {Name: "IGMP_MTRACE_RESP", Value: 30}, {Name: "IGMP_PIM", Value: 20}, {Name: "IGMP_TRACE", Value: 21}, + {Name: "IMADDTIMER", Value: 2147764544}, {Name: "IMA_XATTR_DIGEST", Value: 1}, {Name: "IMA_XATTR_DIGEST_NG", Value: 4}, {Name: "IMCLEAR_L2", Value: 2147764550}, {Name: "IMCTRLREQ", Value: 2147764549}, + {Name: "IMDELTIMER", Value: 2147764545}, {Name: "IMGETCOUNT", Value: 2147764547}, {Name: "IMGETDEVINFO", Value: 2147764548}, {Name: "IMGETVERSION", Value: 2147764546}, @@ -45530,4 +45549,4 @@ var consts_arm = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm = "876d0312b75a00be7759592f996445221e46e116" +const revision_arm = "2fab260bc68b36cf593fd0b0c07a5741491f1a23" diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go index 79a9fc8b2..0a6a3f834 100644 --- a/sys/linux/gen/arm64.go +++ b/sys/linux/gen/arm64.go @@ -59,6 +59,7 @@ var resources_arm64 = []*ResourceDesc{ {Name: "fd_loop_num", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}, Kind: []string{"fd_loop_num"}, Values: []uint64{0, 1, 2, 10, 11, 12}}, {Name: "fd_memfd", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_memfd"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_midi", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_midi"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "fd_misdntimer", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_misdntimer"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {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}}, @@ -29397,6 +29398,11 @@ var syscalls_arm64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1794}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}}, }}, + {NR: 29, Name: "ioctl$IMADDTIMER", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_misdntimer", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147764544}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "misdntimer_timeouts", TypeSize: 4}}, Vals: []uint64{0, 20, 50, 1000000, 18446744073709551615}}}, + }}, {NR: 29, Name: "ioctl$IMCLEAR_L2", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_isdn", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147764550}, @@ -29407,6 +29413,11 @@ var syscalls_arm64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147764549}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mISDN_ctrl_req"}}}, }}, + {NR: 29, Name: "ioctl$IMDELTIMER", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_misdntimer", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147764545}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "misdntimer_id", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3}}}, + }}, {NR: 29, Name: "ioctl$IMGETCOUNT", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_isdn_base", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147764547}, @@ -33523,6 +33534,12 @@ var syscalls_arm64 = []*Syscall{ &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_block", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 56, Name: "openat$misdntimer", 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: 16}, Kind: 2, Values: []string{"/dev/mISDNtimer\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_misdntimer", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 56, Name: "openat$mixer", 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: 11}, Kind: 2, Values: []string{"/dev/mixer\x00"}}}, @@ -40673,10 +40690,12 @@ var consts_arm64 = []ConstValue{ {Name: "IGMP_MTRACE_RESP", Value: 30}, {Name: "IGMP_PIM", Value: 20}, {Name: "IGMP_TRACE", Value: 21}, + {Name: "IMADDTIMER", Value: 2147764544}, {Name: "IMA_XATTR_DIGEST", Value: 1}, {Name: "IMA_XATTR_DIGEST_NG", Value: 4}, {Name: "IMCLEAR_L2", Value: 2147764550}, {Name: "IMCTRLREQ", Value: 2147764549}, + {Name: "IMDELTIMER", Value: 2147764545}, {Name: "IMGETCOUNT", Value: 2147764547}, {Name: "IMGETDEVINFO", Value: 2147764548}, {Name: "IMGETVERSION", Value: 2147764546}, @@ -45839,4 +45858,4 @@ var consts_arm64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm64 = "b33270676ef8f1902a717a34824acd214451fc08" +const revision_arm64 = "8a200cece6b0a979b2a88a1ea6844197febd4f8b" diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go index fbe88f755..c7b994b2f 100644 --- a/sys/linux/gen/ppc64le.go +++ b/sys/linux/gen/ppc64le.go @@ -58,6 +58,7 @@ var resources_ppc64le = []*ResourceDesc{ {Name: "fd_loop_num", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}, Kind: []string{"fd_loop_num"}, Values: []uint64{0, 1, 2, 10, 11, 12}}, {Name: "fd_memfd", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_memfd"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_midi", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_midi"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "fd_misdntimer", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_misdntimer"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {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}}, @@ -28454,6 +28455,11 @@ var syscalls_ppc64le = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1794}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}}, }}, + {NR: 54, Name: "ioctl$IMADDTIMER", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_misdntimer", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074022720}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "misdntimer_timeouts", TypeSize: 4}}, Vals: []uint64{0, 20, 50, 1000000, 18446744073709551615}}}, + }}, {NR: 54, Name: "ioctl$IMCLEAR_L2", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_isdn", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074022726}, @@ -28464,6 +28470,11 @@ var syscalls_ppc64le = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074022725}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mISDN_ctrl_req"}}}, }}, + {NR: 54, Name: "ioctl$IMDELTIMER", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_misdntimer", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074022721}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "misdntimer_id", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3}}}, + }}, {NR: 54, Name: "ioctl$IMGETCOUNT", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_isdn_base", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074022723}, @@ -32005,6 +32016,12 @@ var syscalls_ppc64le = []*Syscall{ &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_block", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 286, Name: "openat$misdntimer", 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: 16}, Kind: 2, Values: []string{"/dev/mISDNtimer\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_misdntimer", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 286, Name: "openat$mixer", 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: 11}, Kind: 2, Values: []string{"/dev/mixer\x00"}}}, @@ -39068,10 +39085,12 @@ var consts_ppc64le = []ConstValue{ {Name: "IGMP_MTRACE_RESP", Value: 30}, {Name: "IGMP_PIM", Value: 20}, {Name: "IGMP_TRACE", Value: 21}, + {Name: "IMADDTIMER", Value: 1074022720}, {Name: "IMA_XATTR_DIGEST", Value: 1}, {Name: "IMA_XATTR_DIGEST_NG", Value: 4}, {Name: "IMCLEAR_L2", Value: 1074022726}, {Name: "IMCTRLREQ", Value: 1074022725}, + {Name: "IMDELTIMER", Value: 1074022721}, {Name: "IMGETCOUNT", Value: 1074022723}, {Name: "IMGETDEVINFO", Value: 1074022724}, {Name: "IMGETVERSION", Value: 1074022722}, @@ -43197,4 +43216,4 @@ var consts_ppc64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_ppc64le = "5160d9ddc717d4404cdf7fc6ea24412369756b0f" +const revision_ppc64le = "98566c42e969d667ea034a22efa1ef24edc85db6" diff --git a/sys/linux/socket_isdn.txt b/sys/linux/socket_isdn.txt index b6780f184..1ece40f14 100644 --- a/sys/linux/socket_isdn.txt +++ b/sys/linux/socket_isdn.txt @@ -126,3 +126,17 @@ capi_manufacturer_cmd { openat$proc_capi20(fd const[AT_FDCWD], file ptr[in, string["/proc/capi/capi20"]], flags flags[open_flags], mode const[0]) fd openat$proc_capi20ncci(fd const[AT_FDCWD], file ptr[in, string["/proc/capi/capi20ncci"]], flags flags[open_flags], mode const[0]) fd + +resource fd_misdntimer[fd] + +openat$misdntimer(fd const[AT_FDCWD], file ptr[in, string["/dev/mISDNtimer"]], flags flags[open_flags], mode const[0]) fd_misdntimer +ioctl$IMADDTIMER(fd fd_misdntimer, cmd const[IMADDTIMER], arg ptr[in, flags[misdntimer_timeouts, int32]]) +ioctl$IMDELTIMER(fd fd_misdntimer, cmd const[IMDELTIMER], arg ptr[in, flags[misdntimer_id, int32]]) + +# IMADDTIMER accepts timeout in arg and returns timer id in the same location, +# we don't have a way to describe overlapping in/out args. +# This is like the only known so far such case in kernel interfaces, yikes! +# Timer id's seems to be allocated densely from 1 per opened device, +# so we just use 0, 1, 2, 3 as id's. +misdntimer_id = 0, 1, 2, 3 +misdntimer_timeouts = 0, 20, 50, 1000000, -1 diff --git a/sys/linux/socket_isdn_386.const b/sys/linux/socket_isdn_386.const index 290435921..6fe2eb361 100644 --- a/sys/linux/socket_isdn_386.const +++ b/sys/linux/socket_isdn_386.const @@ -32,8 +32,10 @@ CAPI_RESET_B3 = 135 CAPI_RESP = 131 CAPI_SELECT_B_PROTOCOL = 65 CAPI_SET_FLAGS = 2147762980 +IMADDTIMER = 2147764544 IMCLEAR_L2 = 2147764550 IMCTRLREQ = 2147764549 +IMDELTIMER = 2147764545 IMGETCOUNT = 2147764547 IMGETDEVINFO = 2147764548 IMGETVERSION = 2147764546 diff --git a/sys/linux/socket_isdn_amd64.const b/sys/linux/socket_isdn_amd64.const index a00259538..b22bb1f77 100644 --- a/sys/linux/socket_isdn_amd64.const +++ b/sys/linux/socket_isdn_amd64.const @@ -32,8 +32,10 @@ CAPI_RESET_B3 = 135 CAPI_RESP = 131 CAPI_SELECT_B_PROTOCOL = 65 CAPI_SET_FLAGS = 2147762980 +IMADDTIMER = 2147764544 IMCLEAR_L2 = 2147764550 IMCTRLREQ = 2147764549 +IMDELTIMER = 2147764545 IMGETCOUNT = 2147764547 IMGETDEVINFO = 2147764548 IMGETVERSION = 2147764546 diff --git a/sys/linux/socket_isdn_arm.const b/sys/linux/socket_isdn_arm.const index ea4766028..2e2b0bcc6 100644 --- a/sys/linux/socket_isdn_arm.const +++ b/sys/linux/socket_isdn_arm.const @@ -32,8 +32,10 @@ CAPI_RESET_B3 = 135 CAPI_RESP = 131 CAPI_SELECT_B_PROTOCOL = 65 CAPI_SET_FLAGS = 2147762980 +IMADDTIMER = 2147764544 IMCLEAR_L2 = 2147764550 IMCTRLREQ = 2147764549 +IMDELTIMER = 2147764545 IMGETCOUNT = 2147764547 IMGETDEVINFO = 2147764548 IMGETVERSION = 2147764546 diff --git a/sys/linux/socket_isdn_arm64.const b/sys/linux/socket_isdn_arm64.const index 21a4080e7..52e0d3701 100644 --- a/sys/linux/socket_isdn_arm64.const +++ b/sys/linux/socket_isdn_arm64.const @@ -32,8 +32,10 @@ CAPI_RESET_B3 = 135 CAPI_RESP = 131 CAPI_SELECT_B_PROTOCOL = 65 CAPI_SET_FLAGS = 2147762980 +IMADDTIMER = 2147764544 IMCLEAR_L2 = 2147764550 IMCTRLREQ = 2147764549 +IMDELTIMER = 2147764545 IMGETCOUNT = 2147764547 IMGETDEVINFO = 2147764548 IMGETVERSION = 2147764546 diff --git a/sys/linux/socket_isdn_ppc64le.const b/sys/linux/socket_isdn_ppc64le.const index 12962c82b..96433ea21 100644 --- a/sys/linux/socket_isdn_ppc64le.const +++ b/sys/linux/socket_isdn_ppc64le.const @@ -32,8 +32,10 @@ CAPI_RESET_B3 = 135 CAPI_RESP = 131 CAPI_SELECT_B_PROTOCOL = 65 CAPI_SET_FLAGS = 1074021156 +IMADDTIMER = 1074022720 IMCLEAR_L2 = 1074022726 IMCTRLREQ = 1074022725 +IMDELTIMER = 1074022721 IMGETCOUNT = 1074022723 IMGETDEVINFO = 1074022724 IMGETVERSION = 1074022722 |
