github.com/apptainer/singularity@v3.1.1+incompatible/internal/pkg/security/selinux/selinux_unsupported.go (about)

     1  // Copyright (c) 2018, Sylabs Inc. All rights reserved.
     2  // This software is licensed under a 3-clause BSD license. Please consult the
     3  // LICENSE.md file distributed with the sources of this project regarding your
     4  // rights to use or distribute this software.
     5  
     6  // +build !selinux OR !linux
     7  
     8  package selinux
     9  
    10  // Enabled checks if SELinux is enabled or not
    11  func Enabled() bool {
    12  	return false
    13  }
    14  
    15  // SetExecLabel sets the SELinux label for current process
    16  func SetExecLabel(label string) error {
    17  	return nil
    18  }