christos
e55e1f1e31
more lint tests
2011-12-25 20:15:34 +00:00
christos
7ae009b5a7
fix the grammar conflict differently.
2011-12-25 20:11:22 +00:00
tsutsui
cabc3353b8
Apply fix for previous changes per request from joerg@:
...
http://mail-index.NetBSD.org/source-changes-d/2011/12/25/msg004454.html
XXX1: More Makefiles should be fixed otherwise they will be
copy-and-pasted blindly again and again.
XXX2: Probably we need more explicit and simple macro to check active CC.
2011-12-25 12:32:36 +00:00
kiyohara
66f37ec687
Fix TLB-miss. Don't overwrite t0 before use.
2011-12-25 11:51:15 +00:00
martin
2b85f983a6
Enable cgd(4)
2011-12-25 10:37:14 +00:00
tsutsui
136e07fed5
Note libsa ext2fs ls command support from Evgeniy Ivanov.
2011-12-25 06:25:13 +00:00
tsutsui
c2e8ce644b
Apply the following patch submitted by Evgeniy Ivanov:
...
http://mail-index.NetBSD.org/tech-kern/2011/12/15/msg012226.html
http://mail-index.NetBSD.org/tech-kern/2011/12/17/msg012229.html
- add 'ls' op to struct fs_ops to support ls command on each fs,
enabled by -DLIBSA_ENABLE_LS_OP and SAMISCMAKEFLAGS+="SA_ENABLE_LS_OP=yes"
in libsa
- split sys/lib/libsa/ufs_ls.c into UFS specific part and MI part (ls.c)
that opens the target fs and calls fs-depedent XXX_ls() functions
- add a ls op for ext2fs
(all other fs than ufs and ext2fs don't have actual ls ops yet)
- replace existing MD ufs_ls() calls with this new MI ls()
The original patch was written for i386 and ext2fs.
zaurus zboot has been tested by nonaka@.
ews4800mips and x68k loaders have been tested by me (with several fixes).
landisk might be okay since it was almost copied from i386.
XXX1: "ls" op in fs_ops looks a bit inconsistent, but we will be able to
replace it with real fs ops like readdir if it's really worth
XXX2: someone might have to check sys/arch/ia64/stand/efi/libefi/efifs_ls.c
2011-12-25 06:09:08 +00:00
christos
8e9c1fd326
PR/45736: Michael van Elst: setting kern.maxvnodes may lock up
...
Clamp the number of elements to the max possible if exceeded
2011-12-25 02:23:09 +00:00
christos
8af1345344
correct debugging flags.
2011-12-25 01:05:44 +00:00
christos
1e73d755b4
PR/45666: Nicolas Joly: lint(1) wrong 'syntax error' message
2011-12-25 01:05:03 +00:00
christos
cc595d81e1
avoid reusing inet_addr twice.
2011-12-24 23:54:26 +00:00
christos
ff4773faf5
PR/45662: Henning Petersen: Overlapping buffer in lpd_command.c
2011-12-24 23:51:27 +00:00
christos
9feffc5f5a
PR/45661: Henning Petersen: Overlapping buffer in route.c.
2011-12-24 23:48:17 +00:00
christos
c232e0a0bd
make len unsigned; -1 will turn into a large number, failing the test.
2011-12-24 23:46:11 +00:00
christos
0e0461c781
check also for overflow
2011-12-24 23:42:30 +00:00
christos
21f928d30f
Don't repeat what we just printed.
2011-12-24 23:38:43 +00:00
christos
588171e07d
PR/45660: Henning Petersen: Overlapping buffer in catman.c.
2011-12-24 23:29:32 +00:00
christos
cc349219b4
PR/45739: Moritz Wilhelmy: top(1) segfaults on WINCH with unknown terminal
2011-12-24 22:29:48 +00:00
christos
47b488844e
missing comma
2011-12-24 20:18:54 +00:00
christos
de766f5829
use the names from the include files.
2011-12-24 20:18:35 +00:00
christos
47e057d110
add ICMP_STRINGS, a few more missing constants.
2011-12-24 20:08:39 +00:00
christos
dfe558e7b1
put the histograms last and make them autosize (breaks compat with netstat).
2011-12-24 19:54:41 +00:00
christos
3f3e7f29e5
fix whitespace only
2011-12-24 19:54:13 +00:00
christos
6176e65815
add SKIP, fix PHOTURIS codes
2011-12-24 19:53:50 +00:00
reinoud
4157591bf9
Make signals work for NetBSD/usermode[i386] !
2011-12-24 12:26:58 +00:00
reinoud
4225654626
Implement cpu_getmcontext() and cpu_setmcontext()
2011-12-24 12:23:24 +00:00
tsutsui
7407a6d451
Note libc/net/Makefile.inc hostname lookup -fno-tree-ter hacks for gcc 4.5 arm.
2011-12-24 05:05:55 +00:00
tsutsui
d1ac98d51b
Specify "-fno-tree-ter" to getaddrinfo.c and gethnamaddr.c on arm and gcc45
...
for workaround of a possible optimazation bug.
On my W-ZERO3 and Zaurus, hostname lookup against CNAME by some commands
(ping(8), ftp(1) etc.) fails even though nslookup(8) returns a proper name
against the same CNAME, after NetBSD/arm ports has been switched to
gcc 4.5 since 201110311420Z (i.e 201110310000Z binaries worked but
201111010000Z ones not).
Building getaddrinfo.c and gethnamaddr.c in libc with "-O2 -fno-tree-ter"
(or using objects built by old gcc 4.1) seems to fix this issue.
Accroding to nonaka@, the following gcc bugzilla test case also fails
with -O2 but works with -O2 -fno-tree-ter on NetBSD/zaurus 5.99.57:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48863#c4
but CNAME lookup didn't fail on his environment even without this workaround.
2011-12-24 04:59:00 +00:00
macallan
a988027abf
don't put alpha values in a variable named alpha since alpha doesn't like
...
variables conflicting with platform names
( just in case someone figures out how to stick an sm50x into an alpha )
2011-12-24 02:28:50 +00:00
macallan
b7781c972a
rename alpha variable to avoid conflict with a platform macro on alpha
2011-12-24 02:13:21 +00:00
jmc
a8fd378f8a
Include the ICMP_PHOTURIS error codes if we're going to define ICMP_PHOTURIS
2011-12-23 22:03:00 +00:00
rmind
32d19c916b
Amend previous.
2011-12-23 20:53:31 +00:00
rmind
40947a78e4
Sync with reality a little.
2011-12-23 20:51:50 +00:00
christos
72ba32522f
make ICMP_MAXTYPE 18 again to unbreak stats.
2011-12-23 19:08:50 +00:00
christos
1e34420a70
there is a macro for that, use it.
2011-12-23 16:56:54 +00:00
christos
b49426a4b0
Avoid buffer overflow, reported by Colin Percival at FreeBSD
2011-12-23 16:48:16 +00:00
skrll
8d30f00ce9
Whitespace.
2011-12-23 16:38:50 +00:00
skrll
ef7ea2cdf4
Define PMAP_NEED_PROCWR and provide pmap_procwr so that the i-cache is
...
synchronised with the d-cache appropriately.
2011-12-23 16:35:00 +00:00
christos
209e832a68
add missing icmp types.
2011-12-23 15:31:16 +00:00
tsutsui
bf759fcc29
- use correct ASID bits in MIPS_COP_0_TLB_HI
...
- save/restore current PID in tlb_invalidate_all() and cpu_switch_resume()
as mipsX_subr.S does
2011-12-23 10:01:33 +00:00
tsutsui
99b79ff6ee
Remove UCB clause 3.
2011-12-23 05:06:19 +00:00
tsutsui
b25081130c
Add a default for isibootd(8). Pointed out by nonaka@.
2011-12-23 05:05:04 +00:00
sjg
25e3dfbf18
Mention limits of :P
2011-12-23 05:01:59 +00:00
jakllsch
71fd84843e
Revert previous due to active usbmp branch(es).
2011-12-23 00:51:43 +00:00
jakllsch
7f2b9b9ad4
Adjust-away inconsistent and trailing whitespace.
2011-12-22 20:06:59 +00:00
tsutsui
71bf9b8ae5
Adjust for function merge and move.
2011-12-22 15:50:37 +00:00
tsutsui
17abcf4f77
Remove fuction declarations of m68881_restore() and m68881_save().
...
They are in <m68k/m68k.h>.
2011-12-22 15:47:15 +00:00
tsutsui
b417004b5f
Merge m68881_save() and m68881_restore() (using most common mvme68k ones).
...
All functions are checked by my eyes, and all GENERIC kernels compile.
2011-12-22 15:33:28 +00:00
tsutsui
a894edf538
Remove obsolete header.
2011-12-22 15:07:08 +00:00
tsutsui
aef9b29589
No need to include <m68k/softintr.h>.
...
Old softintr(9) was superseded by MI softint(9).
2011-12-22 15:06:17 +00:00