tangled
alpha
login
or
join now
anirudh.fi
/
legit
7
fork
atom
web frontend for git (tangled's grandpa)
7
fork
atom
overview
issues
pulls
pipelines
unveil: remove git executable and /dev/null
anirudh.fi
3 years ago
08c49d4d
fa66c4fa
-5
1 changed file
expand all
collapse all
unified
split
main.go
-5
main.go
···
20
20
log.Fatal(err)
21
21
}
22
22
23
23
-
if err := Unveil("/usr/local/bin/git", "rx"); err != nil {
24
24
-
log.Fatalf("unveil: %s", err)
25
25
-
}
26
26
-
27
23
if err := UnveilPaths([]string{
28
28
-
"/dev/null",
29
24
c.Dirs.Static,
30
25
c.Repo.ScanPath,
31
26
c.Dirs.Templates,