Skip to content
Permalink
Browse files

sys/linux: add /dev/mISDNtimer

  • Loading branch information...
dvyukov committed Dec 30, 2018
1 parent badabe5 commit 9942de5fb06cec2ff4bee69835f336d1bfd839b8
@@ -60,7 +60,7 @@

#if GOARCH_386
#define GOARCH "386"
#define SYZ_REVISION "469c8789e8728b919131a25b3b739d0b1d8b3a94"
#define SYZ_REVISION "5aaf090e92bd7c5383b7932dc1aebd7fcf72f15f"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -70,7 +70,7 @@

#if GOARCH_amd64
#define GOARCH "amd64"
#define SYZ_REVISION "218d115079e472bb2b040f2784fb8b8c4f1f9373"
#define SYZ_REVISION "91c48089b7c96ad119c37a47e77f60669627791e"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -80,7 +80,7 @@

#if GOARCH_arm
#define GOARCH "arm"
#define SYZ_REVISION "876d0312b75a00be7759592f996445221e46e116"
#define SYZ_REVISION "2fab260bc68b36cf593fd0b0c07a5741491f1a23"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -90,7 +90,7 @@

#if GOARCH_arm64
#define GOARCH "arm64"
#define SYZ_REVISION "b33270676ef8f1902a717a34824acd214451fc08"
#define SYZ_REVISION "8a200cece6b0a979b2a88a1ea6844197febd4f8b"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -100,7 +100,7 @@

#if GOARCH_ppc64le
#define GOARCH "ppc64le"
#define SYZ_REVISION "5160d9ddc717d4404cdf7fc6ea24412369756b0f"
#define SYZ_REVISION "98566c42e969d667ea034a22efa1ef24edc85db6"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -2041,8 +2041,10 @@ const call_t syscalls[] = {
{"ioctl$I2C_SMBUS", 54},
{"ioctl$I2C_TENBIT", 54},
{"ioctl$I2C_TIMEOUT", 54},
{"ioctl$IMADDTIMER", 54},
{"ioctl$IMCLEAR_L2", 54},
{"ioctl$IMCTRLREQ", 54},
{"ioctl$IMDELTIMER", 54},
{"ioctl$IMGETCOUNT", 54},
{"ioctl$IMGETDEVINFO", 54},
{"ioctl$IMGETVERSION", 54},
@@ -2877,6 +2879,7 @@ const call_t syscalls[] = {
{"openat$lightnvm", 295},
{"openat$loop_ctrl", 295},
{"openat$md", 295},
{"openat$misdntimer", 295},
{"openat$mixer", 295},
{"openat$null", 295},
{"openat$nullb", 295},
@@ -4514,8 +4517,10 @@ const call_t syscalls[] = {
{"ioctl$I2C_SMBUS", 16},
{"ioctl$I2C_TENBIT", 16},
{"ioctl$I2C_TIMEOUT", 16},
{"ioctl$IMADDTIMER", 16},
{"ioctl$IMCLEAR_L2", 16},
{"ioctl$IMCTRLREQ", 16},
{"ioctl$IMDELTIMER", 16},
{"ioctl$IMGETCOUNT", 16},
{"ioctl$IMGETDEVINFO", 16},
{"ioctl$IMGETVERSION", 16},
@@ -5364,6 +5369,7 @@ const call_t syscalls[] = {
{"openat$lightnvm", 257},
{"openat$loop_ctrl", 257},
{"openat$md", 257},
{"openat$misdntimer", 257},
{"openat$mixer", 257},
{"openat$null", 257},
{"openat$nullb", 257},
@@ -7017,8 +7023,10 @@ const call_t syscalls[] = {
{"ioctl$I2C_SMBUS", 54},
{"ioctl$I2C_TENBIT", 54},
{"ioctl$I2C_TIMEOUT", 54},
{"ioctl$IMADDTIMER", 54},
{"ioctl$IMCLEAR_L2", 54},
{"ioctl$IMCTRLREQ", 54},
{"ioctl$IMDELTIMER", 54},
{"ioctl$IMGETCOUNT", 54},
{"ioctl$IMGETDEVINFO", 54},
{"ioctl$IMGETVERSION", 54},
@@ -7833,6 +7841,7 @@ const call_t syscalls[] = {
{"openat$lightnvm", 322},
{"openat$loop_ctrl", 322},
{"openat$md", 322},
{"openat$misdntimer", 322},
{"openat$mixer", 322},
{"openat$null", 322},
{"openat$nullb", 322},
@@ -9473,8 +9482,10 @@ const call_t syscalls[] = {
{"ioctl$I2C_SMBUS", 29},
{"ioctl$I2C_TENBIT", 29},
{"ioctl$I2C_TIMEOUT", 29},
{"ioctl$IMADDTIMER", 29},
{"ioctl$IMCLEAR_L2", 29},
{"ioctl$IMCTRLREQ", 29},
{"ioctl$IMDELTIMER", 29},
{"ioctl$IMGETCOUNT", 29},
{"ioctl$IMGETDEVINFO", 29},
{"ioctl$IMGETVERSION", 29},
@@ -10286,6 +10297,7 @@ const call_t syscalls[] = {
{"openat$lightnvm", 56},
{"openat$loop_ctrl", 56},
{"openat$md", 56},
{"openat$misdntimer", 56},
{"openat$mixer", 56},
{"openat$null", 56},
{"openat$nullb", 56},
@@ -11922,8 +11934,10 @@ const call_t syscalls[] = {
{"ioctl$I2C_SMBUS", 54},
{"ioctl$I2C_TENBIT", 54},
{"ioctl$I2C_TIMEOUT", 54},
{"ioctl$IMADDTIMER", 54},
{"ioctl$IMCLEAR_L2", 54},
{"ioctl$IMCTRLREQ", 54},
{"ioctl$IMDELTIMER", 54},
{"ioctl$IMGETCOUNT", 54},
{"ioctl$IMGETDEVINFO", 54},
{"ioctl$IMGETVERSION", 54},
@@ -12621,6 +12635,7 @@ const call_t syscalls[] = {
{"openat$lightnvm", 286},
{"openat$loop_ctrl", 286},
{"openat$md", 286},
{"openat$misdntimer", 286},
{"openat$mixer", 286},
{"openat$null", 286},
{"openat$nullb", 286},
{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}},
&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},
&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},
&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"}}},
{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},
{Name: "bpf_insn_load_imm_dw", Value: 24},
}

const revision_386 = "469c8789e8728b919131a25b3b739d0b1d8b3a94"
const revision_386 = "5aaf090e92bd7c5383b7932dc1aebd7fcf72f15f"
{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}},
&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},
&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},
&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"}}},
{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},
{Name: "bpf_insn_load_imm_dw", Value: 24},
}

const revision_amd64 = "218d115079e472bb2b040f2784fb8b8c4f1f9373"
const revision_amd64 = "91c48089b7c96ad119c37a47e77f60669627791e"
Oops, something went wrong.

0 comments on commit 9942de5

Please sign in to comment.
You can’t perform that action at this time.