Skip to content

Commit f6a8030

Browse files
fix: MacOS
1 parent 0ea4db6 commit f6a8030

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

jail/macos.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ import (
1212
"syscall"
1313
)
1414

15+
const (
16+
prefix = "coder_boundary"
17+
)
18+
19+
func newNamespaceName() string {
20+
return fmt.Sprintf("%s_%d", prefix, time.Now().UnixNano()%10000000)
21+
}
22+
1523
const (
1624
pfAnchorName = "coder_boundary"
1725
groupName = "coder_boundary"

0 commit comments

Comments
 (0)