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
log.Fatal(err)
21
}
22
23
-
if err := Unveil("/usr/local/bin/git", "rx"); err != nil {
24
-
log.Fatalf("unveil: %s", err)
25
-
}
26
-
27
if err := UnveilPaths([]string{
28
-
"/dev/null",
29
c.Dirs.Static,
30
c.Repo.ScanPath,
31
c.Dirs.Templates,
···
20
log.Fatal(err)
21
}
22
0
0
0
0
23
if err := UnveilPaths([]string{
0
24
c.Dirs.Static,
25
c.Repo.ScanPath,
26
c.Dirs.Templates,