152932 Commits

Author SHA1 Message Date
he
d59cb8e7b8 Fully initialize the last element of menu_def[]. 2006-10-23 19:29:48 +00:00
uwe
9287c88e77 Const-poision. While here, rename the argument s/code/pc/. 2006-10-23 19:28:07 +00:00
jdolecek
165c6691e1 use F_OK instead of 0 for second parameter of access(2)
part of PR bin/26860 by Michael van Elst
2006-10-23 19:11:46 +00:00
he
8d51656fd4 Const-ness is now (by the new gcc) propagated from structs to
members, so constify so as to not lose qualification.
2006-10-23 18:58:24 +00:00
uwe
351eae3599 Be careful when fetching instruction to disassemble. Check for
unalinged address, refuse to disassemble P4 area (on-chip i/o regs),
use fusword/kcopy to fetch the instruction.
2006-10-23 18:33:56 +00:00
christos
f1aa39b33c deal with machines where char is unsigned and with chars > 127 2006-10-23 18:22:00 +00:00
elad
af94ee3081 PR/34888: Nicolas Joly: kernel panic while trying to access
/emul/linux/proc/0/stat

Patch applied, thanks for the report!
2006-10-23 18:19:14 +00:00
gson
3b3814b873 const correctness 2006-10-23 18:10:44 +00:00
pooka
c643be45eb dump correct name for vfs operations 2006-10-23 16:53:17 +00:00
uwe
a34468ef57 fu* function should read bytes/shorts as unsigned, so s/exts/extu/ 2006-10-23 16:28:51 +00:00
pooka
22ec7067d6 don't allow to read or write a directory 2006-10-23 16:20:39 +00:00
pooka
6ea08fd809 bump the reqstruct minsize to something more believable (but I should
really fix this, still)
2006-10-23 16:07:18 +00:00
he
b98baf7a62 Avoid "unsigned < 0" comparison by open-coding the remaining part
of the check() macro.
2006-10-23 15:27:41 +00:00
yamt
3342bd892a cpu_dumpconf: oops, redo the previous correctly. 2006-10-23 15:15:52 +00:00
yamt
7eadca1ca8 fix parenthesis mismatch in 1.197. (hi mrg) 2006-10-23 15:08:20 +00:00
skrll
21f8bf16fc KNF and comment update. 2006-10-23 14:15:09 +00:00
rillig
5968766094 open(2) can fail with EPERM. 2006-10-23 14:04:05 +00:00
yamt
5239dc5a67 qc_init: fix a problem introduced by rev.1.13.
namely, use quantum-size alignment rather than no alignment.
PR/34879 from Peter Postma.
2006-10-23 13:36:33 +00:00
pooka
e4ae558e9d fix print in VOP_PRINT
also make it compile on amd64.  problem noticed by Blair Sadewitz
on current-users
2006-10-23 12:21:39 +00:00
pooka
9739aee84d apply const where necessary 2006-10-23 12:11:47 +00:00
elad
c2da5d160e PR/34873: Ryo Shimizu: sendmsg() can cause kernel panic
Patch applied, thanks!
2006-10-23 10:37:22 +00:00
mrg
e1850e2121 regenerate mknative-gcc files for GCC 4.1-20061021. 2006-10-23 07:01:19 +00:00
kiyohara
6920dbe4f2 Define BASE_ISA macro for ISA window base address (where pckbc, com, lpt live)
instead of hardcoding the constant or (even before) using BASE_COM.
2006-10-23 06:49:17 +00:00
mrg
dbdbfa2c22 since register_t is sometimes unsigned, cast to (long) to check >= 0. 2006-10-23 04:13:51 +00:00
mrg
7d429c305a use c99 initialisers. 2006-10-23 03:56:38 +00:00
pooka
27168fd0cc llib-puffs.ln 2006-10-23 03:23:53 +00:00
pooka
599a6bbb6c libpuffs_pic.a 2006-10-23 03:21:21 +00:00
mrg
6bb0c03185 use casts to properly truncate some assignments. (sparc64 gcc complained.) 2006-10-23 03:18:30 +00:00
christos
d6a795f6a8 put back the comparison in a lint friendly way to appease pooka. 2006-10-23 03:13:13 +00:00
dogcow
acba3dfe4b comment out comparison of unsigned expression to >= 0 2006-10-23 03:11:53 +00:00
christos
7ef97c92be use portable prints 2006-10-23 03:10:09 +00:00
pooka
594365ca6f puffs integration 2006-10-23 01:54:54 +00:00
pooka
718426155f still check for array bounds, fix off-by-one 2006-10-23 01:36:13 +00:00
christos
bc7a8f1f3d fix a lint warning. 2006-10-23 01:23:42 +00:00
pooka
69fe36da66 dtfs (*): a very simple in-memory file system providing an example on
how to use libpuffs

this is not installed into the binary distribution just yet

*) you can call it either "Delectable Test File System" or
"Detrempe File System", depending on what you think will result
in more puffing
2006-10-23 00:44:53 +00:00
christos
b6f6a56052 pass lint; fix install. 2006-10-23 00:22:24 +00:00
rjs
4b90889ec6 Regen. 2006-10-23 00:21:27 +00:00
rjs
e3925c8d0b Add Motorola MPC5200B host bridge. 2006-10-23 00:20:06 +00:00
christos
39a6c2fdf2 allow 0 sized structs in c9x 2006-10-23 00:15:58 +00:00
christos
5ffa3fb1be add zero sized array handling. It is a little too chatty now. 2006-10-23 00:10:29 +00:00
christos
25dc0b1687 add tests for zero sized arrays. 2006-10-23 00:09:37 +00:00
christos
d9b2ba3ddf use HOST_SH since make might not fork a shell for a simple command. 2006-10-23 00:08:54 +00:00
bjh21
8bb452f337 sec(4). 2006-10-22 23:52:19 +00:00
dogcow
8f7efdd62a add the .include <bsd.own.mk>, so .d and .o files don't end up in the CWD.
remove INCDIR=/usr/include, as my leenooks system doesn't have puffs .h files.
2006-10-22 23:51:37 +00:00
bjh21
c0f3f368d9 Document a couple of significant changes in 4.0. This should perhaps go
in "upgrade" rather than "whatis", but I'm not sure.
2006-10-22 23:49:37 +00:00
mrg
8d4305f309 regenerate mknative-gcc fies for GCC 4.1-20061021.
(some of these are not 100% tested yet, but they are have the
right changes as the tested platforms.)
2006-10-22 23:27:23 +00:00
pooka
de328e13dc regen for puffs
(and a few others.  seems like plenty of people remember to do this)
2006-10-22 23:03:48 +00:00
pooka
c1b5a38fea add puffs device, but I didn't add it to MAKEDEV all on purpose
just quite yet, too experimental
2006-10-22 23:02:08 +00:00
pooka
298096d245 puffs headers & libs 2006-10-22 22:57:36 +00:00
pooka
9d92bd9b4c "teach" about VT_PUFFS 2006-10-22 22:56:26 +00:00