]> Cypherpunks repositories - gostls13.git/commit
syscall: add S_IRWXG and S_IRWXO on Solaris
authorTobias Klauser <tklauser@distanz.ch>
Tue, 21 Aug 2018 08:48:00 +0000 (10:48 +0200)
committerTobias Klauser <tobias.klauser@gmail.com>
Tue, 21 Aug 2018 14:08:55 +0000 (14:08 +0000)
commit4e1b11e2c9bdb0ddea1141eed487be1a626ff5be
tree133f31fd885459beaa102e8912dc4bcb47fb39fe
parentd865e1fa483d689f1f4afae0b2b6260a5b657959
syscall: add S_IRWXG and S_IRWXO on Solaris

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 Solaris as well.

Change-Id: Id49f6991f36775b152b9c47b9923cd0a08053bcb
Reviewed-on: https://go-review.googlesource.com/130356
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_solaris.go
src/syscall/ztypes_solaris_amd64.go