#
169dfff6 |
| 26-Nov-2012 |
pooka <pooka@NetBSD.org> |
revert previous commit since it breaks the build on NetBSD and apparently that's considered important
|
#
1fedf4b3 |
| 26-Nov-2012 |
pooka <pooka@NetBSD.org> |
When including this from a tools build, avoid defining _PWD_H_ since that macro causes DragonFly's util.h to define conflicting routines.
|
#
50728e78 |
| 11-Jan-2009 |
christos <christos@NetBSD.org> |
merge christos-time_t
|
#
e2347743 |
| 19-Oct-2007 |
christos <christos@NetBSD.org> |
kill _NETBSD_TOOLS.
|
#
6c189078 |
| 18-Oct-2007 |
christos <christos@NetBSD.org> |
Introduce _NETBSD_TOOLS for symbols the are needed in tools build
|
#
abf1d9c9 |
| 24-May-2005 |
kleink <kleink@NetBSD.org> |
Make namespace protection feature tests for reentrant functions more accurate (and actually less restrictive).
|
#
a4d6d349 |
| 02-Apr-2005 |
christos <christos@NetBSD.org> |
Add getpwent_r, getgrent_r
|
#
19b7469a |
| 03-Feb-2005 |
perry <perry@NetBSD.org> |
de-__P -- the hack is long since useless. Discussed with christos, matt, kleink, others. Approved by christos.
|
#
4f49701c |
| 12-Jan-2005 |
christos <christos@NetBSD.org> |
modify footprint of pw_gensalt().
|
#
a2bc0c9d |
| 11-Jan-2005 |
christos <christos@NetBSD.org> |
Add pw_gensalt, remove bcrypt_gensalt.
|
#
45a7a692 |
| 05-Oct-2004 |
lukem <lukem@NetBSD.org> |
Overhaul the use of nsdispatch(3) by public APIs so that the back-end methods use va_list in a manner that is directly related to the public API. This makes it much easier to write dynamic nsswitch b
Overhaul the use of nsdispatch(3) by public APIs so that the back-end methods use va_list in a manner that is directly related to the public API. This makes it much easier to write dynamic nsswitch backends for getpwent(3). Per my proposal on tech-userlevel.
Implement getpwgid_r() and getpwnam_r() APIs per the POSIX 1003.1, 2004 Ed. These aren't fully reentrant or threadsafe yet, because the compat stuff currently uses non-reentrant data sources (getnetgrent(3), getpwent(3)), and there is probably some locking to be improved in the backends. This will be fixed in the near future. We also need to add _SC_GETPW_R_SIZE_MAX to sysconf(3).
Fix the compat `+' prototype override so getpwnam(3) and getpwuid(3) DTRT.
Improve the description of pw_class and pw_gecos.
show more ...
|
#
b2f78261 |
| 20-Jun-2004 |
jmc <jmc@NetBSD.org> |
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 resulti
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
show more ...
|
#
9f1aac5b |
| 13-Oct-2003 |
agc <agc@NetBSD.org> |
Move Jason Downs's code from a 4-clause to a 3-clause licence by removing the advertising clause. Diffs provided in PR 22410 by Joel Baker, confirmed to the board by Jason Downs.
With additional th
Move Jason Downs's code from a 4-clause to a 3-clause licence by removing the advertising clause. Diffs provided in PR 22410 by Joel Baker, confirmed to the board by Jason Downs.
With additional thanks to Jason Thorpe.
show more ...
|
#
bb21f0be |
| 18-Sep-2003 |
jdolecek <jdolecek@NetBSD.org> |
remove pw_dup()
|
#
99dfdf20 |
| 09-Sep-2003 |
itojun <itojun@NetBSD.org> |
prototype for pw_dup(3)
|
#
039cc956 |
| 07-Aug-2003 |
agc <agc@NetBSD.org> |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22270, verified by myself.
|
#
d2fb15ab |
| 05-May-2003 |
bjh21 <bjh21@NetBSD.org> |
bcrypt_gensalt() isn't defined in any X/Open standard I've got convenient access to, so move it into the _NETBSD_SOURCE section.
|
#
4be7a2dc |
| 28-Apr-2003 |
bjh21 <bjh21@NetBSD.org> |
Add a new feature-test macro, _NETBSD_SOURCE. If this is defined by the application, all NetBSD interfaces are made visible, even if some other feature-test macro (like _POSIX_C_SOURCE) is defined.
Add a new feature-test macro, _NETBSD_SOURCE. If this is defined by the application, all NetBSD interfaces are made visible, even if some other feature-test macro (like _POSIX_C_SOURCE) is defined. <sys/featuretest.h> defined _NETBSD_SOURCE if none of _ANSI_SOURCE, _POSIX_C_SOURCE and _XOPEN_SOURCE is defined, so as to preserve existing behaviour.
This has two major advantages: + Programs that require non-POSIX facilities but define _POSIX_C_SOURCE can trivially be overruled by putting -D_NETBSD_SOURCE in their CFLAGS. + It makes most of the #ifs simpler, in that they're all now ORs of the various macros, rather than having checks for (!defined(_ANSI_SOURCE) || !defined(_POSIX_C_SOURCE) || !defined(_XOPEN_SOURCE)) all over the place.
I've tried not to change the semantics of the headers in any case where _NETBSD_SOURCE wasn't defined, but there were some places where the current semantics were clearly mad, and retaining them was harder than correcting them. In particular, I've mostly normalised things so that _ANSI_SOURCE gets you the smallest set of stuff, then _POSIX_C_SOURCE, _XOPEN_SOURCE and _NETBSD_SOURCE in that order.
Tested by building for vax, encouraged by thorpej, and uncontested in tech-userlevel for a week.
show more ...
|
#
c89c003e |
| 24-May-2002 |
itojun <itojun@NetBSD.org> |
support bcrypt password. can be chosen by "blowfish" keyword in passwd.conf. from openbsd
|
#
791fb512 |
| 27-Jan-2002 |
lukem <lukem@NetBSD.org> |
public prototypes should use __P(); fix entries for pwcache_{user,group}db()
|
#
463cd543 |
| 24-Jan-2002 |
lukem <lukem@NetBSD.org> |
- 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
- 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)
show more ...
|
#
b2a1c144 |
| 23-Oct-2001 |
lukem <lukem@NetBSD.org> |
- add _PATH_USERMGMT_CONF. resolves [bin/14305] - add _PATH_PASSWD_CONF to be consistent with almost all other _PATH_xxx_CONF defines, and change from using _PATH_PASSWDCONF to the former. keep th
- add _PATH_USERMGMT_CONF. resolves [bin/14305] - add _PATH_PASSWD_CONF to be consistent with almost all other _PATH_xxx_CONF defines, and change from using _PATH_PASSWDCONF to the former. keep the latter for compatibility, although arguably it could be removed because it was never in a release and was only used in one file in the tree.
show more ...
|
#
0940cdc6 |
| 18-Sep-2000 |
ad <ad@NetBSD.org> |
Clarify a comment.
|
#
481a5b22 |
| 06-Jul-2000 |
ad <ad@NetBSD.org> |
Define _PATH_PASSWDCONF and _PASSWORD_NONDES.
|
#
c95251a4 |
| 22-Dec-1999 |
kleink <kleink@NetBSD.org> |
NULL vs. NUL nit in comment.
|