summaryrefslogtreecommitdiff
path: root/usr/src/head/stdlib.h
diff options
context:
space:
mode:
authorcasper <none@none>2007-05-25 05:43:42 -0700
committercasper <none@none>2007-05-25 05:43:42 -0700
commitf48205be61a214698b763ff550ab9e657525104c (patch)
treebc63168b8468284765bb770eb48473b7a0bf980e /usr/src/head/stdlib.h
parent7387092aa96cd872b317dfab3fee34a96c681f3e (diff)
downloadillumos-joyent-f48205be61a214698b763ff550ab9e657525104c.tar.gz
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
Diffstat (limited to 'usr/src/head/stdlib.h')
-rw-r--r--usr/src/head/stdlib.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/usr/src/head/stdlib.h b/usr/src/head/stdlib.h
index 1f21d3e589..1ec39552f1 100644
--- a/usr/src/head/stdlib.h
+++ b/usr/src/head/stdlib.h
@@ -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.
*/
@@ -83,11 +83,7 @@ extern "C" {
#ifndef _UID_T
#define _UID_T
-#if defined(_LP64) || defined(_I32LPx)
-typedef int uid_t; /* UID type */
-#else
-typedef long uid_t; /* (historical version) */
-#endif
+typedef unsigned int uid_t; /* UID type */
#endif /* !_UID_T */
#if defined(__STDC__)