summaryrefslogtreecommitdiff
path: root/audit.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2011-01-17 21:15:27 +1100
committerDarren Tucker <dtucker@zip.com.au>2011-01-17 21:15:27 +1100
commitea52a829699e981a58a69a77342e7ca3715a5f5b (patch)
tree425c4f3bbd3c691479e707431e0caf8458573b97 /audit.h
parent263d43d2a58f0fc4cf211808410560c8c3e451d2 (diff)
- (dtucker) [LICENCE Makefile.in audit-bsm.c audit-linux.c audit.c audit.h
configure.ac defines.h loginrec.c] Bug #1402: add linux audit subsystem support, based on patches from Tomas Mraz and jchadima at redhat.
Diffstat (limited to 'audit.h')
-rw-r--r--audit.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/audit.h b/audit.h
index 695f72354..92ede5bc4 100644
--- a/audit.h
+++ b/audit.h
@@ -1,4 +1,4 @@
1/* $Id: audit.h,v 1.3 2006/08/05 14:05:10 dtucker Exp $ */ 1/* $Id: audit.h,v 1.4 2011/01/17 10:15:30 dtucker Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2004, 2005 Darren Tucker. All rights reserved. 4 * Copyright (c) 2004, 2005 Darren Tucker. All rights reserved.
@@ -26,6 +26,9 @@
26 26
27#ifndef _SSH_AUDIT_H 27#ifndef _SSH_AUDIT_H
28# define _SSH_AUDIT_H 28# define _SSH_AUDIT_H
29
30#include "loginrec.h"
31
29enum ssh_audit_event_type { 32enum ssh_audit_event_type {
30 SSH_LOGIN_EXCEED_MAXTRIES, 33 SSH_LOGIN_EXCEED_MAXTRIES,
31 SSH_LOGIN_ROOT_DENIED, 34 SSH_LOGIN_ROOT_DENIED,
@@ -46,8 +49,8 @@ typedef enum ssh_audit_event_type ssh_audit_event_t;
46 49
47void audit_connection_from(const char *, int); 50void audit_connection_from(const char *, int);
48void audit_event(ssh_audit_event_t); 51void audit_event(ssh_audit_event_t);
49void audit_session_open(const char *); 52void audit_session_open(struct logininfo *);
50void audit_session_close(const char *); 53void audit_session_close(struct logininfo *);
51void audit_run_command(const char *); 54void audit_run_command(const char *);
52ssh_audit_event_t audit_classify_auth(const char *); 55ssh_audit_event_t audit_classify_auth(const char *);
53 56