aboutsummaryrefslogtreecommitdiffstats
path: root/executor/syscalls_netbsd.h
diff options
context:
space:
mode:
authorUtkarsh Anand <uanand009@gmail.com>2017-10-25 12:57:47 +0530
committerDmitry Vyukov <dvyukov@google.com>2017-10-25 09:27:47 +0200
commit3f955eba7f6eee3d98f78d3398863f3d922a0b35 (patch)
tree5bae0f6963f58fea690ee7a21d3e252a14b08cf3 /executor/syscalls_netbsd.h
parent88999972bf16ffc379ada779bfb44a5fa6edf741 (diff)
Lots of changes to sys/netbsd (#397)
* Lots of changes to sys/netbsd: - Removed a few syscalls that did not have proper constants defined. - Autogenerated *.const files. - Removed a few types like uid and gid, that were not available. - Ran make generate * Few changes for NetBSD support: - Added sys/netbsd/init.go - Added netbsd to sys/sys.go * Fix order in sys/sys.go * Update documentation for NetBSD
Diffstat (limited to 'executor/syscalls_netbsd.h')
-rw-r--r--executor/syscalls_netbsd.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/executor/syscalls_netbsd.h b/executor/syscalls_netbsd.h
new file mode 100644
index 000000000..b9f469e78
--- /dev/null
+++ b/executor/syscalls_netbsd.h
@@ -0,0 +1,54 @@
+// AUTOGENERATED FILE
+
+#if defined(__x86_64__) || 0
+#define GOARCH "amd64"
+#define SYZ_REVISION "afbcea24bf5398f333788540f821f68b9e6fbe66"
+
+unsigned syscall_count = 43;
+call_t syscalls[] = {
+ {"close", 6},
+ {"dup", 41},
+ {"dup2", 90},
+ {"lseek", 199},
+ {"madvise", 75},
+ {"mlock", 203},
+ {"mlockall", 242},
+ {"mmap", 197},
+ {"mprotect", 74},
+ {"msgget", 225},
+ {"msgget$private", 225},
+ {"msgrcv", 227},
+ {"msgsnd", 226},
+ {"munlock", 204},
+ {"munlockall", 243},
+ {"munmap", 73},
+ {"open", 5},
+ {"open$dir", 5},
+ {"openat", 468},
+ {"pipe2", 453},
+ {"preadv", 289},
+ {"pwritev", 290},
+ {"read", 3},
+ {"readv", 120},
+ {"semctl$GETALL", 510},
+ {"semctl$GETNCNT", 510},
+ {"semctl$GETPID", 510},
+ {"semctl$GETVAL", 510},
+ {"semctl$GETZCNT", 510},
+ {"semctl$IPC_RMID", 510},
+ {"semctl$IPC_SET", 510},
+ {"semctl$IPC_STAT", 510},
+ {"semctl$SETALL", 510},
+ {"semctl$SETVAL", 510},
+ {"semget", 221},
+ {"semget$private", 221},
+ {"semop", 222},
+ {"shmat", 228},
+ {"shmdt", 230},
+ {"shmget", 231},
+ {"shmget$private", 231},
+ {"write", 4},
+ {"writev", 121},
+
+};
+#endif