| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
of the pointer returned by getpw{ent,nam,uid}(). We unmap the
buffer each time to catch callers using a stale passwd struct
pointer. As a special case, we do not unmap the buffer if the
previous lookup was for the same name or uid. This special case
may be removed in the future. OK deraadt@
|
| |
|
|
|
|
|
|
| |
remove some references to differences between versions 6 and 7.
ok jmc, millert, tedu
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- delete the commented out setgrfile bits, as well as the MLINK
- rename getgr{nam,gid}_r()'s 'buffer' parameters to 'buf' to be
consistent with getpwnam(3) and practically all other section 3 manpages
- we have sysconf(_SC_GETGR_R_SIZE_MAX) now, so uncomment and revise the text
For getpwnam.3:
- rename buflen to bufsize for consistency
- rewrite the description of the getpw{nam,uid}_r functions to
match the better getgr{nam,gid}_r() description, adding sysconf() bits
Add sysconf(3) to SEE ALSO for both
encouraged by schwarze@
ok millert@
|
|
|
|
|
| |
Incorrect text pointed out by tedu@
ok deraadt@ millert@ tedu@
|
|
|
|
| |
uid_t or gid_t (and neither do we). OK deraadt@
|
|
|
|
|
|
| |
Fix the description of the RETURN VALUES of get*_r().
Minor polishing while here.
Feedback and ok jmc@, ok millert@ jca@.
|
| |
|
|
|
|
|
| |
facts checked by sobrado@
style tweaks and ok jmc@
|
| |
|
| |
|
|
will help people understand that endpwent() is not normally needed.
OK deraadt@ jmc@
|