mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
syscall: for ForkExec on Linux, always use 32-bit setgroups system call
Fixes #17092. Change-Id: If203d802a919e00594ddc1282782fc59a083fd63 Reviewed-on: https://go-review.googlesource.com/31458 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
f2f8d58b92
commit
6c295a9a71
8 changed files with 21 additions and 14 deletions
|
|
@ -10,8 +10,9 @@ package syscall
|
|||
import "unsafe"
|
||||
|
||||
const (
|
||||
_SYS_dup = SYS_DUP2
|
||||
_SYS_getdents = SYS_GETDENTS64
|
||||
_SYS_dup = SYS_DUP2
|
||||
_SYS_getdents = SYS_GETDENTS64
|
||||
_SYS_setgroups = SYS_SETGROUPS32
|
||||
)
|
||||
|
||||
func setTimespec(sec, nsec int64) Timespec {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue