summaryrefslogtreecommitdiff
path: root/internal/namespace/lock_stub.go
blob: 881c64cc3b224d7edf6594649bc6600a94795c04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//go:build !linux

package namespace

import (
	"os"

	"git.theodohertyfamily.com/wg-wrap/internal/paths"
)

// AcquireProfileLock is a stub for non-Linux platforms.
func AcquireProfileLock(pm *paths.PathManager, profile string) (*os.File, error) {
	return nil, nil
}

// ReleaseProfileLock is a stub for non-Linux platforms.
func ReleaseProfileLock(file *os.File) {
}