Commit Graph

82581 Commits

Author SHA1 Message Date
jdolecek
e65c47a67f vfs_rootmountalloc: take advantage of LIST_FOREACH() 2001-06-26 19:14:25 +00:00
thorpej
a279b0973b Reduce some complexity in the fault path -- Rather than maintaining
an spl-protected "interrupt safe map" list, simply require that callers
of uvm_fault() never call us in interrupt context (MD code must make
the assertion), and check for interrupt-safe maps in uvmfault_lookup()
before we lock the map.
2001-06-26 17:55:14 +00:00
thorpej
0910b96106 Panic if we get an MM trans/prot fault in interrupt context. 2001-06-26 17:29:28 +00:00
thorpej
78ae4127bb Note that uvm_fault() must NEVER EVER EVER be called in interrupt
context.
2001-06-26 17:27:31 +00:00
itojun
b12a7f19d9 drop setgid. suggested by deraadt 2001-06-26 17:10:33 +00:00
thorpej
a160a0b77c Make the kmemstats limits unsigned, and use unsigned arithmetic
to compute them.  Prevents overflows when using a very large number
of kmem pages.

From chopps@netbsd.org.
2001-06-26 16:02:27 +00:00
wrstuden
716d3ae08f In vcount(), when getting rid of unused aliases, don't vgone one which
has VXLOCK set - it's already being vgoned, most likely by one of our
callers. If we call vgone, we can end up sleeping against ourself
with VXLOCK set - we'll start the race for root.

Pointed out by Love <lha@stacken.kth.se> on tech-kern. Analysis from
Artur Grabowski <art@openbsd.org> via Love.

Should resolve PR kern/13077
2001-06-26 15:51:06 +00:00
bouyer
90d0e67408 Add a XS_CTL_SILENT_NODEV flag: if the sense info is "not ready, medium
not present" don't print any message but still return ENODEV.
Use this in cd driver to allow open of character raw partition even if
the drive is empty (older drives fails at LOAD_UNLOAD time, newer
ones fail at TEST_UNIT_READY time).
2001-06-26 15:32:02 +00:00
itojun
d54eb3a39d change tcpdump dir to refer to. Daniel Carosone <dan@geek.com.au> 2001-06-26 13:43:29 +00:00
matt
6bad4f04a0 Record any stack growth. This fixes a serious problem with core dumps.
Without this change, coredumps will only contain one page of stack
regardless of how many pages of stack the process actually has.
2001-06-26 13:00:18 +00:00
bouyer
f47d097cf5 Make it compile with SCSIPI_DEBUG 2001-06-26 12:46:56 +00:00
bouyer
e27abfaddf Make it compile with SCSIPI_DEBUG 2001-06-26 12:19:49 +00:00
jdolecek
142a3390df two more 2001-06-26 09:36:40 +00:00
jdolecek
a91872d1cf ntfs_readdir(): use NTFS_ROOTINO instead of ip->i_number for '..' entry
XXX it's not correct either way
2001-06-26 09:36:06 +00:00
jdolecek
61c37aef21 Allocate the struct dirent in ntfs_readdir() via MALLOC(), rather than
on stack.
2001-06-26 09:24:36 +00:00
onoe
65f0069f5b restore awi_power() to reenable awi after resume.
... forgot why it is disabled...
2001-06-26 08:41:19 +00:00
hubertf
2e9a29abf2 regen for MAKEDEV2manpage.pl change 2001-06-26 02:28:47 +00:00
hubertf
d50569f713 Use \&foo instead of f\&oo for better readability.
By uwe@netbsd.org.
2001-06-26 02:28:21 +00:00
hubertf
3dcda53fea "make man man.ps" for some 5000 page book.
Needs more work (intro page, sorting, ...), but better than before.
2001-06-26 02:26:06 +00:00
hubertf
505430a429 Regen for foo -> f\&oo on .Xr 2001-06-26 02:11:54 +00:00
hubertf
b569c48c16 Try cross-referencing our VAX and/or hp300 port's ct(4) manpage:
.Xr ct 4

^- This does not work, as "ct" is some *roff command. Work around
it by adding a non-printing char:

	.Xr c\&t 4

(for all manpages, just in case and out of laziness)
2001-06-26 02:03:08 +00:00
hubertf
941ea41c4a Add argument to -Bl -width - groff complains while nroff doesn't 2001-06-26 01:46:26 +00:00
enami
4655e8da67 Some man page here requires processing by tbl. 2001-06-26 01:43:58 +00:00
hubertf
d8ec602681 Note: just because our macros/groff/whatever terminates .Bl internall for a
new .Sh doesn't mean the ending .El should be omitted
2001-06-26 00:52:59 +00:00
thorpej
93c03c9726 - Implement a real pmap_kenter_pa()/pmap_kremove().
- Use pools for pmap structures and pv_entry structures.
- Remove a bunch of splvm()/splx(), no longer needed now that
  pmap_kenter_pa() and pmap_kremove() are as they should be.

Mostly from Chuck Silvers.
2001-06-26 00:31:32 +00:00
hubertf
04eb606c4b .El a .Bl 2001-06-26 00:14:32 +00:00
hubertf
864848be63 close a .Bl 2001-06-25 23:42:42 +00:00
hubertf
d91e447e6b PRevent one of these:
List open at EOF -- A .Bl directive has no matching .El
2001-06-25 23:37:27 +00:00
chris
b8ceed365f Improve the vac_me_harder function, it is now slightly faster, however pmap_enter_pv is also now slightly slower, so they appear to balance out.
Note that I've some ideas in the works on how to improve the pv handling, so the slow down is short term only.

Also added non-advertising licence and copyright to myself and richard.
2001-06-25 23:22:38 +00:00
eeh
55e676fb15 Remove another unused file. 2001-06-25 23:07:03 +00:00
nathanw
493f55e596 A little space->tab fixup. 2001-06-25 22:56:18 +00:00
thorpej
c0b03b60e7 Really only need uvm_extern.h. From Chuck Cranor. 2001-06-25 22:08:52 +00:00
lukem
c46620e9a9 take advantage of glob(3) support when defining _whatdb 2001-06-25 21:38:29 +00:00
lukem
0668bf9a80 _whatdb has supported glob(3)ing pathnames for over 3 years ... 2001-06-25 21:37:24 +00:00
eeh
47b3df529a Remove unused file. 2001-06-25 21:28:03 +00:00
thorpej
7a1408c38b Deal with different `memsize' convention on new PMON revs. 2001-06-25 21:25:07 +00:00
jdolecek
26d45c1101 Back off the sendit()/recvit() change, some have problems with it 2001-06-25 20:46:11 +00:00
thorpej
498641fc7e Print more BONITO rev. info. 2001-06-25 20:15:57 +00:00
thorpej
1111f1d461 Add some macros to decode the BONITO revision register. 2001-06-25 20:15:03 +00:00
itojun
8e68d78e9d ex script to change rcsid portion 2001-06-25 20:09:58 +00:00
itojun
6a5ada5fef __RCSID() 2001-06-25 19:59:56 +00:00
jdolecek
1b87473851 linux_getifhwaddr(): use strncmp() to find out if if_name starts with 'eth',
it's more readable that way
2001-06-25 19:55:02 +00:00
jdolecek
d865180393 sys_connect(): fix the call to FILE_UNUSE() so that it's done on return, rather
than immediatelly after getsock() call
2001-06-25 19:46:50 +00:00
itojun
230b44a44a switch to use src/dist/tcpdump. source code has been checked and the new
tree organization should give the same (or more) decoding functionalities.
2001-06-25 19:41:19 +00:00
itojun
454a080909 typo 2001-06-25 19:36:47 +00:00
itojun
08019da86a disable SMB decoder, there seem to be a lot of memory boundary issues 2001-06-25 19:36:38 +00:00
itojun
80e83a75d5 import script 2001-06-25 19:36:03 +00:00
itojun
9fddaf49d0 t is in chapter 8, not 1. remove non-BSD texts. 2001-06-25 19:35:01 +00:00
itojun
56a052e678 tcpdump, from tcpdump repository as or 2001/6/26 2001-06-25 19:26:28 +00:00
jdolecek
7f7c60e827 Add 'kernsa' parameter for sendit()/recvit(); if nonzero, msg->msg_name
is supposed to point directly to struct mbuf or struct sockaddr in kernel
space as appropriate, rather than being a pointer to memory in userland.

This is to be used by compat/* when emulation needs to wrap
send{to|msg}(2)/recv{from|msg}(2) and modify the passed struct
sockaddr.
2001-06-25 19:24:02 +00:00