History log of /src/lib/libc/gen/pwcache.c |
Revision | | Date | Author | Comments |
1.35 |
| 12-May-2024 |
rillig | libc/pwcache.c: remove stray semicolon from do-while-0 macro
|
1.34 |
| 19-Apr-2022 |
rillig | lib: remove CONSTCOND comment
Since 2021-01-31, lint doesn't need it anymore for the common pattern of 'do ... while (0)'.
|
1.33 |
| 05-Dec-2021 |
msaitoh | s/numberic/numeric/ in comment.
|
1.32 |
| 08-Nov-2018 |
msaitoh | "s/ an an / an /" in comment. No functional change.
|
1.31 |
| 23-Mar-2010 |
drochner | branches: 1.31.44; 1.31.46; remove some stray __weak_aliases, where the target functions were __RENAMEd due to the time_t/dev_t type changes, which caused bogus references to compat functions now a libc built with BUILDCOLD is usable
|
1.30 |
| 28-Apr-2008 |
martin | branches: 1.30.8; Remove clause 3 and 4 from TNF licenses
|
1.29 |
| 20-Jun-2004 |
jmc | branches: 1.29.24; Completely rework how tools/compat is done. Purge all uses/references to _NETBSD_SOURCE as this makes cross building from older/newer versions of NetBSD harder, not easier (and also makes the resulting tools 'different')
Wrap all required code with the inclusion of nbtool_config.h, attempt to only use POSIX code in all places (or when reasonable test w. configure and provide definitions: ala u_int, etc).
Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86 NetBSD current (x86 and amd64) and Solaris 9.
Fixes PR's: PR#17762 PR#25944
|
1.28 |
| 18-Jun-2004 |
thorpej | Slight hack to get this building on OS X again: Undo the renaming before including the host's <pwd.h> to avoid renaming the host's versions of these functions (which causes a prototype conflict). After <pwd.h> has been included, then re-apply the renaming.
|
1.27 |
| 18-May-2004 |
sjg | Apply patch from OGAWA Takaya to fix FreeBSD hosted builds. The trick is to force use of the NetBSD versions of user_from_{uid,gid}().
PR: 24843
|
1.26 |
| 23-Apr-2004 |
simonb | s/the the/the/ (only in sources that aren't regularly imported from elsewhere).
|
1.25 |
| 13-Oct-2003 |
agc | branches: 1.25.2; Move Keith Muller's code from a 4-clause to a 3-clause licence by removing the advertising clause. Diffs provided in PR 22397 by Joel Baker, confirmed to the board by Keith Muller.
|
1.24 |
| 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
|
1.23 |
| 04-Dec-2002 |
grant | fix typo in comment.
|
1.22 |
| 03-Jul-2002 |
pooka | add check for HAVE_USER_FROM_UID
|
1.21 |
| 26-Feb-2002 |
tv | branches: 1.21.2; Add some more bits of host compatibility.
|
1.20 |
| 29-Jan-2002 |
tv | Make almost all tools compile and run properly on non-NetBSD hosts. (In particular, most tools now run correctly on Solaris 7.)
|
1.19 |
| 24-Jan-2002 |
lukem | reorder the weak_alias stuff into the !HAVE_CONFIG_H section
|
1.18 |
| 24-Jan-2002 |
lukem | support reachover compile from tools/compat
|
1.17 |
| 24-Jan-2002 |
lukem | - 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)
|
1.16 |
| 04-Jan-2002 |
lukem | ANSI KNF. remove NET2_STAT cruft
|
1.15 |
| 13-Sep-2000 |
msaitoh | branches: 1.15.2; check LIBC_SCCS
|
1.14 |
| 22-Jan-2000 |
mycroft | Delint. Remove trailing ; from uses of __weak_alias(). The macro inserts this if needed.
|
1.13 |
| 16-Sep-1999 |
lukem | * use _DIAGASSERT() to check pointer arguments against NULL and file descriptors against -1 (as appropriate). * add actual checks which to detect stuff that would trigger_DIAGASSERT(), and attempt to return a sane error condition. * knf some code * remove some `register' decls.
the first two items result in the addition of code similar to the following in various functions:
_DIAGASSERT(path != NULL) #ifdef _DIAGNOSTIC if (path == NULL) { errno = EFAULT; return (-1); } #endif
|
1.12 |
| 19-Jan-1999 |
mycroft | Simplify this code slightly.
|
1.11 |
| 28-Jul-1998 |
mycroft | Fix a typo in a comment.
|
1.10 |
| 28-Jul-1998 |
mycroft | Import the version from pax(1), with a few changes: * Functions renamed to match libc interface. * Fixed to actually put entries into the hash tables! * Different hash function, simpler but with the same distribution.
|
1.9 |
| 03-Feb-1998 |
perry | remove obsolete register declarations
|
1.8 |
| 21-Jul-1997 |
jtc | If port provides __weak_alias(), provide an Standard C and POSIX pure identifier namespace by renaming non standard functions and variables such that they have a leading underscore. The library will use those names internally. Weak aliases are used to provide the original names to the API.
This is only the first part of this change. It is most of the functions which are implemented in C for all NetBSD ports. Subsequent changes are to add the same support to the remaining C files, to assembly files, and to the automagically generated assembly source used for system calls. When all of the above is done, ports with weak alias support should add a definition for __weak_alias to <sys/cdefs.h>.
|
1.7 |
| 13-Jul-1997 |
christos | Fix RCSID's Parenthesize
|
1.6 |
| 20-Dec-1996 |
sommerfe | Longer login name support: use MAXLOGNAME, not UT_NAMESIZE
|
1.5 |
| 13-May-1995 |
jtc | branches: 1.5.4; #include appropriate header files to bring prototypes into scope
|
1.4 |
| 27-Feb-1995 |
cgd | merge with Lite, keeping local changes. Fix up Id format, etc.
|
1.3 |
| 19-Jan-1994 |
jtc | branches: 1.3.4; Fix off by one bug in pwcashe routine group_from_gid().
|
1.2 |
| 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
1.1 |
| 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.2 |
| 25-Feb-1995 |
cgd | from lite, with minor name rearrangement to fit.
|
1.1.1.1 |
| 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.3.4.1 |
| 02-May-1995 |
jtc | #include "namespace.h"
|
1.5.4.1 |
| 19-Sep-1996 |
jtc | snapshot namespace cleanup: gen
|
1.15.2.5 |
| 10-Dec-2002 |
thorpej | Sync with HEAD.
|
1.15.2.4 |
| 01-Aug-2002 |
nathanw | Catch up to -current.
|
1.15.2.3 |
| 22-Mar-2002 |
nathanw | Catch up to -current.
|
1.15.2.2 |
| 08-Mar-2002 |
nathanw | Catch up to -current.
|
1.15.2.1 |
| 28-Jan-2002 |
nathanw | Catch up to -current.
|
1.21.2.1 |
| 23-Jul-2004 |
tron | Apply patch (request by dbj in ticket 1723): Fix building the netbsd-1-6 branch under Darwin/MacOS.
|
1.25.2.2 |
| 22-Jun-2004 |
tron | Apply patch (requested by jmc in ticket #538): Fix build problems caused by changes for ticket #527.
|
1.25.2.1 |
| 22-Jun-2004 |
tron | Pull up revision 1.29 (requested by jmc in ticket #527): Completely rework how tools/compat is done. Purge all uses/references to _NETBSD_SOURCE as this makes cross building from older/newer versions of NetBSD harder, not easier (and also makes the resulting tools 'different') Wrap all required code with the inclusion of nbtool_config.h, attempt to only use POSIX code in all places (or when reasonable test w. configure and provide definitions: ala u_int, etc). Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86 NetBSD current (x86 and amd64) and Solaris 9. Fixes PR's: PR#17762 PR#25944
|
1.29.24.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.30.8.2 |
| 28-Apr-2008 |
martin | Remove clause 3 and 4 from TNF licenses
|
1.30.8.1 |
| 28-Apr-2008 |
martin | file pwcache.c was added on branch christos-time_t on 2008-04-28 20:23:00 +0000
|
1.31.46.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.31.44.1 |
| 26-Nov-2018 |
pgoyette | Sync with HEAD, resolve a couple of conflicts
|