diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-03-17 13:35:48 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-03-17 13:39:26 +0900 |
| commit | cd5959fe5ab04786cd5dee3cf09f725229ae7c7b (patch) | |
| tree | c0dae3f950528e7c3b6d7359441ee8aeb9a488cd /ext/syscall_extra_linux_386.go | |
| parent | 08c35ca24fabc41268411cec14ea386a6d87ece9 (diff) | |
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 <cat@gensokyo.uk>
Diffstat (limited to 'ext/syscall_extra_linux_386.go')
| -rw-r--r-- | ext/syscall_extra_linux_386.go | 13 |
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 +) |
