From 67dbe2be0c0f1e2eb428b89088bb5667e8f0b9f6 Mon Sep 17 00:00:00 2001 From: "Casper H.S. Dik" Date: Fri, 20 Nov 2009 20:58:43 +0100 Subject: PSARC 2009/542 Increase the maximum value of NGROUPS_MAX to 1024 4088757 Customer would like to increase ngroups_max more than 32 6853435 Many files incorrectly include the private --- usr/src/uts/common/c2/audit.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr/src/uts/common/c2/audit.c') diff --git a/usr/src/uts/common/c2/audit.c b/usr/src/uts/common/c2/audit.c index eb02448ed2..a39d9b86e3 100644 --- a/usr/src/uts/common/c2/audit.c +++ b/usr/src/uts/common/c2/audit.c @@ -60,7 +60,7 @@ #include /* for servicing_interrupt() */ #include #include -#include +#include #include #include @@ -2405,8 +2405,8 @@ audit_pf_policy(int cmd, cred_t *cred, netstack_t *ns, char *tun, nszone = zone_find_by_id(netstackid_to_zoneid( ns->netstack_stackid)); if (nszone != NULL) { - if (strncmp(cred->cr_zone->zone_name, nszone->zone_name, - ZONENAME_MAX) != 0) { + if (strncmp(crgetzone(cred)->zone_name, + nszone->zone_name, ZONENAME_MAX) != 0) { token_t *ztoken; ztoken = au_to_zonename(0, nszone); -- cgit v1.2.3