mirror of
https://github.com/golang/go
synced 2024-11-23 11:50:09 -07:00
syscall: define bind flags on Plan 9
These bind flags were removed by mistake in CL 2167. Fixes #17921. Change-Id: I1e8089dade30a212b8db0b216c8299946d924d4b Reviewed-on: https://go-review.googlesource.com/33271 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
59dc9d7a89
commit
816aa99b9a
@ -12,6 +12,17 @@ const (
|
||||
O_EXCL = 0x1000
|
||||
)
|
||||
|
||||
// Bind flags
|
||||
const (
|
||||
MORDER = 0x0003 // mask for bits defining order of mounting
|
||||
MREPL = 0x0000 // mount replaces object
|
||||
MBEFORE = 0x0001 // mount goes before others in union directory
|
||||
MAFTER = 0x0002 // mount goes after others in union directory
|
||||
MCREATE = 0x0004 // permit creation in mounted directory
|
||||
MCACHE = 0x0010 // cache some data
|
||||
MMASK = 0x0017 // all bits on
|
||||
)
|
||||
|
||||
// Rfork flags
|
||||
const (
|
||||
RFNAMEG = 1 << 0
|
||||
|
Loading…
Reference in New Issue
Block a user