summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Take advantage of the surprise libc bump to bring inschwarze2009-06-034-70/+48
| | | | | | | | 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@).
* tweak previous;jmc2009-06-022-8/+9
|
* 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 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
* remove from gen so that lint doesn't check gen if assembly versionsmartynas2009-04-211-2/+2
| | | | are available. spotted by theo
* - ldexp implementation has issues. switch to the one from libmmartynas2009-04-193-4/+241
| | | | | | - remove frexp in hppa64, cloned from hppa - move generic ieee754 implementations of modf and ldexp to gen ok kettenis@, "looks good" millert@
* 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@
* Add glob(7) and refer to it. OK jmc@ sobrado@millert2009-03-052-6/+8
|
* Add missing braces. This is why we use braces for indented block thatmillert2009-02-181-2/+3
| | | | are more than a couple of lines...
* Avoid level going negative on deep (i mean really deep) dirs. Reportedotto2009-02-111-1/+9
| | | | by Maksymilian Arciemowicz. ok kettenis@ millert@
* Remove support for kerb4 '.' instance separator, kerb4 is dead. OK jacekm@millert2009-01-152-20/+18
|
* Fix file descriptor leak in fts_children(); okay dhill@, millert@,pedro2008-12-271-2/+4
| | | | tedu@, thib@.
* ddb.console does not override machdep.kbdreset, so don't say it does;jmc2008-12-231-7/+2
|
* - document and mlink frexpf, ldexpf, modff added 13 years agomartynas2008-12-124-15/+61
| | | | | - document frexpl, ldexpl added recently a tweak and ok jmc@
* use sys/cdefs.h; pointed out by theomartynas2008-12-107-14/+14
|
* ditto frexpl and ldexplmartynas2008-12-091-1/+9
|
* - add long double signbitmartynas2008-12-096-17/+82
| | | | | | | | | | | | | - make long double versions weak aliases to double versions, on archs where long doubles are 64 bits - no need to have two finites. finite() and finitef() are non-standard 3BSD obsolete versions of isfinite. remove from libm. make them weak_alias in libc to __isfinite and __isfinitef instead. similarly make 3BSD obsolete versions of isinf, isinff, isnan, isnanf weak_aliases to C99's __isinf, __isinff, __isnan, __isnanf - bump major ok millert@
* tweak previous;jmc2008-11-091-9/+14
|
* Document the ddb.trigger sysctl.ckuethe2008-11-081-2/+17
| | | | feedback and ok mpf@, deraadt@
* some SEE ALSO additions from Ingo Schwarze;jmc2008-10-243-6/+9
|
* man page for Makefile.yp, and associated bits; from Ingo Schwarzejmc2008-10-221-3/+27
| | | | ok deraadt
* document fts_open error handling; from Tim van der Molenjmc2008-10-191-2/+10
| | | | ok millert
* simplify and clarify login_getstyle; ok deraadt@millert2008-10-021-14/+7
|
* POSIX character class support for fnmatch(3) and glob(3). OK deraadt@millert2008-10-013-8/+149
|
* - replace dtoa w/ David's gdtoa, version 2008-03-15martynas2008-09-075-77/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - provide proper dtoa locks - use the real strtof implementation - add strtold, __hdtoa, __hldtoa - add %a/%A support - don't lose precision in printf, don't round to double anymore - implement extended-precision versions of libc functions: fpclassify, isnan, isinf, signbit, isnormal, isfinite, now that the ieee.h is fixed - separate vax versions of strtof, and __hdtoa - add complex math support. added functions: cacos, casin, catan, ccos, csin, ctan, cacosh, casinh, catanh, ccosh, csinh, ctanh, cexp, clog, cabs, cpow, csqrt, carg, cimag, conj, cproj, creal, cacosf, casinf, catanf, ccosf, csinf, ctanf, cacoshf, casinhf, catanhf, ccoshf, csinhf, ctanhf, cexpf, clogf, cabsf, cpowf, csqrtf, cargf, cimagf, conjf, cprojf, crealf - add fdim, fmax, fmin - add log2. (adapted implementation e_log.c. could be more acruate & faster, but it's good enough for now) - remove wrappers & cruft in libm, supposed to work-around mistakes in SVID, etc.; use ieee versions. fixes issues in python 2.6 for djm@ - make _digittoint static - proper definitions for i386, and amd64 in ieee.h - sh, powerpc don't really have extended-precision - add missing definitions for mips64 (quad), m{6,8}k (96-bit) float.h for LDBL_* - merge lead to frac for m{6,8}k, for gdtoa to work properly - add FRAC*BITS & EXT_TO_ARRAY32 definitions in ieee.h, for hdtoa&ldtoa to use - add EXT_IMPLICIT_NBIT definition, which indicates implicit normalization bit - add regression tests for libc: fpclassify and printf - arith.h & gd_qnan.h definitions - update ieee.h: hppa doesn't have quad-precision, hppa64 does - add missing prototypes to gdtoaimp - on 64-bit platforms make sure gdtoa doesn't use a long when it really wants an int - etc., what i may have forgotten... - bump libm major, due to removed&changed symbols - no libc bump, since this is riding on djm's libc major crank from a day ago discussed with / requested by / testing theo, sthen@, djm@, jsg@, merdely@, jsing@, tedu@, brad@, jakemsr@, and others. looks good to millert@ parts of the diff ok kettenis@ this commit does not include: - man page changes
* correct +name handling; schwarze@usta.dederaadt2008-08-251-6/+7
|
* add missing header needed by asprintf().chl2008-08-231-1/+2
| | | | ok otto@ deraadt@
* mention machine/cpu.h for the CPU identifiers.brad2008-08-221-2/+4
|
* After spotting a + record, continue scanning and pick up later groupsderaadt2008-08-221-4/+10
| | | | | in the file. Problem spotted by drahn. ok millert
* tweak previous;jmc2008-07-292-8/+7
|
* removemartynas2008-07-291-82/+0
|
* - man pages for fpclassify, isfinite, isinf, isnan, isnormal, signbit,martynas2008-07-293-15/+293
| | | | | | | | | | | | mostly from freebsd - also describe deprecated aliases for isinff, isnanf, finite, finitef - describe behavior on vax - add mlinks for finite, finitef, isfinite, isinf, isinff, isnan, isnanf, isnormal, signbit - add man pages for isgreater, isgreaterequal, isless, islessequal, islessgreater, isunordered; from freebsd looked over by jmc@, it's better for him to work on when they are in tree
* some SEE ALSO fixes;jmc2008-07-282-7/+7
|
* document which functions use which YP maps; Ingo Schwarzederaadt2008-07-282-6/+27
|
* - move isinf, isnan dups to gen, since most is ieee 754martynas2008-07-247-8/+332
| | | | | | | | | | | | | | | | - is{inf,nan} should be macros for real-floating, so rename to __is{inf,nan}, per C99 - implement C99 __fpclassify(), __fpclassifyf(), __isfinite(), __isfinitef(), __isnormal(), __isnormalf(), __signbit(), __signbitf() - long functions added, but not yet enabled, till ieee.h is fixed - implement vax equivalents of the functions - reimplement isinff, isnanf in a better way, and move to libc - add qnan bytes for all archs - bump major man pages will follow ok millert@. arm bits looked over by drahn@ discussed w/ theo, who showed the right direction, to put these functions in libc
* Avoid an occasional double free in getpwent() which corrupted memory. Itderaadt2008-07-231-6/+2
| | | | | | happened only in the case of a + record indicating to use YP, but with ypbind not actually running. Problem found by pyr; solution found with millert ok millert pyr
* oops, fix getpwent() use of wrong buffersderaadt2008-07-061-3/+4
| | | | found by alexander.schrijver
* First pass at removing clauses 3 and 4 from NetBSD licenses.ray2008-06-263-26/+5
| | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
* `Li' needs an argument;jmc2008-06-251-9/+5
|
* Implement _SC_GETGR_R_SIZE_MAX, _SC_GETPW_R_SIZE_MAX, _SC_LOGIN_NAME_MAX,millert2008-06-252-3/+37
| | | | and _SC_THREAD_SAFE_FUNCTIONS for sysconf(3). OK deraadt@
* Add _PW_BUF_LEN define and use it instead of hard-coding 1024 formillert2008-06-251-6/+6
| | | | the buffer size. OK deraadt@
* create a private getpwent()-like interface which does not walk the YPderaadt2008-06-242-16/+99
| | | | | | | groups map but instead tells us that it is there. then use this interface in getgrouplist(), and do a single lookup against netid.byname instead to get all the groups associated with that user ok kurt, testing by many others
* implement getpwnam_r() and getpwuid_r() -- very nearly a rewrite of thederaadt2008-06-243-472/+437
| | | | entire file. much help from kurt, and tested by many
* olf support starts to die (easy stuff first); ok miodderaadt2008-06-041-3/+2
|
* fix a broken Xr;jmc2008-05-301-3/+4
|
* routed is no more so use dhcpd in these examples instead. OK norby@claudio2008-05-071-3/+3
|
* Use the standard syslog levels on CARP logging messages instead ofmcbride2008-05-061-5/+7
| | | | | | | | | | | simple on/off, allowing more control over how verbose the logging is. This also allows you to do a further level of filtering in syslog.conf if you need to. Also add logging of state changes, inspired by diff provided by Brian A. Seklecki in PR 5513. These messages are logged by default. ok henning mpf deraadt