mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-29 08:20:20 +00:00
e5d9b68d36
Bumps the golang-dependencies group with 1 update: [golang.org/x/crypto](https://github.com/golang/crypto). Updates `golang.org/x/crypto` from 0.16.0 to 0.17.0 - [Commits](https://github.com/golang/crypto/compare/v0.16.0...v0.17.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-type: direct:production update-type: version-update:semver-minor dependency-group: golang-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
156 lines
2.3 KiB
Go
156 lines
2.3 KiB
Go
//go:build !linux
|
|
// +build !linux
|
|
|
|
package selinux
|
|
|
|
func attrPath(string) string {
|
|
return ""
|
|
}
|
|
|
|
func readCon(fpath string) (string, error) {
|
|
return "", nil
|
|
}
|
|
|
|
func writeCon(string, string) error {
|
|
return nil
|
|
}
|
|
|
|
func setDisabled() {}
|
|
|
|
func getEnabled() bool {
|
|
return false
|
|
}
|
|
|
|
func classIndex(class string) (int, error) {
|
|
return -1, nil
|
|
}
|
|
|
|
func setFileLabel(fpath string, label string) error {
|
|
return nil
|
|
}
|
|
|
|
func lSetFileLabel(fpath string, label string) error {
|
|
return nil
|
|
}
|
|
|
|
func fileLabel(fpath string) (string, error) {
|
|
return "", nil
|
|
}
|
|
|
|
func lFileLabel(fpath string) (string, error) {
|
|
return "", nil
|
|
}
|
|
|
|
func setFSCreateLabel(label string) error {
|
|
return nil
|
|
}
|
|
|
|
func fsCreateLabel() (string, error) {
|
|
return "", nil
|
|
}
|
|
|
|
func currentLabel() (string, error) {
|
|
return "", nil
|
|
}
|
|
|
|
func pidLabel(pid int) (string, error) {
|
|
return "", nil
|
|
}
|
|
|
|
func execLabel() (string, error) {
|
|
return "", nil
|
|
}
|
|
|
|
func canonicalizeContext(val string) (string, error) {
|
|
return "", nil
|
|
}
|
|
|
|
func computeCreateContext(source string, target string, class string) (string, error) {
|
|
return "", nil
|
|
}
|
|
|
|
func calculateGlbLub(sourceRange, targetRange string) (string, error) {
|
|
return "", nil
|
|
}
|
|
|
|
func peerLabel(fd uintptr) (string, error) {
|
|
return "", nil
|
|
}
|
|
|
|
func setKeyLabel(label string) error {
|
|
return nil
|
|
}
|
|
|
|
func (c Context) get() string {
|
|
return ""
|
|
}
|
|
|
|
func newContext(label string) (Context, error) {
|
|
return Context{}, nil
|
|
}
|
|
|
|
func clearLabels() {
|
|
}
|
|
|
|
func reserveLabel(label string) {
|
|
}
|
|
|
|
func isMLSEnabled() bool {
|
|
return false
|
|
}
|
|
|
|
func enforceMode() int {
|
|
return Disabled
|
|
}
|
|
|
|
func setEnforceMode(mode int) error {
|
|
return nil
|
|
}
|
|
|
|
func defaultEnforceMode() int {
|
|
return Disabled
|
|
}
|
|
|
|
func releaseLabel(label string) {
|
|
}
|
|
|
|
func roFileLabel() string {
|
|
return ""
|
|
}
|
|
|
|
func kvmContainerLabels() (string, string) {
|
|
return "", ""
|
|
}
|
|
|
|
func initContainerLabels() (string, string) {
|
|
return "", ""
|
|
}
|
|
|
|
func containerLabels() (processLabel string, fileLabel string) {
|
|
return "", ""
|
|
}
|
|
|
|
func securityCheckContext(val string) error {
|
|
return nil
|
|
}
|
|
|
|
func copyLevel(src, dest string) (string, error) {
|
|
return "", nil
|
|
}
|
|
|
|
func chcon(fpath string, label string, recurse bool) error {
|
|
return nil
|
|
}
|
|
|
|
func dupSecOpt(src string) ([]string, error) {
|
|
return nil, nil
|
|
}
|
|
|
|
func getDefaultContextWithLevel(user, level, scon string) (string, error) {
|
|
return "", nil
|
|
}
|
|
|
|
func label(_ string) string {
|
|
return ""
|
|
}
|