diff options
author | Tony Nguyen <Ton.Nguyen@Sun.COM> | 2008-09-29 17:35:19 -0700 |
---|---|---|
committer | Tony Nguyen <Ton.Nguyen@Sun.COM> | 2008-09-29 17:35:19 -0700 |
commit | d0fa49b78d1f40d84ec76c363cdc38cf128511dd (patch) | |
tree | b3c9ec29c19b3ed52c5d16b21f7eb0d328f96d16 /usr/src/cmd/auditreduce/token.c | |
parent | 6392794b28bef963aa5ad05c3da79435fd0a5a0b (diff) | |
download | illumos-joyent-d0fa49b78d1f40d84ec76c363cdc38cf128511dd.tar.gz |
1207395 au_event_t is a currently a short. It should be redefined to be a u_short
Diffstat (limited to 'usr/src/cmd/auditreduce/token.c')
-rw-r--r-- | usr/src/cmd/auditreduce/token.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/usr/src/cmd/auditreduce/token.c b/usr/src/cmd/auditreduce/token.c index 1e3c37fbd2..a507780cf5 100644 --- a/usr/src/cmd/auditreduce/token.c +++ b/usr/src/cmd/auditreduce/token.c @@ -19,11 +19,10 @@ * CDDL HEADER END */ /* - * Copyright 2007 Sun Microsystems, Inc. All rights reserved. + * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ -#pragma ident "%Z%%M% %I% %E% SMI" /* * Token processing for auditreduce. @@ -1362,7 +1361,7 @@ subject32_token(adr_t *adr) checkflags |= M_GROUPE; } if (flags & M_SID) { - if (m_sid == sid) + if (m_sid == (au_asid_t)sid) checkflags |= M_SID; } return (-1); @@ -1424,7 +1423,7 @@ subject32_ex_token(adr_t *adr) checkflags = checkflags | M_GROUPE; } if (flags & M_SID) { - if (m_sid == sid) + if (m_sid == (au_asid_t)sid) checkflags = checkflags | M_SID; } return (-1); @@ -1486,7 +1485,7 @@ subject64_token(adr_t *adr) checkflags |= M_GROUPE; } if (flags & M_SID) { - if (m_sid == sid) + if (m_sid == (au_asid_t)sid) checkflags |= M_SID; } return (-1); @@ -1549,7 +1548,7 @@ subject64_ex_token(adr_t *adr) checkflags = checkflags | M_GROUPE; } if (flags & M_SID) { - if (m_sid == sid) + if (m_sid == (au_asid_t)sid) checkflags = checkflags | M_SID; } return (-1); |