hubertf
b850659285
Revert previous commit - just keep logfiles around, don't nuke them on
...
upgrades.
2006-09-30 22:50:41 +00:00
manu
c7242e7e9f
emove dead code (Coverity 4165)
2006-09-30 21:49:37 +00:00
manu
07b750b745
Fix memory leak (Coverity 4179)
2006-09-30 21:38:39 +00:00
manu
df69765a89
update the scripts for wrorking around routing problems on NetBSD
2006-09-30 21:22:21 +00:00
jld
af0234e90d
Remove erroneous boilerplate about VOP_POLL's return value (which was
...
already described correctly earlier in the paragraph).
2006-09-30 21:18:38 +00:00
jld
0ebf778b9d
The poll routine needs to return POLLERR on error, not an errno. Sorry
...
about that. Pointed out by Juergen Hannken-Illjes in mail.
2006-09-30 21:00:13 +00:00
elad
f831edb7d0
Some mdoc cleanup.
2006-09-30 20:14:53 +00:00
elad
b8a339347f
Implement the "device" scope.
...
It uses an authorization wrapper per device class on the system to
ensure type-safety.
For now, it supports only terminal (TTY) devices, and has two actions
for them: "open terminal" and "privileged set". Sample usage has been
added to i386 and hp300 code for reference.
Update documentation.
2006-09-30 20:05:57 +00:00
bjh21
e9030bd381
Move over to using the standard ARM bus_space implementation on acorn26.
...
This is more flexible than the old acorn26 bus_space, which means that single
read/write operations are slower, but multi and region operations have the
potential to be faster, and particularly insane podules might be supportable.
In theory the acorn32 mainbus and podulebus code ought to be shareable, but
acorn26 needs the extra overhead of saving R14_svc on some operations so
I've made my own version for now. Also the acorn32 bus_spaces are a mess.
2006-09-30 16:30:10 +00:00
manu
172675f3db
Reuse existing code for closing IKE sockets, and avoid screwing things by
...
setting p->sock = -1, which is not expected (Coverity 4173).
2006-09-30 16:14:18 +00:00
yamt
7e4975c5e3
don't use japanese for an identifier.
2006-09-30 16:14:00 +00:00
yamt
606f2d8add
wrap a long line.
2006-09-30 16:01:19 +00:00
itohy
f87d591722
A little effort against kernel bloat....
...
Exclude ATA DMA support if no ATA DMA capable drivers are compiled in.
2006-09-30 15:56:17 +00:00
yamt
883278d33e
whitespace.
2006-09-30 15:52:39 +00:00
manu
d5f44674f8
Do not free id and key, as they are used later
2006-09-30 15:51:42 +00:00
tsutsui
8e1de5f3ab
Unmap pmap region in bus_mapout() as well as sun3/sun3/bus_subr.c does.
2006-09-30 15:49:30 +00:00
yamt
04a8266e88
add ubc window hit/miss evcnts.
2006-09-30 15:38:06 +00:00
yamt
7e1b20a4cf
ubc_fault: check UVM_OBJ_NEEDS_WRITEFAULT.
...
fix an assertion failure in genfs_putpages when using msdosfs.
(http://mail-index.NetBSD.org/tech-kern/2006/09/27/0002.html )
reported and tested by Darrin B.Jewell.
2006-09-30 15:37:22 +00:00
bjh21
213f273e6a
Calls to bus_space_barrier() on acorn26 were very few and using constants that
...
were two generations obsolete. Since they do nothing anyway, remove them
rather than trying to update them.
2006-09-30 15:14:21 +00:00
yamt
a1810bc6fe
yamt-splraiseipl: landisk, pdp10
2006-09-30 14:19:20 +00:00
tsutsui
5237db51b1
Update a comment and some cosmetics.
2006-09-30 13:57:00 +00:00
tsutsui
13be5e3419
cosmetics
2006-09-30 13:54:53 +00:00
tsutsui
68219aadd9
- move m68k common stuff from files.sun2 to files.sun68k
...
- use common dev/sun/disksubr.c
2006-09-30 13:43:08 +00:00
tsutsui
aa54c659e7
Move declarations of mainbus_dma_tag and mainbus_space_tag
...
to <sun68k/autoconf.h>.
2006-09-30 13:37:32 +00:00
yamt
736aff4e32
yamt-splraiseipl: hpcsh
2006-09-30 12:58:31 +00:00
elad
5ec8c535f2
PR/34648: Nino Dehne: Kernel panic when using NFS root and configuring an
...
interface that needs firmware
Firmload routines were using FSCRED, which in this case would get to the
NFS code and dereferenced, resulting in a panic. Use the credentials from
the LWP instead.
2006-09-30 12:47:32 +00:00
yamt
11ac1566d0
- KERNEL_LOCK_ASSERT_LOCKED: check cpu_biglock_count as well.
...
- implement KERNEL_LOCK_ASSERT_UNLOCKED.
2006-09-30 11:59:37 +00:00
yamt
3606cbeb14
constify ttydefchars.
2006-09-30 11:58:44 +00:00
pavel
338033d1c7
revert change of default shell, reguested by agc@.
2006-09-30 11:47:00 +00:00
elad
53ca07b4d7
If Veriexec enforces access type, don't allow mmap() to use PROT_EXEC on
...
files that don't have the "indirect" flag. Also change the "library" alias
in veriexecctl(8) to mean "file, indirect".
okay blymn@
2006-09-30 10:56:31 +00:00
pavel
4d8dbf3bf0
Change the default shell to /bin/ksh, which is our best interactive
...
shell at the moment. Proposed on tech-userlevel and approved by hubertf@.
2006-09-30 10:50:32 +00:00
pavel
3b850c18c8
in userinfo, initialize buf (the buffer which will hold group names)
...
to be a null-terminated string. Otherwise, if the user is not a member
of any secondary groups, buf is completely uninitialized and userinfo
adds garbage to the list of groups printed.
2006-09-30 10:44:55 +00:00
yamt
3545644943
more todo.
2006-09-30 09:07:45 +00:00
yamt
1da8d3a36e
note what's this.
2006-09-30 09:03:19 +00:00
yamt
a5c3459e65
implementations of some replacement algorithms for comparison.
2006-09-30 09:00:00 +00:00
yamt
2ebf73755e
a script to modify a list so that it uses small numbers as far as possible.
...
useful when feeding real world examples into a hackish code like lirs.c
which can't handle large numbers.
2006-09-30 08:57:17 +00:00
yamt
adf92c530f
implementations of some replacement algorithms for comparison.
2006-09-30 08:50:32 +00:00
yamt
538ff1a080
an artificial access pattern generator.
2006-09-30 08:48:17 +00:00
yamt
94330f3fe8
a simple program to test uvm_pdpolicy_*.c in userland.
2006-09-30 08:47:39 +00:00
tsutsui
19aaf84f7e
Mention that m68k and mips has been switched to GCC4.
...
(They will be moved to CHANGES.prev once after pulled up to netbsd-4)
2006-09-30 04:07:27 +00:00
seanb
dfb8aa55d3
- Avoid array overrun in kfilter_byname_user() when all user
...
kfilter slots are used: no guarantee previously that last
slot had a NULL name.
- Reuse previously deregistered user kfilter slots in
kfilter_register().
2006-09-30 02:39:18 +00:00
macallan
18bbc9e1d3
mention ofctl(8) and timecounter on macppc
2006-09-30 01:09:07 +00:00
cube
55269b80c3
Grab a couple of lines from OpenSSH-portable that allow PAM authentication
...
to succeed. I guess the default configuration of NetBSD wasn't tested
before the import...
2006-09-29 22:47:21 +00:00
macallan
ed1eed3512
add timecounter support, mostly from prep.
2006-09-29 22:20:08 +00:00
manu
efb59e1b32
Fix the fix: handle_recv closes the socket, so we must call com_init before
...
sending any data.
2006-09-29 21:39:35 +00:00
cube
86f0ff14cc
Regen.
2006-09-29 20:49:48 +00:00
cube
a556b65796
Add ids of devices found in the nForce 570 chipset.
...
Add GeForce 6200LE.
2006-09-29 20:48:41 +00:00
apb
9eda896a8f
Use ${HOST_SH}, not just sh, in the shell command to set MAGDIRF.
2006-09-29 20:20:47 +00:00
apb
9a724f1a2d
Use ${HOST_SH} instead of the host system's /bin/sh wherever possible:
...
* Don't use GROFF_CSH_HACK. It would change the "#! /bin/sh" to just
":", and this causes trouble for some shells. For example, if
CONFIG_SHELL=/bin/ksh, when the groff build uses ${CONFIG_SHELL} to
run a script that has been modified in this way, ksh sees the ":" and
decided to run the script under /bin/sh instead.
* Use SH_SCRIPT_SED_CMD="1s,/bin/sh,${CONFIG_SHELL},"
to edit the "#! /bin/sh" line, to ensure that scripts
are always run under the correct shell.
2006-09-29 20:19:40 +00:00
apb
9130d905da
Use ${HOST_SH} instead of the host system's /bin/sh wherever possible:
...
* Pass MAKE and CONFIG_SHELL in the environment to configure scripts
that are run as part of the gcc3 and gcc4 build.
2006-09-29 20:14:10 +00:00