]> Cypherpunks repositories - gostls13.git/commitdiff
syscall: gofmt after CL 592078
authorTobias Klauser <tklauser@distanz.ch>
Wed, 2 Oct 2024 10:34:45 +0000 (12:34 +0200)
committerGopher Robot <gobot@golang.org>
Wed, 2 Oct 2024 14:23:34 +0000 (14:23 +0000)
Change-Id: I328760f7752f1f5ec100f151c7e13e3f804c0e10
Reviewed-on: https://go-review.googlesource.com/c/go/+/617355
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>

src/syscall/exec_linux.go

index 429a84635ae789184513fa83359288fcf683e644..a258b1591e736582a2c9cf59d55eacf5120265a3 100644 (file)
@@ -818,7 +818,7 @@ func os_checkClonePidfd() error {
 //
 //go:noinline
 func doCheckClonePidfd(pidfd *int32) (pid uintptr, errno Errno) {
-       flags := uintptr(CLONE_VFORK|CLONE_VM|CLONE_PIDFD|SIGCHLD)
+       flags := uintptr(CLONE_VFORK | CLONE_VM | CLONE_PIDFD | SIGCHLD)
        if runtime.GOARCH == "s390x" {
                // On Linux/s390, the first two arguments of clone(2) are swapped.
                pid, errno = rawVforkSyscall(SYS_CLONE, 0, flags, uintptr(unsafe.Pointer(pidfd)))