summaryrefslogtreecommitdiffstats
path: root/include/grp.h
Commit message (Collapse)AuthorAgeFilesLines
* = Implement thread-safe versions of the getpwent(3) and getgrent(3)nectar2003-04-171-4/+11
| | | | | | | | | | | | | | | | | | | | | | family of functions using the new nsdispatch(3) core. Remove arbitrary size limits when using the thread-safe versions. = Re-implement the traditional getpwent(3)/getgrent(3) functions on top of the thread-safe versions. = Update the on-disk format of the hashed version of the passwd(5) databases to allow for versioned entries. The legacy version is `3'. (Don't ask.) = Add support for version `4' entries in the passwd(5) database. Entries in this format are identical to version 3 entries except that all integers are stored as 32-bit integers in network byte order (big endian). = pwd_mkdb is updated to generate both version 3 and version 4 entries. Sponsored by: DARPA, Network Associates Laboratories
* Use relatively new visibility primitives for conditionals. Documentmike2002-09-181-6/+13
| | | | unimplemented functions.
* style(9): line up function namesmike2002-09-171-8/+8
|
* o Merge <machine/ansi.h> and <machine/types.h> into a new headermike2002-08-211-3/+3
| | | | | | | | | | | | | | | | | | | | | called <machine/_types.h>. o <machine/ansi.h> will continue to live so it can define MD clock macros, which are only MD because of gratuitous differences between architectures. o Change all headers to make use of this. This mainly involves changing: #ifdef _BSD_FOO_T_ typedef _BSD_FOO_T_ foo_t; #undef _BSD_FOO_T_ #endif to: #ifndef _FOO_T_DECLARED typedef __foo_t foo_t; #define _FOO_T_DECLARED #endif Concept by: bde Reviewed by: jake, obrien
* Include <sys/_types.h>. This should have been part of the previousmike2002-04-151-1/+1
| | | | revision.
* o Implement <sys/_types.h>, a new header for storing types that aremike2002-04-011-3/+3
| | | | | | | | | | | | | | | MI, not required to be a fixed size, and used in multiple headers. This will grow in time, as more things move here from <sys/types.h> and <machine/ansi.h>. o Add missing type definitions (uint16_t and uint32_t) to <arpa/inet.h> and <netinet/in.h>. o Reduce pollution in <sys/types.h> by using `#if _FOO_T_DECLARED' widgets to avoid including <sys/stdint.h>. o Add some missing type definitions to <unistd.h> and note the ones that still need to be added. o Make use of <sys/_types.h> primitives in <grp.h> and <sys/types.h>. Reviewed by: bde
* Breath deep and take __P out of the system include files.imp2002-03-231-8/+8
| | | | | | # This appears to not break X11, but I'm having problems compiling the # glide part of the server with or without this patch, so I can't tell # for sure.
* Make user_from_uid and group_from_gid return const char *, just likeimp2002-03-221-1/+1
| | | | NetBSD. Update man page to reflect this.
* Use a integral type that doesn't require <sys/types.h>. Thismike2002-03-081-1/+2
| | | | | | | accomplishes the goal of actually making <grp.h> independent of other headers for the definition of its types. Pointy hat to: mike
* Rather than include namespace pollution in <grp.h> in order to declaremike2002-02-261-1/+5
| | | | | `gid_t', use the canonical protection scheme to define a type in two or more headers. This brings <grp.h> closer to POSIX.1-2001 conformance.
* Per POSIX <grp.h> doesn't require <sys/types.h>.sobomax2002-02-251-2/+3
| | | | Submitted by: ache
* Backout rev.1.5 - it seems that it's posixly correct that the programsobomax2002-02-251-2/+0
| | | | | | | needs to include <sys/types.h> before <grp.h>. Submitted by: fjoe, sheldonh David Malone <dwmalone@maths.tcd.ie>
* In rev.1.4 type of (group)->gr_gid was changes from (int) to (gid_t),sobomax2002-02-251-0/+2
| | | | | | | so that <sys/types.h> is now required. Add it, otherwise it breaks some ports. Submitted by: Joe Marcus Clarke <marcus@marcuscom.com>
* Move user_from_uid to pwd.himp2002-02-141-0/+1
| | | | | | | | | | | | | Move group_from_gid to grp.h Remove from stdlib.h Make the prototypes match the code Fix rm and mv to include new files. NetBSD has these defined in those files, and others too that I've not done. Approved by: terminal room kabal Reviewed by: jhb, phk
* Use the proper type (gid_t) for (group)->gr_gid to be orthogonalmarkm2002-01-221-1/+2
| | | | | | with uid_t usage and (user)->pw_uid. PR: 3242
* Back out all of yesterdays include file changes.eivind1997-05-071-2/+0
|
* Make a lot of include-files self-contained. I excluded the patches changingeivind1997-05-071-0/+2
| | | | | | | | int's to gid_t and uid_t - should I commit these, too? Closes PR misc/2625. Submitted by: Julian Assange <proff@iq.org>
* BSD 4.4 Lite Include Sourcesrgrimes1994-05-241-0/+69
OpenPOWER on IntegriCloud