mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-26 05:49:58 +00:00
15 lines
305 B
Go
15 lines
305 B
Go
|
/*
|
||
|
Package selinux provides a high-level interface for interacting with selinux.
|
||
|
|
||
|
Usage:
|
||
|
|
||
|
import "github.com/opencontainers/selinux/go-selinux"
|
||
|
|
||
|
// Ensure that selinux is enforcing mode.
|
||
|
if selinux.EnforceMode() != selinux.Enforcing {
|
||
|
selinux.SetEnforceMode(selinux.Enforcing)
|
||
|
}
|
||
|
|
||
|
*/
|
||
|
package selinux
|