NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/60275 CVS commit: src/bin/sh



The following reply was made to PR bin/60275; it has been noted by GNATS.

From: "Robert Elz" <kre%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/60275 CVS commit: src/bin/sh
Date: Sun, 17 May 2026 16:44:05 +0000

 Module Name:	src
 Committed By:	kre
 Date:		Sun May 17 16:44:05 UTC 2026
 
 Modified Files:
 	src/bin/sh: trap.c
 
 Log Message:
 PR bin/60275 discard less arriving signals
 
 If the signal state is returned to the default state (SIG_DFL)
 while sh has a pending signal for the process, that it is not
 yet ready to process, then forget the pending signal, and instead
 send it to ourself, so the kernel can take whatever is the default
 action for that signal (if it is just ignored, then we just keep
 on processing, if it kills us, well, it was nice while it lasted!)
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.58 -r1.59 src/bin/sh/trap.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 



Home | Main Index | Thread Index | Old Index