diff options
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h index 76e1d4faa0..ceabe92cf4 100644 --- a/src/util.h +++ b/src/util.h @@ -396,6 +396,7 @@ char *fstab_node_to_udev_node(const char *p); void filter_environ(const char *prefix); bool tty_is_vc(const char *tty); +int vtnr_from_tty(const char *tty); const char *default_term_for_tty(const char *tty); int detect_vm(const char **id); @@ -439,6 +440,8 @@ int hwclock_reset_localtime_delta(void); int hwclock_get_time(struct tm *tm); int hwclock_set_time(const struct tm *tm); +int audit_session_from_pid(pid_t pid, uint32_t *id); + #define NULSTR_FOREACH(i, l) \ for ((i) = (l); (i) && *(i); (i) = strchr((i), 0)+1) |