mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-30 08:16:57 +00:00
48d5a1cd1a
Signed-off-by: Evan Lezar <elezar@nvidia.com>
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
|