diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-05-22 01:46:08 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-05-22 01:46:08 +0200 |
commit | 9a34ec5fbb4b55413dc9d610b636fe760d34ecd7 (patch) | |
tree | 75ca3c00d0954ad3c78dbb1c616d6fafd2b93ff0 /src/util.h | |
parent | e1ce2c2782015579f042d4d6963ed039333fb8c2 (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.h | 5 |
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[]); |