summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Make this part identical with NetBSD: Use recvlen instead of inlen.mbr2003-10-291-1/+1
| | | | | | No functionality change. Obtained from: NetBSD
* Don't compare NULL against a character.mbr2003-10-291-3/+3
| | | | Obtained from: NetBSD
* Don't use NULL to compare against a char.mbr2003-10-291-2/+2
| | | | Obtained from: NetBSD
* Don't use NULL to compare against a character.mbr2003-10-291-1/+1
| | | | Obtained from: NetBSD
* Don peril sensitive (ie: bikeshed sensitive) sunglasses and quietlypeter2003-10-282-408/+1
| | | | | | | | | | | send strhash(3) off to sleep with the fishes. Nothing in our tree uses it. It has no documentation. It is nonstandard and in spite of the filename strhash.c and strhash.h, it lives in application namespace by providing compulsory global symbols hash_create()/hash_destroy()/hash_search()/ hash_traverse()/hash_purge()/hash_stats() regardless of whether you #include <strhash.h> or not. If it turns out that there is a huge application for this after all, I can repocopy it somewhere safer and we can revive it elsewhere. But please, not in libc!
* Fix a problem where libm compiled under 5.X would depend on featuresdas2003-10-272-2/+8
| | | | | | | | | | | | | | that are only in libc.so.5. This broke some 4.X applications linked to libm and run under 5.X. Background: In C99, isinf() and isnan() cannot be implemented as regular functions. We use macros that call libc functions in 5.X, but for libm-internal use, we need to use the old versions until the next time libm's major version number is bumped. Submitted by: bde Reported by: imp, kris
* - errx() doesn't need `\n'.ume2003-10-264-26/+24
| | | | | | - use %u for unsigned variable. Obtained from: KAME
* revert previous change. we don't need to include types.h.ume2003-10-261-1/+0
|
* Preserve the constness of the value argument passed to env_setenv() aspeter2003-10-262-2/+3
| | | | it gets passed through the filter functions.
* Pacify gcc about casting pointers to integers (for the lowest few bits).peter2003-10-261-6/+8
|
* (mostly) Clean up some const warnings here. The code takes some libertiespeter2003-10-261-8/+9
| | | | | because it is the originator of various const strings and knows that they came from malloc.
* clnt_call takes args of type xdrproc_t.peter2003-10-265-19/+24
|
* Consistently cast to (u_char *) when filling with junk.phk2003-10-251-3/+3
|
* Better safe than clever.des2003-10-251-2/+5
| | | | Submitted by: das
* Document fabsl(3).des2003-10-251-6/+19
| | | | Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
* Style changes. Inching closer to convergence with OpenBSD.phk2003-10-251-61/+60
|
* - fabsl.c should be named s_fabsl.c for consistency with libmsun'sdes2003-10-252-3/+11
| | | | | | | | | | | | | | | documented naming scheme (unfortunately the documentation isn't in the tree as far as I can tell); no repocopy is required as there is no history to preserve. - replace simple and almost-correct implementation with slightly hackish but definitely correct implementation (tested on i386, alpha, sparc64) which requires pulling in fpmath.h and the MD _fpmath.h from libc. - try not to make a mess of the Makefile in the process. - enterprising minds are encouraged to implement more C99 long double functions.
* according to RFC3542 10.5, the 5th argment of inet6_opt_next()ume2003-10-251-1/+1
| | | | | | is not size_t but socklen_t. Reported by: tinderbox
* - fix description of what processes SIGCONT can be sent tokensmith2003-10-241-1/+1
| | | | | | PR: docs/58413 Reviewed by: rwatson Approved by: blackend (mentor)
* oops, revert previous change to getaddrinfo.c. This is not relatedume2003-10-241-275/+155
| | | | | to RFC3493. The previous change was related to RFC3484 (Default Address Selection for IPv6), and it will come later.
* Switch Advanced Sockets API for IPv6 from RFC2292 to RFC3542ume2003-10-247-366/+1401
| | | | | | | | | | (aka RFC2292bis). Though I believe this commit doesn't break backward compatibility againt existing binaries, it breaks backward compatibility of API. Now, the applications which use Advanced Sockets API such as telnet, ping6, mld6query and traceroute6 use RFC3542 API. Obtained from: KAME
* reorder functions to be in sync with KAME.ume2003-10-231-128/+132
|
* EAI_ADDRFAMILY and EAI_NODATA was deprecated in RFC3493ume2003-10-232-17/+4
| | | | | | | | (aka RFC2553bis). Now, getaddrinfo(3) returns EAI_NONAME instead of EAI_NODATA. Our getaddrinfo(3) nor getnameinfo(3) didn't use EAI_ADDRFAMILY. Obtained from: KAME
* preparation for RFC3493. EAI_NODATA was deprecated.ume2003-10-231-0/+2
|
* Connect fabsl.c to the build.des2003-10-231-0/+2
|
* Add prototypes for all long double functions in C99. Leave them alldes2003-10-231-0/+67
| | | | #if 0'd out, except for fabsl(3) which I've implemented.
* Implement fabsl(3), allowing the world to build with -fno-builtin.des2003-10-231-0/+37
|
* Use amd64_set_fsbase() instead of calling sysarch() directly.peter2003-10-232-12/+2
|
* Add implementations of amd64_[gs]et_[fg]sbase().peter2003-10-235-0/+158
|
* oops, gai_strerror must return default value when error codeume2003-10-221-0/+1
| | | | isn't found in ai_errlist.
* make ai_errlist struct. this is preparation for RFC3493ume2003-10-221-19/+32
| | | | | | (EAI_NODATA is depricated). Obtained from: KAME
* Link libngatm to the build (unless NOATM is set).harti2003-10-221-4/+5
|
* Makefile for the NgATM user space library.harti2003-10-221-0/+35
|
* The FP status register allows for 6 traps to be masked. One of them,marcel2003-10-222-3/+3
| | | | | | | | | | | | the denormal/unnormal trap, is not a standard IEEE trap. We did not exclude it from being returned by fpgetmask(), nor did we make sure that fpsetmask() didn't clobber it. Since the non-IEEE trap is not part of fp_except_t, users of ifpgetmask()/fpsetmask() would be confronted with unexpected behaviour, one of which is a SIGFPE for denormal/unnormal FP results. This commit makes sure that we don't leak the denormal/unnormal mask bit in fp_except_t and also that we don't clobber it.
* stop use of NI_WITHSCOPEID. it was deprecated.ume2003-10-213-16/+3
| | | | Obtained from: KAME
* Bring the description of st_[cma]time modification conditions a bitdds2003-10-201-6/+18
| | | | | | closer to reality. More work remains to be done. st_mtime should be the most complete based on IEEE Std 1003.1, 2003 Edition, a review of ufs_vnops.c, and some experimentation.
* This test relies on the concurrency level being 1; make it so.deischen2003-10-202-0/+6
|
* document the fact that kqueue will immediately return and not timeout whenjmg2003-10-201-0/+8
| | | | | | nevents is 0. PR: kern/45291
* ANSIfy, WARNSify, CONSTify. Bit of style(9)-ify.markm2003-10-1817-137/+120
|
* Remove a GCC specifig CFLAG. We should be using WARNS=? for this.markm2003-10-181-1/+1
| | | | | WARNS=? is not added here at this point, because I've not tested it on enough platforms, and I don't want to break builds.
* - fix to UID test description, non-zero -> zerokensmith2003-10-171-1/+1
| | | | | | PR: docs/57799 Reviewed by: des Approved by: blackend (mentor)
* Update context code for my last ABI breakage of mcontext. I'm worriedpeter2003-10-172-14/+16
| | | | | | | about the fpu code here. It should be using fxsave/fxrstor instead of saving/restoring the control word. The SSE registers are used a lot in gcc generated code on amd64. I'm not sure how this all fits together though.
* Explicitly specify an alignment for abitag. Without it, gcc specifies apeter2003-10-171-1/+1
| | | | | | | | | | | | | | | | | | | | section alignnment of 16 bytes for amd64 and this breaks file(1). Before: ./cp: ELF 64-bit LSB executable, AMD x86-64, version 1 (FreeBSD), for \ FreeBSD 127.7.9, statically linked, stripped after: ^^^^^^^ ./ls: ELF 64-bit LSB executable, AMD x86-64, version 1 (FreeBSD), for \ FreeBSD 5.0.1, dynamically linked (uses shared libs), stripped The reason for this is that the NOTE sections are not contiguous internally. If the note section has an alignment of 16, then anything that looks for the data is supposed to round up the payload start to the next multiple of the alignment. But FreeBSD/amd64 broke because the structure is declared as a single structure, not a (header,payload) group, where the payload had an explicit alignment roundup. The alternative is to change things like file(1) to ignore the ELF payload alignment rules for the PT_NOTE section only for FreeBSD.
* Add rfork_thread(3).alc2003-10-132-1/+102
|
* - support AES counter mode for ESP.ume2003-10-131-0/+3
| | | | | | | | - use size_t as return type of schedlen(), as there's no error check needed. - clear key schedule buffer before freeing. Obtained from: KAME
* Include <nlist.h> for nlist-related declarations instead of depending onbde2003-10-131-0/+1
| | | | namespace pollution in <kvm.h>.
* - support AES XCBC MAC for AHume2003-10-131-0/+3
| | | | | | - correct SADB_X_AALG_RIPEMD160HMAC to 8 Obtained from: KAME
* Fixed some style bugs in the removal of __P(()). Blind removal ofbde2003-10-131-3/+3
| | | | spaces before __P(()) outdented continuation lines to column 0.
* Update Bluetooth code.emax2003-10-1212-2/+2655
| | | | | Reviewed by: M. Warner Losh <imp@bsdimp.com>; John Hay <jhay@freebsd.org> Approved by: M. Warner Losh <imp@bsdimp.com> (mentor)
* Don't forget to initialize the fake tcb when the kcb is allocated.deischen2003-10-122-0/+6
|
OpenPOWER on IntegriCloud