diff options
author | Darren Tucker <dtucker@zip.com.au> | 2005-02-08 21:52:47 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2005-02-08 21:52:47 +1100 |
commit | 2e0cf0dca20e56eb5d95a80ba0004769c5bc4ba7 (patch) | |
tree | d03f7560b26c36b6afd48ffb962775b6424fee72 /session.c | |
parent | b4d3012d2e9a0eb53c56565108c8278e45cefc77 (diff) |
- (dtucker) [audit.c audit.h auth.c auth1.c auth2.c loginrec.c monitor.c
monitor_wrap.c monitor_wrap.h session.c sshd.c]: Prepend all of the audit
defines and enums with SSH_ to prevent namespace collisions on some
platforms (eg AIX).
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -665,7 +665,7 @@ do_exec(Session *s, const char *command) | |||
665 | debug("Forced command '%.900s'", command); | 665 | debug("Forced command '%.900s'", command); |
666 | } | 666 | } |
667 | 667 | ||
668 | #ifdef AUDIT_EVENTS | 668 | #ifdef SSH_AUDIT_EVENTS |
669 | if (command != NULL) | 669 | if (command != NULL) |
670 | PRIVSEP(audit_run_command(command)); | 670 | PRIVSEP(audit_run_command(command)); |
671 | else if (s->ttyfd == -1) { | 671 | else if (s->ttyfd == -1) { |
@@ -2333,8 +2333,8 @@ do_cleanup(Authctxt *authctxt) | |||
2333 | } | 2333 | } |
2334 | #endif | 2334 | #endif |
2335 | 2335 | ||
2336 | #ifdef AUDIT_EVENTS | 2336 | #ifdef SSH_AUDIT_EVENTS |
2337 | PRIVSEP(audit_event(CONNECTION_CLOSE)); | 2337 | PRIVSEP(audit_event(SSH_CONNECTION_CLOSE)); |
2338 | #endif | 2338 | #endif |
2339 | 2339 | ||
2340 | /* remove agent socket */ | 2340 | /* remove agent socket */ |