summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fixed missing declaration of pluralies(). This showed up as strangeBruce Evans2003-12-292-0/+3
| | | | | | | | | | | | printf format warnings for inet6.c (pluralies() was implicit int, but the context requires a "char *"). Added WARNS?=2 to the Makefile so that such errors don't come back. Added NO_WERROR?= to the Makefile because I haven't checked that setting WARNS doesn't uncover more bugs except on i386's. Notes: svn path=/head/; revision=123950
* Fixed style bugs created in rev.1.27 by removing "__P(" and its closing ")"Bruce Evans2003-12-291-75/+75
| | | | | | | without removing the space before it. Notes: svn path=/head/; revision=123949
* Remove swap_pager_un_object_list; it is unused.Alan Cox2003-12-291-24/+8
| | | | Notes: svn path=/head/; revision=123948
* Explicitly state that mknod(8) can be used to undelete entries under devfs.Alfred Perlstein2003-12-291-0/+4
| | | | Notes: svn path=/head/; revision=123947
* Document that mknod(8) can be used to undelete entries under devfs.Alfred Perlstein2003-12-291-0/+13
| | | | Notes: svn path=/head/; revision=123946
* Don't bother clearing PG_ZERO on the page table page in _pmap_allocpte();Alan Cox2003-12-281-1/+0
| | | | | | | it serves no purpose. Notes: svn path=/head/; revision=123945
* Hook up acpi_thermal.4 man page.Takanori Watanabe2003-12-281-0/+1
| | | | Notes: svn path=/head/; revision=123944
* mdoc(7): fixed document title.Ruslan Ermilov2003-12-2811-11/+11
| | | | Notes: svn path=/head/; revision=123943
* Don't attach throttling if the P_BLK is 0, even if the P_BLK_LEN is 6.Nate Lawson2003-12-281-1/+1
| | | | | | | This is more strict but no known systems have this problem. Notes: svn path=/head/; revision=123942
* Implement NdisInitUnicodeString().Bill Paul2003-12-281-0/+28
| | | | Notes: svn path=/head/; revision=123941
* Remove the sanity test in ndis_adjust_buflen(). I'm not sure what theBill Paul2003-12-281-2/+0
| | | | | | | | | | | | | | | | | | | | | nb_size field in an ndis_buffer is meant to represent, but it does not represent the original allocation size, so the sanity check doesn't make any sense now that we're using the Windows-mandated initialization method. Among other things, this makes the following card work with the NDISulator: ndis0: <NETGEAR PA301 Phoneline10X PCI Adapter> mem 0xda004000-0xda004fff irq 10 at device 9.0 on pci0 This is that notoriously undocumented 10Mbps HomePNA Broadcom chipset that people wanted support for many moons ago. Sadly, the only other HomePNA NIC I have handy is a 1Mbps device, so I can't actually do any 10Mbps performance tests, but it talks to my 1Mbps ADMtek card just fine. Notes: svn path=/head/; revision=123940
* Plug a leak of open files that happens when you exec a suid programDavid Malone2003-12-281-0/+1
| | | | | | | | | | | with one of std{in,out,err} open. This helps with the file descriptor leaks reported on -current. This should probably be merged into 5.2. Reviewed by: ru Tested by: Bjoern A. Zeeb <bzeeb-lists@lists.zabbadoz.net> Notes: svn path=/head/; revision=123939
* Add my birthdate (gifts are welcome :-)).Alex Dupre2003-12-281-0/+1
| | | | | | | Approved by: blackend (mentor) Notes: svn path=/head/; revision=123938
* Use intmax_t to avoid wrap on large images in verbose output.Alfred Perlstein2003-12-281-3/+4
| | | | Notes: svn path=/head/; revision=123937
* Somebody called mdoc(7) janitor.Ruslan Ermilov2003-12-282-42/+52
| | | | | | | A bit of wordsmithing from a native speaker is still necessary. Notes: svn path=/head/; revision=123936
* Fix to support pc98 and currect typo.Yoshihiro Takahashi2003-12-281-2/+11
| | | | Notes: svn path=/head/; revision=123935
* Add detach method.Yoshihiro Takahashi2003-12-282-0/+2
| | | | Notes: svn path=/head/; revision=123934
* Correctly retrieve sigaction flags.David Xu2003-12-282-4/+4
| | | | Notes: svn path=/head/; revision=123933
* v_vxproc was a bogus name for a thread (pointer).Bruce Evans2003-12-284-7/+7
| | | | Notes: svn path=/head/; revision=123932
* Move the declarations for nsfbufs and friends over to sf_buf.h fromMike Silbersack2003-12-282-3/+4
| | | | | | | mbuf.h Notes: svn path=/head/; revision=123931
* Teach netstat about the new sendfile statistics.Mike Silbersack2003-12-281-0/+4
| | | | Notes: svn path=/head/; revision=123930
* Track three new sendfile-related statistics:Mike Silbersack2003-12-289-0/+13
| | | | | | | | | - The number of times sendfile had to do disk I/O - The number of times sfbuf allocation failed - The number of times sfbuf allocation had to wait Notes: svn path=/head/; revision=123929
* update radiotap support to reflect recent changes:Sam Leffler2003-12-282-11/+22
| | | | | | | | | | | | o move tx taps from ath_start to ath_tx_start so lots more state is available to tap o add tx flags o add tx rate o add tx power (constant for the moment) o add tx antenna state Notes: svn path=/head/; revision=123928
* update radiotap support to reflect recent changes:Sam Leffler2003-12-282-13/+14
| | | | | | | | | o add xmit rate o drop rx time o add rx flags Notes: svn path=/head/; revision=123927
* Sync with netbsd:Sam Leffler2003-12-281-43/+60
| | | | | | | | | | | | | | | | | | | | o #ifdef _KERNEL the fallback definition for DLT_IEEE802_11_RADIO o fix many comments o rename antenna stuff and fix units/reference signal o change IEEE80211_RADIOTAP_DBM_TX_POWER from unsigned 16-bit value to a signed 8-bit value o change IEEE80211_RADIOTAP_FLAGS from 16 bits to 8 bits to simplify padding requirements o drop IEEE80211_RADIOTAP_TIME o change IEEE80211_RADIOTAP_ANTENNA from 16 bits to 8 bits o drop IEEE80211_RADIOTAP_PAD o add channel flag definitions for outside the kernel so radiotap doesn't depend on stuff in ieee80211*.h Obtained from: NetBSD Notes: svn path=/head/; revision=123926
* Don't bother clearing and setting PG_BUSY on page table directory pages.Alan Cox2003-12-281-4/+0
| | | | Notes: svn path=/head/; revision=123925
* Fixed some style bugs (mainly, try to always use explicit comparisons withBruce Evans2003-12-281-8/+7
| | | | | | | NULL when checking for null pointers). Notes: svn path=/head/; revision=123924
* Fixed some disordering in revs.1.194 and 1,196. Moved the exceve() syscallBruce Evans2003-12-281-55/+55
| | | | | | | | | | function back to near the beginning of the file. Rev.1.194 moved it into the middle of auxiliary functions following kern_execve(). Moved the __mac_execve() syscall function up together with execve(). It was new in rev1.1.196 and perfectly misplaced after execve(). Notes: svn path=/head/; revision=123923
* o eliminate widespread on-stack mbuf use for bpf by introducingSam Leffler2003-12-2816-261/+116
| | | | | | | | | | | | | | | | a new bpf_mtap2 routine that does the right thing for an mbuf and a variable-length chunk of data that should be prepended. o while we're sweeping the drivers, use u_int32_t uniformly when when prepending the address family (several places were assuming sizeof(int) was 4) o return M_ASSERTVALID to BPF_MTAP* now that all stack-allocated mbufs have been eliminated; this may better be moved to the bpf routines Reviewed by: arch@ and several others Notes: svn path=/head/; revision=123922
* PR 28852Martin Cracauer2003-12-281-24/+1
| | | | | | | | | | | | | | | | | | sh -e behaviour was incorrect when && and || statements where used in "if" clauses. This is the patch submitted by MORI Kouji <mori@tri.asanuma.co.jp>. It fixes the issue at hand, but sh fixes like this are super-hard to verify that they don't break anything else. I ran some of my old test cases and a few big GNU configure scripts that detected mistakes before, with the previous sh, patched sh and bash. No differences in behaviour found. MFC recommended after longer than usual time. Compiles on i386 and sledge. Notes: svn path=/head/; revision=123921
* Move the declaration of sfbufspeak and sfbufsused to mbuf.h,Mike Silbersack2003-12-288-16/+11
| | | | | | | | | | and use imax instead of max, as sfbufspeak and sfbufsused are signed. Submitted by: bde Notes: svn path=/head/; revision=123920
* Use of the MTX_SYSINIT macro requires the inclusion of <sys/kernel.h>.Joseph Koshy2003-12-281-0/+1
| | | | Notes: svn path=/head/; revision=123919
* Make this manual page reflect the sources better.Joseph Koshy2003-12-281-1/+1
| | | | | | | | | - A #include of <sys/mutex.h> is no longer needed to use sx(9) (since 2001/05/01). - Use of the SX_SYSINIT() macro requires inclusion of '<sys/kernel.h>' Notes: svn path=/head/; revision=123918
* Oops, highly non-KNF indentation is normal for large expressions inBruce Evans2003-12-281-6/+5
| | | | | | | | | | | | | | this program. Gnu indentation is used for these. Redo the fix for the large expression at the end of the previous commit to give gnu indentation. The original version was gnuish but had 9 bogus extra characters of indentation in its continuation lines, perfect tab lossage on every line, and other bugs. The previous commit log should have claimed to fix style bugs in the previous-1 commit (1.5), not the forced null previous commit (1.6). Notes: svn path=/head/; revision=123917
* Fix signal behaviour.Martin Cracauer2003-12-281-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | In my last change I made sure that the signal as reported from a truss exit is the same as if truss wasn't between parent and trussed program. I was smart enough to not have it coredump on SIGQUIT but it didn't ocur to me SIGSEGV might cause a coredump, too :-) So get rid of SIGQUIT extra hack and limit coredumpsize to zero instead. Tested: still works, correct signal reported. No more codedumps from SIGSEGV in the trussed proces. This file compiles cleanly on AMD64 (sledge). PR: Submitted by: Reviewed by: Approved by: Obtained from: MFC after: Notes: svn path=/head/; revision=123916
* Fix the maxpipekva warning message so that it points to the correctMike Silbersack2003-12-281-1/+1
| | | | | | | | | sysctl, and shorten the message. Noticed by: bde Notes: svn path=/head/; revision=123915
* Remove GIANT_REQUIRED from kmem_suballoc().Alan Cox2003-12-281-2/+0
| | | | Notes: svn path=/head/; revision=123914
* unlinke -> unlikeChristian Brueffer2003-12-271-1/+1
| | | | | | | Submitted by: Pawel Jakub Dawidek <nick@garage.freebsd.pl> Notes: svn path=/head/; revision=123913
* Correct reference to mac_none.4Christian Brueffer2003-12-271-1/+1
| | | | | | | Submitted by: Pawel Jakub Dawidek <nick@garage.freebsd.pl> Notes: svn path=/head/; revision=123912
* New sio module. A number of people have suggested this over the yearsWarner Losh2003-12-271-0/+25
| | | | | | | | | | | | | (most recently bde), so I'll commit the module I've had knocking around in my tree for a while. This may have some rough edges, so if you are able to build it on non-i386 platform (including pc98) please let me know you succeeded. When I get enough reports, I'll connect it to the build. If there are problems, feel free to fix them. Suggested by: bde Notes: svn path=/head/; revision=123911
* Add detach methods so we can unload the sio module.Warner Losh2003-12-273-0/+3
| | | | Notes: svn path=/head/; revision=123910
* Remove GIANT_REQUIRED from exec_unmap_first_page().Alan Cox2003-12-271-1/+0
| | | | Notes: svn path=/head/; revision=123909
* Fix slight disordering of supported cards.Warner Losh2003-12-271-3/+3
| | | | Notes: svn path=/head/; revision=123908
* Add acpi_thermal manual page,Takanori Watanabe2003-12-272-0/+105
| | | | | | | | | because I asked about the unit of thermal zone-related value too freqently. Come on, mdoc police. Notes: svn path=/head/; revision=123906
* Stop "fortune -l" from looping forever.Ceri Davies2003-12-271-1/+1
| | | | | | | | PR: bin/58730 Submitted by: pak <pak@cns.utoronto.ca> Notes: svn path=/head/; revision=123905
* o use .NmChristian Brueffer2003-12-271-2/+2
| | | | | | | | | o fix language usage MFC after: 5 days Notes: svn path=/head/; revision=123904
* Add missing wordChristian Brueffer2003-12-271-1/+1
| | | | Notes: svn path=/head/; revision=123903
* o add missing sysctl to synopsisChristian Brueffer2003-12-271-3/+4
| | | | | | | | | | o remove some useless words o fix spelling MFC after: 5 days Notes: svn path=/head/; revision=123902
* o add reference to safe.4Christian Brueffer2003-12-271-1/+2
| | | | | | | | | o remove useless word MFC after: 5 days Notes: svn path=/head/; revision=123901
* o Grammar fixChristian Brueffer2003-12-271-3/+3
| | | | | | | o Add missing punctuation Notes: svn path=/head/; revision=123900