From f48205be61a214698b763ff550ab9e657525104c Mon Sep 17 00:00:00 2001 From: casper Date: Fri, 25 May 2007 05:43:42 -0700 Subject: PSARC 2007/064 Unified POSIX and Windows Credentials for Solaris 4994017 data structure sharing between rpcbind and libnsl leads to accidents 6549510 Need the ability to store SIDs in the Solaris cred_t 6549515 PSARC 2007/064: uid_t and gid_t to become unsigned --- usr/src/cmd/svc/configd/rc_node.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr/src/cmd/svc/configd/rc_node.c') diff --git a/usr/src/cmd/svc/configd/rc_node.c b/usr/src/cmd/svc/configd/rc_node.c index 329adf7a0d..426f828293 100644 --- a/usr/src/cmd/svc/configd/rc_node.c +++ b/usr/src/cmd/svc/configd/rc_node.c @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -1012,7 +1012,7 @@ perm_granted(const permcheck_t *pcp) } uid = ucred_geteuid(uc); - assert(uid != -1); + assert(uid != (uid_t)-1); uap = getuseruid(uid); if (uap != NULL) { -- cgit v1.2.3