We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c29be2d commit c8722b2Copy full SHA for c8722b2
src/syscall/exec_linux.go
@@ -45,7 +45,11 @@ type SysProcAttr struct {
45
// number in the parent process.
46
Foreground bool
47
Pgid int // Child's process group ID if Setpgid.
48
- Pdeathsig Signal // Signal that the process will get when its parent dies (Linux and FreeBSD only)
+ // Pdeathsig, if non-zero, is a signal that the kernel will send to
49
+ // the child process when the creating thread dies. Note that the signal
50
+ // is sent on thread termination, which may happen before process termination.
51
+ // There are more details at https://go.dev/issue/27505.
52
+ Pdeathsig Signal
53
Cloneflags uintptr // Flags for clone calls (Linux only)
54
Unshareflags uintptr // Flags for unshare calls (Linux only)
55
UidMappings []SysProcIDMap // User ID mappings for user namespaces.
0 commit comments