Debian Codegraph @

config/util_nix.go

raw symbols SCIP
1 //go:build !windows
2 // +build !windows
3
4 package config
5
6 import "syscall"
7
8 func umask() int {
9 // umask(2), which this function wraps, also sets the umask, so set it
10 // back.
11 umask := syscall.Umask(022)
12 syscall.Umask(umask)
13 return umask
14 }