millert
5a122e6e86
Add uid_from_user() and gid_from_group(), derived from pax's cache.c.
...
It replaces the existing pwcache.c functions user_from_uid(3) and
group_from_gid(3) with the pax equivalents. Adapted from NetBSD
(mycroft) changes from our own pax's cache.c. OK guenther@
2018-09-13 12:31:15 +00:00
guenther
7496a82a13
setgrfile() isn't implemented
2014-08-31 04:04:38 +00:00
deraadt
4a39ccd02c
Remove excessive sys/cdefs.h inclusion
...
ok guenther millert kettenis
2012-12-05 23:19:48 +00:00
guenther
2c79e7cc0b
More compliance fixes: hiding non-standard stuff behind __BSD_VISIBLE,
...
making files stand-alone, some __restrict additions.
tweaks kettenis@; ports testing and fixes landry@ and jasper@
ok millert@
2012-10-01 00:21:19 +00:00
sthen
cabdb1ca34
Teach sysconf(_SC_GETGR_R_SIZE_MAX) the correct size of a buffer for the
...
reentrant getgrent functions (getgrgid_r, getgrnam_r).
seems reasonable to millert@, ok deraadt@
2011-04-25 20:10:10 +00:00
millert
52a0e6034e
First step in include files overhaul. Use __FOO_VISIBLE (as defined
...
in sys/cdefs.h) instead of _FOO_SOURCE. Also fix several namespace
pollution issues, including the byte order defines. OK deraadt@
2005-12-13 00:35:22 +00:00
deraadt
a83f895f5a
proto getgrgid_r and getgrnam_r
2003-06-25 21:06:33 +00:00
millert
e33d3bd3b8
Remove the advertising clause in the UCB license which Berkeley
...
rescinded 22 July 1999. Proofed by myself and Theo.
2003-06-02 19:34:12 +00:00
millert
3a4d0b151c
Fix 2 things that should be gid_t. One from Oleg Safiullin, one from me...
2002-04-22 21:28:49 +00:00
millert
c72b5b24e1
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-02-16 21:27:05 +00:00
niklas
5ea2d675e0
Well, as we are heading for a release people are encouraged to rebuild their
...
entire trees for testing anyway, I might as well do this intrusive touching
of include files now. Added openBSD tags.
1997-09-21 10:45:23 +00:00
deraadt
7602f5f919
pull types.h for xpg
1996-12-03 01:30:56 +00:00
deraadt
df930be708
initial import of NetBSD tree
1995-10-18 08:37:01 +00:00