Diomidis Spinellis
434c74760f
Fix problem where initgroups would silently truncate groups with
...
more than NGROUP elements without providing the opportunity to
setgroups to fail and correctly return error and set errno.
MFC after: 2 weeks
2003-11-19 15:51:26 +00:00
David E. O'Brien
ea8d448a92
Fix SCM ID's.
2002-02-01 00:57:29 +00:00
Mark Murray
5567b258eb
Use the proper type (gid_t) for (group)->gr_gid to be orthogonal
...
with uid_t usage and (user)->pw_uid.
PR: 3242
2002-01-22 17:32:53 +00:00
Anton Berezin
7d3346ca1f
Do not write warning messages on stderr - a caller is expected to check
...
the return code and errno instead. Those warnings did not do any good
for daemonized users of initgroups(3), and confused cvs clients that
communicated with non-root cvs pserver.
The committed fix differs from the one suggested in the PR, and was
submitted by ru.
PR: 15421
Approved by: markm
Discussed on: -stable, -current at various times
2001-11-28 10:55:02 +00:00
Bruce Evans
1643f03d5f
Fixed namespace pollution related to `warn' in libc (but not in other
...
libraries or for other members of the err() family).
This fixes world breakage in bc and rcs/* for NOSHARED worlds.
2001-08-29 13:52:27 +00:00
Jordan K. Hubbard
51295a4d3e
General -Wall warning cleanup, part I.
...
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
1996-07-12 18:57:58 +00:00
Poul-Henning Kamp
8b10240709
Minor cleanup, mostly unused vars and missing #includes.
1995-10-22 14:37:11 +00:00
Rodney W. Grimes
58f0484fa2
BSD 4.4 Lite Lib Sources
1994-05-27 05:00:24 +00:00