aboutsummaryrefslogtreecommitdiffhomepage
path: root/ext/syscall_extra_linux_386.go
diff options
context:
space:
mode:
Diffstat (limited to 'ext/syscall_extra_linux_386.go')
-rw-r--r--ext/syscall_extra_linux_386.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/ext/syscall_extra_linux_386.go b/ext/syscall_extra_linux_386.go
new file mode 100644
index 00000000..1ba9126b
--- /dev/null
+++ b/ext/syscall_extra_linux_386.go
@@ -0,0 +1,13 @@
+package ext
+
+var syscallNumExtra = map[string]SyscallNum{
+ "kexec_file_load": SNR_KEXEC_FILE_LOAD,
+ "subpage_prot": SNR_SUBPAGE_PROT,
+ "switch_endian": SNR_SWITCH_ENDIAN,
+}
+
+const (
+ SNR_KEXEC_FILE_LOAD SyscallNum = __PNR_kexec_file_load
+ SNR_SUBPAGE_PROT SyscallNum = __PNR_subpage_prot
+ SNR_SWITCH_ENDIAN SyscallNum = __PNR_switch_endian
+)