Hi Max, On Mon, Oct 30, 2023 at 05:27:33PM +0100, Max Kellermann wrote: > The old wording was ambiguous, but it is important to know that > signals that were set to SIG_IGN will not be restored to SIG_DFL. > > This behavior was documented in the kernel commit that introduced the > feature: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b612e5df4587c934bd056bf05f4a1deca4de4f75 > > Signed-off-by: Max Kellermann <max.kellermann@xxxxxxxxx> Patch applied slightly amended). Thanks! <https://www.alejandro-colomar.es/src/alx/linux/man-pages/man-pages.git/commit/?h=contrib&id=05e46589ceb7e3ca5925c874adb489e0dde40596> Cheers, Alex > --- > v1 -> v2: added link to kernel commit > --- > man2/clone.2 | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/man2/clone.2 b/man2/clone.2 > index 4a75b557b..deb4bdb5b 100644 > --- a/man2/clone.2 > +++ b/man2/clone.2 > @@ -455,7 +455,8 @@ flag is also employed.) > By default, signal dispositions in the child thread are the same as > in the parent. > If this flag is specified, > -then all signals that are handled in the parent > +then all signals that are handled in the parent (and not set to > +.BR SIG_IGN ) > are reset to their default dispositions > .RB ( SIG_DFL ) > in the child. > -- > 2.39.2 > -- <https://www.alejandro-colomar.es/>
Attachment:
signature.asc
Description: PGP signature