summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* MFp4: Implementations of the wcstof() and wcstold() functions.tjr2003-03-135-10/+198
|
* Make sure we actually have a dev before dereferencing in case someonealfred2003-03-131-1/+1
| | | | | botches and sends us a NULL pointer. The other code in this file seems to expect it to be able to handle it behaving this way.
* - Tune down read_max. For single disks we get no gain out of reading morejeff2003-03-131-1/+1
| | | | | | than a MAXPHYS size block ahead. Having this set too high just leaves other processes starved for IO and screws up interactive response. Let the users with RAID set it higher when they need it.
* MFp4: Catch up to recent __dtoa() interface changes and removal of cvt()'stjr2003-03-131-11/+10
| | | | last argument.
* Document the net.inet.tcp.rfc3390 sysctl variable.hsu2003-03-131-1/+15
|
* Add support for RFC 3390, which allows for a variable-sizedhsu2003-03-132-4/+18
| | | | initial congestion window.
* Tidy up previous change: move comment about obtaining an exclusivetjr2003-03-131-5/+4
| | | | | reference where it belongs, and remove a blank line to make it more obvious what the comment applies to.
* Back out previous. The locking here needs a rethink.tjr2003-03-131-15/+3
|
* Pass the correct malloc flags to m_tag_alloc().mux2003-03-131-1/+1
|
* - When the VM daemon is out of swap space and looking for adas2003-03-123-4/+23
| | | | | | | | | process to kill, don't block on a map lock while holding the process lock. Instead, skip processes whose map locks are held and find something else to kill. - Add vm_map_trylock_read() to support the above. Reviewed by: alc, mike (mentor)
* Document the net.inet.tcp.rfc3042 sysctl variable.hsu2003-03-121-0/+4
|
* Document strtof() and strtold(). Update vendor license.das2003-03-121-32/+75
| | | | Reviewed by: bde (briefly), mike (mentor), obrien
* Replace our ancient dtoa/strtod implementation with the gdtoadas2003-03-1221-13/+289
| | | | | | | | | | | | | | | | | | package, a more recent, generalized set of routines. Among the changes: - Declare strtof() and strtold() in stdlib.h. - Add glue to libc to support these routines for all kinds of ``long double''. - Update printf() to reflect the fact that dtoa works slightly differently now. As soon as I see that nothing has blown up, I will kill src/lib/libc/stdlib/strtod.c. Soon printf() will be able to use the new routines to output long doubles without loss of precision, but numerous bugs in the existing code must be addressed first. Reviewed by: bde (briefly), mike (mentor), obrien
* Implement the Limited Transmit algorithm (RFC 3042).hsu2003-03-122-0/+28
|
* Local patches:das2003-03-121-49/+99
| | | | | | | | - include extra system headers and add appropriate #defines - use a spinlock to synchronize parts of gdtoa - protect exported symbols with leading underscores Reviewed by: bde (briefly), mike (mentor), obrien
* This commit was generated by cvs2svn to compensate for changes in r112158,das2003-03-1283-0/+24573
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Initial import of David Gay's gdtoa library for conversion betweendas2003-03-1283-0/+24573
| | | | strings and floating point.
* - Various little style fixes.jhb2003-03-121-8/+5
| | | | | | | | | - If SYSCTL_OUT() fails in sysctl_kern_proc_args(), return the error instead of ignoring it if we have new arguments for the process. - If the new arguments for a process are too long, return ENOMEM instead of returning success but not doing the actual copy. Submitted by: bde
* Ditch a static global and the mutex that protected it. Achieve themtm2003-03-121-27/+18
| | | | | | | | desired strptime(3) reentrancy by adding an extra argument to _strptime() instead. Approved by: markm (mentor) MFC: 4 weeks
* Correct clock frequency for the IC Book Labs' cards, so that it's possiblesobomax2003-03-121-32/+32
| | | | | | | to use speeds higher than 115200. Sponsored by: IC Book Labs MFC after: 2 weeks
* Add initial support for IC Book Labs Dreadnought x16 Pro 16-ports card. Sincesobomax2003-03-122-1/+25
| | | | | | | | | | this card is based on 16750 UART, modify sio(4) a bit to ignore 16750-specific 7th bit of MCR when probing card. This allows card to be detected and attached as 16550A-compatible device. More work needs to be done in order to enable nice 16750-specific features such as larger fifo buffer and higher speeds. Sponsored by: IC Book Labs MFC after: 2 weeks
* Happy birthday to me :)glewis2003-03-121-0/+1
|
* - Avoid dropping the proc lock around a simple permissions check and justjhb2003-03-121-18/+16
| | | | | | | | | hold hold it across the check to avoid extra lock operations in the common case. - Copy in the new args to a temporary pargs structure before we drop the reference to the old one. Thus, if the copyin() fails, the process arguments are unchanged rather than being deleted. Also, p_args is no longer NULL during the sysctl operation.
* Correct the last commit, only look for subfunctions on the same PCI slot.sos2003-03-121-4/+4
|
* Correct CS4205 base vendor id.orion2003-03-121-1/+1
| | | | Reported by: Christophe Juniet and Mark Santcroos.
* correct two more flag misuses; m_tag* use malloc flagssam2003-03-122-2/+2
|
* Update for FILE v3.41.ru2003-03-122-9/+31
|
* Simplify the assignment statement.ru2003-03-121-1/+1
|
* Record the sudden death of bsd.kern.mk and bsd.sgml.mk.ru2003-03-121-2/+0
|
* Record the BOG death here too.ru2003-03-121-2/+0
|
* Document the fact that hdestory calls free on the keys added withdwmalone2003-03-121-5/+25
| | | | | | | hsearch(.., ENTER). Make the example reflect this. PR: 49951 Submitted by: Peter Jeremy <peterjeremy@optushome.com.au>
* Cleanup the probe code a bit.sos2003-03-121-23/+24
|
* Acquire sched_lock around use of FOREACH_KSEGRP_IN_PROC, accessestjr2003-03-121-3/+15
| | | | | to kg_nice and calls to sched_nice() in getpriority() and setpriority() (really donice()).
* In wait1(), remove the zombie process from zombproc before removingtjr2003-03-121-5/+5
| | | | | | it from its pgrp to avoid leaving zombies around with p_pgrp == NULL. This bug was apparent as a NULL-dereference in the pid selection code in fork1().
* Dont hang the channel on enclosures without sensors.sos2003-03-121-16/+17
|
* Put back including sys/devicestat.h for 4-stable.simokawa2003-03-121-0/+3
|
* clean up the en driver since it will survice for a while bykjc2003-03-121-96/+0
| | | | | | | | Harti Brandt's effort. remove the DMA test to detect problems of the first generation PCI chipsets back in 1998. it is no longer needed and has been the source of the false alarm that the driver uses too much stack space.
* Update sendfile.2 to include a TUNING section that documents theseanc2003-03-122-0/+43
| | | | | | | various tunables that are applicable to sendfile(2). Update tuning.7 to mention a reference to sendfile.2. Approved by: keramida
* - Added support for multiple page directory pages to pmap_pinit andjake2003-03-122-166/+114
| | | | | | | | | | | | | pmap_release. - Merged pmap_release and pmap_release_free_page. When pmap_release is called only the page directory page(s) can be left in the pmap pte object, since all page table pages will have been freed by pmap_remove_pages and pmap_remove. In addition, there can only be one reference to the pmap and the page directory is wired, so the page(s) can never be busy. So all there is to do is clear the magic mappings from the page directory and free the page(s). Sponsored by: DARPA, Network Associates Laboratories
* MFp4: Reduce code size by 26 bytes by only aligning the jump targets thattjr2003-03-121-10/+1
| | | | are at the top of loops.
* MFp4: Make `spanp' const.tjr2003-03-121-3/+4
|
* correct malloc flag argumentsam2003-03-121-1/+1
| | | | Reported by: Kris Kennaway <kris@obsecurity.org>
* MFp4: Pentium/Athlon-optimised implementation of wmemchr().tjr2003-03-122-1/+115
|
* Do not depend on namespace pollution, explicitly include sys/sx.hkan2003-03-121-0/+1
|
* fix module building; drivers now require opt_{ubsec,hifn}.hsam2003-03-112-2/+8
|
* FIPS 140-2 rng data tester for h/w crypto devices. This driver periodicallysam2003-03-112-0/+455
| | | | | | | | | | | | | monitors the entropy data harvested by crypto drivers to verify it complies with FIPS 140-2. If data fails any test then the driver discards it and commences continuous testing of harvested data until it is deemed ok. Results are collected in a statistics block and, optionally, reported on the console. In normal use the overhead associated with this driver is not noticeable. Note that drivers must (currently) be compiled specially to enable use. Obtained from: original code by Jason L. Wright
* o add crypto driver glue for using the new rndtest driver/module; this issam2003-03-116-11/+82
| | | | | | conditional in each driver on foo_RNDTEST being defined_ o bring HIFN_DEBUG and UBSEC_DEBUG out to be visible options; they control the debugging printfs that are set with hw.foo.debug (e.g. hw.hifn.debug)
* Trim an extra blank line that snuck into the last commit.jhb2003-03-111-1/+0
|
* gack; revert previous commit; not only did I read things backward butsam2003-03-111-1/+1
| | | | I was in the wrong tree
* sync with current: reduce default maxbatch setting from 5 to 1sam2003-03-111-1/+1
| | | | Reviewed by: re (sort of, consider this part of my previous request)
OpenPOWER on IntegriCloud