summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-05-22 01:46:08 +0200
committerLennart Poettering <lennart@poettering.net>2010-05-22 01:46:08 +0200
commit9a34ec5fbb4b55413dc9d610b636fe760d34ecd7 (patch)
tree75ca3c00d0954ad3c78dbb1c616d6fafd2b93ff0 /src/util.h
parente1ce2c2782015579f042d4d6963ed039333fb8c2 (diff)
execute: only reset those signals to the default we really need to reset to the default
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index 84dd2bc8d1..93d67081b7 100644
--- a/src/util.h
+++ b/src/util.h
@@ -28,6 +28,7 @@
#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
+#include <signal.h>
typedef uint64_t usec_t;
@@ -223,7 +224,9 @@ int release_terminal(void);
int flush_fd(int fd);
-int ignore_signal(int sig);
+int ignore_signals(int sig, ...);
+int default_signals(int sig, ...);
+int sigaction_many(const struct sigaction *sa, ...);
int close_pipe(int p[]);