summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Argh! s/nfs_client_enable/nfsclient_enable/gmtm2008-06-232-4/+4
|
* Do not print anything unless one of the net/routing options is set.mtm2008-06-232-4/+35
|
* s/daemon processes/local packages/ for consisitency.mtm2008-06-231-1/+1
|
* Always create opt_ah.h regardless of KERNBUILDDIR.thompsa2008-06-231-1/+1
|
* Add exit_delay parameter to control daemon exit delay after signal.mav2008-06-223-4/+31
| | | | | PR: bin/58696 Submitted by: sp@alkor.ru
* If S_IFIFO is passed to mknod(2), invoke kern_mkfifoat(9) to create arwatson2008-06-221-0/+4
| | | | | | | | | | | | | | | | | FIFO, as required by SUSv3. No specific privilege check is performed in this case, as FIFOs may be created by unprivileged processes (subject to the normal file system name space restrictions that may be in place). Unlike the Apple implementation, we reject requests to create a FIFO using mknod(2) if there is a non-zero dev argument to the system call, which is permitted by the Open Group specification ("... undefined ..."). We might want to revise this if we find it causes compatibility problems for applications in practice. PR: kern/74242, kern/68459 Obtained from: Apple, Inc. MFC after: 3 weeks
* Use strdup() instead of static buffer allocation to avoid 128 bytes limitmav2008-06-221-6/+18
| | | | | | | on -redirect_XXX arguments length. PR: bin/86647 Submitted by: Stephen Hurd <shurd@sasktel.net>
* Teach fifo_create regression test to also try to use mknod(2) to createrwatson2008-06-221-36/+84
| | | | | | | | fifos, as this is required by the Single UNIX Specification, although not currently implemented on FreeBSD. While here, fix a bug in the directory timestamp checking test by sleeping after querying the starting timestamp, rather than before.
* Add support for VT8237 ISA bridge.gonzo2008-06-221-0/+7
| | | | | PR: kern/120714 Event: Bugathon#5
* Add an abbreviation for adaptive mode, and document all the abreviations.obrien2008-06-222-1/+2
|
* Output information only if /etc/rc.local exists.mtm2008-06-221-4/+4
|
* Do not print anything unless at least one of the abi emulators ismtm2008-06-221-2/+8
| | | | enabled.
* Simplify this script with the added bonus that the bit about i386mtm2008-06-221-22/+17
| | | | initialization doesn't get printed unless ibcs2_enable is set.
* 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.
OpenPOWER on IntegriCloud