- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for SELinuxEnabled (0.35 sec)
-
pkg/volume/util/selinux.go
// 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) // SELinuxEnabled returns true when the OS has enabled SELinux support. SELinuxEnabled() bool } // Real implementation of the interface. // On Linux with SELinux enabled it translates. Otherwise it always returns an empty string and no error. type translator struct{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 20 14:40:21 UTC 2024 - 6.3K bytes - Viewed (0) -
src/make.bash
# so loop through the possible selinux mount points. for se_mount in /selinux /sys/fs/selinux do if [[ -d $se_mount && -f $se_mount/booleans/allow_execstack && -x /usr/sbin/selinuxenabled ]] && /usr/sbin/selinuxenabled; then if ! cat $se_mount/booleans/allow_execstack | grep -c '^1 1$' >> /dev/null ; then echo "WARNING: the default SELinux policy on, at least, Fedora 12 breaks "
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 13:48:46 UTC 2024 - 7.6K bytes - Viewed (0) -
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)