remove "selinux" build tag

The build tag was removed in go-selinux v1.8.0: opencontainers/selinux#132

Related: remove "apparmor" build tag: 0a9147f3aa

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
Akihiro Suda
2020-12-15 19:59:18 +09:00
parent 23315f8647
commit 7e6e4c466f
17 changed files with 268 additions and 124 deletions

View File

@@ -1,4 +1,4 @@
// +build !selinux !linux
// +build !linux
package selinux
@@ -146,3 +146,7 @@ func dupSecOpt(src string) ([]string, error) {
func disableSecOpt() []string {
return []string{"disable"}
}
func getDefaultContextWithLevel(user, level, scon string) (string, error) {
return "", nil
}