Skip to content

Commit

Permalink
unix: add S_IRWXG and S_IRWXO to FreeBSD types
Browse files Browse the repository at this point in the history
I found this during DataDog/datadog-agent#2079

Change-Id: I51d57e7e3cedb8b23e720bc03f38504dc0ad063d
GitHub-Last-Rev: 4e1c193
GitHub-Pull-Request: #13
Reviewed-on: https://go-review.googlesource.com/126620
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
  • Loading branch information
janl authored and tklauser committed Aug 8, 2018
1 parent acbc56f commit f62c962
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions unix/types_freebsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ const ( // Directory mode bits
S_IRUSR = C.S_IRUSR
S_IWUSR = C.S_IWUSR
S_IXUSR = C.S_IXUSR
S_IRWXG = C.S_IRWXG
S_IRWXO = C.S_IRWXO
)

type Stat_t C.struct_stat8
Expand Down
2 changes: 2 additions & 0 deletions unix/ztypes_freebsd_386.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions unix/ztypes_freebsd_amd64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions unix/ztypes_freebsd_arm.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f62c962

Please sign in to comment.