]> Cypherpunks repositories - gostls13.git/commit
syscall: add S_IRWXG and S_IRWXO on DragonflyBSD
authorTobias Klauser <tklauser@distanz.ch>
Tue, 21 Aug 2018 06:28:16 +0000 (08:28 +0200)
committerTobias Klauser <tobias.klauser@gmail.com>
Tue, 21 Aug 2018 14:08:12 +0000 (14:08 +0000)
commite8daca4c482320cecff9c31bbd60f25351d49756
tree8ce569ef9d05062460a19faefae0a99ea70d0925
parent1040626c0ce4a1bc2b312aa0866ffeb2ff53c1ab
syscall: add S_IRWXG and S_IRWXO on DragonflyBSD

As discussed in CL 126621, these constants are already defined on Linux,
Darwin, FreeBSD and NetBSD. In order to ensure portability of existing
code using the syscall package, provide them for DragonflyBSD (and
OpenBSD, in a separate CL) as well.

Change-Id: I708c60f75f787a410bdfa4ceebd2825874e92511
Reviewed-on: https://go-review.googlesource.com/130335
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/syscall/types_dragonfly.go
src/syscall/ztypes_dragonfly_amd64.go