Bug 78170 - [patch] Fix signal handler in bootpd(8)
Summary: [patch] Fix signal handler in bootpd(8)
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 5.3-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-27 23:50 UTC by Gavin Atkinson
Modified: 2018-01-03 05:12 UTC (History)
0 users

See Also:


Attachments
bootpd-sigs.patch (1.01 KB, patch)
2005-02-27 23:50 UTC, Gavin Atkinson
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gavin Atkinson 2005-02-27 23:50:12 UTC
	I've been inspired by the talk given by Henning Brauer given at
the UKUUG Winter 2005 on writing safe signal handlers, and have set about
fixing some of them in the FreeBSD source tree.

Slides for this (well, an almost identical) presentation are at
http://www.openbsd.org/papers/opencon04/index.html

Fix: The fix involves using a data type that can be used atomically
(sig_atomic_t), and saving errno over calls to other system calls.
How-To-Repeat: 	N/A
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:19 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped