From 9942de5fb06cec2ff4bee69835f336d1bfd839b8 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sun, 30 Dec 2018 11:12:51 +0100 Subject: sys/linux: add /dev/mISDNtimer --- sys/linux/gen/386.go | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'sys/linux/gen/386.go') 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" -- cgit mrf-deployment