]> Cypherpunks.ru repositories - gostls13.git/commit
syscall: clarify Pdeathsig documentation on Linux
authorVojtěch Boček <vojtech.bocek@avast.com>
Wed, 15 Jun 2022 09:36:27 +0000 (09:36 +0000)
committerGopher Robot <gobot@golang.org>
Wed, 15 Jun 2022 21:18:07 +0000 (21:18 +0000)
commit0e3d0c9581d1d31a94f5c70a528ff0bdba5c523d
tree07af977b40577a1b469173044744a951fab8e2c8
parent74bf90c779b3d4a4babd3e3de38e3d3e5d9dd7de
syscall: clarify Pdeathsig documentation on Linux

This is a rather large footgun, so let's mention that it sends the signal on thread termination and not process termination in the documentation.

Updates #27505

Change-Id: I489cf7136e34a1a7896067ae24187b0d523d987e
GitHub-Last-Rev: c8722b25d1fb8b0b3696257ec7e955eb421f15a6
GitHub-Pull-Request: golang/go#53365
Reviewed-on: https://go-review.googlesource.com/c/go/+/412114
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/syscall/exec_linux.go