summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2013-01-15build crt{begin,end}S.o with -fpic.Miod Vallat
2013-01-15Don't pull <math.h> just because it can return HUGE_VAL in theMartynas Venckus
corner cases. OK millert@.
2013-01-14No longer need the "miniproc" glue, as we only have kinfo_proc now.Philip Guenther
ok deraadt@ pirofti@ kettenis@
2013-01-13Remove machine-dependent glue for strtorQ, since hppa64 quad-precisionMartynas Venckus
support has been removed from our compiler a year ago.
2013-01-13Get rid of the very ugly lint workarounds: LINTLIBRARY, PROTOLIB,Martynas Venckus
and a few empty files for lint to chew on.
2013-01-11Add END() directives to the various functions.Miod Vallat
Make the code PIC-aware when necessary (i.e. invoke other functions through the PLT, and access global data through the GOT). No change for non-PIC compilation.
2013-01-11Add a bunch of macros to help writing PIC code for libc .S routines. HandlesMiod Vallat
both -fpic and -fPIC.
2013-01-10editline.3: editrc only read from $HOME; from LEVAI DanielJason McIntyre
editrc.5: add FILES for ~/.editrc patches passed onto net/free
2013-01-08fix __cerror non-weak symbol nameMiod Vallat
2013-01-08More int's that should be size_t for strlen() useTheo de Raadt
ok millert
2013-01-07use a size_t instead of an int to avoid signed compareTheo de Raadt
spotted by Ilja Van Sprundel ok millert
2013-01-05Fix verbiage to make it clear that on success the return value ofKenneth R Westerback
strftime() is the number of characters printed. POSIX verbiage verified by jmc@, ok jmc@.
2013-01-05Switch m88k ports to ELF.Miod Vallat
2013-01-03sysctl.3: remove some confusing text about NFS_NIOTHREADSJason McIntyre
sysctl.8: remove the vfs.nfs.iothreads example, since a) showing how to set a default value is not particularly helpful and b) EXAMPLES is bloated enough as it is; further, remove the text which points to other pages for further discussion, since those pages no longer provide relevant info diff started by an email from Jan Stary; blambert helped me prepare this diff
2013-01-03some small cleanup;Jason McIntyre
2013-01-01Add an implementation based on tedu@'s design of fmemopen(3) andMartin Pieuchot
open_memstream(3) so they can be polished in-tree. One of the manpages comes from NetBSD with some tweaks. Prodded by espie@, krw@, guenther@
2012-12-31Spell `calculation' correctly.Miod Vallat
2012-12-30Provide proper ldexp{f,l} aliases to scalbn{f,l} to match the MI (ld80) code.Miod Vallat
2012-12-26Actually invoke the system call in libc's sigreturn() wrapper; went unnoticedMiod Vallat
for 15 years or so (sigcode, of course, was correct).
2012-12-24Register cleanup handler passed by ld.so with atexit(3).Mark Kettenis
tested by benno@
2012-12-24Register cleanup handler passed by ld.so with atexit(3). Fix stack alignment.Mark Kettenis
ok guenther@
2012-12-23Register cleanup handler passed by ld.so with atexit(3).Mark Kettenis
2012-12-23Explicitly align the stack on a 16-byte boundary such that constructors canMark Kettenis
use SSE instructions. In principle we should be able to rely on the stack to be aligned properly, but the i386 calling convention makes this rather fragile. ok guenther@, deraadt@
2012-12-22Make sure the stack is 16-byte aligned otherwise the use of certain SSEMark Kettenis
instructions will fail. ok guenther@
2012-12-22Register cleanup handler passed by ld.so with atexit(3).Mark Kettenis
ok kurt@
2012-12-22some fixes, based on a diff from Martin Toft;Jason McIntyre
2012-12-22Fix bug in random offset introduced in rev 1.143; random range wasOtto Moerbeek
expanded, but not enough due to precedence error. Spotted by Thorsten Glaser.
2012-12-21remove makefile hacks that are no longer needed with t1 t2: working properlyMarc Espie
okay krw@
2012-12-20include machine/cpu.h now that is isn't any longer pulled in indirectlyChristian Weisgerber
by sys/sysctl.h; ok deraadt@ millert@
2012-12-19crtbeginS.o needs to be built with -fPIC, otherwise bloated shared librariesMark Kettenis
silently crash when running constructors. Tested by landry@. ok beck@
2012-12-19Fix a purely theoretical NULL-pointer dereference in the case that weReyk Floeter
would be able to receive multiple SCM_RIGHTS messages. ok claudio@ gilles@
2012-12-17Allow gethostbyname() to accept a numeric IP string.Eric Faurot
No lookup is done in this case. regression reported by espie@
2012-12-12document RES_USE_DNSSEC; text tweaked by sthenJason McIntyre
ok jakob
2012-12-05Remove excessive sys/cdefs.h inclusionTheo de Raadt
ok guenther millert kettenis
2012-12-05Cross-reference getfsstat(2); OK jmc@Todd C. Miller
2012-12-05no need for .Pp before lists;Jason McIntyre
2012-12-04Rewritten posix_openpt manual that doesn't include any of the POSIXTodd C. Miller
text. OK deraadt@
2012-12-04Use "path name" not "pathname".Todd C. Miller
2012-12-03Add two missing quad-precision emulation functions: _Qp_cmp and _Qp_cmpe. AtMark Kettenis
least the former is emitted by modern versions of GCC.
2012-12-03Simple emulation of POSIX pty APIs posix_openpt(), ptsname(),Todd C. Miller
grantpt() and unlockpt() using /dev/ptm. Man pages from FreeBSD. OK kettenis@ deraadt@ beck@ ajacoutot@ naddy@
2012-12-03New CA root certificates, ok beck@.Stuart Henderson
- additional cert's from GlobalSign. - additional cert's from VeriSign and replace existing ones with 'Signature Algorithm: md2WithRSAEncryption' with their currently distributed sha1WithRSAEncryption versions. - new CAs: AddTrust (root for most Comodo certificates also heavily used in academic networks), Comodo (most of their certs are rooted in AddTrust but TERENA use the Comodo AAA Certificate Services root for some things so add that separately), UserTrust Network/UTN (part of Comodo) and Starfield (part of Go Daddy).
2012-12-01Additional CA root certificates: GeoTrust/Equifax, Go Daddy, StartCom, thawte.Stuart Henderson
ok beck@ william@ todd@
2012-11-30Regenerate the text information for all certificates with recent opensslStuart Henderson
and include sha1 signatures for all certs (some were missing). No certificate changes, this is just for consistency. ok beck@
2012-11-30Remove retired Thawte/Verisign certificates.Stuart Henderson
Remove intermediate GoDaddy certificate, this file should just contain roots. ok beck@ phessler@
2012-11-30Document a known bug in the DES crypt cipher implementation which we'reStefan Sperling
not going to fix in order to stay compatible with legacy password data. Nobody should use DES crypt anyway these days. See http://www.freebsd.org/security/advisories/FreeBSD-SA-12:02.crypt.asc for details about this bug. Discussed with deraadt and beck about half a year ago (I'm pruning Ms from my tree).
2012-11-29- put the various options into the same order as those in resolv.hJason McIntyre
- sync RES_DEBUG with resolv.conf.5 - document RES_PRIMARY, but mark it unsupported (like we already do for RES_AAAONLY) - use the exact same text (about being enabled by default) for RES_RECURSE as for the other two defaults - document RES_INSECURE{1,2} - description lifted from resolv.conf.5 - document RES_NOALIASES - mostly sync the RES_USE_EDNS0 text with resolv.conf.5 - RES_USE_DNSSEC not documented for now. something to come... ok sthen
2012-11-29deal with vendor branch sillyness: those files are goneMarc Espie
2012-11-29bump major (new functions), regen relevant filesMarc Espie
2012-11-29lemon.c fixed differently upstream, solve conflictMarc Espie
2012-11-29minor update to 3.7.14.1Marc Espie