InitSeccomp does nothing because seccomp is not supported.
(config *configs.Seccomp)
| 13 | |
| 14 | // InitSeccomp does nothing because seccomp is not supported. |
| 15 | func InitSeccomp(config *configs.Seccomp) (int, error) { |
| 16 | if config != nil { |
| 17 | return -1, ErrSeccompNotEnabled |
| 18 | } |
| 19 | return -1, nil |
| 20 | } |
| 21 | |
| 22 | // FlagSupported tells if a provided seccomp flag is supported. |
| 23 | func FlagSupported(_ specs.LinuxSeccompFlag) error { |