summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-06-24 18:50:50 +0200
committerLennart Poettering <lennart@poettering.net>2011-06-24 18:50:50 +0200
commit98a28fef2618e54a644614c759f371f297381b70 (patch)
treeac0f1d97bce1a298706d367c0b788a956f700bda /src/util.h
parent77527da0a02029ce9c5ec86d5db5ea42147a658f (diff)
logind: hook up PAM module with logind
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h3
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)