github.com/hauerwu/docker@v1.8.0-rc1/pkg/system/umask.go (about)

     1  // +build !windows
     2  
     3  package system
     4  
     5  import (
     6  	"syscall"
     7  )
     8  
     9  func Umask(newmask int) (oldmask int, err error) {
    10  	return syscall.Umask(newmask), nil
    11  }