all repos — elgit @ 69a2505b2d69f744f137e299d0393d88b0f712f4

fork of legit: web frontend for git, written in go

unveil_stub.go (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//go:build !openbsd && !linux
// +build !openbsd,!linux

// Stub functions for GOOS that don't support unix.Unveil()

package main

func Unveil(path string, perms string) error {
	return nil
}

func UnveilBlock() error {
	return nil
}

func UnveilPaths(paths []string, perms string) error {
	return nil
}