mirror of
https://github.com/golang/go
synced 2024-11-11 21:50:21 -07:00
3204e62dd1
The constants for these were auto-generated from the C includes into zerrors_linux* files quite some time ago. The generator is currently broken, but some new flags need to be added nevertheless. As the flags won't change and the values are the same for all architectures, we can just define them statically (as it's already done in the runtime package): - remove the CLONE_* constants from zerrors_linux_*.go; - patch mkerrors.sh to not generate CLONE_ constants (in case it will be fixed and used in the future); - add the constants and some comments about them to exec_linux.go, using Linux v5.17 include/uapi/sched.h as the ultimate source. This adds the following new flags: - CLONE_CLEAR_SIGHAND - CLONE_INTO_CGROUP - CLONE_NEWCGROUP - CLONE_NEWTIME - CLONE_PIDFD For #51246. Change-Id: I0c635723926218bd403d37e113ee4d62194463a8 Reviewed-on: https://go-review.googlesource.com/c/go/+/407574 Reviewed-by: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Joedian Reid <joedian@golang.org> Auto-Submit: Ian Lance Taylor <iant@google.com>
61 lines
3.9 KiB
Plaintext
61 lines
3.9 KiB
Plaintext
pkg syscall (linux-386), const CLONE_CLEAR_SIGHAND = 4294967296 #51246
|
|
pkg syscall (linux-386), const CLONE_CLEAR_SIGHAND ideal-int #51246
|
|
pkg syscall (linux-386), const CLONE_INTO_CGROUP = 8589934592 #51246
|
|
pkg syscall (linux-386), const CLONE_INTO_CGROUP ideal-int #51246
|
|
pkg syscall (linux-386), const CLONE_NEWCGROUP = 33554432 #51246
|
|
pkg syscall (linux-386), const CLONE_NEWCGROUP ideal-int #51246
|
|
pkg syscall (linux-386), const CLONE_NEWTIME = 128 #51246
|
|
pkg syscall (linux-386), const CLONE_NEWTIME ideal-int #51246
|
|
pkg syscall (linux-386), const CLONE_PIDFD = 4096 #51246
|
|
pkg syscall (linux-386), const CLONE_PIDFD ideal-int #51246
|
|
pkg syscall (linux-386-cgo), const CLONE_CLEAR_SIGHAND = 4294967296 #51246
|
|
pkg syscall (linux-386-cgo), const CLONE_CLEAR_SIGHAND ideal-int #51246
|
|
pkg syscall (linux-386-cgo), const CLONE_INTO_CGROUP = 8589934592 #51246
|
|
pkg syscall (linux-386-cgo), const CLONE_INTO_CGROUP ideal-int #51246
|
|
pkg syscall (linux-386-cgo), const CLONE_NEWCGROUP = 33554432 #51246
|
|
pkg syscall (linux-386-cgo), const CLONE_NEWCGROUP ideal-int #51246
|
|
pkg syscall (linux-386-cgo), const CLONE_NEWTIME = 128 #51246
|
|
pkg syscall (linux-386-cgo), const CLONE_NEWTIME ideal-int #51246
|
|
pkg syscall (linux-386-cgo), const CLONE_PIDFD = 4096 #51246
|
|
pkg syscall (linux-386-cgo), const CLONE_PIDFD ideal-int #51246
|
|
pkg syscall (linux-amd64), const CLONE_CLEAR_SIGHAND = 4294967296 #51246
|
|
pkg syscall (linux-amd64), const CLONE_CLEAR_SIGHAND ideal-int #51246
|
|
pkg syscall (linux-amd64), const CLONE_INTO_CGROUP = 8589934592 #51246
|
|
pkg syscall (linux-amd64), const CLONE_INTO_CGROUP ideal-int #51246
|
|
pkg syscall (linux-amd64), const CLONE_NEWCGROUP = 33554432 #51246
|
|
pkg syscall (linux-amd64), const CLONE_NEWCGROUP ideal-int #51246
|
|
pkg syscall (linux-amd64), const CLONE_NEWTIME = 128 #51246
|
|
pkg syscall (linux-amd64), const CLONE_NEWTIME ideal-int #51246
|
|
pkg syscall (linux-amd64), const CLONE_PIDFD = 4096 #51246
|
|
pkg syscall (linux-amd64), const CLONE_PIDFD ideal-int #51246
|
|
pkg syscall (linux-amd64-cgo), const CLONE_CLEAR_SIGHAND = 4294967296 #51246
|
|
pkg syscall (linux-amd64-cgo), const CLONE_CLEAR_SIGHAND ideal-int #51246
|
|
pkg syscall (linux-amd64-cgo), const CLONE_INTO_CGROUP = 8589934592 #51246
|
|
pkg syscall (linux-amd64-cgo), const CLONE_INTO_CGROUP ideal-int #51246
|
|
pkg syscall (linux-amd64-cgo), const CLONE_NEWCGROUP = 33554432 #51246
|
|
pkg syscall (linux-amd64-cgo), const CLONE_NEWCGROUP ideal-int #51246
|
|
pkg syscall (linux-amd64-cgo), const CLONE_NEWTIME = 128 #51246
|
|
pkg syscall (linux-amd64-cgo), const CLONE_NEWTIME ideal-int #51246
|
|
pkg syscall (linux-amd64-cgo), const CLONE_PIDFD = 4096 #51246
|
|
pkg syscall (linux-amd64-cgo), const CLONE_PIDFD ideal-int #51246
|
|
pkg syscall (linux-arm), const CLONE_CLEAR_SIGHAND = 4294967296 #51246
|
|
pkg syscall (linux-arm), const CLONE_CLEAR_SIGHAND ideal-int #51246
|
|
pkg syscall (linux-arm), const CLONE_INTO_CGROUP = 8589934592 #51246
|
|
pkg syscall (linux-arm), const CLONE_INTO_CGROUP ideal-int #51246
|
|
pkg syscall (linux-arm), const CLONE_NEWCGROUP = 33554432 #51246
|
|
pkg syscall (linux-arm), const CLONE_NEWCGROUP ideal-int #51246
|
|
pkg syscall (linux-arm), const CLONE_NEWTIME = 128 #51246
|
|
pkg syscall (linux-arm), const CLONE_NEWTIME ideal-int #51246
|
|
pkg syscall (linux-arm), const CLONE_PIDFD = 4096 #51246
|
|
pkg syscall (linux-arm), const CLONE_PIDFD ideal-int #51246
|
|
pkg syscall (linux-arm-cgo), const CLONE_CLEAR_SIGHAND = 4294967296 #51246
|
|
pkg syscall (linux-arm-cgo), const CLONE_CLEAR_SIGHAND ideal-int #51246
|
|
pkg syscall (linux-arm-cgo), const CLONE_INTO_CGROUP = 8589934592 #51246
|
|
pkg syscall (linux-arm-cgo), const CLONE_INTO_CGROUP ideal-int #51246
|
|
pkg syscall (linux-arm-cgo), const CLONE_NEWCGROUP = 33554432 #51246
|
|
pkg syscall (linux-arm-cgo), const CLONE_NEWCGROUP ideal-int #51246
|
|
pkg syscall (linux-arm-cgo), const CLONE_NEWTIME = 128 #51246
|
|
pkg syscall (linux-arm-cgo), const CLONE_NEWTIME ideal-int #51246
|
|
pkg syscall (linux-arm-cgo), const CLONE_PIDFD = 4096 #51246
|
|
pkg syscall (linux-arm-cgo), const CLONE_PIDFD ideal-int #51246
|