History log of /netbsd-src/include/grp.h (Results 1 – 24 of 24)
Revision Date Author Comments
# 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.


# c54f283e 04-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 getgrent(3).
Per my proposal on tech-userlevel.

Implement getgrgid_r() and getgrnam_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), getgrent(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_GETGR_R_SIZE_MAX to sysconf(3).

show more ...


# 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.


# 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 ...


# 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 ...


# f9927bf2 28-Jul-1998 mycroft <mycroft@NetBSD.org>

Add gid_from_group() and uid_from_user().


# 4f4968a9 27-Jul-1998 mycroft <mycroft@NetBSD.org>

Mark more functions returning internal buffers for const auditing.


# 633b8f45 27-Jul-1998 mycroft <mycroft@NetBSD.org>

Make many of the new consts dependent on a new `__AUDIT__' flag, to avoid
breaking third party software. *sigh*


# a2b17768 26-Jul-1998 mycroft <mycroft@NetBSD.org>

const poisoning.


# c2219d6a 22-Jun-1998 msaitoh <msaitoh@NetBSD.org>

pid/gid is not int but pid_t/gid_t (u_int32_t (unsigned!)).


# 6ea15afc 06-May-1998 kleink <kleink@NetBSD.org>

Reorganize name space protection.


# 0f222262 11-Jun-1996 jtc <jtc@NetBSD.org>

POSIX.1 requires programs to include <sys/types.h> before including
<grp.h> or <utime.h> while XPG4.2 makes <sys/types.h> optional. So
I've included <sys/types.h> to provide the XPG4.2 behavior.


# 62ee0608 29-Apr-1995 cgd <cgd@NetBSD.org>

provide group_from_gid() proto if not _POSIX_SOURCE and not _XOPEN_SOURCE


# 4d2cbfce 26-Oct-1994 cgd <cgd@NetBSD.org>

new RCS ID format.


# 5a60a84b 16-May-1994 cgd <cgd@NetBSD.org>

add back jtc's _XOPEN_SOURCE changes, return type of setgrent back to void


# e6b5ddd9 16-May-1994 cgd <cgd@NetBSD.org>

update all but ctype.h, dumprestore.h, time.h to 4.4-Lite versions.
USL copyright additions on those. Kill varargs.h, because it can simply
be a link to the machine-dependent version.


# 2928342e 25-Oct-1993 jtc <jtc@NetBSD.org>

X/Open 1170 defines the return type of setgrent() to be void -- a trival
change since our setgrent() allways succeeded.
Removed prototype for obsolete function setgrfile(), added prototype for
setgro

X/Open 1170 defines the return type of setgrent() to be void -- a trival
change since our setgrent() allways succeeded.
Removed prototype for obsolete function setgrfile(), added prototype for
setgroupent().
Added _XOPEN_SOURCE to conditionals in case someone wants to compile
something in an strict X/Open environment.

show more ...


# e9d867ef 01-Aug-1993 mycroft <mycroft@NetBSD.org>

Add RCS identifiers.


# 61f28255 21-Mar-1993 cgd <cgd@NetBSD.org>

initial import of 386bsd-0.1 sources