summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use __printflike() and __dead2 instead of hard-coded gccisms.bde2003-12-271-6/+4
| | | | | | | | Declare perror(). We define and use a home made version of perror(3) that can't simply be removed (although it has the same interface as perror(3)) since it is very different (it prints on stdout, doesn't always print the program name, and sometimes exits). Declare it to get a reminder of this brokenness when WARNS is increased enough.
* Garbage-collected hotroot, rawname() and unrawname() again. Thesebde2003-12-272-41/+0
| | | | | | became garbage when block devices were axed and were removed a few months later, but they came back (with hotroot renamed to hot + hotroot()) when the NetBSD fsck was mismerged.
* fsck_msdosfs/main.c:bde2003-12-273-16/+4
| | | | | | | | | | | | - Don't use errexit() to (mis)implement usage(). Using errexit() just gave the bogus exit code 8. - Fixed 3 other style bugs in usage(). fsck/fsutil.[ch]: - Garbage-collected errexit(). It is essentially just one of NetBSD's fsck_ext2fs error printing functions, but we don't have fsck_ext2fs and the function is unsuitable for use there too (since pfatal() is also used and it printf to a different stream).
* Fixed style bugs in rev.1.12 (unsorting of prototypes by adding new onesbde2003-12-271-4/+5
| | | | | | | at the end). Fixed some older style bugs (missing parameter names in all the kernel prototypes except the ones added in rev.1.12).
* Clean up the style of the previous commit, and fix a fewsilby2003-12-271-7/+5
| | | | | | type mismatches as well. Suggested by: bde
* Teach netstat to read and display the new sfbuf statistics.silby2003-12-271-0/+12
|
* Track current and peak sfbuf usage, export the values via sysctl.silby2003-12-278-0/+38
|
* Fixed style bugs in previous commit (unsorting of declarations and poorbde2003-12-271-7/+8
| | | | wording in a comment).
* Fixed quoting of `clean'.bde2003-12-271-1/+3
| | | | Obtained from: fsck_ffs.8
* Fixed some style bugs in previous commit (mainly highly non-KNF indentation).bde2003-12-271-15/+15
|
* Fixed style bugs in previous commit (unsorting of the global declarationsbde2003-12-271-2/+2
| | | | and addition of a tab to a blank line).
* - Reduce Giant's scope in vm_fault().alc2003-12-261-14/+10
| | | | | - Use vm_object_reference_locked() instead of vm_object_reference() in vm_fault().
* Minor correction to revision 1.258: Use the proc pointer that is passed toalc2003-12-261-2/+1
| | | | vm_map_growstack() in the RLIMIT_VMEM check rather than curthread.
* Fix all cases of unintended word doublings (the the, and and, ...) and aschweikh2003-12-265-32/+32
| | | | few typos.
* Fix percentages by using long long to hold values for 'space',alfred2003-12-261-9/+12
| | | | | | | | | | overflow was breaking a bunch of the stats, specifically the percentage displayed for wired memory. Fix the output for current/peak/max lines, I forgot to output the types. 161/320/51200 (current/peak/max): -to- 639/25696/51200 mbufs in use (current/peak/max):
* Don't truncate the interface name in ifunit(). It's now possible to querygreen2003-12-261-2/+2
| | | | | "very long interface names", e.g.: ndis_atheros0: flags=8847<UP,BROADCAST,DEBUG,RUNNING,SIMPLEX,MULTICAST> mtu 1500
* Forced commit to note that my previous commit was a Darwin merge.trhodes2003-12-260-0/+0
|
* Make msdosfs support the dirty flag in FAT16 and FAT32.trhodes2003-12-269-11/+172
| | | | | | | | Enable lockf support. PR: 55861 Submitted by: Jun Su <junsu@m-net.arbornet.org> (original version) Reviewed by: make universe
* you have to use 'install' subcommand instead of '-c' optionume2003-12-261-1/+1
| | | | Obtained from: KAME
* Create a separate kthread that executes sched_cpu() once a second. Becausejhb2003-12-261-6/+21
| | | | | | sched_cpu() locks an sx lock (allproc_lock) which can sleep if it fails to acquire the lock, it is not safe to execute this in a callout handler from softclock().
* when no source-address-selection policy is installed, not scanume2003-12-261-1/+5
| | | | | | the sysctl MIB, as it leads to an unnecessary sysctl error. Obtained from: KAME
* It is not the job of this manual page to list 'supported chipsets'.trhodes2003-12-261-1/+1
| | | | | PR: 60575 Submitted by: Andreas Möller
* Remove another instance of 'disklabel' which eluded me last time.trhodes2003-12-261-1/+1
| | | | Noticed by: Andre Guibert de Bruet <andy@siliconlandmark.com> (via -doc)
* Fix acpi_MatchHid() to check the compatibility ID's if the hardware IDjhb2003-12-261-3/+3
| | | | | | doesn't match. Submitted by: marcel
* Don't confuse NULL with 0.obrien2003-12-263-4/+4
|
* Don't confuse NULL with 0.obrien2003-12-262-5/+5
|
* Don't confuse NULL with 0.obrien2003-12-261-3/+3
|
* More holidays in .ru, fixes, strip redundant prefix.maxim2003-12-263-20/+27
| | | | Submitted by: osa
* Don't block SIGTRAP - it makes it hard to debug programs with gdb.dfr2003-12-261-0/+1
| | | | Reviewed by: mtm
* Make sure we initialise dirp->dd_size if we aren't reading a unionfsdfr2003-12-261-0/+1
| | | | | | directory. Special thanks to: valgrind
* o Actually add -x option: probeonly assigment was missedmaxim2003-12-261-0/+3
| | | | | | | | in rev. 1.15 pccardd.c. Reported by: osa OK'ed by: imp MFC after: 2 weeks
* Preparations to make libthr work in multi-threaded fork()ing applications.mtm2003-12-263-63/+81
| | | | | | | | | | | | | o Remove some code duplication between _thread_init(), which is run once to initialize libthr and the intitial thread, and pthread_create(), which initializes newly created threads, into a new function called from both places: init_td_common() o Move initialization of certain parts of libthr into a separate function. These include: - Active threads list and it's lock - Dead threads list and it's lock & condition variable - Naming and insertion of the initial thread into the active threads list.
* Attempt to handle the status field in the ndis_packet oob area correctly.wpaul2003-12-262-5/+54
| | | | | | | | | | | | | | For received packets, an status of NDIS_STATUS_RESOURCES means we need to copy the packet data and return the ndis_packet to the driver immediatel. NDIS_STATUS_SUCCESS means we get to hold onto the packet, but we have to set the status to NDIS_STATUS_PENDING so the driver knows we're going to hang onto it for a while. For transmit packets, NDIS_STATUS_PENDING means the driver will asynchronously return the packet to us via the ndis_txeof() routine, and NDIS_STATUS_SUCCESS means the driver sent the frame, and NDIS (i.e. the OS) retains ownership of the packet and can free it right away.
* GC the AMD64 special handling.obrien2003-12-261-2/+1
|
* regen (__restrict)alfred2003-12-261-8/+8
|
* Put restrict back in, the compilation failure was my fault when Ialfred2003-12-261-8/+8
| | | | | | did a bad merge from the PR. Thanks to Bruce Evans for explaining.
* Add __restrict qualifiers to copyinfrom, copyinstrfrom, copystr, copyinstr,alfred2003-12-263-11/+18
| | | | copyin and copyout.
* Properly initialize all members of the sentinel entry.obrien2003-12-261-1/+1
|
* The record's stuck. The record's stuck. The record's stuck.imp2003-12-261-3/+0
| | | | Remove a rendundant $FreeBSD$
* Documented the new parameter cron_dst.babkin2003-12-261-0/+9
|
* Back out the last batch of changes until I have a chance to properlywpaul2003-12-265-61/+69
| | | | | | | | | | evaluate them. Whatever they're meant to do, they're doing it wrong. Also: - Clean up last bits of NULL fallout in subr_pe - Don't let ndis_ifmedia_sts() do anything if the IFF_UP flag isn't set - Implement NdisSystemProcessorCount() and NdisQueryMapRegisterCount().
* Merged from sys/dev/sio/sio.c revision 1.417.bde2003-12-262-4/+4
|
* Don't call the miniport driver's releasepacket function unless thegreen2003-12-263-37/+56
| | | | | | | | | | | | packet being freed has NDIS_STATUS_PENDING in the status field of the OOB data. Finish implementing the "alternative" packet-releasing function so it doesn't crash. For those that are curious about ndis0: <ORiNOCO 802.11abg ComboCard Gold>: 1123 packets transmitted, 1120 packets received, 0% packet loss round-trip min/avg/max/stddev = 3.837/6.146/13.919/1.925 ms Not bad!
* In socket(2) we only need Giant around the call to socreate, so justdwmalone2003-12-251-2/+2
| | | | grab it there.
* Don't TAILQ_INIT kq_head twice, once is enough.dwmalone2003-12-251-1/+0
|
* When calculating the sequence number to use in an ip6fw reset, remember todwmalone2003-12-252-1/+2
| | | | | | | | | add one if the SYN flag was set in the original packet. This seems to make ip6fw reset work correctly for new and in-progress connections. Update the man page to reflect the fact it now seems to work. Glanced at by: ume MFC after: 2 weeks
* Added support for intelligent handling of DST transitions in cron.babkin2003-12-252-0/+5
| | | | reviewed by: imp
* Vastly improve performance of IRQ handling on stopped interfaces withphk2003-12-252-0/+5
| | | | | | | | | | | | | | | | this driver by introducing a flag saying we already stopped the device. On my Soekris net4801, this took a ping -i 0.001 from spending 80% of time in interrupt handling to 10% (approx numbers). This was a particular problem for the net4801 because the tree interfaces share the same interrupt, but it would be a problem for any configuration where an unused if_sis interface shares an interrupt with a busy device. Other drivers may have similar problems. Thanks to: Luigi
* Give the timer API one last overhaul: this time, use the new calloutwpaul2003-12-253-17/+11
| | | | API instead of the old timeout/untimeout mechanism.
* Try to simplify the SiS probe. If SiS stays with the current schema forsos2003-12-251-22/+9
| | | | | new nothbridges we should even find the southbridge and be able to use it (if its one we know that is).
OpenPOWER on IntegriCloud