]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
remove PRIVSEP macros for osx
authorDamien Miller <djm@mindrot.org>
Tue, 4 Jun 2024 16:21:30 +0000 (02:21 +1000)
committerDamien Miller <djm@mindrot.org>
Tue, 4 Jun 2024 16:21:52 +0000 (02:21 +1000)
session.c

index c998e038c2b736a09ba8768227995146d95f5360..7cf22a722677d6f39875587ed1bf92c6af09d2cf 100644 (file)
--- 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)