mirror of
https://github.com/crazy-max/diun.git
synced 2025-01-09 10:05:41 +00:00
e4418a3717
Bumps [github.com/containers/image/v5](https://github.com/containers/image) from 5.30.0 to 5.33.0. - [Release notes](https://github.com/containers/image/releases) - [Commits](https://github.com/containers/image/compare/v5.30.0...v5.33.0) --- updated-dependencies: - dependency-name: github.com/containers/image/v5 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
26 lines
529 B
Go
26 lines
529 B
Go
// Copyright 2023 The Capability Authors.
|
|
// Copyright 2013 Suryandaru Triandana <syndtr@gmail.com>
|
|
// All rights reserved.
|
|
//
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
//go:build !linux
|
|
|
|
package capability
|
|
|
|
import "errors"
|
|
|
|
var errNotSup = errors.New("not supported")
|
|
|
|
func newPid(_ int) (Capabilities, error) {
|
|
return nil, errNotSup
|
|
}
|
|
|
|
func newFile(_ string) (Capabilities, error) {
|
|
return nil, errNotSup
|
|
}
|
|
|
|
func lastCap() (Cap, error) {
|
|
return -1, errNotSup
|
|
}
|