capability_noop.go 432 B

1234567891011121314151617181920
  1. // Copyright (c) 2013, Suryandaru Triandana <[email protected]>
  2. // All rights reserved.
  3. //
  4. // Use of this source code is governed by a BSD-style license that can be
  5. // found in the LICENSE file.
  6. // +build !linux
  7. package capability
  8. import "errors"
  9. func newPid(pid int) (Capabilities, error) {
  10. return nil, errors.New("not supported")
  11. }
  12. func newFile(path string) (Capabilities, error) {
  13. return nil, errors.New("not supported")
  14. }