summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-07-13 12:14:45 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2014-07-17 11:34:25 +0200
commita2da110b78abe4e4b1b6d8ae4ef78b087c4dcc8b (patch)
tree5d0eb4249b4243d9f9c08bfa0a90dda81c19fba7 /Makefile.am
parent279da1e3f99b9c767a69849b5445e3cfd8d83376 (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 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 0 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index f0d80ba748..fe680b0d94 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -845,8 +845,6 @@ libsystemd_shared_la_SOURCES = \
src/shared/barrier.h \
src/shared/async.c \
src/shared/async.h \
- src/shared/eventfd-util.c \
- src/shared/eventfd-util.h \
src/shared/copy.c \
src/shared/copy.h \
src/shared/base-filesystem.c \