Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SELinuxEnabled (0.11 sec)

  1. pkg/volume/util/hostutil/hostutil_linux.go

    	}
    
    	return nil
    }
    
    // selinux.SELinuxEnabled implementation for unit tests
    type seLinuxEnabledFunc func() bool
    
    // GetSELinux is common implementation of GetSELinuxSupport on Linux.
    func GetSELinux(path string, mountInfoFilename string, selinuxEnabled seLinuxEnabledFunc) (bool, error) {
    	// Skip /proc/mounts parsing if SELinux is disabled.
    	if !selinuxEnabled() {
    		return false, nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 23 08:36:44 UTC 2023
    - 10K bytes
    - Viewed (0)
  2. pkg/kubelet/volumemanager/cache/desired_state_of_world.go

    	var seLinuxFileLabel string
    	var pluginSupportsSELinuxContextMount bool
    
    	if feature.DefaultFeatureGate.Enabled(features.SELinuxMountReadWriteOncePod) {
    		var err error
    
    		if !dsw.seLinuxTranslator.SELinuxEnabled() {
    			return "", false, nil
    		}
    
    		pluginSupportsSELinuxContextMount, err = dsw.getSELinuxMountSupport(volumeSpec)
    		if err != nil {
    			return "", false, err
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 27.1K bytes
    - Viewed (0)
Back to top