summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* - RIPEMD160 supportume2003-10-121-0/+3
| | | | | | - pass size arg to ah->result (avoid assuming result buffer size) Obtained from: KAME
* Changed EINVAL constant reference from UIO_MAXIOV to IOV_MAX.dds2003-10-111-1/+1
| | | | | The former is a kernel-only visible constant, the latter the POSIX-specified userland constant defined by including limits.h.
* Assorted mdoc(7) fixes:hmp2003-10-093-20/+41
| | | | | | | | | | - fix hard sentence breaks - sprinkle a few .Vt's where neccessary - remove incorrect use of `\-' - proper quoting using .Dq, instead of manual ``...'' Approved by: des@ (mentor) Reviewed by: ru@
* Reverse the order of the first two arguments to _sparc64_enter_uts().deischen2003-10-092-4/+4
| | | | | The first argument is the UTS function, the second argument is the first argument to the UTS function. Who's on first.
* Convert a couple of hardcoded values to constants. Make thr_getcontext()deischen2003-10-094-6/+14
| | | | | return 0 when called the first time, and return 1 when resumed by thr_setcontext().
* Remove unneccessary include of sys/types.h in the SYNOPSIShmp2003-10-096-6/+0
| | | | | | | | | header. Sys/param.h includes sys/types.h internally unless LOCORE is defined. Approved by: des (mentor)
* Add preliminary sparc64 support to libpthread. This does notdeischen2003-10-0912-0/+1018
| | | | | | | | yet work, but hopefully someone familiar with the sparc64 port can pick up the reins. Submitted by: jake With mods by: deischen
* Fix some comments for last commit.davidxu2003-10-082-10/+8
|
* Complete cancellation support for M:N threads, check cancelling flag whendavidxu2003-10-084-138/+314
| | | | | | | thread state is changed from RUNNING to WAIT state and do some cancellation operations for every cancellable state. Reviewed by: deischen
* Use thread lock instead of scheduler lock to eliminate lock contentiondavidxu2003-10-082-36/+42
| | | | | | for all wrapped syscalls under SMP. Reviewed by: deischen
* Add XXX'ed temporary bounce-buffering.phk2003-10-071-6/+37
|
* Correct .Xr's in kiconv.3.bms2003-10-051-3/+3
| | | | Submitted by: osa
* Fix a logic error; use beq to check for a register being NULL, not bne.deischen2003-10-021-1/+1
|
* Correct the library name.ru2003-10-021-1/+1
|
* - Remove error code that can't be returned (and original descriptionkensmith2003-10-021-2/+0
| | | | | | | | was not proper English) PR: docs/57434 Approved: blackend (mentor) Reviewed by: deischen
* Only generate code for _LCK_ASSERT if _LCK_DEBUG is defined.davidxu2003-10-022-2/+12
|
* Cite the published version of "Engineering a Sort Function" instead oftjr2003-09-301-4/+7
| | | | an email address. Spell McIlroy correctly.
* If __sys_write() returns 0, allow that to exit the loop in libc_r'sdeischen2003-09-291-2/+2
| | | | | | wrapped version of write(). Submitted by: dan@langille.org
* When concurrency level is reduced and a kse is exiting, make sure no otherdavidxu2003-09-292-0/+26
| | | | | | threads are still referencing the kse by migrating them to initial kse. Reviewed by: deischen
* Remove unused variable.davidxu2003-09-282-4/+0
|
* Relink libc_r.a, libc_r.so and libc_r_p.so from libthr to libkse.marcel2003-09-273-12/+24
| | | | | | | | | | | On ia64, where there's no libc_r at all, libkse is now the default thread library by virtue of these links. The reasons for this change are: 1. libkse is slated to become the default thread library anyway, 2. active development and maintenance is only present for libkse, 3. GNOME and KDE, both in the process of being supported on ia64, work better with KSE; even on ia64.
* More style fixes to improve diffability with OpenBSD.phk2003-09-271-46/+54
| | | | Pull 'A' evilness for realloc(3) from OpenBSD.
* Disable #define DEBUG in libdisk by default: since libdisk is primarilyrwatson2003-09-271-1/+1
| | | | | | | there to support sysinstall, and enabling DEBUG creates spurious console output that can't be read anyway... This slightly cleans up the visual impression of the system install by not spamming the console during the labeling of the disks.
* Style changes to improve diffability against OpenBSD version.phk2003-09-271-91/+91
|
* Document KERN_PROC_PROC, update KERN_PROC_ALL description.tjr2003-09-271-2/+4
|
* Use the 3-component version of the KERN_PROC_PROC sysctl.tjr2003-09-271-2/+4
|
* - Support for multibyte charsets in LIBICONV.fjoe2003-09-267-1/+816
| | | | | | | | - CD9660_ICONV, NTFS_ICONV and MSDOSFS_ICONV kernel options (with corresponding modules). - kiconv(3) for loadable charset conversion tables support. Submitted by: Ryuichiro Imura <imura@ryu16.org>
* Add __volatile keyword.davidxu2003-09-261-2/+4
|
* s/ia64/alpha/gmarcel2003-09-261-5/+4
|
OpenPOWER on IntegriCloud