]> Cypherpunks repositories - gostls13.git/commit
syscall: skip TestDeathSignalSetuid if exec fails with a permission error
authorBryan C. Mills <bcmills@google.com>
Wed, 20 Sep 2023 15:50:17 +0000 (11:50 -0400)
committerGopher Robot <gobot@golang.org>
Wed, 20 Sep 2023 21:23:17 +0000 (21:23 +0000)
commitdd881027c3c556647d5d9f36eda4e9316680647b
tree375702fb255daa973a2a5c14dd01b6697ef11024
parent517c66d4ee1b6b8842da34fe4c0519cfa1c58600
syscall: skip TestDeathSignalSetuid if exec fails with a permission error

Also explicitly look up user "nobody" (or "gopher" on the Go builders)
if running as root, instead of hard-coding UID/GID 99.

Fixes #62719.

Change-Id: I9fa8955f2c239804fa775f2478a5274af9330822
Reviewed-on: https://go-review.googlesource.com/c/go/+/529795
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/syscall/exec_pdeathsig_test.go