mirror of
https://github.com/containers/podman.git
synced 2025-09-28 01:04:28 +08:00

Newer runtime tools separates syscalls by OS so we can build darwin. Signed-off-by: baude <bbaude@redhat.com> Closes: #1007 Approved by: baude
18 lines
295 B
Go
18 lines
295 B
Go
// +build !linux
|
|
|
|
package validate
|
|
|
|
import (
|
|
"github.com/syndtr/gocapability/capability"
|
|
)
|
|
|
|
// LastCap return last cap of system
|
|
func LastCap() capability.Cap {
|
|
return capability.Cap(-1)
|
|
}
|
|
|
|
// CheckLinux is a noop on this platform
|
|
func (v *Validator) CheckLinux() (errs error) {
|
|
return nil
|
|
}
|