Commit Graph

16 Commits

Author SHA1 Message Date
lukem
791fb512f3 public prototypes should use __P(); fix entries for pwcache_{user,group}db() 2002-01-27 07:00:43 +00:00
lukem
463cd54319 - 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)
2002-01-24 02:46:32 +00:00
mycroft
f9927bf246 Add gid_from_group() and uid_from_user(). 1998-07-28 16:27:48 +00:00
mycroft
4f4968a946 Mark more functions returning internal buffers for const auditing. 1998-07-27 09:33:44 +00:00
mycroft
633b8f45a9 Make many of the new consts dependent on a new `__AUDIT__' flag, to avoid
breaking third party software.  *sigh*
1998-07-27 09:09:03 +00:00
mycroft
a2b177683b const poisoning. 1998-07-26 18:29:09 +00:00
msaitoh
c2219d6aa5 pid/gid is not int but pid_t/gid_t (u_int32_t (unsigned!)). 1998-06-22 13:29:43 +00:00
kleink
6ea15afcfa Reorganize name space protection. 1998-05-06 19:17:37 +00:00
jtc
0f222262ee 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.
1996-06-11 02:14:01 +00:00
cgd
62ee060840 provide group_from_gid() proto if not _POSIX_SOURCE and not _XOPEN_SOURCE 1995-04-29 05:30:40 +00:00
cgd
4d2cbfce0a new RCS ID format. 1994-10-26 00:55:40 +00:00
cgd
5a60a84b23 add back jtc's _XOPEN_SOURCE changes, return type of setgrent back to void 1994-05-16 23:43:17 +00:00
cgd
e6b5ddd91e 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.
1994-05-16 10:58:53 +00:00
jtc
2928342e94 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.
1993-10-25 23:30:53 +00:00
mycroft
e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00