Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for SELinux (0.11 sec)

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

    		{
    			"no context",
    			"/var/lib/foo",
    			true,
    			"",
    		},
    		{
    			"with context with SELinux",
    			"/var/lib/kubelet/pods/d4f3b306-ad4c-4f7a-8983-b5b228039a8c/volumes/kubernetes.io~iscsi/mypv",
    			true,
    			"system_u:object_r:container_file_t:s0:c314,c894",
    		},
    		{
    			"with context with no SELinux",
    			"/var/lib/kubelet/pods/d4f3b306-ad4c-4f7a-8983-b5b228039a8c/volumes/kubernetes.io~iscsi/mypv",
    			false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. pkg/volume/util/hostutil/hostutil.go

    	// GetOwner returns the integer ID for the user and group of the given path
    	GetOwner(pathname string) (int64, int64, error)
    	// GetSELinuxSupport returns true if given path is on a mount that supports
    	// SELinux.
    	GetSELinuxSupport(pathname string) (bool, error)
    	// GetMode returns permissions of the path.
    	GetMode(pathname string) (os.FileMode, error)
    	// GetSELinuxMountContext returns value of -o context=XYZ mount option on
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 13:38:40 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top