chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
networkd: vxlan add support for GBP
[elogind.git]
/
src
/
shared
/
audit.h
diff --git
a/src/shared/audit.h
b/src/shared/audit.h
index fb5f1b513ebcfb88e9246710ba5318e0c2398a97..6de331c73e5f8b4d341a4680be9c8a35c3c31a42 100644
(file)
--- a/
src/shared/audit.h
+++ b/
src/shared/audit.h
@@
-21,12
+21,13
@@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#include "sd-bus.h"
-#include "job.h"
+#include <stdint.h>
+#include <stdbool.h>
+#include <sys/types.h>
-extern const sd_bus_vtable bus_job_vtable[];
+#define AUDIT_SESSION_INVALID ((uint32_t) -1)
-int bus_job_method_cancel(sd_bus_message *message, void *job, sd_bus_error *error);
+int audit_session_from_pid(pid_t pid, uint32_t *id);
+int audit_loginuid_from_pid(pid_t pid, uid_t *uid);
-void bus_job_send_change_signal(Job *j);
-void bus_job_send_removed_signal(Job *j);
+bool use_audit(void);