bastion 0.55.3
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
//go:build !windows && !linux
|
||||
|
||||
package main
|
||||
|
||||
import "golang.org/x/sys/unix"
|
||||
|
||||
// openTreeEntry opens the entry name in the folder dfd with flags, for
|
||||
// packFolder. These systems have no open that runs no driver code, so a
|
||||
// special file swapped in since the look is opened (O_NONBLOCK, O_NOCTTY),
|
||||
// then closed unread by packOpened.
|
||||
func openTreeEntry(dfd int, name string, flags int) (int, error) {
|
||||
return unix.Openat(dfd, name, flags, 0)
|
||||
}
|
||||
Reference in New Issue
Block a user