X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/blobdiff_plain/6039eeef82bbc5468a6b755e8ab4028ce9f692cd..HEAD:/audit.c diff --git a/audit.c b/audit.c index 688cea54..bb386d85 100644 --- a/audit.c +++ b/audit.c @@ -26,10 +26,15 @@ #include "includes.h" +#include +#include + #ifdef SSH_AUDIT_EVENTS #include "audit.h" #include "log.h" +#include "key.h" +#include "hostfile.h" #include "auth.h" /* @@ -120,7 +125,7 @@ void audit_connection_from(const char *host, int port) { debug("audit connection from %s port %d euid %d", host, port, - (int)geteuid()); + (int)geteuid()); } /* @@ -147,7 +152,7 @@ audit_session_open(const char *ttyn) const char *t = ttyn ? ttyn : "(no tty)"; debug("audit session open euid %d user %s tty name %s", geteuid(), - audit_username(), t); + audit_username(), t); } /* @@ -163,7 +168,7 @@ audit_session_close(const char *ttyn) const char *t = ttyn ? ttyn : "(no tty)"; debug("audit session close euid %d user %s tty name %s", geteuid(), - audit_username(), t); + audit_username(), t); } /*