summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFp4: rework tmpfs_readdir() logic in terms of correctness.delphij2007-08-161-12/+15
| | | | | Approved by: re (tmpfs blanket) Tested with: fstest, fsx
* Regenerate.davidxu2007-08-169-3/+26
| | | | Approved by: re(kensmith)
* Add thr_kill2 compat32 syscall.davidxu2007-08-161-0/+1
| | | | | Submitted by: Tijl Coosemans tijl at ulyssis dot org Approved by: re (kensmith)
* Add thr_kill2 syscall which sends a signal to a thread in another process.davidxu2007-08-163-0/+69
| | | | | Submitted by: Tijl Coosemans tijl at ulyssis dot org Approved by: re (kensmith)
* - Remove extra comment for 7.0 (no GIANT here).rrs2007-08-167-63/+106
| | | | | | | | | | | - Remove unneeded WLOCK/UNLOCK of inp for getting TCB lock. - Fix panic that may occur when freeing an assoc that has partial delivery in progress (may dereference null socket pointer when queuing partial delivery aborted notification) - Some spacing and comment fixes. - Fix address add handling to clear cached routes and source addresses when peer acks the add in case the routing table changes. Approved by: re@freebsd.org (Bruce Mah)
* Use the sequence number comparison macro to compareqingli2007-08-161-2/+2
| | | | | | | | | | projected_offset against isn_offset to account for wrap around. Reviewed by: gnn, kmacy, silby Submitted by: yusheng.huang@bluecoat.com Approved by: re MFC: 3 days
* Add a driver for the on-die digital thermal sensor found on Intel Coredes2007-08-159-0/+297
| | | | | | | | | | | | | and newer CPUs (including Core 2 and Core / Core 2 based Xeons). The driver attaches to each cpu device and creates a sysctl node in that device's sysctl context (dev.cpu.N.temperature). When invoked, the handler binds to the appropriate CPU to ensure a correct reading. Submitted by: Rui Paulo <rpaulo@fnop.net> Sponsored by: Google Summer of Code 2007 Tested by: des, marcus, Constantine A. Murenin, Ian FREISLICH Approved by: re (kensmith) MFC after: 3 weeks
* Cleanup of old hardware notes source files. Somehow these didn't getbmah2007-08-154-1031/+0
| | | | | | removed in the hardware notes refactoring. Approved by: re (implicitly)
* On 6.x this works:jhb2007-08-153-14/+59
| | | | | | | | | | | | | | | | | | | | | | | % mount | grep home /dev/ad4s1e on /home (ufs, local, noatime, soft-updates) % mount -u -o atime /home % mount | grep home /dev/ad4s1e on /home (ufs, local, soft-updates) Restore this behavior for on 7.x for the following mount options: noatime, noclusterr, noclusterw, noexec, nosuid, nosymfollow In addition, on 7.x, the following are equivalent: mount -u -o atime /home mount -u -o nonoatime /home Ideally, when we introduce new mount options, we should avoid options starting with "no". :) Requested by: jhb Reported by: Karol Kwiat <karol.kwiat gmail com>, Scott Hetzel <swhetzel gmail com> Approved by: re (bmah) Proxy commit for: rodrigc
* The /boot.config file is available only on i386 and amd64, so installdanger2007-08-151-1/+5
| | | | | | | boot.config.5 only those architectures. Approved by: re@ (bmah) Reported by: simon
* Autogenerate hardware notes entities for ath(4) for all platformsbmah2007-08-151-1/+1
| | | | | | | | on which it's included in the GENERIC kernel. PR 115403 Approved by: re (implicitly) MFC after: 5 days
* Remove the installation notes, which have not truly been maintainedbmah2007-08-1522-2753/+0
| | | | | | | | | | | | | | | | for quite some time. All relevant content has been moved to the installation chapter of the FreeBSD Handbook, which will be the single source of FreeBSD installation instructions. In addition to removing redundancy, this change also removes the last of the machine-dependent documents in the release documentation set (the release notes and hardware notes were unified to produce machine-independent documents). Approved by: re (blanket for installation notes removal) Nods from: blackend, brueffer, simon, trhodes No objections on: doc@ Helpful hints from: blackend
* Modified release note: ng_h4(4) has been restored to the buildbmah2007-08-151-1/+1
| | | | | | after MPSAFE modifications. Approved by: re (implicitly)
* Disconnect installation notes from the release documentation build.bmah2007-08-152-2/+1
| | | | Approved by: re (blanket for installation notes removal)
* Remove comment that was added by mistakes and which prevented _eprintfkan2007-08-141-1/+1
| | | | | | and gcc_bcmp to be added to static libgcc.a. Approved by: re (kensmith)
* Don't copy the installation guide to the release media (i.e.bmah2007-08-141-7/+1
| | | | | | | | floppies or ISO images). We retain the concept of MD release documentation for now, although it's fairly unlikely that we'll ever do this again. Approved by: re (blanket for installation guide removal)
* Move callout initialization to the proper spot. This prevents panics duringscottl2007-08-143-8/+1
| | | | | | | error recovery. Approved by: re Found by: kan
* Add the boot.config.5 manual page.danger2007-08-142-0/+104
| | | | | | Reviewed by: keramida Approved by: re@ (bmah) PR: docs/112307
* Mention gcc 4.2.1 import.delphij2007-08-141-1/+1
| | | | Approved by: re (bmah)
* Change the time of the first "EoL is coming soon, you should upgrade" warningcperciva2007-08-141-2/+2
| | | | | | | | | | | from EoL minus 6 months to EoL minus 3 months, in order to increase the odds of there actually being a more recent release to which users can upgrade. (In particular, for releases which are only supported for 12 months, it's quite likely that the next release will occur between 6 and 9 months later.) Discussed with: kensmith Approved by: re (bmah) MFC after: 3 days
* Restore -O2 optimization after gcc 4.2.1 import, which hasdelphij2007-08-141-1/+1
| | | | | | | fixed the issue raised by gcc 4.2.0. Tested with: test case found in gcc bug 32500 Approved by: re (kensmith), ache, kan
* Update locally changed files to GCC 4.2.1.kan2007-08-144-9/+27
| | | | Approved by: re (kensmith)
* Merge files that are no longer carry FreeBSD local changes.kan2007-08-144-27/+84
| | | | Approved by: re (kensmith)
* Disconnect the soon-to-be removed installation notes from sysinstall(8)bmah2007-08-141-17/+15
| | | | | | menus. Approved by: re (blanket for installation notes removal)
* This commit was generated by cvs2svn to compensate for changes in r171831,kan2007-08-149-3/+54
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * GCC 4.2.1 release miscellaneous support libraries.kan2007-08-149-3/+54
| |
* | This commit was generated by cvs2svn to compensate for changes in r171829,kan2007-08-141-0/+4
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * GCC 4.2.1 release Objective C runtime support code.kan2007-08-141-0/+4
| |
* | This commit was generated by cvs2svn to compensate for changes in r171827,kan2007-08-1413-185/+493
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * GCC 4.2.1 release C++ standard library and runtime support code.kan2007-08-1413-185/+493
| |
* | This commit was generated by cvs2svn to compensate for changes in r171825,kan2007-08-1452-5805/+9249
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * GCC 4.2.1 release.kan2007-08-1459-5840/+9359
| |
| * Remove files that are no more part of GCC distribution from FSF branch.kan2007-05-19350-578938/+0
| |
* | Make sure to take PHY out of power down mode in device attach.yongari2007-08-141-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this the PHY wouldn't work as expected. This should fix dual-boot Windows XP machine where RealTek Windows drivers put the PHY in power down mode during shutdown. The magic PHY register accesses come from RealTek driver. No datasheets mention the magic PHY registers. In general, the PHY wakeup code should go into PHY driver. However it seems that it only apply to RTL8169S single chip and it would be another hack if we have rgephy(4) check what parent driver/chip model is attached. Reported by: lofi, Laurens Timmermans ( laurens AT timkapel DOT nl ) Tested by: lofi Obtained from: RealTek FreeBSD driver Approved by: re (Ken Smith)
* | Improve vn_printf() by:pjd2007-08-131-7/+45
| | | | | | | | | | | | | | | | - adding missing vnode flags, - printing unknown flags as numbers, - using strlcat() instead of strcat(). Approved by: re (bmah)
* | Fix a few nits relative to the previous changes:jhb2007-08-132-2/+9
| | | | | | | | | | | | | | | | | | | | - Don't leak the config lock if detach() fails due to the controller char dev being open. - Close a race between detach() and a process opening the controller char dev. MFC after: 1 week Approved by: re (bmah)
* | Teach the mfi(4) driver to handle requests from userland managementjhb2007-08-136-29/+231
| | | | | | | | | | | | | | | | applications to add and remove volumes. MFC after: 1 week Approved by: re (bmah) Reviewed by: ambrisko, scottl
* | Update to support ICH[678] chipsets (based on a patch by Takeharu KATO)des2007-08-132-76/+229
| | | | | | | | | | | | | | | | Fix a resource allocation bug (explained by jhb on -acpi) Thanks for Mike Tancsa for testing and helping track down the bug. Approved by: re (kensmith) MFC after: 3 weeks
* | Expand the data structure returned by the ATA RAID status ioctl to includejhb2007-08-133-34/+70
| | | | | | | | | | | | | | | | | | detailed status on each of the backing subdisks. This allows userland to see which subdisks are online, failed, missing, or a hot spare. MFC after: 1 week Approved by: re (bmah) Reviewed by: sos
* | Make ng_h4(4) MPSAFE. Use similar to ng_tty(4) locking strategy.emax2007-08-136-191/+176
| | | | | | | | | | | | | | | | Reconnect ng_h(4) back to the build. Reviewed by: kensmith Approved by: re (kensmith) MFC after: 1 month
* | Be more careful handling no_init flag. It should be enforceddelphij2007-08-131-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in *all* less_is_more cases, On the other hand, quit_if_one_screen should apply iff less_is_more *and* -e. This change revises the previous change further, which tried to make less(1) not to send @ti:@te before and after view of one file in more(1) mode, but affected less -e behavior by accident. This is essentially the same patch desichen@ has posted on -current@. I have adjusted it a bit in order to minimize difference between our version and the vendor branch. Approved by: re (bmah, earlier logically equivalent version)
* | If the mmap() call in rpc.statd fails, rpc.statd prints a warningtruckman2007-08-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | message and then dumps core because the subsequent code assumes that mmap() succeeded. Since rpc.statd does not have fallback code to implement the functionality needed to operate on the status file if it is not memory mapped, rpc.statd should use err() to force the process to exit if the mmap() call fails. PR: bin/115430 (mmap() failure previously fixed in statd.c 1.15) Approved by: re (kensmith) MFC after: 1 week
* | Coalesce another very short section into its parent.bmah2007-08-121-4/+1
| | | | | | | | Approved by: re (implicitly)
* | o You have to reboot the system after tuning softupdates on the rootmaxim2007-08-121-1/+3
| | | | | | | | | | | | | | filesystem on to make SU work. Approved by: re (hrs) MFC after: 1 week
* | Replace three copies of the host controller reset sequence thattruckman2007-08-121-18/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | differ in their details with calls to a new function, ehci_hcreset(), that performs the reset. The original sequences either had no delay or a 1ms delay between telling the controller to stop and asserting the controller reset bit. One instance of the original reset sequence waited for the controller to indicate that its reset was complete before continuing, but the other two immediately let the subsequent code execute. The latter is a problem on some hardware, because a read of the HCCPARAMS register returns an incorrect value while the reset is in progress, which triggers an infinite loop in ehci_pci_givecontroller(), which hangs the system on shutdown. The reset sequence in ehci_hcreset() starts with the most complete instance from the original code, which contains a loop to wait for the controller to indicate that its reset is complete. This appears to be the correct thing to do according to "Enhanced Host Controller Interface Specification for Universal Serial Bus" revision 1.0, section 2.3.1. Add another loop to wait for the controller to indicate that it has stopped before setting the HCRESET bit. This is required by the section 2.3.1 in the specification, which says that setting HCRESET before the controller has halted "will result in undefined behaviour". Reviewed by: imp (previous patch version without the extra wait loop) Tested by: se (previous patch version without the extra wait loop) Approved by: re (bmah) MFC after: 1 week
* | Make suid/sgid restore be "opportunistic" ifkientzle2007-08-122-16/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | owner restore is not requested. If you ask for permissions to be restored but not owner, you will now get no error if suid/sgid bits cannot be set. (It's a security hole to restore suid/sgid bits if the owner/group aren't restored.) This fixes an obscure problem where a simple "tar -xf" with no other options will sometimes fail gratuitously because of suid/sgid bits. This is causing occasional problems for people using bsdtar as a drop-in replacement for "that other tar program." ;-) Note: If you do ask for owner restore, then suid/sgid restore failures still issue an error. This only suppresses the error in the case where an suid/sgid bit restore fails because of an owner mismatch and owner restore was not requested. Approved by: re (bmah) MFC after: 7 days
* | Use ttyu instead of ttyd for arm, since we will probably never use sio(4).cognet2007-08-121-4/+3
| | | | | | | | Approved by: re (blanket)
* | Sync with the source code: NGM_FEC_MODE_(MAC|INET) should bedanger2007-08-121-2/+2
| | | | | | | | | | | | NGM_FEC_SET_MODE_(MAC|INET). Approved by: re@ (bmah)
* | Collapse some short sections together.bmah2007-08-121-12/+0
| | | | | | | | Approved by: re (implicitly)
* | Update the tests for reading the various GNU tar sparse formats.kientzle2007-08-121-75/+267
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular: * Include a second entry in all of the test archives (to catch errors with intermediate padding) * Test the GNU tar 1.17 version of "posix sparse format 1.0" instead of the GNU tar 1.16 version (the latter is no longer supported by GNU tar). Right now, libarchive fails this test because I originally implemented the GNU tar 1.16 version of "posix sparse format 1.0". I'll fix libarchive shortly. Approved by: re (blanket, libarchive testing)
OpenPOWER on IntegriCloud