Documentation
¶
Index ¶
Constants ¶
View Source
const (
SelinuxTargetedContextFile = selinuxTargetedPath + "/contexts/files/file_contexts"
)
Variables ¶
This section is empty.
Functions ¶
func ChrootedRelabel ¶
func ChrootedRelabel(ctx context.Context, s *sys.System, rootDir string, bind map[string]string) (err error)
ChrootedRelabel relables with setfiles the given root in a chroot env. Additionaly after the first chrooted call it runs a non chrooted call to relabel any mountpoint used within the chroot.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.