diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-08-13 17:59:28 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-08-13 17:59:28 +0200 |
commit | 405e0255d5e6950180d9563f1a26294b5360db03 (patch) | |
tree | 99bd33e34bee035602bfce76a8537d227414cf7f /src/login/logind.h | |
parent | ee530d8b73246f29781bd54a707ca75c7ef5a6cb (diff) |
logind: restore logic to kill user processes when session ends
Diffstat (limited to 'src/login/logind.h')
-rw-r--r-- | src/login/logind.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/login/logind.h b/src/login/logind.h index 9c41cdf70c..e9838a8afd 100644 --- a/src/login/logind.h +++ b/src/login/logind.h @@ -163,6 +163,8 @@ int manager_spawn_autovt(Manager *m, int vtnr); void manager_gc(Manager *m, bool drop_not_started); +bool manager_shall_kill(Manager *m, const char *user); + int manager_get_idle_hint(Manager *m, dual_timestamp *t); int manager_get_user_by_pid(Manager *m, pid_t pid, User **user); @@ -178,7 +180,7 @@ int manager_send_changed(Manager *manager, const char *properties); int manager_dispatch_delayed(Manager *manager); -int manager_start_scope(Manager *manager, const char *scope, pid_t pid, const char *slice, const char *description, const char *after, DBusError *error, char **job); +int manager_start_scope(Manager *manager, const char *scope, pid_t pid, const char *slice, const char *description, const char *after, const char *kill_mode, DBusError *error, char **job); int manager_start_unit(Manager *manager, const char *unit, DBusError *error, char **job); int manager_stop_unit(Manager *manager, const char *unit, DBusError *error, char **job); int manager_kill_unit(Manager *manager, const char *unit, KillWho who, int signo, DBusError *error); |