aboutsummaryrefslogtreecommitdiff
path: root/release/arm/WANDBOARD-DUAL.conf
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2023-05-26 10:27:02 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2023-06-02 22:06:27 +0000
commit8dad5ece49479ba6cdcd5bb4c2799bbd61add3e6 (patch)
tree855928fbd6a67cef9181affdf60ffc4481c8a0b0 /release/arm/WANDBOARD-DUAL.conf
parent54dfc97b0bd99f1c3bcbb37357cf28cd81a7cf00 (diff)
downloadsrc-main.tar.gz
src-main.zip
dd(1): neutralize SIGINT while non-async-signal safe code is executingHEADmain
making the SIGINT handler (the terminate() function) safe to execute at any interruption moment. This fixes a race in 5807f35c541c26bbd91a3ae12506cd8dd8f20688 where SIGINT delivered right after the check_terminate() but before a blocking syscall would not cause abort. Do it by setting the in_io flag around potentially blocking io syscalls. If handler sees the flag, it terminates the program. Otherwise, termination is delegated to the before_io/after_io fences. Reviewed by: Andrew Gierth <andrew@tao146.riddles.org.uk> Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D40281
Diffstat (limited to 'release/arm/WANDBOARD-DUAL.conf')
0 files changed, 0 insertions, 0 deletions