aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/syndtr/gocapability/capability/capability_noop.go
blob: 9bb3070c5ec5a468d94a5a44b1b146688c8c12ed (plain)
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")
}