1
0
mirror of https://github.com/golang/go synced 2024-11-23 16:50:06 -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:
David du Colombier 2016-11-15 16:33:22 +01:00 committed by Brad Fitzpatrick
parent 59dc9d7a89
commit 816aa99b9a

View File

@ -12,6 +12,17 @@ const (
O_EXCL = 0x1000 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 // Rfork flags
const ( const (
RFNAMEG = 1 << 0 RFNAMEG = 1 << 0