Commit Graph

71361 Commits

Author SHA1 Message Date
itojun
56e182b708 there's no use to check privs on curproc in the input path. jinmei@kame 2004-06-01 03:13:22 +00:00
itojun
caf5cb18b4 avoid null pointer deref
remove wrong comment
yamt@netbsd
2004-06-01 03:05:26 +00:00
mhitch
43e1d0c297 Add AmigaDOS tools for the amiga, which end up in the "installation/misc"
directory of the release tree.
2004-06-01 02:25:09 +00:00
itojun
25f8b7acdc recover kp_queue properly. yamt 2004-06-01 02:01:14 +00:00
matt
3c0ef6aa5f Fix softnet intr handling (to be like the generic ppc softintr). 2004-06-01 00:49:41 +00:00
pk
69211c6484 cwdfree() signature has been changed to accomodate fine-grained locking. 2004-05-31 15:33:38 +00:00
pk
2560fefc23 Implement mutexes for file descriptor and current working directory access.
Fix a potential race condition when reallocating storage for file descriptors
(even for non-SMP kernels).
Add missing locks for `struct file' ref count updates.
2004-05-31 15:30:55 +00:00
tsutsui
f2e7679255 Fix usage of NULL, '\0' and "" again. 2004-05-31 14:04:59 +00:00
toshii
3c13bf058a Add re. 2004-05-31 13:47:33 +00:00
sekiya
4ae860025d Make pmap_collect() a NOP -- due to the way we deal with the four-level pte,
invalidating the entire address space results in multi-minute system hangs.

Okay'ed by fvdl@
2004-05-31 13:42:27 +00:00
tsutsui
2f3bdc714c Handle CAPSLOCK correctly. Fixes port-hp300/4689. 2004-05-31 13:40:04 +00:00
hannken
7b03a4b40c Once all block address modifications are done invalidate and
free all pages from the snapshot vnode.
2004-05-31 13:28:53 +00:00
dyoung
4d9e630e22 Don't set a frame's WEP bits, the 802.11 layer already has. 2004-05-31 11:42:00 +00:00
dyoung
17bc2a623e Define several new registers for the ADM8211C/CR parts. Improve
old register descriptions.
2004-05-31 11:40:56 +00:00
itojun
78bf2102d3 correct kp_queue handling. yamt 2004-05-31 11:40:40 +00:00
dyoung
ee1c094dae No need for ath_start to set the WEP bit in the frame header, the
802.11 layer does it for us.
2004-05-31 11:39:39 +00:00
dyoung
ac60cbd35f It's only necessary to set do_encrypt in one place, so do that. 2004-05-31 11:28:48 +00:00
dyoung
3e45584fea Cosmetic: fix comment typo, change bit-test style. 2004-05-31 11:28:03 +00:00
dyoung
c9f71eaeb7 Prevent ad hoc lossage: copy the SSID from a beacon into the
beacon-sender's ieee80211_node, if ni->ni_esslen == 0.  This fixes
WEP for Matthew.  I think that it also will save us from IBSS
splits.

Thanks again, Matthew Gream.
2004-05-31 11:12:24 +00:00
dyoung
a49a69d67a If WEP is on, set a data packet's WEP flag when we 802.11-encapsulate
it.  Credit: Matthew Gream.
2004-05-31 11:02:55 +00:00
dyoung
4d6f61112f Name the shift, txpower << 2 -> LSHIFT(txpower, RF3000_GAINCTL_TXVGC_MASK). 2004-05-31 10:49:32 +00:00
itojun
e58a39bab9 need to fix kp_queue better... 2004-05-31 09:20:38 +00:00
itojun
4516a4dc00 on EAGAIN, set kp_queue again for the next wakeup. pointed out by yamt 2004-05-31 09:06:36 +00:00
yamt
2fd3d08b3d lockmgr: add a comment about LK_RETRY. 2004-05-31 09:05:10 +00:00
dyoung
ab84dc7c5f Wrap a line. Remove a useless comment. 2004-05-31 09:05:01 +00:00
yamt
bd2a784b57 vn_lock: add an assertion about usecount. 2004-05-31 09:02:51 +00:00
dyoung
97c923cdc2 Describe Tx/Rx state a little better using clue from the ADM8211C/CR
datasheet.
2004-05-31 09:00:24 +00:00
dyoung
e4e9f15d6a Use bpf_mtap2. 2004-05-31 08:52:53 +00:00
yamt
7407c491c3 nfsrv_create: fix an LP64 problem for exclusive create. 2004-05-31 08:47:08 +00:00
itojun
7bd231952e safer key_{spd,}dump. comment from yamt.
XXX is spl level ok?
2004-05-31 04:29:01 +00:00
schmonz
5f5633de40 Support userconf(4) ("boot -c"). Reviewed by Bill Studenmund. 2004-05-31 03:22:45 +00:00
wrstuden
a39afd9fea Revert last two changes. Since union vnode private data do not follow
layerfs guidelines, whenever layerfs_snapshot() does something, it
won't be correct for unionfs.
2004-05-31 02:04:35 +00:00
yamt
59ba83d898 lockmgr: assert that LK_RETRY is not specified. 2004-05-30 20:49:04 +00:00
yamt
c2f93eb91f vn_lock: don't pass LK_RETRY to VOP_LOCK. 2004-05-30 20:48:04 +00:00
yamt
305b098f04 use vn_lock instead of raw VOP_LOCK. 2004-05-30 20:46:25 +00:00
yamt
2209153ea4 lfs_gop_write: assert that ifile never come here. 2004-05-30 20:45:44 +00:00
tron
2295bcf960 Include "miscfs/genfs/layer_extern.h" to get prototype for
layerfs_snapshot().
2004-05-30 09:48:37 +00:00
grant
52620d764c regen 2004-05-30 09:28:48 +00:00
grant
cd624764ba add 2nd vendor ID for Chicony Electronics (0x0c45) and add Chicony
TwinkleCam USB camera (0x600d).
2004-05-30 09:27:56 +00:00
itojun
b4ea6633c0 fix SIOC*LIFADDR for IPv4. markus friedl 2004-05-30 06:37:07 +00:00
toshii
da3514b79e rcsid 2004-05-30 03:51:48 +00:00
toshii
4b54ec9a22 Fix brokenness I introduced while debugging.
- initialize rxlenmask when 8139C+
  - remove meaningless memsets.
2004-05-30 03:50:52 +00:00
toshii
b5fa366e57 Minor clean ups. No functional change.
- use RTK_RX_DESC_CNT where appropriate
  - remove unused members
2004-05-30 03:43:26 +00:00
wrstuden
fc8849c40a unionfs can use layerfs_snapshot() too. 2004-05-29 23:49:31 +00:00
wrstuden
67a15e9a78 Add layerfs_snapshot() as a handler routine for VFS_SNAPSHOT() calls
through a layered file system.

Note: we don't actually support snapshots through a layered file system,
and this routine returns an error. However we: 1) have clearly documented
what needs fixing (which isn't trivial to fix) and 2) if we do fix
this, all layered file systems can take advantage of it at once.
2004-05-29 23:48:08 +00:00
tron
1db853aa0f Don't leak memory in VFS_MOUNT() if set_statvfs_info() fails. 2004-05-29 14:28:41 +00:00
darrenr
eda7e8d3e3 back out previous change - these diffs aren't what I'd tested. 2004-05-29 14:18:33 +00:00
sekiya
dabf5a69e2 Link rtl81x9.c when re* is defined (hi, Toshi!) 2004-05-29 12:12:28 +00:00
darrenr
15f2ef8f2c add mmap(2) interface to bpf(4) devices, along with BIOCMMAPINFO ioctl call
for applications to interact with the bpf device for the purpose of using
mmap to examinen captured data.
2004-05-29 08:56:19 +00:00
christos
fd8537e01d fix another scrolling use that leaked. 2004-05-29 02:04:56 +00:00