From 32112a7b6075e23d7acba37b9272be4a3926bd33 Mon Sep 17 00:00:00 2001 From: Christian Göttsche Date: Mon, 15 Jan 2024 16:20:52 +0100 Subject: pam_unix: refactor audit logging Split the audit logging code into a separate file, to be reused by unix_update(8). --- modules/pam_unix/audit.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 modules/pam_unix/audit.h (limited to 'modules/pam_unix/audit.h') diff --git a/modules/pam_unix/audit.h b/modules/pam_unix/audit.h new file mode 100644 index 00000000..321232a1 --- /dev/null +++ b/modules/pam_unix/audit.h @@ -0,0 +1,7 @@ +#ifndef PAM_UNIX_AUDIT_H +#define PAM_UNIX_AUDIT_H + +int +audit_log(int type, const char *uname, int rc); + +#endif /* PAM_UNIX_AUDIT_H */ -- cgit v1.2.3