Seccomp.SeccompAction.show: def of bend-osdev-bpf@0.1.0.0 Import: import bend-osdev-bpf@0.1.0.0/seccomp.bend as Seccomp Lines 160-177 of bend-osdev-bpf@0.1.0.0/seccomp.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-bpf@0.1.0.0/seccomp.bend&start_line=160&end_line=177 import Base def SeccompAction.show(a: SeccompAction) -> String: match a: case SeccompKillProcess{}: "KILL_PROCESS" case SeccompKillThread{}: "KILL_THREAD" case SeccompTrap{d}: "TRAP(" ++ U32.show(d) ++ ")" case SeccompErrno{d}: "ERRNO(" ++ U32.show(d) ++ ")" case SeccompUserNotif{}: "USER_NOTIF" case SeccompTrace{d}: "TRACE(" ++ U32.show(d) ++ ")" case SeccompLog{}: "LOG" case SeccompAllow{}: "ALLOW" Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.show https://jend.leeeet.dev/definition.txt?path=bend-osdev-bpf@0.1.0.0/seccomp.bend&name=SeccompAction