File: capability_noop.go

package info (click to toggle)
golang-gocapability-dev 0.0~git20160928.0.e7cb7fa-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 132 kB
  • sloc: sh: 94; makefile: 7
file content (19 lines) | stat: -rw-r--r-- 432 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (c) 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.

// +build !linux

package capability

import "errors"

func newPid(pid int) (Capabilities, error) {
	return nil, errors.New("not supported")
}

func newFile(path string) (Capabilities, error) {
	return nil, errors.New("not supported")
}