From 5c2b63a7f1fdfdc46312c05f083c604b4c8f47e2 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 5 Nov 2025 20:21:14 +0900 Subject: container: add 386 constants While it is unlikely a use case for hakurei on i686 exists, it does not hurt to have this support. Signed-off-by: Ophestra --- container/std/syscall_extra_linux_386.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 container/std/syscall_extra_linux_386.go (limited to 'container/std/syscall_extra_linux_386.go') diff --git a/container/std/syscall_extra_linux_386.go b/container/std/syscall_extra_linux_386.go new file mode 100644 index 00000000..f23c919e --- /dev/null +++ b/container/std/syscall_extra_linux_386.go @@ -0,0 +1,13 @@ +package std + +var syscallNumExtra = map[string]int{ + "kexec_file_load": SYS_KEXEC_FILE_LOAD, + "subpage_prot": SYS_SUBPAGE_PROT, + "switch_endian": SYS_SWITCH_ENDIAN, +} + +const ( + SYS_KEXEC_FILE_LOAD = __PNR_kexec_file_load + SYS_SUBPAGE_PROT = __PNR_subpage_prot + SYS_SWITCH_ENDIAN = __PNR_switch_endian +) -- cgit v1.3.1