summaryrefslogtreecommitdiff
path: root/lib/libc/include
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>2002-01-24 02:46:32 +0000
committerlukem <lukem@NetBSD.org>2002-01-24 02:46:32 +0000
commit463cd54319f67941cfb0f5a9eba9a42b6f80a303 (patch)
tree577918ac328b276129d5b0868bd7ed6433e9ae80 /lib/libc/include
parentd4da6dc52dd5d1c4e8e890a7a7bcf580418ad7ea (diff)
- Implement pwcache_userdb(3), which changes the routines that
user_from_uid(3) and uid_from_user(3) use to lookup user information. - Implement pwcache_groupdb(3), which changes the routines that group_from_gid(3) and gid_from_group(3) use to lookup group information. - Ensure that private functions in pwcache.c are declared static - Use strlcpy(3) instead of strncpy(3)
Diffstat (limited to 'lib/libc/include')
-rw-r--r--lib/libc/include/namespace.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/include/namespace.h b/lib/libc/include/namespace.h
index 167d8794fc1..ffd510f36e7 100644
--- a/lib/libc/include/namespace.h
+++ b/lib/libc/include/namespace.h
@@ -1,7 +1,7 @@
-/* $NetBSD: namespace.h,v 1.69 2002/01/14 00:55:57 thorpej Exp $ */
+/* $NetBSD: namespace.h,v 1.70 2002/01/24 02:46:34 lukem Exp $ */
/*-
- * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
+ * Copyright (c) 1997-2002 The NetBSD Foundation, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -357,6 +357,8 @@
#define pread _pread
#define psignal _psignal
#define putenv _putenv
+#define pwcache_userdb _pwcache_userdb
+#define pwcache_groupdb _pwcache_groupdb
#define pwrite _pwrite
#define qabs _qabs
#define qdiv _qdiv