]> Cypherpunks repositories - gostls13.git/commitdiff
syscall: Make Pdeathsig type Signal in SysProcAttr on Linux.
authorAlbert Strasheim <fullung@gmail.com>
Wed, 15 Feb 2012 05:31:20 +0000 (21:31 -0800)
committerIan Lance Taylor <iant@golang.org>
Wed, 15 Feb 2012 05:31:20 +0000 (21:31 -0800)
R=rsc, iant, iant
CC=golang-dev
https://golang.org/cl/5656058

src/pkg/syscall/exec_linux.go

index b9ce3676e4c9953629dfd515f0230cdae27185c3..70f3e6217b9cd44d22ee504d5a1d2f02187423d5 100644 (file)
@@ -18,7 +18,7 @@ type SysProcAttr struct {
        Setpgid    bool        // Set process group ID to new pid (SYSV setpgrp)
        Setctty    bool        // Set controlling terminal to fd 0
        Noctty     bool        // Detach fd 0 from controlling terminal
-       Pdeathsig  int         // Signal that the process will get when its parent dies (Linux only)
+       Pdeathsig  Signal      // Signal that the process will get when its parent dies (Linux only)
 }
 
 // Fork, dup fd onto 0..len(fd), and exec(argv0, argvv, envv) in child.