chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
logind: hook up PAM module with logind
[elogind.git]
/
src
/
util.h
diff --git
a/src/util.h
b/src/util.h
index 76e1d4faa0e34a2b0fa7ad2ca911b4bf456861a5..ceabe92cf444f93c29b0047bfbe2d05127c03097 100644
(file)
--- 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);
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);
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 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)
#define NULSTR_FOREACH(i, l) \
for ((i) = (l); (i) && *(i); (i) = strchr((i), 0)+1)