Commit 0ca3203b authored by Jan Lehnardt's avatar Jan Lehnardt Committed by Brad Fitzpatrick

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: f8a8f7d96c96e3cb03010cb3d9607741f4bbc3a1
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: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 352583ff
...@@ -198,6 +198,8 @@ const ( // Directory mode bits ...@@ -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 ( ...@@ -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 ( ...@@ -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 ( ...@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment