summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Don't say we're going to mount filesystems of a certain type unlessmtm2008-06-222-8/+25
| | | | there actually are filesystems of that type to mount.
* Don't say we're going to [start|stop] local packages unless there actuallymtm2008-06-221-4/+16
| | | | are local (pre rc.d) scripts to run.
* Get pointer to devfs_ruleset struct after garbage collection has beengonzo2008-06-221-3/+3
| | | | | | | | performed. Otherwise if ruleset is used by given mountpoint and is empty it's freed by devfs_ruleset_reap and pointer becomes bogus. Submitted by: Mateusz Guzik <mjguzik@gmail.com> PR: kern/124853
* o The FreeBSD bus_dmamap_sync(9) supports ored together flags for quitemarius2008-06-221-90/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | some time now so collapse calls accordingly. o Given that gem_load_txmbuf() is allowed to fail resulting in a packet drop also for quite some time now implement the functionality of gem_txcksum() by means of m_pullup(9), which de-obfuscates the code and allows to always retrieve the correct length of the IP header. o Add missing BUS_DMASYNC_PREREAD when syncing the control DMA maps in gem_rint() and gem_start_locked(). o Correct some bus_barrier(9) calls to do a read/write barrier as we do a read after a write. Add some missing ones in gem_mii_readreg() and gem_mii_writereg(). o According to the Apple GMAC driver, the GEM ASIC specification and the OpenSolaris eri(7D) the TX FIFO threshold has to be set to 0x4ff for the Gigabit variants and 0x100 for the ERI in order do avoid TX underruns. o In gem_init_locked(): - be conservative and enable the RX and TX MACs, - don't clear GEM_LINK otherwise we don't ever mark the link as up again if gem_init_locked() is called from gem_watchdog(), - remove superfluous setting of sc_ifflags. o Don't bother to check whether the interface is running or whether its queue is empty before calling gem_start_locked() in gem_tint(), the former will check these anyway. o Call gem_start_locked() in gem_watchdog() in order to try to get some more packets going. o In gem_mii_writereg() after reseting the PCS restore its configuration. GMAC testing: grehan, marcel MFC after: 2 weeks
* Partially revert previous commit. DeleteLink() does not deletes permanentmav2008-06-221-1/+5
| | | | | links so we should be aware of it and try to delete every link only once or we will loop forever.
* Make preparations for increasing the size of the kernel virtual address spacealc2008-06-221-2/+6
| | | | | | | | on the amd64 architecture. The amd64 architecture requires kernel code and global variables to reside in the highest 2GB of the 64-bit virtual address space. Thus, the memory allocated during bootstrap, before the call to kmem_init(), starts at KERNBASE, which is not necessarily the same as VM_MIN_KERNEL_ADDRESS on amd64.
* KERNBASE is not necessarily an address within the kernel map, e.g.,alc2008-06-211-1/+1
| | | | | | | | PowerPC/AIM. Consequently, it should not be used to determine the maximum number of kernel map entries. Intead, use VM_MIN_KERNEL_ADDRESS, which marks the start of the kernel map on all architectures. Tested by: marcel@ (PowerPC/AIM)
* Implement UDP transparent proxy support.mav2008-06-211-10/+76
| | | | | PR: bin/54274 Submitted by: Nicolai Petri <nicolai@petri.cc>
* Regression test for a recently fixed strtod bug.das2008-06-211-1/+11
|
* Bring in the vendor's fix for a bug in strtod() wherebydas2008-06-211-2/+5
| | | | | | | | strtod("0xyz", &endp) resulted in endp pointing to "0xyz" instead of "xyz". Reported by: Tony Finch <dot@dotat.at> MFC after: 1 week
* Prepare for a larger kernel virtual address space. Specifically, oncealc2008-06-211-4/+8
| | | | | | KERNBASE and VM_MIN_KERNEL_ADDRESS are no longer the same, the physical memory allocated during bootstrap will be offset from the low-end of the kernel's page table.
* Refactor one of the ISO extraction tests: Move the referencekientzle2008-06-212-94/+76
| | | | | | | | | file into a separate file (instead of embedding it in the C code) and use later timestamps (timestamps too close to the Epoch fail predictably on systems that lack timegm(), whose mktime() doesn't support dates before the Epoch and which are running in timezones with negative offsets from GMT). The goal here is to test the ISO extraction, not the local platform's time support.
* MfP4: Joerg Sonnenberg's extensions to the mtree support for morekientzle2008-06-211-12/+79
| | | | | complete quoting. In particular, this handles escaped newlines and common C-style escapes.
* A security-check failure here should be ARCHIVE_FAILED (cannot continue thiskientzle2008-06-211-3/+3
| | | | | | operation) and not ARCHIVE_WARN, since we don't actually open the file. Both bsdtar and bsdcpio will try to copy file contents after an ARCHIVE_WARN, which will fail loudly.
* If we're using -l and can't hardlink the file because of a cross-devicekientzle2008-06-211-3/+17
| | | | | | | link, just ignore the -l option and copy the file instead. In particular, this should fix the COPYTREE_* macros used in the ports infrastructure which use -l to preserve space but often get used for cross-device copies.
* Add support for PORT/EPRT FTP commands in lowercase.mav2008-06-211-96/+21
| | | | | | | Use strncasecmp() instead of huge local implementation to reduce code size. Check space presence after command/code. PR: kern/73034
* Removed the no-op -p; documented -P.ru2008-06-212-7/+6
| | | | MFC after: 3 days
* Add -v (verbose) option to -l command, to show size and backing storemarck2008-06-212-7/+17
| | | | | | | of all md devices at one time. Approved by: phk MFC after: 2 weeks
* To catch up with rev 179872: rename enable_quotas to quota_enable.simon2008-06-211-5/+5
|
* Use minimum of max_aio_procs and target_aio_procs when spawning newgonzo2008-06-211-1/+1
| | | | aiod since there should be no more then max_aio_procs processes.
* Rework line-processing framework to add support for --null andkientzle2008-06-214-62/+130
| | | | to eliminate a callback.
* Various long options for GNU cpio compat.kientzle2008-06-211-0/+8
|
* MfP4: test improvements, mostly for portability.kientzle2008-06-212-20/+68
|
* - link powerd(8) man pagedanger2008-06-201-0/+1
| | | | | PR: docs/123111 MFC after: 3 days
* Fix PCI id for 945GME Express Integrated Graphics Controller:gonzo2008-06-201-1/+1
| | | | | | | set to 8086:27AE PR: kern/124782 Event: Bugathon#5
* Fix spellinggonzo2008-06-201-2/+2
| | | | | PR: kern/124723 Event: Bugathon#5
* Make preparations for increasing the size of the kernel virtualalc2008-06-201-3/+3
| | | | | | | | | | | | | | address space on the amd64 architecture. The amd64 architecture requires kernel code and global variables to reside in the highest 2GB of the 64-bit virtual address space. Thus, KERNBASE cannot change. However, KERNBASE is sometimes used as the start of the kernel virtual address space. Henceforth, VM_MIN_KERNEL_ADDRESS should be used instead. Since KERNBASE and VM_MIN_KERNEL_ADDRESS are still the same address, there should be no visible effect from this change (yet). That said, kris@ has tested crash dumps under the full patch that increases the kernel virtual address space on amd64 to 6GB. Tested by: kris@
* - Fix spelling errors.lulf2008-06-201-5/+5
| | | | | | Approved by: kib (mentor) PR: kern/124788 Submitted by: Hywel Mallett <Hywel -at- hmallett.co.uk>
* Add et(4), a port of DragonFly's Agere ET1310 10/100/Gigabitdelphij2008-06-202-0/+419
| | | | | | | | Ethernet device driver, written by sephe@ Obtained from: DragonFly Sponsored by: iXsystems MFC after: 2 weeks
* Add et(4), a port of DragonFly's Agere ET1310 10/100/Gigabitdelphij2008-06-2011-1/+3128
| | | | | | | | Ethernet device driver, written by sephe@ Obtained from: DragonFly Sponsored by: iXsystems MFC after: 2 weeks
* Add support for the optional key in the GRE header.thompsa2008-06-205-6/+96
| | | | | PR: kern/114714 Submitted by: Cristian KLEIN
* Split out the probing magic of device_probe_and_attach intoimp2008-06-202-6/+26
| | | | | | | device_probe() so that it can be used by busses that may wish to do additional processing between probe and attach. Reviewed by: dfr@
* Add Xr to getsockname(2)phk2008-06-201-0/+1
|
* Make the search for sources in PATH_PORTS more accurate. I onlyjoerg2008-06-201-2/+21
| | | | | | | | | | noticed that a "whereis -qs qemu" matched the distfiles subdir of qemu rather than /usr/ports/emulators/qemu. It now ignores all dot entries in /usr/ports, plus all entries starting with a capital letter (maintenance stuff like Templates, but also includes subdir CVS), plus /usr/ports/distfiles which is simply a magic name in that respect.
* Enforce the mapping of kernel loadable modules in the uppermost 2GB of thealc2008-06-201-0/+7
| | | | kernel virtual address space on amd64.
* Make preparations for increasing the size of the kernel virtualalc2008-06-205-7/+7
| | | | | | | | | | address space on the amd64 architecture. The amd64 architecture requires kernel code and global variables to reside in the highest 2GB of the 64-bit virtual address space. Thus, KERNBASE cannot change. However, KERNBASE is sometimes used as the start of the kernel virtual address space. Henceforth, VM_MIN_KERNEL_ADDRESS should be used instead. Since KERNBASE and VM_MIN_KERNEL_ADDRESS are still the same address, there should be no visible effect from this change (yet).
* Implement fmodl.das2008-06-195-25/+177
| | | | Document fmodl and fix some errors in the fmod manpage.
* Revert rev. 178124 as requested by kris@. Having jail id not beingdelphij2008-06-192-18/+26
| | | | reused too frequently is useful for script controlled environment.
* Document the _arg versions of the uma_zalloc and uma_zfree functions.remko2008-06-191-1/+18
| | | | | | PR: docs/120357 Submitted by: gahr MFC after: 3 days
* Renew semaphore's pointer after wakeup since during msleepgonzo2008-06-191-0/+7
| | | | | | | sem_base may have been modified by destroying one of semaphores and semptr would not be valid in this case. PR: kern/123731
* Add myself. Better late then never.mav2008-06-191-0/+1
|
* Add myself.amdmi32008-06-191-0/+2
| | | | Approved by: miwi (mentor)
* Add myself.amdmi32008-06-191-0/+1
| | | | Approved by: miwi (mentor)
* Remove __restrict keywords from array arguments to make GCC's -std=c99 work.ed2008-06-191-2/+5
| | | | | | | | | | | | | | | | | When GCC is invoked with -std=c99, the following errors are displayed when including <spawn.h>: /usr/include/spawn.h:69: error: static or type qualifiers in abstract declarator /usr/include/spawn.h:69: error: static or type qualifiers in abstract declarator /usr/include/spawn.h:72: error: static or type qualifiers in abstract declarator /usr/include/spawn.h:72: error: static or type qualifiers in abstract declarator We'd better remove the __restrict keywords here. The same is also done in <regex.h>. Submitted by: Andrzej Tobola <ato iem pw edu pl> Reviewed by: davidxu Approved by: philip (mentor, implicit)
* Make quota knob conform to other rc(8) knobs. Keep older knob formtm2008-06-193-2/+6
| | | | | | compatibility. Requested by: Volker <volker@vwsoft.com>
* Move the check for enabled knobs further down in run_rc_command() somtm2008-06-191-14/+14
| | | | | that bogus commands cause usage information to be printed instead of diagnostics about enabling the knob.
* Process spawn attributes in POSIX document order.davidxu2008-06-191-21/+22
|
* Add roken.h to SRCS. This fixes the compilation of slc during amarius2008-06-181-0/+1
| | | | | buildworld on a host running a world built with WITHOUT_KERBEROS defined.
* Add the option stub for the Globetrotter Max 3.6 Modem.attilio2008-06-181-0/+2
| | | | Submitted by: Greg Rivers <gcr at tharned dot org>
* Print out the container lock when showing the thread state in DDB.attilio2008-06-181-0/+3
| | | | Tested by: benjsc
OpenPOWER on IntegriCloud