diff options
author | David Oberhollenzer <goliath@infraroot.at> | 2020-03-31 13:09:04 +0200 |
---|---|---|
committer | David Oberhollenzer <goliath@infraroot.at> | 2020-03-31 13:09:04 +0200 |
commit | 9f9807d4d3e0ecabc9bb67658d58644d714a9fd7 (patch) | |
tree | 0261dc3b87584006d98472408e0527c2eeda8c5f /initd/init.h | |
parent | 0d985a7430299aba28e136d9558497ae02c8085e (diff) |
cleanup: initd: simplify and merge linux specific code into main.c
Targetting anything else than Linux isn't really relevant. All
other systems ($BSD and other Unices) are a closed ecosystem
where kernel & userspace are developed together. They don't need
something like a third party init system, so compatibillity can
be largely ignored.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
Diffstat (limited to 'initd/init.h')
-rw-r--r-- | initd/init.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/initd/init.h b/initd/init.h index 50f799a..6b68ef6 100644 --- a/initd/init.h +++ b/initd/init.h @@ -77,29 +77,6 @@ void supervisor_start(int id); void supervisor_stop(int id); -/********** signal_<platform>.c **********/ - -/* - Setup signal handling. Returns -1 on error, a file descriptor on - success. - - The returned file descriptor can be polled and becomes readable - when a signal arrives. Reading from it returns a signalfd_siginfo - structure. - - The returned file descriptor has the close on exec flag set. - - The kernel is also told to send us SIGINT signals if a user presses - the local equivalent of CTRL+ALT+DEL. -*/ -int sigsetup(void); - -/* - Undo everything that sigsetup() changed about signal handling and - restore the default. -*/ -void sigreset(void); - /********** initsock.c **********/ int init_socket_create(void); |