diff options
author | Marek Pospisil <Marek.Pospisil@Sun.COM> | 2010-03-09 04:56:09 -0800 |
---|---|---|
committer | Marek Pospisil <Marek.Pospisil@Sun.COM> | 2010-03-09 04:56:09 -0800 |
commit | 96093503d6c90cc5a0cd2ce8c88e1975be2d00b3 (patch) | |
tree | d716060fc43a9c2a178f9deedfb998edba758254 /usr/src/cmd/smserverd/myaudit.c | |
parent | d132affafd84df8f910e9921e5c725c897f24dd4 (diff) | |
download | illumos-joyent-96093503d6c90cc5a0cd2ce8c88e1975be2d00b3.tar.gz |
PSARC/2009/613 auditon(2) clarification
6884238 The audit_policy variable should be a uint32_t.
Diffstat (limited to 'usr/src/cmd/smserverd/myaudit.c')
-rw-r--r-- | usr/src/cmd/smserverd/myaudit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/cmd/smserverd/myaudit.c b/usr/src/cmd/smserverd/myaudit.c index 845f53fe8b..041cfc9360 100644 --- a/usr/src/cmd/smserverd/myaudit.c +++ b/usr/src/cmd/smserverd/myaudit.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. */ @@ -78,7 +78,7 @@ can_audit(void) static int audit_save_policy(door_data_t *door_dp) { - int policy; + uint32_t policy; if (auditon(A_GETPOLICY, (caddr_t)&policy, sizeof (policy))) { return (-1); |