mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-27 05:10:43 +00:00
sys/linux: add rtc description
This commit is contained in:
parent
58924941cc
commit
317fc8ea3e
1
AUTHORS
1
AUTHORS
@ -23,3 +23,4 @@ Mitchell Horne
|
||||
Hangbin Liu
|
||||
Denis Efremov
|
||||
Ondrej Mosnacek
|
||||
Chi Pham
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
#if defined(__i386__) || 0
|
||||
#define GOARCH "386"
|
||||
#define SYZ_REVISION "b4050c8ea56e0fa6d944c424b5e03399e929745e"
|
||||
#define SYZ_REVISION "7c3b92654cfa280739a2cab1908dd7fbafba5a74"
|
||||
#define SYZ_EXECUTOR_USES_FORK_SERVER true
|
||||
#define SYZ_EXECUTOR_USES_SHMEM true
|
||||
#define SYZ_PAGE_SIZE 4096
|
||||
#define SYZ_NUM_PAGES 4096
|
||||
#define SYZ_DATA_OFFSET 536870912
|
||||
#define SYZ_SYSCALL_COUNT 1998
|
||||
#define SYZ_SYSCALL_COUNT 2021
|
||||
const call_t syscalls[] = {
|
||||
{"accept4", 364},
|
||||
{"accept4$alg", 364},
|
||||
@ -786,6 +786,28 @@ const call_t syscalls[] = {
|
||||
{"ioctl$RNDCLEARPOOL", 54},
|
||||
{"ioctl$RNDGETENTCNT", 54},
|
||||
{"ioctl$RNDZAPENTCNT", 54},
|
||||
{"ioctl$RTC_AIE_OFF", 54},
|
||||
{"ioctl$RTC_AIE_ON", 54},
|
||||
{"ioctl$RTC_ALM_READ", 54},
|
||||
{"ioctl$RTC_ALM_SET", 54},
|
||||
{"ioctl$RTC_EPOCH_READ", 54},
|
||||
{"ioctl$RTC_EPOCH_SET", 54},
|
||||
{"ioctl$RTC_IRQP_READ", 54},
|
||||
{"ioctl$RTC_IRQP_SET", 54},
|
||||
{"ioctl$RTC_PIE_OFF", 54},
|
||||
{"ioctl$RTC_PIE_ON", 54},
|
||||
{"ioctl$RTC_PLL_GET", 54},
|
||||
{"ioctl$RTC_PLL_SET", 54},
|
||||
{"ioctl$RTC_RD_TIME", 54},
|
||||
{"ioctl$RTC_SET_TIME", 54},
|
||||
{"ioctl$RTC_UIE_OFF", 54},
|
||||
{"ioctl$RTC_UIE_ON", 54},
|
||||
{"ioctl$RTC_VL_CLR", 54},
|
||||
{"ioctl$RTC_VL_READ", 54},
|
||||
{"ioctl$RTC_WIE_OFF", 54},
|
||||
{"ioctl$RTC_WIE_ON", 54},
|
||||
{"ioctl$RTC_WKALM_RD", 54},
|
||||
{"ioctl$RTC_WKALM_SET", 54},
|
||||
{"ioctl$SCSI_IOCTL_BENCHMARK_COMMAND", 54},
|
||||
{"ioctl$SCSI_IOCTL_DOORLOCK", 54},
|
||||
{"ioctl$SCSI_IOCTL_DOORUNLOCK", 54},
|
||||
@ -1915,6 +1937,7 @@ const call_t syscalls[] = {
|
||||
{"syz_open_dev$midi", 0, (syscall_t)syz_open_dev},
|
||||
{"syz_open_dev$mouse", 0, (syscall_t)syz_open_dev},
|
||||
{"syz_open_dev$ndb", 0, (syscall_t)syz_open_dev},
|
||||
{"syz_open_dev$rtc", 0, (syscall_t)syz_open_dev},
|
||||
{"syz_open_dev$sg", 0, (syscall_t)syz_open_dev},
|
||||
{"syz_open_dev$sndctrl", 0, (syscall_t)syz_open_dev},
|
||||
{"syz_open_dev$sndhw", 0, (syscall_t)syz_open_dev},
|
||||
@ -2014,13 +2037,13 @@ const call_t syscalls[] = {
|
||||
|
||||
#if defined(__x86_64__) || 0
|
||||
#define GOARCH "amd64"
|
||||
#define SYZ_REVISION "fc69ece5307d371a63232a03bac964a9ede3c7d2"
|
||||
#define SYZ_REVISION "9b691ef1ad3871279dddf35bbadcb13736803e01"
|
||||
#define SYZ_EXECUTOR_USES_FORK_SERVER true
|
||||
#define SYZ_EXECUTOR_USES_SHMEM true
|
||||
#define SYZ_PAGE_SIZE 4096
|
||||
#define SYZ_NUM_PAGES 4096
|
||||
#define SYZ_DATA_OFFSET 536870912
|
||||
#define SYZ_SYSCALL_COUNT 2050
|
||||
#define SYZ_SYSCALL_COUNT 2073
|
||||
const call_t syscalls[] = {
|
||||
{"accept", 43},
|
||||
{"accept$alg", 43},
|
||||
@ -2808,6 +2831,28 @@ const call_t syscalls[] = {
|
||||
{"ioctl$RNDCLEARPOOL", 16},
|
||||
{"ioctl$RNDGETENTCNT", 16},
|
||||
{"ioctl$RNDZAPENTCNT", 16},
|
||||
{"ioctl$RTC_AIE_OFF", 16},
|
||||
{"ioctl$RTC_AIE_ON", 16},
|
||||
{"ioctl$RTC_ALM_READ", 16},
|
||||
{"ioctl$RTC_ALM_SET", 16},
|
||||
{"ioctl$RTC_EPOCH_READ", 16},
|
||||
{"ioctl$RTC_EPOCH_SET", 16},
|
||||
{"ioctl$RTC_IRQP_READ", 16},
|
||||
{"ioctl$RTC_IRQP_SET", 16},
|
||||
{"ioctl$RTC_PIE_OFF", 16},
|
||||
{"ioctl$RTC_PIE_ON", 16},
|
||||
{"ioctl$RTC_PLL_GET", 16},
|
||||
{"ioctl$RTC_PLL_SET", 16},
|
||||
{"ioctl$RTC_RD_TIME", 16},
|
||||
{"ioctl$RTC_SET_TIME", 16},
|
||||
{"ioctl$RTC_UIE_OFF", 16},
|
||||
{"ioctl$RTC_UIE_ON", 16},
|
||||
{"ioctl$RTC_VL_CLR", 16},
|
||||
{"ioctl$RTC_VL_READ", 16},
|
||||
{"ioctl$RTC_WIE_OFF", 16},
|
||||
{"ioctl$RTC_WIE_ON", 16},
|
||||
{"ioctl$RTC_WKALM_RD", 16},
|
||||
{"ioctl$RTC_WKALM_SET", 16},
|
||||
{"ioctl$SCSI_IOCTL_BENCHMARK_COMMAND", 16},
|
||||
{"ioctl$SCSI_IOCTL_DOORLOCK", 16},
|
||||
{"ioctl$SCSI_IOCTL_DOORUNLOCK", 16},
|
||||
@ -3979,6 +4024,7 @@ const call_t syscalls[] = {
|
||||
{"syz_open_dev$midi", 0, (syscall_t)syz_open_dev},
|
||||
{"syz_open_dev$mouse", 0, (syscall_t)syz_open_dev},
|
||||
{"syz_open_dev$ndb", 0, (syscall_t)syz_open_dev},
|
||||
{"syz_open_dev$rtc", 0, (syscall_t)syz_open_dev},
|
||||
{"syz_open_dev$sg", 0, (syscall_t)syz_open_dev},
|
||||
{"syz_open_dev$sndctrl", 0, (syscall_t)syz_open_dev},
|
||||
{"syz_open_dev$sndhw", 0, (syscall_t)syz_open_dev},
|
||||
@ -4078,13 +4124,13 @@ const call_t syscalls[] = {
|
||||
|
||||
#if defined(__arm__) || 0
|
||||
#define GOARCH "arm"
|
||||
#define SYZ_REVISION "dd5ad897499c0d9a2e3cbc471197a813b506d043"
|
||||
#define SYZ_REVISION "2d48f7b04fa6aa40cf950630cc96b02d6a248012"
|
||||
#define SYZ_EXECUTOR_USES_FORK_SERVER true
|
||||
#define SYZ_EXECUTOR_USES_SHMEM true
|
||||
#define SYZ_PAGE_SIZE 4096
|
||||
#define SYZ_NUM_PAGES 4096
|
||||
#define SYZ_DATA_OFFSET 536870912
|
||||
#define SYZ_SYSCALL_COUNT 2006
|
||||
#define SYZ_SYSCALL_COUNT 2029
|
||||
const call_t syscalls[] = {
|
||||
{"accept", 285},
|
||||
{"accept$alg", 285},
|
||||
@ -4843,6 +4889,28 @@ const call_t syscalls[] = {
|
||||
{"ioctl$RNDCLEARPOOL", 54},
|
||||
{"ioctl$RNDGETENTCNT", 54},
|
||||
{"ioctl$RNDZAPENTCNT", 54},
|
||||
{"ioctl$RTC_AIE_OFF", 54},
|
||||
{"ioctl$RTC_AIE_ON", 54},
|
||||
{"ioctl$RTC_ALM_READ", 54},
|
||||
{"ioctl$RTC_ALM_SET", 54},
|
||||
{"ioctl$RTC_EPOCH_READ", 54},
|
||||
{"ioctl$RTC_EPOCH_SET", 54},
|
||||
{"ioctl$RTC_IRQP_READ", 54},
|
||||
{"ioctl$RTC_IRQP_SET", 54},
|
||||
{"ioctl$RTC_PIE_OFF", 54},
|
||||
{"ioctl$RTC_PIE_ON", 54},
|
||||
{"ioctl$RTC_PLL_GET", 54},
|
||||
{"ioctl$RTC_PLL_SET", 54},
|
||||
{"ioctl$RTC_RD_TIME", 54},
|
||||
{"ioctl$RTC_SET_TIME", 54},
|
||||
{"ioctl$RTC_UIE_OFF", 54},
|
||||
{"ioctl$RTC_UIE_ON", 54},
|
||||
{"ioctl$RTC_VL_CLR", 54},
|
||||
{"ioctl$RTC_VL_READ", 54},
|
||||
{"ioctl$RTC_WIE_OFF", 54},
|
||||
{"ioctl$RTC_WIE_ON", 54},
|
||||
{"ioctl$RTC_WKALM_RD", 54},
|
||||
{"ioctl$RTC_WKALM_SET", 54},
|
||||
{"ioctl$SCSI_IOCTL_BENCHMARK_COMMAND", 54},
|
||||
{"ioctl$SCSI_IOCTL_DOORLOCK", 54},
|
||||
{"ioctl$SCSI_IOCTL_DOORUNLOCK", 54},
|
||||
@ -6001,6 +6069,7 @@ const call_t syscalls[] = {
|
||||
{"syz_open_dev$midi", 0, (syscall_t)syz_open_dev},
|
||||
{"syz_open_dev$mouse", 0, (syscall_t)syz_open_dev},
|
||||
{"syz_open_dev$ndb", 0, (syscall_t)syz_open_dev},
|
||||
{"syz_open_dev$rtc", 0, (syscall_t)syz_open_dev},
|
||||
{"syz_open_dev$sg", 0, (syscall_t)syz_open_dev},
|
||||
{"syz_open_dev$sndctrl", 0, (syscall_t)syz_open_dev},
|
||||
{"syz_open_dev$sndhw", 0, (syscall_t)syz_open_dev},
|
||||
@ -6098,13 +6167,13 @@ const call_t syscalls[] = {
|
||||
|
||||
#if defined(__aarch64__) || 0
|
||||
#define GOARCH "arm64"
|
||||
#define SYZ_REVISION "45ca78852b7500e7612287085dee2292ff1d6a8e"
|
||||
#define SYZ_REVISION "e0996c58f44d1178a9173f9c61fc9868155e4f7f"
|
||||
#define SYZ_EXECUTOR_USES_FORK_SERVER true
|
||||
#define SYZ_EXECUTOR_USES_SHMEM true
|
||||
#define SYZ_PAGE_SIZE 4096
|
||||
#define SYZ_NUM_PAGES 4096
|
||||
#define SYZ_DATA_OFFSET 536870912
|
||||
#define SYZ_SYSCALL_COUNT 1978
|
||||
#define SYZ_SYSCALL_COUNT 2001
|
||||
const call_t syscalls[] = {
|
||||
{"accept", 202},
|
||||
{"accept$alg", 202},
|
||||
@ -6855,6 +6924,28 @@ const call_t syscalls[] = {
|
||||
{"ioctl$RNDCLEARPOOL", 29},
|
||||
{"ioctl$RNDGETENTCNT", 29},
|
||||
{"ioctl$RNDZAPENTCNT", 29},
|
||||
{"ioctl$RTC_AIE_OFF", 29},
|
||||
{"ioctl$RTC_AIE_ON", 29},
|
||||
{"ioctl$RTC_ALM_READ", 29},
|
||||
{"ioctl$RTC_ALM_SET", 29},
|
||||
{"ioctl$RTC_EPOCH_READ", 29},
|
||||
{"ioctl$RTC_EPOCH_SET", 29},
|
||||
{"ioctl$RTC_IRQP_READ", 29},
|
||||
{"ioctl$RTC_IRQP_SET", 29},
|
||||
{"ioctl$RTC_PIE_OFF", 29},
|
||||
{"ioctl$RTC_PIE_ON", 29},
|
||||
{"ioctl$RTC_PLL_GET", 29},
|
||||
{"ioctl$RTC_PLL_SET", 29},
|
||||
{"ioctl$RTC_RD_TIME", 29},
|
||||
{"ioctl$RTC_SET_TIME", 29},
|
||||
{"ioctl$RTC_UIE_OFF", 29},
|
||||
{"ioctl$RTC_UIE_ON", 29},
|
||||
{"ioctl$RTC_VL_CLR", 29},
|
||||
{"ioctl$RTC_VL_READ", 29},
|
||||
{"ioctl$RTC_WIE_OFF", 29},
|
||||
{"ioctl$RTC_WIE_ON", 29},
|
||||
{"ioctl$RTC_WKALM_RD", 29},
|
||||
{"ioctl$RTC_WKALM_SET", 29},
|
||||
{"ioctl$SCSI_IOCTL_BENCHMARK_COMMAND", 29},
|
||||
{"ioctl$SCSI_IOCTL_DOORLOCK", 29},
|
||||
{"ioctl$SCSI_IOCTL_DOORUNLOCK", 29},
|
||||
@ -7997,6 +8088,7 @@ const call_t syscalls[] = {
|
||||
{"syz_open_dev$midi", 0, (syscall_t)syz_open_dev},
|
||||
{"syz_open_dev$mouse", 0, (syscall_t)syz_open_dev},
|
||||
{"syz_open_dev$ndb", 0, (syscall_t)syz_open_dev},
|
||||
{"syz_open_dev$rtc", 0, (syscall_t)syz_open_dev},
|
||||
{"syz_open_dev$sg", 0, (syscall_t)syz_open_dev},
|
||||
{"syz_open_dev$sndctrl", 0, (syscall_t)syz_open_dev},
|
||||
{"syz_open_dev$sndhw", 0, (syscall_t)syz_open_dev},
|
||||
@ -8090,13 +8182,13 @@ const call_t syscalls[] = {
|
||||
|
||||
#if defined(__ppc64__) || defined(__PPC64__) || defined(__powerpc64__) || 0
|
||||
#define GOARCH "ppc64le"
|
||||
#define SYZ_REVISION "fb8f49f6dceef512594c9f30fdc24bb287e02e4f"
|
||||
#define SYZ_REVISION "e810a038c6e7e93c823407bb0a01ba0d48281b55"
|
||||
#define SYZ_EXECUTOR_USES_FORK_SERVER true
|
||||
#define SYZ_EXECUTOR_USES_SHMEM true
|
||||
#define SYZ_PAGE_SIZE 4096
|
||||
#define SYZ_NUM_PAGES 4096
|
||||
#define SYZ_DATA_OFFSET 536870912
|
||||
#define SYZ_SYSCALL_COUNT 1868
|
||||
#define SYZ_SYSCALL_COUNT 1891
|
||||
const call_t syscalls[] = {
|
||||
{"accept", 330},
|
||||
{"accept$alg", 330},
|
||||
@ -8858,6 +8950,28 @@ const call_t syscalls[] = {
|
||||
{"ioctl$RNDCLEARPOOL", 54},
|
||||
{"ioctl$RNDGETENTCNT", 54},
|
||||
{"ioctl$RNDZAPENTCNT", 54},
|
||||
{"ioctl$RTC_AIE_OFF", 54},
|
||||
{"ioctl$RTC_AIE_ON", 54},
|
||||
{"ioctl$RTC_ALM_READ", 54},
|
||||
{"ioctl$RTC_ALM_SET", 54},
|
||||
{"ioctl$RTC_EPOCH_READ", 54},
|
||||
{"ioctl$RTC_EPOCH_SET", 54},
|
||||
{"ioctl$RTC_IRQP_READ", 54},
|
||||
{"ioctl$RTC_IRQP_SET", 54},
|
||||
{"ioctl$RTC_PIE_OFF", 54},
|
||||
{"ioctl$RTC_PIE_ON", 54},
|
||||
{"ioctl$RTC_PLL_GET", 54},
|
||||
{"ioctl$RTC_PLL_SET", 54},
|
||||
{"ioctl$RTC_RD_TIME", 54},
|
||||
{"ioctl$RTC_SET_TIME", 54},
|
||||
{"ioctl$RTC_UIE_OFF", 54},
|
||||
{"ioctl$RTC_UIE_ON", 54},
|
||||
{"ioctl$RTC_VL_CLR", 54},
|
||||
{"ioctl$RTC_VL_READ", 54},
|
||||
{"ioctl$RTC_WIE_OFF", 54},
|
||||
{"ioctl$RTC_WIE_ON", 54},
|
||||
{"ioctl$RTC_WKALM_RD", 54},
|
||||
{"ioctl$RTC_WKALM_SET", 54},
|
||||
{"ioctl$SCSI_IOCTL_BENCHMARK_COMMAND", 54},
|
||||
{"ioctl$SCSI_IOCTL_DOORLOCK", 54},
|
||||
{"ioctl$SCSI_IOCTL_DOORUNLOCK", 54},
|
||||
@ -9873,6 +9987,7 @@ const call_t syscalls[] = {
|
||||
{"syz_open_dev$midi", 0, (syscall_t)syz_open_dev},
|
||||
{"syz_open_dev$mouse", 0, (syscall_t)syz_open_dev},
|
||||
{"syz_open_dev$ndb", 0, (syscall_t)syz_open_dev},
|
||||
{"syz_open_dev$rtc", 0, (syscall_t)syz_open_dev},
|
||||
{"syz_open_dev$sg", 0, (syscall_t)syz_open_dev},
|
||||
{"syz_open_dev$sndctrl", 0, (syscall_t)syz_open_dev},
|
||||
{"syz_open_dev$sndhw", 0, (syscall_t)syz_open_dev},
|
||||
|
@ -54,6 +54,7 @@ var resources_386 = []*ResourceDesc{
|
||||
{Name: "fd_perf", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
|
||||
{Name: "fd_random", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_random"}, 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_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_context", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_context"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
|
||||
{Name: "fd_selinux_create", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_create"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
|
||||
@ -13407,6 +13408,58 @@ var structDescs_386 = []*KeyedStruct{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "abort_ip", TypeSize: 4}}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 12}}, IsPad: true},
|
||||
}, AlignAttr: 32}},
|
||||
{Key: StructKey{Name: "rtc_pll_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtc_pll_info", TypeSize: 28}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_ctrl", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_value", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_max", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_min", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_posmult", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_negmult", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "pll_clock", TypeSize: 4}}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "rtc_pll_info", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtc_pll_info", TypeSize: 28, ArgDir: 1}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_ctrl", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_value", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_max", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_min", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_posmult", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_negmult", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "pll_clock", TypeSize: 4, ArgDir: 1}}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "rtc_time"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtc_time", TypeSize: 36}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_sec", TypeSize: 4}}, Kind: 2, RangeEnd: 60},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_min", TypeSize: 4}}, Kind: 2, RangeEnd: 59},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_hour", TypeSize: 4}}, Kind: 2, RangeEnd: 23},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_mday", TypeSize: 4}}, Kind: 2, RangeBegin: 1, RangeEnd: 31},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_mon", TypeSize: 4}}, Kind: 2, RangeEnd: 11},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_year", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_wday", TypeSize: 4}}, Kind: 2, RangeEnd: 6},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_yday", TypeSize: 4}}, Kind: 2, RangeEnd: 365},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtc_isdst", FldName: "tm_isdst", TypeSize: 4}}, Vals: []uint64{0, 1, 18446744073709551615}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "rtc_time", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtc_time", TypeSize: 36, ArgDir: 1}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_sec", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 60},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_min", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 59},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_hour", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 23},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_mday", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeBegin: 1, RangeEnd: 31},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_mon", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 11},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_year", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_wday", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 6},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_yday", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 365},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtc_isdst", FldName: "tm_isdst", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{0, 1, 18446744073709551615}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "rtc_wkalrm"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtc_wkalrm", TypeSize: 40}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "enabled", TypeSize: 1}}, Kind: 2, RangeEnd: 1},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "pending", TypeSize: 1}}, Kind: 2, RangeEnd: 1},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
|
||||
&StructType{Key: StructKey{Name: "rtc_time"}, FldName: "time"},
|
||||
}}},
|
||||
{Key: StructKey{Name: "rtc_wkalrm", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtc_wkalrm", TypeSize: 40, ArgDir: 1}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "enabled", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 1},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "pending", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 1},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
|
||||
&StructType{Key: StructKey{Name: "rtc_time", Dir: 1}, FldName: "time"},
|
||||
}}},
|
||||
{Key: StructKey{Name: "rtentry_in"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtentry_in", TypeSize: 112}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "rt_pad1", TypeSize: 8}}},
|
||||
&StructType{Key: StructKey{Name: "sockaddr_in"}, FldName: "rt_dst"},
|
||||
@ -24033,6 +24086,107 @@ var syscalls_386 = []*Syscall{
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 20996},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_AIE_OFF", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 28674},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_AIE_ON", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 28673},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_ALM_READ", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2149871624},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "rtc_time", Dir: 1}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_ALM_SET", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1076129799},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "rtc_time"}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_EPOCH_READ", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147774477},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4, ArgDir: 1}}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_EPOCH_SET", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074032654},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 4}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_IRQP_READ", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147774475},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4, ArgDir: 1}}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_IRQP_SET", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074032652},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 4}}, Kind: 2, RangeBegin: 1, RangeEnd: 8192},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_PIE_OFF", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 28678},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_PIE_ON", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 28677},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_PLL_GET", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2149347345},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "rtc_pll_info", Dir: 1}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_PLL_SET", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1075605522},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "rtc_pll_info"}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_RD_TIME", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2149871625},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "rtc_time", Dir: 1}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_SET_TIME", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1076129802},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "rtc_time"}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_UIE_OFF", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 28676},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_UIE_ON", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 28675},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_VL_CLR", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 28692},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_VL_READ", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147774483},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_WIE_OFF", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 28688},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_WIE_ON", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 28687},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_WKALM_RD", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2150133776},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "rtc_wkalrm", Dir: 1}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_WKALM_SET", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1076391951},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "rtc_wkalrm"}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$SCSI_IOCTL_BENCHMARK_COMMAND", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_sg", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3},
|
||||
@ -30397,6 +30551,11 @@ var syscalls_386 = []*Syscall{
|
||||
&ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "id", TypeSize: 4}}, ValuesPerProc: 1},
|
||||
&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},
|
||||
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ndb", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
|
||||
{Name: "syz_open_dev$rtc", CallName: "syz_open_dev", Args: []Type{
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 10}, Kind: 2, Values: []string{"/dev/rtc#\x00"}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "id", TypeSize: 4}}},
|
||||
&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},
|
||||
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
|
||||
{Name: "syz_open_dev$sg", CallName: "syz_open_dev", Args: []Type{
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 9}, Kind: 2, Values: []string{"/dev/sg#\x00"}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "id", TypeSize: 4}}},
|
||||
@ -33960,6 +34119,29 @@ var consts_386 = []ConstValue{
|
||||
{Name: "RTA_SRC", Value: 2},
|
||||
{Name: "RTA_TTL_PROPAGATE", Value: 26},
|
||||
{Name: "RTA_UID", Value: 25},
|
||||
{Name: "RTC_AIE_OFF", Value: 28674},
|
||||
{Name: "RTC_AIE_ON", Value: 28673},
|
||||
{Name: "RTC_ALM_READ", Value: 2149871624},
|
||||
{Name: "RTC_ALM_SET", Value: 1076129799},
|
||||
{Name: "RTC_EPOCH_READ", Value: 2147774477},
|
||||
{Name: "RTC_EPOCH_SET", Value: 1074032654},
|
||||
{Name: "RTC_IRQP_READ", Value: 2147774475},
|
||||
{Name: "RTC_IRQP_SET", Value: 1074032652},
|
||||
{Name: "RTC_MAX_FREQ", Value: 8192},
|
||||
{Name: "RTC_PIE_OFF", Value: 28678},
|
||||
{Name: "RTC_PIE_ON", Value: 28677},
|
||||
{Name: "RTC_PLL_GET", Value: 2149347345},
|
||||
{Name: "RTC_PLL_SET", Value: 1075605522},
|
||||
{Name: "RTC_RD_TIME", Value: 2149871625},
|
||||
{Name: "RTC_SET_TIME", Value: 1076129802},
|
||||
{Name: "RTC_UIE_OFF", Value: 28676},
|
||||
{Name: "RTC_UIE_ON", Value: 28675},
|
||||
{Name: "RTC_VL_CLR", Value: 28692},
|
||||
{Name: "RTC_VL_READ", Value: 2147774483},
|
||||
{Name: "RTC_WIE_OFF", Value: 28688},
|
||||
{Name: "RTC_WIE_ON", Value: 28687},
|
||||
{Name: "RTC_WKALM_RD", Value: 2150133776},
|
||||
{Name: "RTC_WKALM_SET", Value: 1076391951},
|
||||
{Name: "RTF_ADDRCONF", Value: 262144},
|
||||
{Name: "RTF_ALLONLINK", Value: 131072},
|
||||
{Name: "RTF_ANYCAST", Value: 1048576},
|
||||
@ -36913,4 +37095,4 @@ var consts_386 = []ConstValue{
|
||||
{Name: "bpf_insn_load_imm_dw", Value: 24},
|
||||
}
|
||||
|
||||
const revision_386 = "b4050c8ea56e0fa6d944c424b5e03399e929745e"
|
||||
const revision_386 = "7c3b92654cfa280739a2cab1908dd7fbafba5a74"
|
||||
|
@ -54,6 +54,7 @@ var resources_amd64 = []*ResourceDesc{
|
||||
{Name: "fd_perf", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
|
||||
{Name: "fd_random", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_random"}, 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_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_context", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_context"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
|
||||
{Name: "fd_selinux_create", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_create"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
|
||||
@ -13626,6 +13627,58 @@ var structDescs_amd64 = []*KeyedStruct{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "post_commit_offset", TypeSize: 8}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "abort_ip", TypeSize: 8}}},
|
||||
}, AlignAttr: 32}},
|
||||
{Key: StructKey{Name: "rtc_pll_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtc_pll_info", TypeSize: 32}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_ctrl", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_value", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_max", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_min", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_posmult", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_negmult", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "pll_clock", TypeSize: 8}}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "rtc_pll_info", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtc_pll_info", TypeSize: 32, ArgDir: 1}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_ctrl", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_value", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_max", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_min", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_posmult", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_negmult", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "pll_clock", TypeSize: 8, ArgDir: 1}}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "rtc_time"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtc_time", TypeSize: 36}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_sec", TypeSize: 4}}, Kind: 2, RangeEnd: 60},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_min", TypeSize: 4}}, Kind: 2, RangeEnd: 59},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_hour", TypeSize: 4}}, Kind: 2, RangeEnd: 23},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_mday", TypeSize: 4}}, Kind: 2, RangeBegin: 1, RangeEnd: 31},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_mon", TypeSize: 4}}, Kind: 2, RangeEnd: 11},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_year", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_wday", TypeSize: 4}}, Kind: 2, RangeEnd: 6},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_yday", TypeSize: 4}}, Kind: 2, RangeEnd: 365},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtc_isdst", FldName: "tm_isdst", TypeSize: 4}}, Vals: []uint64{0, 1, 18446744073709551615}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "rtc_time", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtc_time", TypeSize: 36, ArgDir: 1}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_sec", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 60},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_min", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 59},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_hour", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 23},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_mday", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeBegin: 1, RangeEnd: 31},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_mon", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 11},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_year", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_wday", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 6},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_yday", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 365},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtc_isdst", FldName: "tm_isdst", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{0, 1, 18446744073709551615}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "rtc_wkalrm"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtc_wkalrm", TypeSize: 40}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "enabled", TypeSize: 1}}, Kind: 2, RangeEnd: 1},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "pending", TypeSize: 1}}, Kind: 2, RangeEnd: 1},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
|
||||
&StructType{Key: StructKey{Name: "rtc_time"}, FldName: "time"},
|
||||
}}},
|
||||
{Key: StructKey{Name: "rtc_wkalrm", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtc_wkalrm", TypeSize: 40, ArgDir: 1}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "enabled", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 1},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "pending", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 1},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
|
||||
&StructType{Key: StructKey{Name: "rtc_time", Dir: 1}, FldName: "time"},
|
||||
}}},
|
||||
{Key: StructKey{Name: "rtentry_in"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtentry_in", TypeSize: 120}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "rt_pad1", TypeSize: 8}}},
|
||||
&StructType{Key: StructKey{Name: "sockaddr_in"}, FldName: "rt_dst"},
|
||||
@ -24476,6 +24529,107 @@ var syscalls_amd64 = []*Syscall{
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 20996},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
|
||||
}},
|
||||
{NR: 16, Name: "ioctl$RTC_AIE_OFF", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 28674},
|
||||
}},
|
||||
{NR: 16, Name: "ioctl$RTC_AIE_ON", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 28673},
|
||||
}},
|
||||
{NR: 16, Name: "ioctl$RTC_ALM_READ", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2149871624},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rtc_time", Dir: 1}}},
|
||||
}},
|
||||
{NR: 16, Name: "ioctl$RTC_ALM_SET", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1076129799},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rtc_time"}}},
|
||||
}},
|
||||
{NR: 16, Name: "ioctl$RTC_EPOCH_READ", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148036621},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}},
|
||||
}},
|
||||
{NR: 16, Name: "ioctl$RTC_EPOCH_SET", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074294798},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}},
|
||||
}},
|
||||
{NR: 16, Name: "ioctl$RTC_IRQP_READ", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148036619},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}},
|
||||
}},
|
||||
{NR: 16, Name: "ioctl$RTC_IRQP_SET", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074294796},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 2, RangeBegin: 1, RangeEnd: 8192},
|
||||
}},
|
||||
{NR: 16, Name: "ioctl$RTC_PIE_OFF", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 28678},
|
||||
}},
|
||||
{NR: 16, Name: "ioctl$RTC_PIE_ON", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 28677},
|
||||
}},
|
||||
{NR: 16, Name: "ioctl$RTC_PLL_GET", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2149609489},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rtc_pll_info", Dir: 1}}},
|
||||
}},
|
||||
{NR: 16, Name: "ioctl$RTC_PLL_SET", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1075867666},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rtc_pll_info"}}},
|
||||
}},
|
||||
{NR: 16, Name: "ioctl$RTC_RD_TIME", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2149871625},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rtc_time", Dir: 1}}},
|
||||
}},
|
||||
{NR: 16, Name: "ioctl$RTC_SET_TIME", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1076129802},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rtc_time"}}},
|
||||
}},
|
||||
{NR: 16, Name: "ioctl$RTC_UIE_OFF", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 28676},
|
||||
}},
|
||||
{NR: 16, Name: "ioctl$RTC_UIE_ON", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 28675},
|
||||
}},
|
||||
{NR: 16, Name: "ioctl$RTC_VL_CLR", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 28692},
|
||||
}},
|
||||
{NR: 16, Name: "ioctl$RTC_VL_READ", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147774483},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
|
||||
}},
|
||||
{NR: 16, Name: "ioctl$RTC_WIE_OFF", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 28688},
|
||||
}},
|
||||
{NR: 16, Name: "ioctl$RTC_WIE_ON", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 28687},
|
||||
}},
|
||||
{NR: 16, Name: "ioctl$RTC_WKALM_RD", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2150133776},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rtc_wkalrm", Dir: 1}}},
|
||||
}},
|
||||
{NR: 16, Name: "ioctl$RTC_WKALM_SET", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1076391951},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rtc_wkalrm"}}},
|
||||
}},
|
||||
{NR: 16, Name: "ioctl$SCSI_IOCTL_BENCHMARK_COMMAND", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_sg", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3},
|
||||
@ -31059,6 +31213,11 @@ var syscalls_amd64 = []*Syscall{
|
||||
&ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "id", TypeSize: 8}}, ValuesPerProc: 1},
|
||||
&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},
|
||||
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ndb", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
|
||||
{Name: "syz_open_dev$rtc", CallName: "syz_open_dev", Args: []Type{
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 10}, Kind: 2, Values: []string{"/dev/rtc#\x00"}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "id", TypeSize: 8}}},
|
||||
&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},
|
||||
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
|
||||
{Name: "syz_open_dev$sg", CallName: "syz_open_dev", Args: []Type{
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 9}, Kind: 2, Values: []string{"/dev/sg#\x00"}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "id", TypeSize: 8}}},
|
||||
@ -34622,6 +34781,29 @@ var consts_amd64 = []ConstValue{
|
||||
{Name: "RTA_SRC", Value: 2},
|
||||
{Name: "RTA_TTL_PROPAGATE", Value: 26},
|
||||
{Name: "RTA_UID", Value: 25},
|
||||
{Name: "RTC_AIE_OFF", Value: 28674},
|
||||
{Name: "RTC_AIE_ON", Value: 28673},
|
||||
{Name: "RTC_ALM_READ", Value: 2149871624},
|
||||
{Name: "RTC_ALM_SET", Value: 1076129799},
|
||||
{Name: "RTC_EPOCH_READ", Value: 2148036621},
|
||||
{Name: "RTC_EPOCH_SET", Value: 1074294798},
|
||||
{Name: "RTC_IRQP_READ", Value: 2148036619},
|
||||
{Name: "RTC_IRQP_SET", Value: 1074294796},
|
||||
{Name: "RTC_MAX_FREQ", Value: 8192},
|
||||
{Name: "RTC_PIE_OFF", Value: 28678},
|
||||
{Name: "RTC_PIE_ON", Value: 28677},
|
||||
{Name: "RTC_PLL_GET", Value: 2149609489},
|
||||
{Name: "RTC_PLL_SET", Value: 1075867666},
|
||||
{Name: "RTC_RD_TIME", Value: 2149871625},
|
||||
{Name: "RTC_SET_TIME", Value: 1076129802},
|
||||
{Name: "RTC_UIE_OFF", Value: 28676},
|
||||
{Name: "RTC_UIE_ON", Value: 28675},
|
||||
{Name: "RTC_VL_CLR", Value: 28692},
|
||||
{Name: "RTC_VL_READ", Value: 2147774483},
|
||||
{Name: "RTC_WIE_OFF", Value: 28688},
|
||||
{Name: "RTC_WIE_ON", Value: 28687},
|
||||
{Name: "RTC_WKALM_RD", Value: 2150133776},
|
||||
{Name: "RTC_WKALM_SET", Value: 1076391951},
|
||||
{Name: "RTF_ADDRCONF", Value: 262144},
|
||||
{Name: "RTF_ALLONLINK", Value: 131072},
|
||||
{Name: "RTF_ANYCAST", Value: 1048576},
|
||||
@ -37600,4 +37782,4 @@ var consts_amd64 = []ConstValue{
|
||||
{Name: "bpf_insn_load_imm_dw", Value: 24},
|
||||
}
|
||||
|
||||
const revision_amd64 = "fc69ece5307d371a63232a03bac964a9ede3c7d2"
|
||||
const revision_amd64 = "9b691ef1ad3871279dddf35bbadcb13736803e01"
|
||||
|
@ -54,6 +54,7 @@ var resources_arm = []*ResourceDesc{
|
||||
{Name: "fd_perf", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
|
||||
{Name: "fd_random", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_random"}, 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_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_context", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_context"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
|
||||
{Name: "fd_selinux_create", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_create"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
|
||||
@ -13250,6 +13251,58 @@ var structDescs_arm = []*KeyedStruct{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "abort_ip", TypeSize: 4}}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 12}}, IsPad: true},
|
||||
}, AlignAttr: 32}},
|
||||
{Key: StructKey{Name: "rtc_pll_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtc_pll_info", TypeSize: 28}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_ctrl", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_value", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_max", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_min", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_posmult", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_negmult", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "pll_clock", TypeSize: 4}}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "rtc_pll_info", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtc_pll_info", TypeSize: 28, ArgDir: 1}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_ctrl", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_value", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_max", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_min", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_posmult", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_negmult", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "pll_clock", TypeSize: 4, ArgDir: 1}}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "rtc_time"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtc_time", TypeSize: 36}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_sec", TypeSize: 4}}, Kind: 2, RangeEnd: 60},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_min", TypeSize: 4}}, Kind: 2, RangeEnd: 59},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_hour", TypeSize: 4}}, Kind: 2, RangeEnd: 23},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_mday", TypeSize: 4}}, Kind: 2, RangeBegin: 1, RangeEnd: 31},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_mon", TypeSize: 4}}, Kind: 2, RangeEnd: 11},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_year", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_wday", TypeSize: 4}}, Kind: 2, RangeEnd: 6},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_yday", TypeSize: 4}}, Kind: 2, RangeEnd: 365},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtc_isdst", FldName: "tm_isdst", TypeSize: 4}}, Vals: []uint64{0, 1, 18446744073709551615}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "rtc_time", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtc_time", TypeSize: 36, ArgDir: 1}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_sec", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 60},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_min", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 59},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_hour", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 23},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_mday", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeBegin: 1, RangeEnd: 31},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_mon", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 11},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_year", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_wday", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 6},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_yday", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 365},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtc_isdst", FldName: "tm_isdst", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{0, 1, 18446744073709551615}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "rtc_wkalrm"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtc_wkalrm", TypeSize: 40}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "enabled", TypeSize: 1}}, Kind: 2, RangeEnd: 1},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "pending", TypeSize: 1}}, Kind: 2, RangeEnd: 1},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
|
||||
&StructType{Key: StructKey{Name: "rtc_time"}, FldName: "time"},
|
||||
}}},
|
||||
{Key: StructKey{Name: "rtc_wkalrm", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtc_wkalrm", TypeSize: 40, ArgDir: 1}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "enabled", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 1},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "pending", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 1},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
|
||||
&StructType{Key: StructKey{Name: "rtc_time", Dir: 1}, FldName: "time"},
|
||||
}}},
|
||||
{Key: StructKey{Name: "rtentry_in"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtentry_in", TypeSize: 112}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "rt_pad1", TypeSize: 8}}},
|
||||
&StructType{Key: StructKey{Name: "sockaddr_in"}, FldName: "rt_dst"},
|
||||
@ -23793,6 +23846,107 @@ var syscalls_arm = []*Syscall{
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 20996},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_AIE_OFF", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 28674},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_AIE_ON", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 28673},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_ALM_READ", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2149871624},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "rtc_time", Dir: 1}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_ALM_SET", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1076129799},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "rtc_time"}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_EPOCH_READ", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147774477},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4, ArgDir: 1}}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_EPOCH_SET", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074032654},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 4}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_IRQP_READ", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147774475},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4, ArgDir: 1}}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_IRQP_SET", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074032652},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 4}}, Kind: 2, RangeBegin: 1, RangeEnd: 8192},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_PIE_OFF", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 28678},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_PIE_ON", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 28677},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_PLL_GET", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2149347345},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "rtc_pll_info", Dir: 1}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_PLL_SET", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1075605522},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "rtc_pll_info"}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_RD_TIME", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2149871625},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "rtc_time", Dir: 1}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_SET_TIME", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1076129802},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "rtc_time"}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_UIE_OFF", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 28676},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_UIE_ON", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 28675},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_VL_CLR", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 28692},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_VL_READ", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147774483},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_WIE_OFF", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 28688},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_WIE_ON", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 28687},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_WKALM_RD", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2150133776},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "rtc_wkalrm", Dir: 1}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_WKALM_SET", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1076391951},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "rtc_wkalrm"}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$SCSI_IOCTL_BENCHMARK_COMMAND", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_sg", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3},
|
||||
@ -30312,6 +30466,11 @@ var syscalls_arm = []*Syscall{
|
||||
&ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "id", TypeSize: 4}}, ValuesPerProc: 1},
|
||||
&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},
|
||||
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ndb", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
|
||||
{Name: "syz_open_dev$rtc", CallName: "syz_open_dev", Args: []Type{
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 10}, Kind: 2, Values: []string{"/dev/rtc#\x00"}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "id", TypeSize: 4}}},
|
||||
&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},
|
||||
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
|
||||
{Name: "syz_open_dev$sg", CallName: "syz_open_dev", Args: []Type{
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 9}, Kind: 2, Values: []string{"/dev/sg#\x00"}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "id", TypeSize: 4}}},
|
||||
@ -33820,6 +33979,29 @@ var consts_arm = []ConstValue{
|
||||
{Name: "RTA_SRC", Value: 2},
|
||||
{Name: "RTA_TTL_PROPAGATE", Value: 26},
|
||||
{Name: "RTA_UID", Value: 25},
|
||||
{Name: "RTC_AIE_OFF", Value: 28674},
|
||||
{Name: "RTC_AIE_ON", Value: 28673},
|
||||
{Name: "RTC_ALM_READ", Value: 2149871624},
|
||||
{Name: "RTC_ALM_SET", Value: 1076129799},
|
||||
{Name: "RTC_EPOCH_READ", Value: 2147774477},
|
||||
{Name: "RTC_EPOCH_SET", Value: 1074032654},
|
||||
{Name: "RTC_IRQP_READ", Value: 2147774475},
|
||||
{Name: "RTC_IRQP_SET", Value: 1074032652},
|
||||
{Name: "RTC_MAX_FREQ", Value: 8192},
|
||||
{Name: "RTC_PIE_OFF", Value: 28678},
|
||||
{Name: "RTC_PIE_ON", Value: 28677},
|
||||
{Name: "RTC_PLL_GET", Value: 2149347345},
|
||||
{Name: "RTC_PLL_SET", Value: 1075605522},
|
||||
{Name: "RTC_RD_TIME", Value: 2149871625},
|
||||
{Name: "RTC_SET_TIME", Value: 1076129802},
|
||||
{Name: "RTC_UIE_OFF", Value: 28676},
|
||||
{Name: "RTC_UIE_ON", Value: 28675},
|
||||
{Name: "RTC_VL_CLR", Value: 28692},
|
||||
{Name: "RTC_VL_READ", Value: 2147774483},
|
||||
{Name: "RTC_WIE_OFF", Value: 28688},
|
||||
{Name: "RTC_WIE_ON", Value: 28687},
|
||||
{Name: "RTC_WKALM_RD", Value: 2150133776},
|
||||
{Name: "RTC_WKALM_SET", Value: 1076391951},
|
||||
{Name: "RTF_ADDRCONF", Value: 262144},
|
||||
{Name: "RTF_ALLONLINK", Value: 131072},
|
||||
{Name: "RTF_ANYCAST", Value: 1048576},
|
||||
@ -36771,4 +36953,4 @@ var consts_arm = []ConstValue{
|
||||
{Name: "bpf_insn_load_imm_dw", Value: 24},
|
||||
}
|
||||
|
||||
const revision_arm = "dd5ad897499c0d9a2e3cbc471197a813b506d043"
|
||||
const revision_arm = "2d48f7b04fa6aa40cf950630cc96b02d6a248012"
|
||||
|
@ -54,6 +54,7 @@ var resources_arm64 = []*ResourceDesc{
|
||||
{Name: "fd_perf", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
|
||||
{Name: "fd_random", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_random"}, 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_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_context", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_context"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
|
||||
{Name: "fd_selinux_create", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_create"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
|
||||
@ -13417,6 +13418,58 @@ var structDescs_arm64 = []*KeyedStruct{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "futex_offset", TypeSize: 8, ArgDir: 1}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "list_op_pending", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "robust_list"}}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "rtc_pll_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtc_pll_info", TypeSize: 32}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_ctrl", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_value", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_max", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_min", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_posmult", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_negmult", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "pll_clock", TypeSize: 8}}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "rtc_pll_info", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtc_pll_info", TypeSize: 32, ArgDir: 1}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_ctrl", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_value", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_max", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_min", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_posmult", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_negmult", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "pll_clock", TypeSize: 8, ArgDir: 1}}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "rtc_time"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtc_time", TypeSize: 36}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_sec", TypeSize: 4}}, Kind: 2, RangeEnd: 60},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_min", TypeSize: 4}}, Kind: 2, RangeEnd: 59},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_hour", TypeSize: 4}}, Kind: 2, RangeEnd: 23},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_mday", TypeSize: 4}}, Kind: 2, RangeBegin: 1, RangeEnd: 31},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_mon", TypeSize: 4}}, Kind: 2, RangeEnd: 11},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_year", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_wday", TypeSize: 4}}, Kind: 2, RangeEnd: 6},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_yday", TypeSize: 4}}, Kind: 2, RangeEnd: 365},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtc_isdst", FldName: "tm_isdst", TypeSize: 4}}, Vals: []uint64{0, 1, 18446744073709551615}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "rtc_time", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtc_time", TypeSize: 36, ArgDir: 1}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_sec", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 60},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_min", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 59},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_hour", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 23},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_mday", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeBegin: 1, RangeEnd: 31},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_mon", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 11},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_year", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_wday", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 6},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_yday", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 365},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtc_isdst", FldName: "tm_isdst", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{0, 1, 18446744073709551615}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "rtc_wkalrm"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtc_wkalrm", TypeSize: 40}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "enabled", TypeSize: 1}}, Kind: 2, RangeEnd: 1},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "pending", TypeSize: 1}}, Kind: 2, RangeEnd: 1},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
|
||||
&StructType{Key: StructKey{Name: "rtc_time"}, FldName: "time"},
|
||||
}}},
|
||||
{Key: StructKey{Name: "rtc_wkalrm", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtc_wkalrm", TypeSize: 40, ArgDir: 1}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "enabled", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 1},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "pending", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 1},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
|
||||
&StructType{Key: StructKey{Name: "rtc_time", Dir: 1}, FldName: "time"},
|
||||
}}},
|
||||
{Key: StructKey{Name: "rtentry_in"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtentry_in", TypeSize: 120}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "rt_pad1", TypeSize: 8}}},
|
||||
&StructType{Key: StructKey{Name: "sockaddr_in"}, FldName: "rt_dst"},
|
||||
@ -24074,6 +24127,107 @@ var syscalls_arm64 = []*Syscall{
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 20996},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
|
||||
}},
|
||||
{NR: 29, Name: "ioctl$RTC_AIE_OFF", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 28674},
|
||||
}},
|
||||
{NR: 29, Name: "ioctl$RTC_AIE_ON", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 28673},
|
||||
}},
|
||||
{NR: 29, Name: "ioctl$RTC_ALM_READ", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2149871624},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rtc_time", Dir: 1}}},
|
||||
}},
|
||||
{NR: 29, Name: "ioctl$RTC_ALM_SET", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1076129799},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rtc_time"}}},
|
||||
}},
|
||||
{NR: 29, Name: "ioctl$RTC_EPOCH_READ", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148036621},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}},
|
||||
}},
|
||||
{NR: 29, Name: "ioctl$RTC_EPOCH_SET", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074294798},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}},
|
||||
}},
|
||||
{NR: 29, Name: "ioctl$RTC_IRQP_READ", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148036619},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}},
|
||||
}},
|
||||
{NR: 29, Name: "ioctl$RTC_IRQP_SET", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074294796},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 2, RangeBegin: 1, RangeEnd: 8192},
|
||||
}},
|
||||
{NR: 29, Name: "ioctl$RTC_PIE_OFF", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 28678},
|
||||
}},
|
||||
{NR: 29, Name: "ioctl$RTC_PIE_ON", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 28677},
|
||||
}},
|
||||
{NR: 29, Name: "ioctl$RTC_PLL_GET", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2149609489},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rtc_pll_info", Dir: 1}}},
|
||||
}},
|
||||
{NR: 29, Name: "ioctl$RTC_PLL_SET", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1075867666},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rtc_pll_info"}}},
|
||||
}},
|
||||
{NR: 29, Name: "ioctl$RTC_RD_TIME", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2149871625},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rtc_time", Dir: 1}}},
|
||||
}},
|
||||
{NR: 29, Name: "ioctl$RTC_SET_TIME", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1076129802},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rtc_time"}}},
|
||||
}},
|
||||
{NR: 29, Name: "ioctl$RTC_UIE_OFF", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 28676},
|
||||
}},
|
||||
{NR: 29, Name: "ioctl$RTC_UIE_ON", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 28675},
|
||||
}},
|
||||
{NR: 29, Name: "ioctl$RTC_VL_CLR", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 28692},
|
||||
}},
|
||||
{NR: 29, Name: "ioctl$RTC_VL_READ", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147774483},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
|
||||
}},
|
||||
{NR: 29, Name: "ioctl$RTC_WIE_OFF", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 28688},
|
||||
}},
|
||||
{NR: 29, Name: "ioctl$RTC_WIE_ON", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 28687},
|
||||
}},
|
||||
{NR: 29, Name: "ioctl$RTC_WKALM_RD", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2150133776},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rtc_wkalrm", Dir: 1}}},
|
||||
}},
|
||||
{NR: 29, Name: "ioctl$RTC_WKALM_SET", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1076391951},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rtc_wkalrm"}}},
|
||||
}},
|
||||
{NR: 29, Name: "ioctl$SCSI_IOCTL_BENCHMARK_COMMAND", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_sg", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3},
|
||||
@ -30530,6 +30684,11 @@ var syscalls_arm64 = []*Syscall{
|
||||
&ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "id", TypeSize: 8}}, ValuesPerProc: 1},
|
||||
&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},
|
||||
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ndb", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
|
||||
{Name: "syz_open_dev$rtc", CallName: "syz_open_dev", Args: []Type{
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 10}, Kind: 2, Values: []string{"/dev/rtc#\x00"}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "id", TypeSize: 8}}},
|
||||
&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},
|
||||
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
|
||||
{Name: "syz_open_dev$sg", CallName: "syz_open_dev", Args: []Type{
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 9}, Kind: 2, Values: []string{"/dev/sg#\x00"}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "id", TypeSize: 8}}},
|
||||
@ -34029,6 +34188,29 @@ var consts_arm64 = []ConstValue{
|
||||
{Name: "RTA_SRC", Value: 2},
|
||||
{Name: "RTA_TTL_PROPAGATE", Value: 26},
|
||||
{Name: "RTA_UID", Value: 25},
|
||||
{Name: "RTC_AIE_OFF", Value: 28674},
|
||||
{Name: "RTC_AIE_ON", Value: 28673},
|
||||
{Name: "RTC_ALM_READ", Value: 2149871624},
|
||||
{Name: "RTC_ALM_SET", Value: 1076129799},
|
||||
{Name: "RTC_EPOCH_READ", Value: 2148036621},
|
||||
{Name: "RTC_EPOCH_SET", Value: 1074294798},
|
||||
{Name: "RTC_IRQP_READ", Value: 2148036619},
|
||||
{Name: "RTC_IRQP_SET", Value: 1074294796},
|
||||
{Name: "RTC_MAX_FREQ", Value: 8192},
|
||||
{Name: "RTC_PIE_OFF", Value: 28678},
|
||||
{Name: "RTC_PIE_ON", Value: 28677},
|
||||
{Name: "RTC_PLL_GET", Value: 2149609489},
|
||||
{Name: "RTC_PLL_SET", Value: 1075867666},
|
||||
{Name: "RTC_RD_TIME", Value: 2149871625},
|
||||
{Name: "RTC_SET_TIME", Value: 1076129802},
|
||||
{Name: "RTC_UIE_OFF", Value: 28676},
|
||||
{Name: "RTC_UIE_ON", Value: 28675},
|
||||
{Name: "RTC_VL_CLR", Value: 28692},
|
||||
{Name: "RTC_VL_READ", Value: 2147774483},
|
||||
{Name: "RTC_WIE_OFF", Value: 28688},
|
||||
{Name: "RTC_WIE_ON", Value: 28687},
|
||||
{Name: "RTC_WKALM_RD", Value: 2150133776},
|
||||
{Name: "RTC_WKALM_SET", Value: 1076391951},
|
||||
{Name: "RTF_ADDRCONF", Value: 262144},
|
||||
{Name: "RTF_ALLONLINK", Value: 131072},
|
||||
{Name: "RTF_ANYCAST", Value: 1048576},
|
||||
@ -36965,4 +37147,4 @@ var consts_arm64 = []ConstValue{
|
||||
{Name: "bpf_insn_load_imm_dw", Value: 24},
|
||||
}
|
||||
|
||||
const revision_arm64 = "45ca78852b7500e7612287085dee2292ff1d6a8e"
|
||||
const revision_arm64 = "e0996c58f44d1178a9173f9c61fc9868155e4f7f"
|
||||
|
@ -53,6 +53,7 @@ var resources_ppc64le = []*ResourceDesc{
|
||||
{Name: "fd_perf", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
|
||||
{Name: "fd_random", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_random"}, 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_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_context", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_context"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
|
||||
{Name: "fd_selinux_create", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_create"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
|
||||
@ -13383,6 +13384,58 @@ var structDescs_ppc64le = []*KeyedStruct{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "post_commit_offset", TypeSize: 8}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "abort_ip", TypeSize: 8}}},
|
||||
}, AlignAttr: 32}},
|
||||
{Key: StructKey{Name: "rtc_pll_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtc_pll_info", TypeSize: 32}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_ctrl", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_value", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_max", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_min", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_posmult", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_negmult", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "pll_clock", TypeSize: 8}}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "rtc_pll_info", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtc_pll_info", TypeSize: 32, ArgDir: 1}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_ctrl", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_value", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_max", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_min", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_posmult", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pll_negmult", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "pll_clock", TypeSize: 8, ArgDir: 1}}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "rtc_time"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtc_time", TypeSize: 36}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_sec", TypeSize: 4}}, Kind: 2, RangeEnd: 60},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_min", TypeSize: 4}}, Kind: 2, RangeEnd: 59},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_hour", TypeSize: 4}}, Kind: 2, RangeEnd: 23},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_mday", TypeSize: 4}}, Kind: 2, RangeBegin: 1, RangeEnd: 31},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_mon", TypeSize: 4}}, Kind: 2, RangeEnd: 11},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_year", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_wday", TypeSize: 4}}, Kind: 2, RangeEnd: 6},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_yday", TypeSize: 4}}, Kind: 2, RangeEnd: 365},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtc_isdst", FldName: "tm_isdst", TypeSize: 4}}, Vals: []uint64{0, 1, 18446744073709551615}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "rtc_time", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtc_time", TypeSize: 36, ArgDir: 1}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_sec", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 60},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_min", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 59},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_hour", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 23},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_mday", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeBegin: 1, RangeEnd: 31},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_mon", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 11},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_year", TypeSize: 4, ArgDir: 1}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_wday", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 6},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tm_yday", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 365},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtc_isdst", FldName: "tm_isdst", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{0, 1, 18446744073709551615}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "rtc_wkalrm"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtc_wkalrm", TypeSize: 40}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "enabled", TypeSize: 1}}, Kind: 2, RangeEnd: 1},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "pending", TypeSize: 1}}, Kind: 2, RangeEnd: 1},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
|
||||
&StructType{Key: StructKey{Name: "rtc_time"}, FldName: "time"},
|
||||
}}},
|
||||
{Key: StructKey{Name: "rtc_wkalrm", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtc_wkalrm", TypeSize: 40, ArgDir: 1}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "enabled", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 1},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "pending", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 1},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
|
||||
&StructType{Key: StructKey{Name: "rtc_time", Dir: 1}, FldName: "time"},
|
||||
}}},
|
||||
{Key: StructKey{Name: "rtentry_in"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtentry_in", TypeSize: 120}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "rt_pad1", TypeSize: 8}}},
|
||||
&StructType{Key: StructKey{Name: "sockaddr_in"}, FldName: "rt_dst"},
|
||||
@ -23182,6 +23235,107 @@ var syscalls_ppc64le = []*Syscall{
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536891908},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_AIE_OFF", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536899586},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_AIE_ON", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536899585},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_ALM_READ", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1076129800},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rtc_time", Dir: 1}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_ALM_SET", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2149871623},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rtc_time"}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_EPOCH_READ", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074294797},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_EPOCH_SET", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148036622},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_IRQP_READ", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074294795},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_IRQP_SET", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148036620},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 2, RangeBegin: 1, RangeEnd: 8192},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_PIE_OFF", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536899590},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_PIE_ON", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536899589},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_PLL_GET", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1075867665},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rtc_pll_info", Dir: 1}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_PLL_SET", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2149609490},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rtc_pll_info"}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_RD_TIME", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1076129801},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rtc_time", Dir: 1}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_SET_TIME", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2149871626},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rtc_time"}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_UIE_OFF", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536899588},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_UIE_ON", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536899587},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_VL_CLR", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536899604},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_VL_READ", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074032659},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_WIE_OFF", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536899600},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_WIE_ON", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536899599},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_WKALM_RD", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1076391952},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rtc_wkalrm", Dir: 1}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$RTC_WKALM_SET", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2150133775},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rtc_wkalrm"}}},
|
||||
}},
|
||||
{NR: 54, Name: "ioctl$SCSI_IOCTL_BENCHMARK_COMMAND", CallName: "ioctl", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_sg", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3},
|
||||
@ -28976,6 +29130,11 @@ var syscalls_ppc64le = []*Syscall{
|
||||
&ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "id", TypeSize: 8}}, ValuesPerProc: 1},
|
||||
&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},
|
||||
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ndb", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
|
||||
{Name: "syz_open_dev$rtc", CallName: "syz_open_dev", Args: []Type{
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 10}, Kind: 2, Values: []string{"/dev/rtc#\x00"}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "id", TypeSize: 8}}},
|
||||
&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},
|
||||
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rtc", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
|
||||
{Name: "syz_open_dev$sg", CallName: "syz_open_dev", Args: []Type{
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 9}, Kind: 2, Values: []string{"/dev/sg#\x00"}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "id", TypeSize: 8}}},
|
||||
@ -32402,6 +32561,29 @@ var consts_ppc64le = []ConstValue{
|
||||
{Name: "RTA_SRC", Value: 2},
|
||||
{Name: "RTA_TTL_PROPAGATE", Value: 26},
|
||||
{Name: "RTA_UID", Value: 25},
|
||||
{Name: "RTC_AIE_OFF", Value: 536899586},
|
||||
{Name: "RTC_AIE_ON", Value: 536899585},
|
||||
{Name: "RTC_ALM_READ", Value: 1076129800},
|
||||
{Name: "RTC_ALM_SET", Value: 2149871623},
|
||||
{Name: "RTC_EPOCH_READ", Value: 1074294797},
|
||||
{Name: "RTC_EPOCH_SET", Value: 2148036622},
|
||||
{Name: "RTC_IRQP_READ", Value: 1074294795},
|
||||
{Name: "RTC_IRQP_SET", Value: 2148036620},
|
||||
{Name: "RTC_MAX_FREQ", Value: 8192},
|
||||
{Name: "RTC_PIE_OFF", Value: 536899590},
|
||||
{Name: "RTC_PIE_ON", Value: 536899589},
|
||||
{Name: "RTC_PLL_GET", Value: 1075867665},
|
||||
{Name: "RTC_PLL_SET", Value: 2149609490},
|
||||
{Name: "RTC_RD_TIME", Value: 1076129801},
|
||||
{Name: "RTC_SET_TIME", Value: 2149871626},
|
||||
{Name: "RTC_UIE_OFF", Value: 536899588},
|
||||
{Name: "RTC_UIE_ON", Value: 536899587},
|
||||
{Name: "RTC_VL_CLR", Value: 536899604},
|
||||
{Name: "RTC_VL_READ", Value: 1074032659},
|
||||
{Name: "RTC_WIE_OFF", Value: 536899600},
|
||||
{Name: "RTC_WIE_ON", Value: 536899599},
|
||||
{Name: "RTC_WKALM_RD", Value: 1076391952},
|
||||
{Name: "RTC_WKALM_SET", Value: 2150133775},
|
||||
{Name: "RTF_ADDRCONF", Value: 262144},
|
||||
{Name: "RTF_ALLONLINK", Value: 131072},
|
||||
{Name: "RTF_ANYCAST", Value: 1048576},
|
||||
@ -34396,4 +34578,4 @@ var consts_ppc64le = []ConstValue{
|
||||
{Name: "bpf_insn_load_imm_dw", Value: 24},
|
||||
}
|
||||
|
||||
const revision_ppc64le = "fb8f49f6dceef512594c9f30fdc24bb287e02e4f"
|
||||
const revision_ppc64le = "e810a038c6e7e93c823407bb0a01ba0d48281b55"
|
||||
|
61
sys/linux/rtc.txt
Executable file
61
sys/linux/rtc.txt
Executable file
@ -0,0 +1,61 @@
|
||||
# Copyright 2018 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 <linux/rtc.h>
|
||||
|
||||
resource fd_rtc[fd]
|
||||
|
||||
syz_open_dev$rtc(dev ptr[in, string["/dev/rtc#"]], id intptr, flags flags[open_flags]) fd_rtc
|
||||
|
||||
ioctl$RTC_AIE_OFF(fd fd_rtc, cmd const[RTC_AIE_OFF])
|
||||
ioctl$RTC_AIE_ON(fd fd_rtc, cmd const[RTC_AIE_ON])
|
||||
ioctl$RTC_PIE_OFF(fd fd_rtc, cmd const[RTC_PIE_OFF])
|
||||
ioctl$RTC_PIE_ON(fd fd_rtc, cmd const[RTC_PIE_ON])
|
||||
ioctl$RTC_UIE_OFF(fd fd_rtc, cmd const[RTC_UIE_OFF])
|
||||
ioctl$RTC_UIE_ON(fd fd_rtc, cmd const[RTC_UIE_ON])
|
||||
ioctl$RTC_WIE_ON(fd fd_rtc, cmd const[RTC_WIE_ON])
|
||||
ioctl$RTC_WIE_OFF(fd fd_rtc, cmd const[RTC_WIE_OFF])
|
||||
ioctl$RTC_ALM_READ(fd fd_rtc, cmd const[RTC_ALM_READ], arg ptr[out, rtc_time])
|
||||
ioctl$RTC_ALM_SET(fd fd_rtc, cmd const[RTC_ALM_SET], arg ptr[in, rtc_time])
|
||||
ioctl$RTC_RD_TIME(fd fd_rtc, cmd const[RTC_RD_TIME], arg ptr[out, rtc_time])
|
||||
ioctl$RTC_SET_TIME(fd fd_rtc, cmd const[RTC_SET_TIME], arg ptr[in, rtc_time])
|
||||
ioctl$RTC_IRQP_READ(fd fd_rtc, cmd const[RTC_IRQP_READ], arg ptr[out, intptr])
|
||||
ioctl$RTC_IRQP_SET(fd fd_rtc, cmd const[RTC_IRQP_SET], arg intptr[1:RTC_MAX_FREQ])
|
||||
ioctl$RTC_EPOCH_READ(fd fd_rtc, cmd const[RTC_EPOCH_READ], arg ptr[out, intptr])
|
||||
ioctl$RTC_EPOCH_SET(fd fd_rtc, cmd const[RTC_EPOCH_SET], arg intptr)
|
||||
ioctl$RTC_WKALM_RD(fd fd_rtc, cmd const[RTC_WKALM_RD], arg ptr[out, rtc_wkalrm])
|
||||
ioctl$RTC_WKALM_SET(fd fd_rtc, cmd const[RTC_WKALM_SET], arg ptr[in, rtc_wkalrm])
|
||||
ioctl$RTC_PLL_GET(fd fd_rtc, cmd const[RTC_PLL_GET], arg ptr[out, rtc_pll_info])
|
||||
ioctl$RTC_PLL_SET(fd fd_rtc, cmd const[RTC_PLL_SET], arg ptr[in, rtc_pll_info])
|
||||
ioctl$RTC_VL_READ(fd fd_rtc, cmd const[RTC_VL_READ], arg ptr[out, int32])
|
||||
ioctl$RTC_VL_CLR(fd fd_rtc, cmd const[RTC_VL_CLR])
|
||||
|
||||
rtc_time {
|
||||
tm_sec int32[0:60]
|
||||
tm_min int32[0:59]
|
||||
tm_hour int32[0:23]
|
||||
tm_mday int32[1:31]
|
||||
tm_mon int32[0:11]
|
||||
tm_year int32
|
||||
tm_wday int32[0:6]
|
||||
tm_yday int32[0:365]
|
||||
tm_isdst flags[rtc_isdst, int32]
|
||||
}
|
||||
|
||||
rtc_wkalrm {
|
||||
enabled bool8
|
||||
pending bool8
|
||||
time rtc_time
|
||||
}
|
||||
|
||||
rtc_pll_info {
|
||||
pll_ctrl int32
|
||||
pll_value int32
|
||||
pll_max int32
|
||||
pll_min int32
|
||||
pll_posmult int32
|
||||
pll_negmult int32
|
||||
pll_clock intptr
|
||||
}
|
||||
|
||||
rtc_isdst = 0, 1, 0xffffffffffffffff
|
25
sys/linux/rtc_386.const
Normal file
25
sys/linux/rtc_386.const
Normal file
@ -0,0 +1,25 @@
|
||||
# AUTOGENERATED FILE
|
||||
RTC_AIE_OFF = 28674
|
||||
RTC_AIE_ON = 28673
|
||||
RTC_ALM_READ = 2149871624
|
||||
RTC_ALM_SET = 1076129799
|
||||
RTC_EPOCH_READ = 2147774477
|
||||
RTC_EPOCH_SET = 1074032654
|
||||
RTC_IRQP_READ = 2147774475
|
||||
RTC_IRQP_SET = 1074032652
|
||||
RTC_MAX_FREQ = 8192
|
||||
RTC_PIE_OFF = 28678
|
||||
RTC_PIE_ON = 28677
|
||||
RTC_PLL_GET = 2149347345
|
||||
RTC_PLL_SET = 1075605522
|
||||
RTC_RD_TIME = 2149871625
|
||||
RTC_SET_TIME = 1076129802
|
||||
RTC_UIE_OFF = 28676
|
||||
RTC_UIE_ON = 28675
|
||||
RTC_VL_CLR = 28692
|
||||
RTC_VL_READ = 2147774483
|
||||
RTC_WIE_OFF = 28688
|
||||
RTC_WIE_ON = 28687
|
||||
RTC_WKALM_RD = 2150133776
|
||||
RTC_WKALM_SET = 1076391951
|
||||
__NR_ioctl = 54
|
25
sys/linux/rtc_amd64.const
Normal file
25
sys/linux/rtc_amd64.const
Normal file
@ -0,0 +1,25 @@
|
||||
# AUTOGENERATED FILE
|
||||
RTC_AIE_OFF = 28674
|
||||
RTC_AIE_ON = 28673
|
||||
RTC_ALM_READ = 2149871624
|
||||
RTC_ALM_SET = 1076129799
|
||||
RTC_EPOCH_READ = 2148036621
|
||||
RTC_EPOCH_SET = 1074294798
|
||||
RTC_IRQP_READ = 2148036619
|
||||
RTC_IRQP_SET = 1074294796
|
||||
RTC_MAX_FREQ = 8192
|
||||
RTC_PIE_OFF = 28678
|
||||
RTC_PIE_ON = 28677
|
||||
RTC_PLL_GET = 2149609489
|
||||
RTC_PLL_SET = 1075867666
|
||||
RTC_RD_TIME = 2149871625
|
||||
RTC_SET_TIME = 1076129802
|
||||
RTC_UIE_OFF = 28676
|
||||
RTC_UIE_ON = 28675
|
||||
RTC_VL_CLR = 28692
|
||||
RTC_VL_READ = 2147774483
|
||||
RTC_WIE_OFF = 28688
|
||||
RTC_WIE_ON = 28687
|
||||
RTC_WKALM_RD = 2150133776
|
||||
RTC_WKALM_SET = 1076391951
|
||||
__NR_ioctl = 16
|
25
sys/linux/rtc_arm.const
Normal file
25
sys/linux/rtc_arm.const
Normal file
@ -0,0 +1,25 @@
|
||||
# AUTOGENERATED FILE
|
||||
RTC_AIE_OFF = 28674
|
||||
RTC_AIE_ON = 28673
|
||||
RTC_ALM_READ = 2149871624
|
||||
RTC_ALM_SET = 1076129799
|
||||
RTC_EPOCH_READ = 2147774477
|
||||
RTC_EPOCH_SET = 1074032654
|
||||
RTC_IRQP_READ = 2147774475
|
||||
RTC_IRQP_SET = 1074032652
|
||||
RTC_MAX_FREQ = 8192
|
||||
RTC_PIE_OFF = 28678
|
||||
RTC_PIE_ON = 28677
|
||||
RTC_PLL_GET = 2149347345
|
||||
RTC_PLL_SET = 1075605522
|
||||
RTC_RD_TIME = 2149871625
|
||||
RTC_SET_TIME = 1076129802
|
||||
RTC_UIE_OFF = 28676
|
||||
RTC_UIE_ON = 28675
|
||||
RTC_VL_CLR = 28692
|
||||
RTC_VL_READ = 2147774483
|
||||
RTC_WIE_OFF = 28688
|
||||
RTC_WIE_ON = 28687
|
||||
RTC_WKALM_RD = 2150133776
|
||||
RTC_WKALM_SET = 1076391951
|
||||
__NR_ioctl = 54
|
25
sys/linux/rtc_arm64.const
Normal file
25
sys/linux/rtc_arm64.const
Normal file
@ -0,0 +1,25 @@
|
||||
# AUTOGENERATED FILE
|
||||
RTC_AIE_OFF = 28674
|
||||
RTC_AIE_ON = 28673
|
||||
RTC_ALM_READ = 2149871624
|
||||
RTC_ALM_SET = 1076129799
|
||||
RTC_EPOCH_READ = 2148036621
|
||||
RTC_EPOCH_SET = 1074294798
|
||||
RTC_IRQP_READ = 2148036619
|
||||
RTC_IRQP_SET = 1074294796
|
||||
RTC_MAX_FREQ = 8192
|
||||
RTC_PIE_OFF = 28678
|
||||
RTC_PIE_ON = 28677
|
||||
RTC_PLL_GET = 2149609489
|
||||
RTC_PLL_SET = 1075867666
|
||||
RTC_RD_TIME = 2149871625
|
||||
RTC_SET_TIME = 1076129802
|
||||
RTC_UIE_OFF = 28676
|
||||
RTC_UIE_ON = 28675
|
||||
RTC_VL_CLR = 28692
|
||||
RTC_VL_READ = 2147774483
|
||||
RTC_WIE_OFF = 28688
|
||||
RTC_WIE_ON = 28687
|
||||
RTC_WKALM_RD = 2150133776
|
||||
RTC_WKALM_SET = 1076391951
|
||||
__NR_ioctl = 29
|
25
sys/linux/rtc_ppc64le.const
Normal file
25
sys/linux/rtc_ppc64le.const
Normal file
@ -0,0 +1,25 @@
|
||||
# AUTOGENERATED FILE
|
||||
RTC_AIE_OFF = 536899586
|
||||
RTC_AIE_ON = 536899585
|
||||
RTC_ALM_READ = 1076129800
|
||||
RTC_ALM_SET = 2149871623
|
||||
RTC_EPOCH_READ = 1074294797
|
||||
RTC_EPOCH_SET = 2148036622
|
||||
RTC_IRQP_READ = 1074294795
|
||||
RTC_IRQP_SET = 2148036620
|
||||
RTC_MAX_FREQ = 8192
|
||||
RTC_PIE_OFF = 536899590
|
||||
RTC_PIE_ON = 536899589
|
||||
RTC_PLL_GET = 1075867665
|
||||
RTC_PLL_SET = 2149609490
|
||||
RTC_RD_TIME = 1076129801
|
||||
RTC_SET_TIME = 2149871626
|
||||
RTC_UIE_OFF = 536899588
|
||||
RTC_UIE_ON = 536899587
|
||||
RTC_VL_CLR = 536899604
|
||||
RTC_VL_READ = 1074032659
|
||||
RTC_WIE_OFF = 536899600
|
||||
RTC_WIE_ON = 536899599
|
||||
RTC_WKALM_RD = 1076391952
|
||||
RTC_WKALM_SET = 2150133775
|
||||
__NR_ioctl = 54
|
Loading…
Reference in New Issue
Block a user