summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | When removing the last reference to a cloner, do not try to unlock twice -mlaier2004-07-201-2/+3
| | | | | | | | | | | | esp. not since the backing memory was just freed. Reviewed by: rwatson
* | M_PREPEND() the IP header on to the front of an outgoing raw IP packetrwatson2004-07-201-1/+1
| | | | | | | | | | using M_DONTWAIT rather than M_WAITOK to avoid sleeping on memory while holding a mutex.
* | *sigh* Fix source code compatibility with 5.2.1-RELEASE _again_.wpaul2004-07-201-0/+6
| | | | | | | | (Make kdb stuff conditional.)
* | Back out previous commit. Even though statfs(2) can take a regularcsjp2004-07-201-0/+4
| | | | | | | | | | | | | | | | file as an argument, it may still fail for the same reasons that open(2) can. Pointed out by: Jilles Tjoelker Apporived by: bmilekic (mentor)
* | Remove reference to ENOTDIR in the documented errorscsjp2004-07-201-4/+0
| | | | | | | | | | | | | | | | for statfs(2). This is false, if the pathname specified is a regular file, then the information for the file system that the file lives on will be returned. Approved by: bmilekic (mentor)
* | Currently if a mount point is not accessible by the calling user,csjp2004-07-202-6/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | invalid information will be printed if the -t flag is specified. $ df -t ufs Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a 495726 139944 316124 31% / /dev/ad0s1e 253678 6438 226946 3% /tmp /dev/ad0s1f 56206340 13594248 38115586 26% /usr /dev/ad0s1d 694126 19812 618784 3% /var /dev/ad0s1d 694126 19812 618784 3% /var $ Note that the mount point which is not accessible shows up as the previous file system that was printed. The reason for this is that df -t will call statfs(2) on the pathname supplied by getfsstat(2). This is done to refresh the file system statistics in the event that a previous file system had a long delay in providing its stats. This change affects the df utility in the following ways: o Teach df has to deal with statfs(2) failing. If statfs(2) fails, fall back on the possibly stale stats provided by the initial call to getfsstat(2). o Print a warning that the fs stats could possibly be stale o Modify the man page and document this new behavior as a bug. Approved by: bmilekic (mentor) PR: 68165
* | Slight cosmetic changes.julian2004-07-2012-47/+64
| | | | | | | | | | | | | | | | | | Also introduce a macro to be called by persistent nodes to signal their persistence during shutdown to hide this mechanism from the node author. Make node flags have a consistent style in naming. Document the change.
* | The natm sub-command was missing in the TOC of the helpfile.harti2004-07-201-0/+1
| |
* | Remove reference to fla driver.phk2004-07-202-2/+0
| |
* | Forced to commit to add:roberto2004-07-200-0/+0
| | | | | | | | | | | | Tested on: amd64 (sledge), sparc64 (panther), IA-64 (pluto1), alpha (beast) in addition to my own machine running 5.2-CURRENT.
* | Remove an extra '}'.roberto2004-07-201-1/+0
| |
* | Add missing Makefile from previous commit.roberto2004-07-201-0/+15
| |
* | Update our ntpd to the long awaited 4.2.0 version.roberto2004-07-2014-290/+248
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This bring us several things: - updated drivers - IPv6 support at last - ntp-genkeys is replaced by ntp-keygen - ntptrace is now a script (courtesy of John Hay) - lots of renamed files from .htm to .html (while I prefer .html, I find the change a bit gratuitous) - still no manpages :( Please test and report. Commit very much helped by: GNU arch (http://gnuarch.org/)
* | Update information on build/import.roberto2004-07-201-11/+14
| |
* | Merge conflicts.roberto2004-07-20104-23620/+0
| | | | | | | | Lots of added files, some removed and quite a large number of renames :(
* | Merge conflicts (see also previous commit).roberto2004-07-201-148/+170
| | | | | | | | | | | | | | | | Reinsert our local changes to ntp_control.c: 1.4: Do not log every potential exploit attempt since a denial-of-service may result 1.5: int -> unsigned char fixes
* | Revert this file to the vendor version, we don't need to have our ownroberto2004-07-201-1072/+1489
| | | | | | | | version of it. Will help further upgrades.
* | This commit was generated by cvs2svn to compensate for changes in r132451,roberto2004-07-20378-16291/+95416
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Virgin import of ntpd 4.2.0roberto2004-07-20380-17509/+97074
| |
* | In ng_device_newhook():glebius2004-07-201-38/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Return meaningful return errorcodes. - Free previously allocated connection in error cases. In ng_device_rcvdata(): - Return meaningful return errorcodes. - Detach mbuf from netgraph item, and free the item before doing any other actions that may return from method. - Do not call strange malloc() for buffer. [1] - In case of any error jump to end, where mbuf is freed. In ng_device_disconnect(): - Return meaningful return errorcodes. - Free disconnected connection. style(9) in mentioned above functions: - Remove '/* NGD_DEBUG */', when only one line is ifdef'ed. - Remove extra braces to easier reading. - Add space after comma in function calls. PR: kern/41881 (part) Reviewed by: marks Approved by: julian (mentor)
* | Add ng_device(4) to LINT.glebius2004-07-202-0/+2
| | | | | | | | | | Reviewed by: marks Approved by: julian (mentor)
* | 1. Make ng_device.h system include. This fixes module build.glebius2004-07-201-10/+8
| | | | | | | | | | | | | | | | | | 2. Sort includes, while here. 3. s/NULL/0/ in NG_SEND_MSG_HOOK(), since ng_ID_t is integer. PR: kern/41881 (part) Reviewed by: marks Approved by: julian (mentor)
* | Temporary fix for interoperability with Windows and OS X. A more completedfr2004-07-201-1/+1
| | | | | | | | | | | | fix will follow when its ready. Submitted by: simokawa
* | Fix typos.le2004-07-201-3/+3
| | | | | | | | | | PR: misc/67586 Submitted by: Paul A. Hoadley <paulh@logicsquad.net>
* | Fix whitespace and punctuation.le2004-07-201-20/+16
| | | | | | | | | | PR: misc/49967 Submitted by: Sean C. Farley <sean-freebsd@farley.org>
* | Call __mbrtowc() and __wcrtomb() directly instead of taking detourstjr2004-07-203-3/+6
| | | | | | | | through mbrtowc() and wcrtomb().
* | Remove duplicate fortunes and fix some typos.le2004-07-201-396/+9
| | | | | | | | | | | | PR: misc/45839 Submitted by: Philipp Mergenthaler <philipp.mergenthaler@stud.uni-karlsruhe.de>
* | Improve make's diagnostic of mistmatched .if-.endif. This patch isharti2004-07-203-18/+39
| | | | | | | | | | | | | | | | | | | | slightly different from the patch in the PR. The problem is, that make handles .if clauses inside false .if clauses simply by counting them - it doesn't put them onto the conditional stack, nor even parses them so we need an extra line number stack for these ifs. PR: bin/61257 Submitted by: Mikhail Teterin <mi@aldan.algebra.com>
* | Add a simple regression test for the stat st_size bug just fixed insilby2004-07-201-0/+82
| | | | | | | | sys_pipe.c
* | o Support the REL32LSB relocation. It's in the ELF file from whichmarcel2004-07-202-18/+36
| | | | | | | | | | | | | | | | | | we construct the EFI image. It doesn't seem to actually end up in the EFI image, AFAICT. o Replace .quad, .long and .short with data8, data4 and data2 resp. The former are gnuisms. o Redefine _start_plabel as a data16 with @iplt(_start) as its value. This is the preferred way to create user PLT entries.
* | Fix a minor error in pipe_stat - st_size was always reported as 0silby2004-07-201-1/+4
| | | | | | | | | | when direct writes kicked in. Whether this affected any applications is unknown.
* | Fix the creation of EFI images that got broken by the import ofmarcel2004-07-204-6/+6
| | | | | | | | | | | | | | | | | | binutils 2.15. The linker now creates a .rela.dyn section for dynamic relocations, while our script created a .rela section. Likewise, we copied the .rela section to the EFI image, but not the .rela.dyn section. The fix is to rename .rela to .rela.dyn in the linker script so that all relocations end up in the same section again. This we copy into the EFI image.
* | The previous revision introduced a compilation error, i.e., the use of analc2004-07-201-1/+1
| | | | | | | | undefined variable. Correct this error.
* | Use warn() instead of perror().tjr2004-07-202-4/+4
| |
* | Don't output too many debug messages for bootverbose.simokawa2004-07-203-11/+16
| | | | | | | | This driver seems to be fairly stable now.
* | Initialize ifp->if_output for FreeBSD-4.simokawa2004-07-201-0/+3
| |
* | Adjust packet length correctly for FreeBSD-4.simokawa2004-07-201-2/+4
| | | | | | | | Submitted by: Joerg Sonnenberger <joerg@britannica.bec.de>
* | elf_cpu_load_file no longer has an __unused variable. Also, don'tgrehan2004-07-201-3/+4
| | | | | | | | | | | | | | bother syncing the icache for the special case of the kernel (id == 1), since the loader has already done this. __unused use reported by: gallatin
* | Remove the allpmaps list. It's unused.alc2004-07-202-19/+0
| | | | | | | | Reviewed by: peter@
* | Properly obey PPC context synchronization rules when modifyinggrehan2004-07-202-0/+4
| | | | | | | | | | the address translation bits of the MSR. This fixes the boot-time panic reported by Drew Gallatin.
* | #ifdef __i386__ -> __i386__ || __amd64__peter2004-07-201-5/+5
| |
* | Report the number of bytes not written when complaining about failed writesbrian2004-07-201-2/+2
| |
* | Make end of frames for KSE thread, for system scope thread, without thisdavidxu2004-07-201-0/+1
| | | | | | | | change, debugger will dump a weird stack backtrace.
* | Fix printing of long doubles to match the size thatgallatin2004-07-193-20/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | gcc is using. This fixes devstat consumers (like vmstat, iostat, systat) so they don't print crazy zillion digit numbers for disk transfers and bandwidth. According to gcc, long doubles are 64-bits, rather than 128 bits like the SVR4 ABI spec wants them to be.. Note that MacOSX also treats long doubles as 64-bits, and not 128 bits, so we are in good company. Reviewed by: das Approved by: grehan
* | Remove extraneous locks on the VM free page queue mutex; it is notgreen2004-07-191-2/+0
| | | | | | | | | | | | | | meant to be recursed upon, and could cauuse a deadlock inside the new contigmalloc (vm.old_contigmalloc=0) code. Submitted by: alc
* | Identify VIA EHCI root hubs and at least one VIA USB2.0 controller.benno2004-07-191-0/+9
| |
* | Let IN_FASTREOCOVERY macro decide if we are in recovery mode.jayanth2004-07-193-9/+1
| | | | | | | | | | Nuke sackhole_limit for now. We need to add it back to limit the total number of sack blocks in the system.
* | Fix a potential panic in the SACK code that was causingjayanth2004-07-191-8/+29
| | | | | | | | | | | | | | | | | | | | | | | | 1) data to be sent to the right of snd_recover. 2) send more data then whats in the send buffer. The fix is to postpone sack retransmit to a subsequent recovery episode if the current retransmit pointer is beyond snd_recover. Thanks to Mohan Srinivasan for helping fix the bug. Submitted by:Daniel Lang
* | Diff reduction to NetBSD.le2004-07-191-5/+6
| | | | | | | | | | | | | | usbdi.c rev. 1.104, author: mycroft ugen_isoc_rintr() may recycle the xfer immediately. Therefore, we avoid touching the xfer after calling the callback in usb_transfer_complete(). From PR 25960.
* | Diff reduction to NetBSD.le2004-07-192-4/+2
| | | | | | | | | | | | | | | | ehci.c rev. 1.69, author: mycroft uhci.c rev. 1.179, author: mycroft hcpriv is not actually used here. Remove references to it. Obtained from: NetBSD
OpenPOWER on IntegriCloud