diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2014-07-13 12:14:45 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2014-07-17 11:34:25 +0200 |
commit | a2da110b78abe4e4b1b6d8ae4ef78b087c4dcc8b (patch) | |
tree | 5d0eb4249b4243d9f9c08bfa0a90dda81c19fba7 /units/systemd-ask-password-wall.service.in | |
parent | 279da1e3f99b9c767a69849b5445e3cfd8d83376 (diff) |
nspawn: use Barrier API instead of eventfd-util
The Barrier-API simplifies cross-fork() synchronization a lot. Replace the
hard-coded eventfd-util implementation and drop it.
Compared to the old API, Barriers also handle exit() of the remote side as
abortion. This way, segfaults will not cause the parent to deadlock.
EINTR handling is currently ignored for any barrier-waits. This can easily
be added, but it isn't needed so far so I dropped it. EINTR handling in
general is ugly, anyway. You need to deal with pselect/ppoll/... variants
and make sure not to unblock signals at the wrong times. So genrally,
there's little use in adding it.
Diffstat (limited to 'units/systemd-ask-password-wall.service.in')
0 files changed, 0 insertions, 0 deletions