Lines Matching refs:sandbox
25 func isSupported(c *prog.Syscall, sandbox string) (bool, string) {
27 return isSupportedSyzkall(sandbox, c)
37 return isSupportedMount(c, sandbox)
129 func isSupportedSyzkall(sandbox string, c *prog.Syscall) (bool, string) {
157 return onlySandboxNoneOrNamespace(sandbox)
182 if ok, reason := onlySandboxNone(sandbox); !ok {
194 if ok, reason := onlySandboxNone(sandbox); !ok {
203 return onlySandboxNone(sandbox)
208 func onlySandboxNone(sandbox string) (bool, string) {
209 if syscall.Getuid() != 0 || sandbox != "none" {
215 func onlySandboxNoneOrNamespace(sandbox string) (bool, string) {
216 if syscall.Getuid() != 0 || sandbox == "setuid" {
272 func isSupportedMount(c *prog.Syscall, sandbox string) (bool, string) {
285 return onlySandboxNoneOrNamespace(sandbox)
287 return onlySandboxNone(sandbox)