code: func validatePSPSELinux(fldPath *field.Path, seLinux *policy.SELinuxStrategyOptions) field.ErrorList {
  	allErrs := field.ErrorList{}
  
  	// ensure the selinux strategy has a valid rule
  	supportedSELinuxRules := sets.NewString(
  		string(policy.SELinuxStrategyMustRunAs),
  		string(policy.SELinuxStrategyRunAsAny),
  	)
  	if !supportedSELinuxRules.Has(string(seLinux.Rule)) {
  		allErrs = append(allErrs, field.NotSupported(fldPath.Child("rule"), seLinux.Rule, supportedSELinuxRules.List()))
  	}
  
  	return allErrs
  }
docs: // validatePSPSELinux validates the SELinux fields of PodSecurityPolicy.