summaryrefslogtreecommitdiffstats
path: root/lib/libc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* in case a handling a +groupname:*:: entry fails due to lack of memory,schwarze2009-06-041-2/+3
| | | | | do not just skip the entry, but report the error condition; ok millert@
* Proper error handling in clntraw_create:schwarze2009-06-041-6/+15
| | | | | | Bail out and clean up after all errors, and report in libc/rpc style. Among others, this fixes a NULL pointer dereference in clntraw_call. Feedback and ok kjell@ and millert@.
* State that clnt{raw,udp}_create can fail.schwarze2009-06-031-2/+8
| | | | "no objection" millert@
* Ensure there is a statement after a label.jsg2009-06-031-1/+2
| | | | ok deraadt@
* crank libc majorderaadt2009-06-031-2/+2
|
* Take advantage of the surprise libc bump to bring inschwarze2009-06-037-71/+171
| | | | | | | | YP group(5) exclusion, i.e. support -groupname:*:: in /etc/group. Such groups will be excluded from later +:*::, in just the same was as it is already done for passwd(5). I have been running this since the autumn of 2008. Discussed with several (including deraadt@, millert@, jmc@).
* Make putenv(), setenv() and unsetenv() standards compliant. Themillert2009-06-035-86/+117
| | | | | | standard explicitly disallows passing setenv a name with a '=' in it but historic BSD behavior is to allow this but to ignore the '=' and anything after it.
* Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@jj2009-06-032-4/+4
|
* Don't postpone memory allocation for the error message to the error handler:schwarze2009-06-031-33/+14
| | | | | | | That way, memory exhaustion simply cannot be reported because it would require to... allocate memory. Instead, really use a statical buffer as it is advertised in the manual. "looks good" millert@
* Set errno to EINVAL when fgets is given a non-positive size.ray2009-06-022-4/+11
| | | | OK millert otto
* - define EAI_OVERFLOW, as per IEEE Std 1003.1-2001(Interpretation #13)jasper2009-06-022-3/+7
| | | | hint from claudio@, ok millert@
* When authnone_create fails, do not leave behind a NULL cl_auth attribute,schwarze2009-06-022-3/+13
| | | | | | because that one will typically derefenced later without any checking. Instead, flag the error condition and bail out cleanly. useful feedback from kjell@ and ok millert@
* make the documentation of {svc,clnt}*create complete and correctschwarze2009-06-022-10/+21
| | | | ok millert@ jmc@
* tweak previous;jmc2009-06-022-8/+9
|
* When an RPC client program encounters ENOMEM while trying to printschwarze2009-06-011-2/+4
| | | | | | an error message, rather skip the error message than dereferencing a NULL pointer. debugging help and ok kjell@
* Split getpw{nam,uid} off into their own man page. Hopefully, thismillert2009-06-013-107/+252
| | | | | will help people understand that endpwent() is not normally needed. OK deraadt@ jmc@
* Document AI_NUMERICSERV; feedback and ok millert@jacekm2009-05-061-2/+9
|
* Fix signed vs unsigned issue with memcmp/strncmp where the size parameterdrahn2009-05-032-10/+16
| | | | was incorrectly being treated as signed. ok miod@
* document that bogus lines are silently ignoredderaadt2009-04-291-2/+3
| | | | ok millert
* Remove the stderr spray balony. Library functions should indicate failurederaadt2009-04-291-23/+2
| | | | | | | (and libc and some others can use errno to indicate more detailed results). They should not print trash to stderr, let alone assume that stderr is open to the place they think it is. ok millert
* junk spacederaadt2009-04-291-1/+1
|
* Correct the declaration of the dladdr() stub so that it has the correctguenther2009-04-221-3/+5
| | | | | | lint information originally ok'ed deraadt@ right before the 4.5 tree lock
* remove from gen so that lint doesn't check gen if assembly versionsmartynas2009-04-2113-28/+29
| | | | are available. spotted by theo
* - ldexp implementation has issues. switch to the one from libmmartynas2009-04-1930-3013/+162
| | | | | | - remove frexp in hppa64, cloned from hppa - move generic ieee754 implementations of modf and ldexp to gen ok kettenis@, "looks good" millert@
* allow building without SHA384 and SHA512 (i.e. SHA256 only) withdjm2009-04-151-2/+5
| | | | -DSHA256_ONLY in order to save space; ok deraadt@
* document that no leading whitespace is permitted between the option andokan2009-04-121-3/+5
| | | | | | argument if the argument is deemed to be optional ('::'). feedback and ok jmc@ and millert@
* accept %F, which actually behaves the same as %f. per C99martynas2009-04-052-4/+5
| | | | ok millert@
* this is not a write-only register. might have caused to optimizemartynas2009-04-051-2/+2
| | | | it away. ok miod@
* document superuser requirements, with input from jmc@espie2009-03-281-2/+8
|
* supplement previous: add /etc/netid to FILES section; ok jmc@, ajacoutot@schwarze2009-03-271-1/+3
|
* getgrouplist: If YP is #defined and enabled in /etc/group(5) and /etc/netid(5)schwarze2009-03-273-70/+137
| | | | | | | | | | | | | | contains a matching entry, use that and refrain from accessing YP. getpwnam/getpwuid: If YP is #defined and /etc/master.passwd(5) contains a matching entry before the first YP entry, use that and stay away from YP. Taken together, this allows a solution to the following problem pointed out by deraadt@: When YP was configured but temporarily unavailable, even root login would block, hindering you when trying to do repairs. To avoid this, you can now provide a static entry for root in /etc/netid. Using suggestions from miod@ otto@ blambert@ jmc@. "commit" deraadt@, "cool" ajacoutot@, "looks fine" jmc@.
* add a HISTORY section to fts(3).sobrado2009-03-231-2/+9
| | | | | | | diff proposed by an anonymous user on bugs@; tweaked by jmc@; verified using the superb 4BSD collection at pdp-11.org.ru (thanks form@). ok jmc@
* Return -1 from mktemp_internal() on EINVAL like we used to.millert2009-03-201-3/+3
| | | | OK oga@ thib@
* correct argument type for swap64(); from Thomas Pfaffjmc2009-03-171-3/+3
|
* Add glob(7) and refer to it. OK jmc@ sobrado@millert2009-03-052-6/+8
|
* Update to match mktemp.c changesmillert2009-03-011-4/+4
|
* New mktemp(3) based on the one from portable mktemp(1). Now includesmillert2009-03-011-89/+88
| | | | | | | digits (in addition to letters) in the random file name. Instead of looping forever, mktemp(3) will terminate when it has tried 2 * N^62 times where N is the number of X's. This is effectively forever for lots of X's.
* Add missing braces. This is why we use braces for indented block thatmillert2009-02-181-2/+3
| | | | are more than a couple of lines...
* when the template is entirely XXX characters, would crashderaadt2009-02-171-4/+6
| | | | | from Vadim Zhukov <persgray@gmail ok millert
* kill whitespace at eol;jmc2009-02-131-2/+2
|
* decribe 'F' better and mention flags are debugging aids; ok tedu@ jmc@otto2009-02-131-8/+10
|
* Avoid level going negative on deep (i mean really deep) dirs. Reportedotto2009-02-111-1/+9
| | | | by Maksymilian Arciemowicz. ok kettenis@ millert@
* correct function definitions; from Markus Bergkvistjmc2009-02-101-4/+4
|
* fix typopyr2009-01-311-3/+3
| | | | ok jmc@
* Change section: we're talking about the symlink system call, not theguenther2009-01-301-2/+2
| | | | | | generic symlink info ok jmc@
* tweak previous;jmc2009-01-301-4/+4
|
* Update to reflect renaming of the st_[acm]timespec members to st_[acm]timguenther2009-01-291-22/+61
| | | | | | | per the POSIX 1003.1-2008 spec. Also, tweak the information about what system calls hit which timestamps ok jmc@
* from Yoshihiko Sarumaru, freebsd pr #76333: fseek(3) can clear EOF too;jmc2009-01-291-4/+2
| | | | ok millert
* Remove support for kerb4 '.' instance separator, kerb4 is dead. OK jacekm@millert2009-01-152-20/+18
|
* Man page for wcstof(3), wcstod(3) and wcstold(3).kettenis2009-01-132-3/+80
|