Changeset View
Changeset View
Standalone View
Standalone View
audit.c
Show First 20 Lines • Show All 125 Lines • ▼ Show 20 Lines | debug("audit connection from %s port %d euid %d", host, port, | ||||
(int)geteuid()); | (int)geteuid()); | ||||
} | } | ||||
/* | /* | ||||
* Called when various events occur (see audit.h for a list of possible | * Called when various events occur (see audit.h for a list of possible | ||||
* events and what they mean). | * events and what they mean). | ||||
*/ | */ | ||||
void | void | ||||
audit_event(ssh_audit_event_t event) | audit_event(struct ssh *ssh, ssh_audit_event_t event) | ||||
{ | { | ||||
debug("audit event euid %d user %s event %d (%s)", geteuid(), | debug("audit event euid %d user %s event %d (%s)", geteuid(), | ||||
audit_username(), event, audit_event_lookup(event)); | audit_username(), event, audit_event_lookup(event)); | ||||
} | } | ||||
/* | /* | ||||
* Called when a user session is started. Argument is the tty allocated to | * Called when a user session is started. Argument is the tty allocated to | ||||
* the session, or NULL if no tty was allocated. | * the session, or NULL if no tty was allocated. | ||||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |