From cc80d51d034bcb24fd0f2564a4bdf1612000a2a2 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Wed, 5 Jun 2024 02:21:30 +1000 Subject: [PATCH] remove PRIVSEP macros for osx --- session.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/session.c b/session.c index c998e038c..7cf22a722 100644 --- a/session.c +++ b/session.c @@ -706,13 +706,13 @@ do_exec(struct ssh *ssh, Session *s, const char *command) #ifdef SSH_AUDIT_EVENTS if (command != NULL) - PRIVSEP(audit_run_command(command)); + mm_audit_run_command(command); else if (s->ttyfd == -1) { char *shell = s->pw->pw_shell; if (shell[0] == '\0') /* empty shell means /bin/sh */ shell =_PATH_BSHELL; - PRIVSEP(audit_run_command(shell)); + mm_audit_run_command(shell); } #endif if (s->ttyfd != -1)