diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-11-05 20:21:14 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-11-05 20:21:14 +0900 |
| commit | 5c2b63a7f1fdfdc46312c05f083c604b4c8f47e2 (patch) | |
| tree | 2a1e440156d6027c3b7a16f1b77c002ed3a4a388 /container/std/syscall_extra_linux_386.go | |
| parent | 9fd97e71d0330d6b6509f28686cf53825bc80941 (diff) | |
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 <cat@gensokyo.uk>
Diffstat (limited to 'container/std/syscall_extra_linux_386.go')
| -rw-r--r-- | container/std/syscall_extra_linux_386.go | 13 |
1 files changed, 13 insertions, 0 deletions
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 +) |
