chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nspawn: allow access to device nodes listed in --bind= and --bind-ro= switches
[elogind.git]
/
src
/
shared
/
audit.h
diff --git
a/src/shared/audit.h
b/src/shared/audit.h
index 3df9cc6273380b297ff48dddd717d2de6e87ad1d..6de331c73e5f8b4d341a4680be9c8a35c3c31a42 100644
(file)
--- a/
src/shared/audit.h
+++ b/
src/shared/audit.h
@@
-25,6
+25,8
@@
#include <stdbool.h>
#include <sys/types.h>
+#define AUDIT_SESSION_INVALID ((uint32_t) -1)
+
int audit_session_from_pid(pid_t pid, uint32_t *id);
int audit_loginuid_from_pid(pid_t pid, uid_t *uid);