Update module github.com/moby/sys/capability to v0.3.0

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
renovate[bot]
2024-09-25 22:47:34 +00:00
committed by GitHub
parent 8cc4781f28
commit 27838b26d6
10 changed files with 89 additions and 32 deletions

View File

@@ -11,10 +11,16 @@ package capability
import "errors"
func newPid(pid int) (Capabilities, error) {
return nil, errors.New("not supported")
var errNotSup = errors.New("not supported")
func newPid(_ int) (Capabilities, error) {
return nil, errNotSup
}
func newFile(path string) (Capabilities, error) {
return nil, errors.New("not supported")
func newFile(_ string) (Capabilities, error) {
return nil, errNotSup
}
func lastCap() (Cap, error) {
return -1, errNotSup
}