Vendor continuity
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
This commit is contained in:
12
vendor/github.com/stevvooe/continuity/sysx/chmod_linux.go
generated
vendored
Normal file
12
vendor/github.com/stevvooe/continuity/sysx/chmod_linux.go
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
package sysx
|
||||
|
||||
import "syscall"
|
||||
|
||||
const (
|
||||
// AtSymlinkNoFollow defined from AT_SYMLINK_NOFOLLOW in /usr/include/linux/fcntl.h
|
||||
AtSymlinkNofollow = 0x100
|
||||
)
|
||||
|
||||
func Fchmodat(dirfd int, path string, mode uint32, flags int) error {
|
||||
return syscall.Fchmodat(dirfd, path, mode, flags)
|
||||
}
|
||||
Reference in New Issue
Block a user