- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for SELinuxOptionsToFileLabel (0.19 sec)
-
pkg/volume/util/selinux.go
type SELinuxLabelTranslator interface { // SELinuxOptionsToFileLabel returns SELinux file label for given SELinuxOptions // of a container process. // When Role, User or Type are empty, they're read from the system defaults. // It returns "" and no error on platforms that do not have SELinux enabled // or don't support SELinux at all. SELinuxOptionsToFileLabel(opts *v1.SELinuxOptions) (string, error)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 20 14:40:21 UTC 2024 - 6.3K bytes - Viewed (0) -
pkg/kubelet/volumemanager/cache/desired_state_of_world.go
// used only by containers with the same SELinux contexts. for _, containerContext := range seLinuxContainerContexts { newLabel, err := dsw.seLinuxTranslator.SELinuxOptionsToFileLabel(containerContext) if err != nil { fullErr := fmt.Errorf("failed to construct SELinux label from context %q: %s", containerContext, err) accessMode := getVolumeAccessMode(volumeSpec)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 27.1K bytes - Viewed (0)