X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Faudit.h;h=6de331c73e5f8b4d341a4680be9c8a35c3c31a42;hb=d896ac2d2fbce41a0b11a0618a685adeaf18b8fe;hp=f2740bc42ca2a1d5604e150f052dab847e803dff;hpb=5430f7f2bc7330f3088b894166bf3524a067e3d8;p=elogind.git diff --git a/src/shared/audit.h b/src/shared/audit.h index f2740bc42..6de331c73 100644 --- a/src/shared/audit.h +++ b/src/shared/audit.h @@ -1,7 +1,6 @@ /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ -#ifndef fooaudithfoo -#define fooaudithfoo +#pragma once /*** This file is part of systemd. @@ -22,8 +21,13 @@ along with systemd; If not, see . ***/ -#include "capability.h" +#include +#include +#include + +#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); -#endif + +bool use_audit(void);