diff options
Diffstat (limited to 'usr/src/uts/common/os/msg.c')
| -rw-r--r-- | usr/src/uts/common/os/msg.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr/src/uts/common/os/msg.c b/usr/src/uts/common/os/msg.c index 4d547c9df6..5b763e187b 100644 --- a/usr/src/uts/common/os/msg.c +++ b/usr/src/uts/common/os/msg.c @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2009 Sun Microsystems, Inc. All rights reserved. + * Copyright 2010 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -653,8 +653,10 @@ top: pp->p_rctls, pp); lock = ipc_commit_end(msq_svc, &qp->msg_perm); } - if (audit_active) + + if (AU_AUDITING()) audit_ipcget(AT_IPC_MSG, (void *)qp); + id = qp->msg_perm.ipc_id; mutex_exit(lock); return (id); |
