mirror of
https://github.com/golang/go
synced 2024-11-12 09:10:21 -07:00
syscall: add S_IRWXG and S_IRWXO to FreeBSD types
Companion PR to https://github.com/golang/sys/pull/13
Change-Id: I097fc97912840eb69ca232eded6ba939de0fead9
GitHub-Last-Rev: f8a8f7d96c
GitHub-Pull-Request: golang/go#26675
Reviewed-on: https://go-review.googlesource.com/126621
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
352583ff77
commit
0ca3203bec
@ -198,6 +198,8 @@ const ( // Directory mode bits
|
|||||||
S_IRUSR = C.S_IRUSR
|
S_IRUSR = C.S_IRUSR
|
||||||
S_IWUSR = C.S_IWUSR
|
S_IWUSR = C.S_IWUSR
|
||||||
S_IXUSR = C.S_IXUSR
|
S_IXUSR = C.S_IXUSR
|
||||||
|
S_IRWXG = C.S_IRWXG
|
||||||
|
S_IRWXO = C.S_IRWXO
|
||||||
)
|
)
|
||||||
|
|
||||||
type Stat_t C.struct_stat8
|
type Stat_t C.struct_stat8
|
||||||
|
@ -71,6 +71,8 @@ const (
|
|||||||
S_IRUSR = 0x100
|
S_IRUSR = 0x100
|
||||||
S_IWUSR = 0x80
|
S_IWUSR = 0x80
|
||||||
S_IXUSR = 0x40
|
S_IXUSR = 0x40
|
||||||
|
S_IRWXG = 0x38
|
||||||
|
S_IRWXO = 0x7
|
||||||
)
|
)
|
||||||
|
|
||||||
type Stat_t struct {
|
type Stat_t struct {
|
||||||
|
@ -71,6 +71,8 @@ const (
|
|||||||
S_IRUSR = 0x100
|
S_IRUSR = 0x100
|
||||||
S_IWUSR = 0x80
|
S_IWUSR = 0x80
|
||||||
S_IXUSR = 0x40
|
S_IXUSR = 0x40
|
||||||
|
S_IRWXG = 0x38
|
||||||
|
S_IRWXO = 0x7
|
||||||
)
|
)
|
||||||
|
|
||||||
type Stat_t struct {
|
type Stat_t struct {
|
||||||
|
@ -73,6 +73,8 @@ const (
|
|||||||
S_IRUSR = 0x100
|
S_IRUSR = 0x100
|
||||||
S_IWUSR = 0x80
|
S_IWUSR = 0x80
|
||||||
S_IXUSR = 0x40
|
S_IXUSR = 0x40
|
||||||
|
S_IRWXG = 0x38
|
||||||
|
S_IRWXO = 0x7
|
||||||
)
|
)
|
||||||
|
|
||||||
type Stat_t struct {
|
type Stat_t struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user