Home
last modified time | relevance | path

Searched refs:bpfStmt (Results 1 – 1 of 1) sorted by relevance

/external/libcap/contrib/seccomp/
Dexplore.go101 func bpfStmt(code uint16, k uint32) SockFilter { func
111 bpfStmt(bpfLd+bpfW+bpfAbs, 4), // HACK: I don't understand this 4.
113 bpfStmt(bpfRet+bpfK, seccompRetKillProcess),
119 bpfStmt(bpfLd+bpfW+bpfAbs, syscallNr),
126 bpfStmt(bpfRet+bpfK, seccompRetAllow),
133 bpfStmt(bpfRet+bpfK, seccompRetErrno|(errno&seccompRetData)),
139 bpfStmt(bpfRet+bpfK, seccompRetKillProcess),
145 bpfStmt(bpfRet+bpfK, seccompRetTrap),
152 bpfStmt(bpfRet+bpfK, seccompRetTrap),
158 bpfStmt(bpfRet+bpfK, seccompRetAllow),