executor, csource: share some common code between executor and csource

This commit is contained in:
Dmitry Vyukov 2016-08-28 14:59:48 +02:00
parent f0eccc7052
commit 9b91ede860
8 changed files with 3547 additions and 3552 deletions

View File

@ -46,12 +46,21 @@ bin/syz-extract: ./syz-extract
generate: bin/syz-sysgen
bin/syz-sysgen
go generate ./...
bin/syz-sysgen: sysgen/*.go
go build -o $@ ./sysgen
format:
go fmt ./...
clang-format --style=file -i executor/executor.cc
clang-format --style=file -i executor/*.cc executor/*.h
presubmit:
$(MAKE) generate
$(MAKE) format
ARCH=amd64 go install ./...
ARCH=arm64 go install ./...
ARCH=ppc64le go install ./...
go test -short ./...
clean:
rm -rf ./bin/

View File

@ -1,6 +1,8 @@
// Copyright 2015 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.
//go:generate bash -c "echo -e '// AUTOGENERATED FROM executor/common.h\npackage csource\nvar commonHeader = `' > common.go; cat ../executor/common.h | grep -v // >> common.go; echo '`' >> common.go"
package csource
import (
@ -25,32 +27,9 @@ func Write(p *prog.Prog, opts Options) []byte {
exec := p.SerializeForExec()
w := new(bytes.Buffer)
fmt.Fprintf(w, `// autogenerated by syzkaller (http://github.com/google/syzkaller)
#include <unistd.h>
#include <sys/syscall.h>
#include <string.h>
#include <stdint.h>
#include <pthread.h>
#include <stdlib.h>
#include <setjmp.h>
#include <signal.h>
__thread int skip_segv;
__thread jmp_buf segv_env;
void handle_segv(int sig, siginfo_t* info, void* uctx)
{
if (__atomic_load_n(&skip_segv, __ATOMIC_RELAXED))
_longjmp(segv_env, 1);
exit(sig);
}
#define NONFAILING(...) { \
__atomic_fetch_add(&skip_segv, 1, __ATOMIC_SEQ_CST); \
if (_setjmp(segv_env) == 0) { __VA_ARGS__; } \
__atomic_fetch_sub(&skip_segv, 1, __ATOMIC_SEQ_CST); } \
`)
fmt.Fprint(w, "// autogenerated by syzkaller (http://github.com/google/syzkaller)\n")
fmt.Fprint(w, commonHeader)
fmt.Fprint(w, "\n")
handled := make(map[string]bool)
for _, c := range p.Calls {
@ -72,13 +51,7 @@ void handle_segv(int sig, siginfo_t* info, void* uctx)
fmt.Fprint(w, `
int main()
{
struct sigaction sa;
memset(&sa, 0, sizeof(sa));
sa.sa_sigaction = handle_segv;
sa.sa_flags = SA_NODEFER | SA_SIGINFO;
sigaction(SIGSEGV, &sa, NULL);
sigaction(SIGBUS, &sa, NULL);
install_segv_handler();
memset(r, -1, sizeof(r));
`)
for _, c := range calls {
@ -100,6 +73,7 @@ int main()
fmt.Fprintf(w, "\tlong i;\n")
fmt.Fprintf(w, "\tpthread_t th[%v];\n", len(calls))
fmt.Fprintf(w, "\n")
fmt.Fprintf(w, "install_segv_handler();\n")
fmt.Fprintf(w, "\tmemset(r, -1, sizeof(r));\n")
fmt.Fprintf(w, "\tfor (i = 0; i < %v; i++) {\n", len(calls))
fmt.Fprintf(w, "\t\tpthread_create(&th[i], 0, thr, (void*)i);\n")

43
executor/common.h Normal file
View File

@ -0,0 +1,43 @@
// Copyright 2016 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.
// This file is shared between executor and csource package.
#include <pthread.h>
#include <setjmp.h>
#include <signal.h>
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <sys/syscall.h>
#include <unistd.h>
__thread int skip_segv;
__thread jmp_buf segv_env;
static void segv_handler(int sig, siginfo_t* info, void* uctx)
{
if (__atomic_load_n(&skip_segv, __ATOMIC_RELAXED))
_longjmp(segv_env, 1);
exit(sig);
}
static void install_segv_handler()
{
struct sigaction sa;
memset(&sa, 0, sizeof(sa));
sa.sa_sigaction = segv_handler;
sa.sa_flags = SA_NODEFER | SA_SIGINFO;
sigaction(SIGSEGV, &sa, NULL);
sigaction(SIGBUS, &sa, NULL);
}
#define NONFAILING(...) \
{ \
__atomic_fetch_add(&skip_segv, 1, __ATOMIC_SEQ_CST); \
if (_setjmp(segv_env) == 0) { \
__VA_ARGS__; \
} \
__atomic_fetch_sub(&skip_segv, 1, __ATOMIC_SEQ_CST); \
}

View File

@ -33,6 +33,7 @@
#include <time.h>
#include <unistd.h>
#include "common.h"
#include "syscalls.h"
#define KCOV_INIT_TRACE _IOR('c', 1, unsigned long long)
@ -121,9 +122,6 @@ struct thread_t {
thread_t threads[kMaxThreads];
char sandbox_stack[1 << 20];
int skip_segv;
jmp_buf segv_env;
__attribute__((noreturn)) void fail(const char* msg, ...);
__attribute__((noreturn)) void error(const char* msg, ...);
__attribute__((noreturn)) void exitf(const char* msg, ...);
@ -199,12 +197,7 @@ int main(int argc, char** argv)
sa.sa_handler = SIG_IGN;
syscall(SYS_rt_sigaction, 0x20, &sa, NULL, 8);
syscall(SYS_rt_sigaction, 0x21, &sa, NULL, 8);
memset(&sa, 0, sizeof(sa));
sa.sa_sigaction = handle_segv;
sa.sa_flags = SA_NODEFER | SA_SIGINFO;
sigaction(SIGSEGV, &sa, NULL);
sigaction(SIGBUS, &sa, NULL);
install_segv_handler();
int pid = -1;
switch (flag_sandbox) {
@ -461,11 +454,7 @@ retry:
break;
}
case arg_data: {
__atomic_fetch_add(&skip_segv, 1, __ATOMIC_SEQ_CST);
if (_setjmp(segv_env) == 0) {
memcpy(addr, input_pos, size);
}
__atomic_fetch_sub(&skip_segv, 1, __ATOMIC_SEQ_CST);
NONFAILING(memcpy(addr, input_pos, size));
// Read out the data.
for (uint64_t i = 0; i < (size + 7) / 8; i++)
read_input(&input_pos);
@ -847,20 +836,9 @@ uint64_t cover_dedup(thread_t* th, uint64_t n)
return w;
}
void handle_segv(int sig, siginfo_t* info, void* uctx)
{
if (__atomic_load_n(&skip_segv, __ATOMIC_RELAXED)) {
debug("caught signal %d during copyin/copyout, ignoring\n", sig);
_longjmp(segv_env, 1);
}
exitf("caught signal %d, exiting", sig);
}
void copyin(char* addr, uint64_t val, uint64_t size)
{
__atomic_fetch_add(&skip_segv, 1, __ATOMIC_SEQ_CST);
if (_setjmp(segv_env) == 0) {
switch (size) {
NONFAILING(switch (size) {
case 1:
*(uint8_t*)addr = val;
break;
@ -875,17 +853,13 @@ void copyin(char* addr, uint64_t val, uint64_t size)
break;
default:
fail("copyin: bad argument size %lu", size);
}
}
__atomic_fetch_sub(&skip_segv, 1, __ATOMIC_SEQ_CST);
});
}
uint64_t copyout(char* addr, uint64_t size)
{
uint64_t res = default_value;
__atomic_fetch_add(&skip_segv, 1, __ATOMIC_SEQ_CST);
if (_setjmp(segv_env) == 0) {
switch (size) {
NONFAILING(switch (size) {
case 1:
res = *(uint8_t*)addr;
break;
@ -900,9 +874,7 @@ uint64_t copyout(char* addr, uint64_t size)
break;
default:
fail("copyout: bad argument size %lu", size);
}
}
__atomic_fetch_sub(&skip_segv, 1, __ATOMIC_SEQ_CST);
});
return res;
}

File diff suppressed because it is too large Load Diff

View File

@ -2,64 +2,64 @@
package sys
var Resources = map[string]*ResourceDesc{
"sock_bt_sco": &ResourceDesc{Name: "sock_bt_sco", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_sco"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_bnep": &ResourceDesc{Name: "sock_bt_bnep", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_bnep"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_signal": &ResourceDesc{Name: "fd_signal", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_signal"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_random": &ResourceDesc{Name: "fd_random", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_random"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd": &ResourceDesc{Name: "fd", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"drmctx": &ResourceDesc{Name: "drmctx", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"drmctx"}, Values: []uintptr{0}},
"sock_netrom": &ResourceDesc{Name: "sock_netrom", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_netrom"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_mq": &ResourceDesc{Name: "fd_mq", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_mq"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"inotifydesc": &ResourceDesc{Name: "inotifydesc", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"inotifydesc"}, Values: []uintptr{0}},
"fd_uffd": &ResourceDesc{Name: "fd_uffd", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_uffd"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"ipc_sem": &ResourceDesc{Name: "ipc_sem", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"ipc", "ipc_sem"}, Values: []uintptr{0, 0xffffffffffffffff}},
"fd_dri": &ResourceDesc{Name: "fd_dri", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_dri"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_fuse": &ResourceDesc{Name: "fd_fuse", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_fuse"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_kcm": &ResourceDesc{Name: "sock_kcm", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_kcm"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_sndctrl": &ResourceDesc{Name: "fd_sndctrl", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_sndctrl"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_key": &ResourceDesc{Name: "sock_key", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_key"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_cmtp": &ResourceDesc{Name: "sock_bt_cmtp", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_cmtp"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_unix": &ResourceDesc{Name: "sock_unix", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_unix"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"io_ctx": &ResourceDesc{Name: "io_ctx", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 8}, Kind: []string{"io_ctx"}, Values: []uintptr{0}},
"iocbptr": &ResourceDesc{Name: "iocbptr", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 8}, Kind: []string{"iocbptr"}, Values: []uintptr{0}},
"fd_kdbus": &ResourceDesc{Name: "fd_kdbus", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_kdbus"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_epoll": &ResourceDesc{Name: "fd_epoll", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_epoll"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"ipc_shm": &ResourceDesc{Name: "ipc_shm", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"ipc", "ipc_shm"}, Values: []uintptr{0, 0xffffffffffffffff}},
"gid": &ResourceDesc{Name: "gid", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"gid"}, Values: []uintptr{0, 0xffffffffffffffff}},
"fd_tun": &ResourceDesc{Name: "fd_tun", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_tun"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_bpf_map": &ResourceDesc{Name: "fd_bpf_map", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_bpf_map"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock": &ResourceDesc{Name: "sock", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_alg": &ResourceDesc{Name: "sock_alg", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_alg"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"ipc_msq": &ResourceDesc{Name: "ipc_msq", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"ipc", "ipc_msq"}, Values: []uintptr{0, 0xffffffffffffffff}},
"timerid": &ResourceDesc{Name: "timerid", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"timerid"}, Values: []uintptr{0}},
"sock_nfc_llcp": &ResourceDesc{Name: "sock_nfc_llcp", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_nfc_llcp"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_event": &ResourceDesc{Name: "fd_event", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_event"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"pid": &ResourceDesc{Name: "pid", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"pid"}, Values: []uintptr{0, 0xffffffffffffffff}},
"fd_fanotify": &ResourceDesc{Name: "fd_fanotify", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_fanotify"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_kcm": &ResourceDesc{Name: "sock_kcm", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_kcm"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_hidp": &ResourceDesc{Name: "sock_bt_hidp", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_hidp"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_bnep": &ResourceDesc{Name: "sock_bt_bnep", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_bnep"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd": &ResourceDesc{Name: "fd", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_event": &ResourceDesc{Name: "fd_event", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_event"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"key": &ResourceDesc{Name: "key", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"key"}, Values: []uintptr{18446744073709551615, 18446744073709551614, 18446744073709551613, 18446744073709551612, 18446744073709551611, 18446744073709551610, 18446744073709551609, 18446744073709551608}},
"sock_key": &ResourceDesc{Name: "sock_key", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_key"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_netrom": &ResourceDesc{Name: "sock_netrom", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_netrom"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_sndtimer": &ResourceDesc{Name: "fd_sndtimer", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_sndtimer"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_rfcomm": &ResourceDesc{Name: "sock_bt_rfcomm", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_rfcomm"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_cmtp": &ResourceDesc{Name: "sock_bt_cmtp", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_cmtp"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"iocbptr": &ResourceDesc{Name: "iocbptr", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 8}, Kind: []string{"iocbptr"}, Values: []uintptr{0}},
"fd_fuse": &ResourceDesc{Name: "fd_fuse", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_fuse"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_kvmcpu": &ResourceDesc{Name: "fd_kvmcpu", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_kvmcpu"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_l2cap": &ResourceDesc{Name: "sock_bt_l2cap", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_l2cap"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_epoll": &ResourceDesc{Name: "fd_epoll", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_epoll"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_mq": &ResourceDesc{Name: "fd_mq", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_mq"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"ipc_sem": &ResourceDesc{Name: "ipc_sem", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"ipc", "ipc_sem"}, Values: []uintptr{0, 0xffffffffffffffff}},
"fd_evdev": &ResourceDesc{Name: "fd_evdev", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_evdev"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_alg": &ResourceDesc{Name: "sock_alg", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_alg"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_signal": &ResourceDesc{Name: "fd_signal", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_signal"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"ipc_msq": &ResourceDesc{Name: "ipc_msq", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"ipc", "ipc_msq"}, Values: []uintptr{0, 0xffffffffffffffff}},
"fd_tun": &ResourceDesc{Name: "fd_tun", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_tun"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_netlink": &ResourceDesc{Name: "sock_netlink", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_netlink"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_perf": &ResourceDesc{Name: "fd_perf", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_perf"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_algconn": &ResourceDesc{Name: "sock_algconn", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_algconn"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_hci": &ResourceDesc{Name: "sock_bt_hci", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_hci"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_sco": &ResourceDesc{Name: "sock_bt_sco", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_sco"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"pid": &ResourceDesc{Name: "pid", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"pid"}, Values: []uintptr{0, 0xffffffffffffffff}},
"drmctx": &ResourceDesc{Name: "drmctx", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"drmctx"}, Values: []uintptr{0}},
"fd_kdbus": &ResourceDesc{Name: "fd_kdbus", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_kdbus"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_random": &ResourceDesc{Name: "fd_random", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_random"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"ipc": &ResourceDesc{Name: "ipc", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"ipc"}, Values: []uintptr{0, 0xffffffffffffffff}},
"uid": &ResourceDesc{Name: "uid", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"uid"}, Values: []uintptr{0, 0xffffffffffffffff}},
"sock_nfc_llcp": &ResourceDesc{Name: "sock_nfc_llcp", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_nfc_llcp"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_bpf_map": &ResourceDesc{Name: "fd_bpf_map", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_bpf_map"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_timer": &ResourceDesc{Name: "fd_timer", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_timer"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"inotifydesc": &ResourceDesc{Name: "inotifydesc", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"inotifydesc"}, Values: []uintptr{0}},
"fd_bpf_prog": &ResourceDesc{Name: "fd_bpf_prog", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_bpf_prog"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_kvm": &ResourceDesc{Name: "fd_kvm", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_kvm"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_kvmvm": &ResourceDesc{Name: "fd_kvmvm", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_kvmvm"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_l2cap": &ResourceDesc{Name: "sock_bt_l2cap", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_l2cap"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"key": &ResourceDesc{Name: "key", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"key"}, Values: []uintptr{18446744073709551615, 18446744073709551614, 18446744073709551613, 18446744073709551612, 18446744073709551611, 18446744073709551610, 18446744073709551609, 18446744073709551608}},
"fd_kvmcpu": &ResourceDesc{Name: "fd_kvmcpu", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_kvmcpu"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_perf": &ResourceDesc{Name: "fd_perf", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_perf"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_sndtimer": &ResourceDesc{Name: "fd_sndtimer", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_sndtimer"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_algconn": &ResourceDesc{Name: "sock_algconn", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_algconn"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_hidp": &ResourceDesc{Name: "sock_bt_hidp", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_hidp"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_evdev": &ResourceDesc{Name: "fd_evdev", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_evdev"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_sndseq": &ResourceDesc{Name: "fd_sndseq", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_sndseq"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_sndctrl": &ResourceDesc{Name: "fd_sndctrl", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_sndctrl"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_nfc_raw": &ResourceDesc{Name: "sock_nfc_raw", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_nfc_raw"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_timer": &ResourceDesc{Name: "fd_timer", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_timer"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"ipc": &ResourceDesc{Name: "ipc", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"ipc"}, Values: []uintptr{0, 0xffffffffffffffff}},
"gid": &ResourceDesc{Name: "gid", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"gid"}, Values: []uintptr{0, 0xffffffffffffffff}},
"fd_uffd": &ResourceDesc{Name: "fd_uffd", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_uffd"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_inotify": &ResourceDesc{Name: "fd_inotify", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_inotify"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_netlink": &ResourceDesc{Name: "sock_netlink", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_netlink"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"uid": &ResourceDesc{Name: "uid", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"uid"}, Values: []uintptr{0, 0xffffffffffffffff}},
"fd_tty": &ResourceDesc{Name: "fd_tty", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_tty"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_sctp": &ResourceDesc{Name: "sock_sctp", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_sctp"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_unix": &ResourceDesc{Name: "sock_unix", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_unix"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt": &ResourceDesc{Name: "sock_bt", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_dir": &ResourceDesc{Name: "fd_dir", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_dir"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_hci": &ResourceDesc{Name: "sock_bt_hci", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_hci"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_rfcomm": &ResourceDesc{Name: "sock_bt_rfcomm", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_rfcomm"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"timerid": &ResourceDesc{Name: "timerid", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"timerid"}, Values: []uintptr{0}},
"fd_tty": &ResourceDesc{Name: "fd_tty", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_tty"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_dri": &ResourceDesc{Name: "fd_dri", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_dri"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_kvmvm": &ResourceDesc{Name: "fd_kvmvm", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_kvmvm"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_sndseq": &ResourceDesc{Name: "fd_sndseq", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_sndseq"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock": &ResourceDesc{Name: "sock", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt": &ResourceDesc{Name: "sock_bt", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"ipc_shm": &ResourceDesc{Name: "ipc_shm", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"ipc", "ipc_shm"}, Values: []uintptr{0, 0xffffffffffffffff}},
}
func initCalls() {

View File

@ -2,64 +2,64 @@
package sys
var Resources = map[string]*ResourceDesc{
"fd_dri": &ResourceDesc{Name: "fd_dri", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_dri"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_fuse": &ResourceDesc{Name: "fd_fuse", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_fuse"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_kcm": &ResourceDesc{Name: "sock_kcm", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_kcm"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_sndctrl": &ResourceDesc{Name: "fd_sndctrl", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_sndctrl"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_key": &ResourceDesc{Name: "sock_key", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_key"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_cmtp": &ResourceDesc{Name: "sock_bt_cmtp", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_cmtp"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"io_ctx": &ResourceDesc{Name: "io_ctx", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 8}, Kind: []string{"io_ctx"}, Values: []uintptr{0}},
"iocbptr": &ResourceDesc{Name: "iocbptr", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 8}, Kind: []string{"iocbptr"}, Values: []uintptr{0}},
"fd_kdbus": &ResourceDesc{Name: "fd_kdbus", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_kdbus"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_epoll": &ResourceDesc{Name: "fd_epoll", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_epoll"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"ipc_shm": &ResourceDesc{Name: "ipc_shm", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"ipc", "ipc_shm"}, Values: []uintptr{0, 0xffffffffffffffff}},
"gid": &ResourceDesc{Name: "gid", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"gid"}, Values: []uintptr{0, 0xffffffffffffffff}},
"fd_tun": &ResourceDesc{Name: "fd_tun", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_tun"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_bpf_map": &ResourceDesc{Name: "fd_bpf_map", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_bpf_map"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock": &ResourceDesc{Name: "sock", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_alg": &ResourceDesc{Name: "sock_alg", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_alg"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"ipc_msq": &ResourceDesc{Name: "ipc_msq", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"ipc", "ipc_msq"}, Values: []uintptr{0, 0xffffffffffffffff}},
"sock_sctp": &ResourceDesc{Name: "sock_sctp", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_sctp"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_dir": &ResourceDesc{Name: "fd_dir", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_dir"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"timerid": &ResourceDesc{Name: "timerid", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"timerid"}, Values: []uintptr{0}},
"sock_nfc_llcp": &ResourceDesc{Name: "sock_nfc_llcp", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_nfc_llcp"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_event": &ResourceDesc{Name: "fd_event", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_event"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"pid": &ResourceDesc{Name: "pid", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"pid"}, Values: []uintptr{0, 0xffffffffffffffff}},
"fd_tty": &ResourceDesc{Name: "fd_tty", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_tty"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_dri": &ResourceDesc{Name: "fd_dri", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_dri"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_kvmvm": &ResourceDesc{Name: "fd_kvmvm", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_kvmvm"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_sndseq": &ResourceDesc{Name: "fd_sndseq", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_sndseq"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock": &ResourceDesc{Name: "sock", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt": &ResourceDesc{Name: "sock_bt", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"ipc_shm": &ResourceDesc{Name: "ipc_shm", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"ipc", "ipc_shm"}, Values: []uintptr{0, 0xffffffffffffffff}},
"sock_unix": &ResourceDesc{Name: "sock_unix", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_unix"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"io_ctx": &ResourceDesc{Name: "io_ctx", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 8}, Kind: []string{"io_ctx"}, Values: []uintptr{0}},
"fd_fanotify": &ResourceDesc{Name: "fd_fanotify", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_fanotify"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_kcm": &ResourceDesc{Name: "sock_kcm", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_kcm"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_hidp": &ResourceDesc{Name: "sock_bt_hidp", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_hidp"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_bnep": &ResourceDesc{Name: "sock_bt_bnep", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_bnep"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd": &ResourceDesc{Name: "fd", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_event": &ResourceDesc{Name: "fd_event", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_event"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"key": &ResourceDesc{Name: "key", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"key"}, Values: []uintptr{18446744073709551615, 18446744073709551614, 18446744073709551613, 18446744073709551612, 18446744073709551611, 18446744073709551610, 18446744073709551609, 18446744073709551608}},
"sock_key": &ResourceDesc{Name: "sock_key", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_key"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_netrom": &ResourceDesc{Name: "sock_netrom", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_netrom"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_sndtimer": &ResourceDesc{Name: "fd_sndtimer", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_sndtimer"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_rfcomm": &ResourceDesc{Name: "sock_bt_rfcomm", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_rfcomm"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_cmtp": &ResourceDesc{Name: "sock_bt_cmtp", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_cmtp"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"iocbptr": &ResourceDesc{Name: "iocbptr", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 8}, Kind: []string{"iocbptr"}, Values: []uintptr{0}},
"fd_fuse": &ResourceDesc{Name: "fd_fuse", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_fuse"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_kvmcpu": &ResourceDesc{Name: "fd_kvmcpu", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_kvmcpu"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_l2cap": &ResourceDesc{Name: "sock_bt_l2cap", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_l2cap"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_epoll": &ResourceDesc{Name: "fd_epoll", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_epoll"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_mq": &ResourceDesc{Name: "fd_mq", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_mq"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"ipc_sem": &ResourceDesc{Name: "ipc_sem", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"ipc", "ipc_sem"}, Values: []uintptr{0, 0xffffffffffffffff}},
"fd_evdev": &ResourceDesc{Name: "fd_evdev", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_evdev"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_alg": &ResourceDesc{Name: "sock_alg", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_alg"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_signal": &ResourceDesc{Name: "fd_signal", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_signal"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"ipc_msq": &ResourceDesc{Name: "ipc_msq", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"ipc", "ipc_msq"}, Values: []uintptr{0, 0xffffffffffffffff}},
"fd_tun": &ResourceDesc{Name: "fd_tun", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_tun"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_netlink": &ResourceDesc{Name: "sock_netlink", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_netlink"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_perf": &ResourceDesc{Name: "fd_perf", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_perf"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_algconn": &ResourceDesc{Name: "sock_algconn", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_algconn"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_hci": &ResourceDesc{Name: "sock_bt_hci", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_hci"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_sco": &ResourceDesc{Name: "sock_bt_sco", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_sco"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"pid": &ResourceDesc{Name: "pid", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"pid"}, Values: []uintptr{0, 0xffffffffffffffff}},
"drmctx": &ResourceDesc{Name: "drmctx", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"drmctx"}, Values: []uintptr{0}},
"fd_kdbus": &ResourceDesc{Name: "fd_kdbus", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_kdbus"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_random": &ResourceDesc{Name: "fd_random", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_random"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"ipc": &ResourceDesc{Name: "ipc", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"ipc"}, Values: []uintptr{0, 0xffffffffffffffff}},
"uid": &ResourceDesc{Name: "uid", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"uid"}, Values: []uintptr{0, 0xffffffffffffffff}},
"sock_nfc_llcp": &ResourceDesc{Name: "sock_nfc_llcp", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_nfc_llcp"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_bpf_map": &ResourceDesc{Name: "fd_bpf_map", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_bpf_map"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_timer": &ResourceDesc{Name: "fd_timer", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_timer"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"inotifydesc": &ResourceDesc{Name: "inotifydesc", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"inotifydesc"}, Values: []uintptr{0}},
"fd_bpf_prog": &ResourceDesc{Name: "fd_bpf_prog", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_bpf_prog"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_kvm": &ResourceDesc{Name: "fd_kvm", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_kvm"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_kvmvm": &ResourceDesc{Name: "fd_kvmvm", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_kvmvm"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_l2cap": &ResourceDesc{Name: "sock_bt_l2cap", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_l2cap"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"key": &ResourceDesc{Name: "key", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"key"}, Values: []uintptr{18446744073709551615, 18446744073709551614, 18446744073709551613, 18446744073709551612, 18446744073709551611, 18446744073709551610, 18446744073709551609, 18446744073709551608}},
"fd_kvmcpu": &ResourceDesc{Name: "fd_kvmcpu", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_kvmcpu"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_perf": &ResourceDesc{Name: "fd_perf", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_perf"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_sndtimer": &ResourceDesc{Name: "fd_sndtimer", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_sndtimer"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_algconn": &ResourceDesc{Name: "sock_algconn", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_algconn"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_hidp": &ResourceDesc{Name: "sock_bt_hidp", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_hidp"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_evdev": &ResourceDesc{Name: "fd_evdev", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_evdev"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_sndseq": &ResourceDesc{Name: "fd_sndseq", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_sndseq"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_sndctrl": &ResourceDesc{Name: "fd_sndctrl", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_sndctrl"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_nfc_raw": &ResourceDesc{Name: "sock_nfc_raw", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_nfc_raw"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_timer": &ResourceDesc{Name: "fd_timer", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_timer"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"ipc": &ResourceDesc{Name: "ipc", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"ipc"}, Values: []uintptr{0, 0xffffffffffffffff}},
"fd_inotify": &ResourceDesc{Name: "fd_inotify", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_inotify"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_netlink": &ResourceDesc{Name: "sock_netlink", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_netlink"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"uid": &ResourceDesc{Name: "uid", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"uid"}, Values: []uintptr{0, 0xffffffffffffffff}},
"fd_tty": &ResourceDesc{Name: "fd_tty", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_tty"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_sctp": &ResourceDesc{Name: "sock_sctp", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_sctp"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_unix": &ResourceDesc{Name: "sock_unix", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_unix"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt": &ResourceDesc{Name: "sock_bt", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_dir": &ResourceDesc{Name: "fd_dir", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_dir"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_hci": &ResourceDesc{Name: "sock_bt_hci", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_hci"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_rfcomm": &ResourceDesc{Name: "sock_bt_rfcomm", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_rfcomm"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_sco": &ResourceDesc{Name: "sock_bt_sco", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_sco"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_bnep": &ResourceDesc{Name: "sock_bt_bnep", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_bnep"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_signal": &ResourceDesc{Name: "fd_signal", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_signal"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_random": &ResourceDesc{Name: "fd_random", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_random"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd": &ResourceDesc{Name: "fd", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"drmctx": &ResourceDesc{Name: "drmctx", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"drmctx"}, Values: []uintptr{0}},
"sock_netrom": &ResourceDesc{Name: "sock_netrom", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_netrom"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_mq": &ResourceDesc{Name: "fd_mq", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_mq"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"inotifydesc": &ResourceDesc{Name: "inotifydesc", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"inotifydesc"}, Values: []uintptr{0}},
"gid": &ResourceDesc{Name: "gid", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"gid"}, Values: []uintptr{0, 0xffffffffffffffff}},
"fd_uffd": &ResourceDesc{Name: "fd_uffd", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_uffd"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"ipc_sem": &ResourceDesc{Name: "ipc_sem", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"ipc", "ipc_sem"}, Values: []uintptr{0, 0xffffffffffffffff}},
"fd_inotify": &ResourceDesc{Name: "fd_inotify", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_inotify"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
}
func initCalls() {

View File

@ -2,64 +2,64 @@
package sys
var Resources = map[string]*ResourceDesc{
"sock_bt_hci": &ResourceDesc{Name: "sock_bt_hci", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_hci"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_rfcomm": &ResourceDesc{Name: "sock_bt_rfcomm", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_rfcomm"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_sco": &ResourceDesc{Name: "sock_bt_sco", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_sco"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_bnep": &ResourceDesc{Name: "sock_bt_bnep", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_bnep"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_signal": &ResourceDesc{Name: "fd_signal", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_signal"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_random": &ResourceDesc{Name: "fd_random", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_random"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd": &ResourceDesc{Name: "fd", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"drmctx": &ResourceDesc{Name: "drmctx", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"drmctx"}, Values: []uintptr{0}},
"sock_netrom": &ResourceDesc{Name: "sock_netrom", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_netrom"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_mq": &ResourceDesc{Name: "fd_mq", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_mq"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"inotifydesc": &ResourceDesc{Name: "inotifydesc", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"inotifydesc"}, Values: []uintptr{0}},
"fd_uffd": &ResourceDesc{Name: "fd_uffd", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_uffd"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"ipc_sem": &ResourceDesc{Name: "ipc_sem", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"ipc", "ipc_sem"}, Values: []uintptr{0, 0xffffffffffffffff}},
"fd_dri": &ResourceDesc{Name: "fd_dri", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_dri"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_fuse": &ResourceDesc{Name: "fd_fuse", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_fuse"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"iocbptr": &ResourceDesc{Name: "iocbptr", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 8}, Kind: []string{"iocbptr"}, Values: []uintptr{0}},
"sock_kcm": &ResourceDesc{Name: "sock_kcm", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_kcm"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_sndctrl": &ResourceDesc{Name: "fd_sndctrl", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_sndctrl"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_key": &ResourceDesc{Name: "sock_key", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_key"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_cmtp": &ResourceDesc{Name: "sock_bt_cmtp", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_cmtp"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_unix": &ResourceDesc{Name: "sock_unix", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_unix"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"io_ctx": &ResourceDesc{Name: "io_ctx", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 8}, Kind: []string{"io_ctx"}, Values: []uintptr{0}},
"fd_kdbus": &ResourceDesc{Name: "fd_kdbus", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_kdbus"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_epoll": &ResourceDesc{Name: "fd_epoll", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_epoll"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"ipc_shm": &ResourceDesc{Name: "ipc_shm", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"ipc", "ipc_shm"}, Values: []uintptr{0, 0xffffffffffffffff}},
"gid": &ResourceDesc{Name: "gid", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"gid"}, Values: []uintptr{0, 0xffffffffffffffff}},
"fd_tun": &ResourceDesc{Name: "fd_tun", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_tun"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_bpf_map": &ResourceDesc{Name: "fd_bpf_map", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_bpf_map"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock": &ResourceDesc{Name: "sock", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_alg": &ResourceDesc{Name: "sock_alg", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_alg"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"ipc_msq": &ResourceDesc{Name: "ipc_msq", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"ipc", "ipc_msq"}, Values: []uintptr{0, 0xffffffffffffffff}},
"timerid": &ResourceDesc{Name: "timerid", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"timerid"}, Values: []uintptr{0}},
"sock_nfc_llcp": &ResourceDesc{Name: "sock_nfc_llcp", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_nfc_llcp"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_event": &ResourceDesc{Name: "fd_event", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_event"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"pid": &ResourceDesc{Name: "pid", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"pid"}, Values: []uintptr{0, 0xffffffffffffffff}},
"fd_fanotify": &ResourceDesc{Name: "fd_fanotify", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_fanotify"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_event": &ResourceDesc{Name: "fd_event", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_event"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_kcm": &ResourceDesc{Name: "sock_kcm", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_kcm"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_hidp": &ResourceDesc{Name: "sock_bt_hidp", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_hidp"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_bnep": &ResourceDesc{Name: "sock_bt_bnep", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_bnep"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd": &ResourceDesc{Name: "fd", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"key": &ResourceDesc{Name: "key", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"key"}, Values: []uintptr{18446744073709551615, 18446744073709551614, 18446744073709551613, 18446744073709551612, 18446744073709551611, 18446744073709551610, 18446744073709551609, 18446744073709551608}},
"sock_key": &ResourceDesc{Name: "sock_key", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_key"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"iocbptr": &ResourceDesc{Name: "iocbptr", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 8}, Kind: []string{"iocbptr"}, Values: []uintptr{0}},
"sock_netrom": &ResourceDesc{Name: "sock_netrom", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_netrom"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_sndtimer": &ResourceDesc{Name: "fd_sndtimer", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_sndtimer"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_rfcomm": &ResourceDesc{Name: "sock_bt_rfcomm", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_rfcomm"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_cmtp": &ResourceDesc{Name: "sock_bt_cmtp", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_cmtp"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_mq": &ResourceDesc{Name: "fd_mq", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_mq"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"ipc_sem": &ResourceDesc{Name: "ipc_sem", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"ipc", "ipc_sem"}, Values: []uintptr{0, 0xffffffffffffffff}},
"fd_fuse": &ResourceDesc{Name: "fd_fuse", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_fuse"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_kvmcpu": &ResourceDesc{Name: "fd_kvmcpu", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_kvmcpu"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_l2cap": &ResourceDesc{Name: "sock_bt_l2cap", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_l2cap"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_epoll": &ResourceDesc{Name: "fd_epoll", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_epoll"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_evdev": &ResourceDesc{Name: "fd_evdev", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_evdev"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_alg": &ResourceDesc{Name: "sock_alg", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_alg"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_signal": &ResourceDesc{Name: "fd_signal", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_signal"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"ipc_msq": &ResourceDesc{Name: "ipc_msq", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"ipc", "ipc_msq"}, Values: []uintptr{0, 0xffffffffffffffff}},
"sock_bt_sco": &ResourceDesc{Name: "sock_bt_sco", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_sco"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"pid": &ResourceDesc{Name: "pid", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"pid"}, Values: []uintptr{0, 0xffffffffffffffff}},
"fd_tun": &ResourceDesc{Name: "fd_tun", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_tun"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_netlink": &ResourceDesc{Name: "sock_netlink", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_netlink"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_perf": &ResourceDesc{Name: "fd_perf", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_perf"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_algconn": &ResourceDesc{Name: "sock_algconn", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_algconn"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_hci": &ResourceDesc{Name: "sock_bt_hci", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_hci"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"uid": &ResourceDesc{Name: "uid", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"uid"}, Values: []uintptr{0, 0xffffffffffffffff}},
"drmctx": &ResourceDesc{Name: "drmctx", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"drmctx"}, Values: []uintptr{0}},
"fd_kdbus": &ResourceDesc{Name: "fd_kdbus", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_kdbus"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_random": &ResourceDesc{Name: "fd_random", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_random"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"ipc": &ResourceDesc{Name: "ipc", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"ipc"}, Values: []uintptr{0, 0xffffffffffffffff}},
"sock_nfc_llcp": &ResourceDesc{Name: "sock_nfc_llcp", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_nfc_llcp"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_bpf_map": &ResourceDesc{Name: "fd_bpf_map", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_bpf_map"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_timer": &ResourceDesc{Name: "fd_timer", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_timer"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"inotifydesc": &ResourceDesc{Name: "inotifydesc", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"inotifydesc"}, Values: []uintptr{0}},
"gid": &ResourceDesc{Name: "gid", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"gid"}, Values: []uintptr{0, 0xffffffffffffffff}},
"fd_bpf_prog": &ResourceDesc{Name: "fd_bpf_prog", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_bpf_prog"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_kvm": &ResourceDesc{Name: "fd_kvm", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_kvm"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_kvmvm": &ResourceDesc{Name: "fd_kvmvm", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_kvmvm"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_l2cap": &ResourceDesc{Name: "sock_bt_l2cap", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_l2cap"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt_hidp": &ResourceDesc{Name: "sock_bt_hidp", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt", "sock_bt_hidp"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"key": &ResourceDesc{Name: "key", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"key"}, Values: []uintptr{18446744073709551615, 18446744073709551614, 18446744073709551613, 18446744073709551612, 18446744073709551611, 18446744073709551610, 18446744073709551609, 18446744073709551608}},
"fd_kvmcpu": &ResourceDesc{Name: "fd_kvmcpu", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_kvmcpu"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_perf": &ResourceDesc{Name: "fd_perf", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_perf"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_sndtimer": &ResourceDesc{Name: "fd_sndtimer", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_sndtimer"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_algconn": &ResourceDesc{Name: "sock_algconn", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_algconn"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_inotify": &ResourceDesc{Name: "fd_inotify", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_inotify"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_evdev": &ResourceDesc{Name: "fd_evdev", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_evdev"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_sndseq": &ResourceDesc{Name: "fd_sndseq", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_sndseq"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_sndctrl": &ResourceDesc{Name: "fd_sndctrl", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_sndctrl"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_nfc_raw": &ResourceDesc{Name: "sock_nfc_raw", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_nfc_raw"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_timer": &ResourceDesc{Name: "fd_timer", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_timer"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"ipc": &ResourceDesc{Name: "ipc", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"ipc"}, Values: []uintptr{0, 0xffffffffffffffff}},
"sock_netlink": &ResourceDesc{Name: "sock_netlink", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_netlink"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"uid": &ResourceDesc{Name: "uid", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"uid"}, Values: []uintptr{0, 0xffffffffffffffff}},
"fd_tty": &ResourceDesc{Name: "fd_tty", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_tty"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_uffd": &ResourceDesc{Name: "fd_uffd", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_uffd"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_inotify": &ResourceDesc{Name: "fd_inotify", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_inotify"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_sctp": &ResourceDesc{Name: "sock_sctp", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_sctp"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_unix": &ResourceDesc{Name: "sock_unix", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_unix"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt": &ResourceDesc{Name: "sock_bt", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_dir": &ResourceDesc{Name: "fd_dir", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_dir"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock_bt": &ResourceDesc{Name: "sock_bt", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock", "sock_bt"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"ipc_shm": &ResourceDesc{Name: "ipc_shm", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"ipc", "ipc_shm"}, Values: []uintptr{0, 0xffffffffffffffff}},
"timerid": &ResourceDesc{Name: "timerid", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"timerid"}, Values: []uintptr{0}},
"fd_tty": &ResourceDesc{Name: "fd_tty", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_tty"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_dri": &ResourceDesc{Name: "fd_dri", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_dri"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_kvmvm": &ResourceDesc{Name: "fd_kvmvm", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_kvmvm"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"fd_sndseq": &ResourceDesc{Name: "fd_sndseq", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "fd_sndseq"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
"sock": &ResourceDesc{Name: "sock", Type: IntType{TypeCommon: TypeCommon{TypeName: "resource-type", IsOptional: false}, TypeSize: 4}, Kind: []string{"fd", "sock"}, Values: []uintptr{0xffffffffffffffff, 18446744073709551516}},
}
func initCalls() {