rpaulo
43bb9c133c
Fix previous commit: ABS, IND and MSH are valid codes.
2005-12-14 20:33:46 +00:00
bouyer
fc1d07dd69
Only VNDIOCSET needs a valid process context, so don't blindly
...
dereference l, test it l is NULL first.
Fix exporting a vnd device to a XENU domain.
2005-12-14 19:49:16 +00:00
christos
7330d168b8
proc to lwp change
2005-12-14 18:33:32 +00:00
wiz
c23b1a74bb
Fix sign extension broken by previous. dillo hacked here too.
2005-12-14 17:35:40 +00:00
briggs
ae315be3b6
Bump SYMTAB_SPACE.
2005-12-14 16:21:55 +00:00
cube
cb6200f890
Remove bogus XXX comment: a.msg doesn't point to stack data.
2005-12-14 15:27:59 +00:00
cube
ae544644cf
Fix typo in previous commit.
2005-12-14 15:23:00 +00:00
reinoud
d3857d0bd2
Fix disklabel recognition code for mbr based systems like i386. It would
...
return NULL even though no disklabel was found making callers assume that a
valid disklabel WAS found but instead were presented by the dummy disklabel
that is created.
If the rval is SCAN_CONTINUE it now returns a standard error that no
disklabel was found instead of the NULL.
2005-12-14 15:01:03 +00:00
oster
5dd44bf55a
more proc->lwp changes. (untested, but at least the pmax kernel builds)
2005-12-14 02:55:42 +00:00
yamt
78bf100dce
simplify rev.1.68 and fix EINVAL problem. add a comment. PR/32224.
2005-12-14 01:58:01 +00:00
christos
d4d0b2f85f
whitespace.
2005-12-14 00:41:17 +00:00
christos
9f7f6692b9
proc -> lwp
2005-12-14 00:35:31 +00:00
christos
0e9d2fc182
proc -> lwp, ansi
2005-12-14 00:32:29 +00:00
christos
49743c0da1
argument type conflict.
2005-12-14 00:28:08 +00:00
christos
801713f68b
proc -> lwp
2005-12-14 00:08:34 +00:00
rpaulo
7174b22dd3
In bpf_validate(), get rid of bpf_maxbufsize test as there are other
...
clients of bpf_filter(), like if_ppp, that are not limited by
bpf_maxbufsize. The same check is done at the run time, so there is no
problem created.
Noticed by Guy Harris in private email.
2005-12-13 23:53:49 +00:00
cube
9af385388e
machdep.acpi_root -> hw.acpi.root, as discussed on source-changes.
2005-12-13 23:27:31 +00:00
christos
8c1531779b
p -> l
2005-12-13 22:08:58 +00:00
christos
d7e5caf4fd
include libc after our own files to fix ports that have 2 assym.h's. One
...
in pthread and one in libc.
2005-12-13 22:07:20 +00:00
peter
3c194e239e
Add an extra argument to "setvar" to indicate whether a keyboard,
...
display or mouse variable should be changed. This is backwards compatible
with the old setvar style: if the argument is not specified, it defaults
to `keyboard'.
2005-12-13 21:46:47 +00:00
oster
202b0bbece
s/struct proc/struct lwp/ to provide forward reference for lwp.
...
Fixes build problem on vax.
2005-12-13 21:33:21 +00:00
abs
97ca1ffebb
Update some missed _close() and _open() functions from 'struct proc *p'
...
to 'struct lwp *l'.
2005-12-13 20:55:46 +00:00
christos
da46e07e04
struct lwp needs to come earlier.
2005-12-13 19:27:56 +00:00
christos
f131fafcb8
add sony.4
2005-12-13 18:23:31 +00:00
christos
51f1d9a81b
Man page for the new laptop driver.
2005-12-13 18:20:56 +00:00
dsl
ea2078818f
TOG require that 'set +o' output the options in a form suitable for
...
restoring them - make it so.
2005-12-13 17:44:18 +00:00
christos
cde8d91b30
always set the value, don't shortcut when val == oval.
...
From Sami Kantoluoto
2005-12-13 16:54:21 +00:00
christos
783445c362
add fwd decl of struct lwp; needed by the vax.
2005-12-13 16:47:18 +00:00
tsutsui
d00f9f7f23
ANSIfy and some KNF.
2005-12-13 16:32:33 +00:00
christos
fff3c8238c
add fwd declaration for struct proc. Fixes vax build.
2005-12-13 16:25:59 +00:00
explorer
3bf671ed3b
'the the' => 'the' and change DLT type from IEEE_80211_RADIO to the correct IEEE802_11_RADIO name
2005-12-13 16:15:10 +00:00
tsutsui
9cf2f5cb8b
Move pv_entry stuff from MD pmap_physseg to MD vm_page.
...
Suggested and OK'ed by thorpej, and tested on R3000/R4400/R5000/Rm5200 CPUs.
2005-12-13 15:41:50 +00:00
briggs
eea7d7edaf
Reword entry for X to note maint. of XFree86 and not transition to X.org
...
at this time.
2005-12-13 15:30:18 +00:00
xtraeme
7c0269873e
Misc grammar and typos fixes from Enrique Matias Sanchez via
...
private email.
2005-12-13 14:23:06 +00:00
reinoud
255662c92a
Fix of panic that was introduced since ktrace-lwp branch was merged. The
...
shortcut to the process of the passed lwp paniced the kernel since lwp
could/can be passwd as NULL in VOP_WRITE().
This was happening when ktracing to NFS. The function ktrwrite() set the
uio_lwp to NULL and then calls VOP_WRITE() with this argument. nfs_write()
then accessed lwp *l->l_proc wich paniced.
Thanks to David Laight for his help on tracking it down.
2005-12-13 13:12:18 +00:00
martin
e35adea403
Fix wrong buffer size calculation. From Henning Petersen in PR lib/32291.
2005-12-13 12:59:48 +00:00
yamt
0a40fe5a5e
physio: deal with unaligned buffers/small maxphys/overlapped buffers.
...
fix PR/32224 from Matthias Scheler.
(uvm_vslock needs to be redesigned for threaded applications.
but it's a different problem.)
2005-12-13 12:29:32 +00:00
dsl
24c43e28bb
Use PRIu64 to print ino_t (maybe there should be a PRIino_t somewhere....)
2005-12-13 10:56:16 +00:00
ghen
401043a782
Add ghen
2005-12-13 10:41:25 +00:00
yamt
a83111c7d8
add vm.idlezero. noted by Hubert Feyrer.
2005-12-13 10:07:21 +00:00
wiz
2f70583592
Remove unhandled H option from getopt() argument.
...
Describe -l in usage. Both from Igor Sobrado in private mail.
While here, sort options.
2005-12-13 10:02:04 +00:00
martin
c236b4a2eb
Sync sparc64 compile time options with the pkgsrc version.
2005-12-13 09:52:20 +00:00
martin
07c3097258
Allow archs to override BF_PTR
2005-12-13 09:50:52 +00:00
dyoung
9c76f36a30
Fix ieee80211_media2rate to suit the funny order of NetBSD's DSSS
...
media flags: DS2, DS5, DS11, DS1.
2005-12-13 09:28:31 +00:00
yamt
6b6b3253b2
fix a compilation problem after ktrace-lwp merge.
2005-12-13 08:24:30 +00:00
jmc
37b9f7a1b0
Note needed hack for gcc/vax and using abort in a function pointer.
...
From Johnny Billquist
2005-12-13 05:56:23 +00:00
jmc
4c00a49dad
XXXGCC: Make a local extern for abort and the vax compiler is happy again.
2005-12-13 05:54:50 +00:00
dyoung
47b698d0b8
Fix comments and debug printfs: Tx FIFOs underflow, they don't
...
overflow.
2005-12-13 05:10:55 +00:00
dyoung
830e4be4c8
On a transmit FIFO overflow (err, actually an underflow...) reset
...
both the transmit & receive sections of the MAC.
2005-12-13 05:07:14 +00:00
christos
ce34305905
A bit more verbiage.
2005-12-13 01:02:23 +00:00