diff options
author | Daniel Mack <daniel@zonque.org> | 2016-10-18 17:57:10 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-11-20 17:28:50 +0100 |
commit | b605cf820c4831451fd009825a914d6f98045219 (patch) | |
tree | 6320971d755d18f28b3387d9de29ea28052d57a8 /src/login/logind.c | |
parent | 294d3039be600ee7fbe43222fcf7084c99e63b94 (diff) |
Add abstraction model for BPF programs
This object takes a number of bpf_insn members and wraps them together with
the in-kernel reference id. Will be needed by the firewall code.
Diffstat (limited to 'src/login/logind.c')
-rw-r--r-- | src/login/logind.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/login/logind.c b/src/login/logind.c index 7452c5b82..89c6a49e8 100644 --- a/src/login/logind.c +++ b/src/login/logind.c @@ -1140,7 +1140,6 @@ static int manager_dispatch_reload_signal(sd_event_source *s, const struct signa #if 1 /// elogind needs an Add-On for sleep configuration elogind_manager_reset_config(m); #endif // 1 - return 0; } @@ -1164,7 +1163,6 @@ static int manager_startup(Manager *m) { #if 1 /// elogind needs some extra preparations before connecting... elogind_manager_startup(m); #endif // 1 - /* Connect to console */ r = manager_connect_console(m); if (r < 0) @@ -1343,14 +1341,13 @@ int main(int argc, char *argv[]) { #if 1 /// elogind needs an Add-On for sleep configuration elogind_manager_reset_config(m); #endif // 1 - r = manager_startup(m); if (r < 0) { log_error_errno(r, "Failed to fully start up daemon: %m"); goto finish; } - log_debug("elogind running as pid "PID_FMT, getpid()); + log_debug("elogind running as pid "PID_FMT, getpid_cached()); sd_notify(false, "READY=1\n" |