Home | History | Annotate | Download | only in host

Lines Matching refs:reason

11 // For unsupported syscalls it also returns reason as to why it is unsupported.
24 ok, reason := isSupported(c, sandbox)
28 if reason == "" {
29 reason = "unknown"
31 unsupported[c] = reason
54 Reason string
67 // otherwise the string contains the reason why the feature is not supported.
71 FeatureCoverage: {Name: "code coverage", Reason: unsupported},
72 FeatureComparisons: {Name: "comparison tracing", Reason: unsupported},
73 FeatureSandboxSetuid: {Name: "setuid sandbox", Reason: unsupported},
74 FeatureSandboxNamespace: {Name: "namespace sandbox", Reason: unsupported},
75 FeatureFaultInjection: {Name: "fault injection", Reason: unsupported},
76 FeatureLeakChecking: {Name: "leak checking", Reason: unsupported},
77 FeatureNetworkInjection: {Name: "net packed injection", Reason: unsupported},
78 FeatureNetworkDevices: {Name: "net device setup", Reason: unsupported},
87 if reason := check(); reason == "" {
89 res[n].Reason = "enabled"
91 res[n].Reason = reason