//go:build !linux package namespace import ( "fmt" "git.theodohertyfamily.com/tools/wg-wrap/internal/paths" ) // PinNamespace touches the namespace path to indicate it is pinned/active. func PinNamespace(pm *paths.PathManager, profile string) error { return fmt.Errorf("namespaces are not supported on this platform") } // UnpinNamespace removes the pinned namespace file from the filesystem. func UnpinNamespace(pm *paths.PathManager, profile string) error { return fmt.Errorf("namespaces are not supported on this platform") } // JoinExistingNamespace attempts to join the namespaces (user, mount, net) of an already active process. func JoinExistingNamespace(pm *paths.PathManager, profile string) (bool, error) { return false, fmt.Errorf("namespaces are not supported on this platform") }