commit | 944784a93cf89d3a238e5607c993ea5f18f99c12 | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Wed Sep 26 07:22:48 2018 -0700 |
committer | Ian Lance Taylor <iant@golang.org> | Wed Sep 26 15:16:47 2018 +0000 |
tree | 2cb34ab2ba006733aa46aac2c588bfc6dd00b514 | |
parent | e7b98cf0a380eb45791cd5c52897224a686dcdec [diff] |
syscall: don't assume we have a GETEUID system call On Alpha GNU/Linux there is no geteuid system call, there is only getresuid. The raw geteuid system call is only used for testing, so just skip the test if it's not available. Change-Id: I2cc972da32d56767f61c8c6f4fa1872f74545c82 Reviewed-on: https://go-review.googlesource.com/137655 Reviewed-by: Cherry Zhang <cherryyz@google.com> Reviewed-by: Than McIntosh <thanm@google.com>