From cd5959fe5ab04786cd5dee3cf09f725229ae7c7b Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 17 Mar 2026 13:35:48 +0900 Subject: ext: isolate from container/std These are too general to belong in the container package. This targets the v0.4 release to reduce the wrapper maintenance burden. Signed-off-by: Ophestra --- ext/syscall_extra_linux_386.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 ext/syscall_extra_linux_386.go (limited to 'ext/syscall_extra_linux_386.go') 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 +) -- cgit v1.3.1