soren
e426c0fac8
Following FreeBSD's example, remove the old pre-statfs(2) code for
...
examining FFS filesystems directly. This also gets rid of df(1)'s
setgid operator bit.
2002-08-02 08:17:12 +00:00
soren
819df08c48
stat(2) can return ENXIO.
2002-08-02 08:08:26 +00:00
itojun
73811081f9
correct use of strlcpy (really need to enforce length, so use memcpy)
2002-08-02 08:02:36 +00:00
bouyer
36969486b0
Add yet another broken sony cdrom. This one, in addition to broken LUN
...
handling, has broken sync negotiation. Also add PQUIRK_NOWIDE to be safe.
Fix PR kern/17773.
2002-08-02 08:00:36 +00:00
itojun
463bfdcd98
use strlcpy where appropriate
2002-08-02 07:50:35 +00:00
tshiozak
19debadf5c
fix a bug of setlocale when changing locales with LC_ALL for the first
...
argunemt and with a string containing many slashes for the second argument.
This bug may cause setlocale() to destroy static datas.
If a setuid program calls this function as 'setlocale(LC_ALL, "");',
this might be vulnerable, although there are few programs having such
vulnerability. This bug probably affects every versions of NetBSD,
including 1.4, 1.5 and 1.6.
XXX: This part of setlocale is unseemly, thus we had better rewrite it in
the future.
2002-08-02 07:12:51 +00:00
thorpej
c070073d8e
Add support for xor2, xor3, and xor4. Fix inverted direction
...
indications in some bus_dma operations.
2002-08-02 06:52:16 +00:00
thorpej
5eb844a0f7
Document "xor2", "xor3", and "xor4".
2002-08-02 06:50:05 +00:00
thorpej
32ff91814a
Add "xor2", "xor3", and "xor4" function names, which perform an
...
XOR on 2, 3, and 4 input streams, respectively.
2002-08-02 06:45:40 +00:00
thorpej
add44d0f41
Fix a signed/unsigned botch that broke an error recovery path.
...
(I could have sworn I fixed this bug over a week ago...)
2002-08-02 06:35:59 +00:00
mrg
81cda3082a
fix PR#11945 Tyler Retzlaff <rtr@wasabisystems.com>:
...
>The reason this occurs is because of left over scum in unused partition
>table slots for host system parts. This should clean it up.
2002-08-02 05:38:18 +00:00
ichiro
2543e04449
chenge comment for wi(4)
...
- add vender Intersil
2002-08-02 05:26:44 +00:00
grant
0b81a2c68e
set root partition default bsize and fsize.
2002-08-02 05:11:29 +00:00
soren
f7f75af9c5
Make NAMEI_DIAGNOSTIC compile.
2002-08-02 04:49:35 +00:00
grant
f4e0ef0aad
allow unsetting of mountpoints in disklabel editor.
...
partially addresses install/17801.
2002-08-02 04:08:47 +00:00
simonb
cb9c117389
Don't set BINOWN if using the default BINMODE.
2002-08-02 04:05:13 +00:00
oster
d64a7f44ce
- AuxFunc is no longer used.
...
- cleanup function prototypes in rf_diskqueue.h
2002-08-02 04:01:51 +00:00
simonb
8cd68a2ff9
Setting BINMODE=555 is redundant, as is setting BIN{OWN,GRP} of we're
...
using the default BINMODE.
2002-08-02 03:58:09 +00:00
oster
5dcdb1e4d9
It appears that nothing is using rf_CreateDiskQueueDataFull. Make it even
...
harder to do so by removing it.
2002-08-02 03:55:13 +00:00
oster
475b3447d1
Bye-bye to the memchunk files.
2002-08-02 03:48:14 +00:00
oster
8ffec04f7c
rf_memchunk.c is no longer needed.
2002-08-02 03:47:48 +00:00
chs
810cde53cc
use a completely separate trap handler for syscall traps.
...
this reduces syscall overhead by 10% to 20% depending on cpu type.
2002-08-02 03:46:42 +00:00
oster
752e8eb5c8
- remove "#include "rf_memchunk.h"
...
- nuke the call to rf_ConfigureMemChunk() from rf_driver.c
2002-08-02 03:42:33 +00:00
oster
fcc4232f71
Nuke stuff dealing with the experimental memChunk code. It's unused, and
...
currently only contributing to bloat.
2002-08-02 03:32:56 +00:00
christos
346b4189a5
utmpx support.
2002-08-02 03:06:24 +00:00
christos
4be5fa5155
no need to include utmp everywhere.
...
add utmpx support
2002-08-02 02:52:07 +00:00
christos
bdb7464e61
oops reversed argument order.
2002-08-02 02:49:27 +00:00
christos
1bf7077704
welcome to the 20th century; use logwtmp{,x}; don't write to /var/adm/wtmp!
2002-08-02 02:47:58 +00:00
christos
b166b5b47b
use utmpx.
2002-08-02 02:38:15 +00:00
christos
d116a0bbd3
add utmpx support;
2002-08-02 02:23:49 +00:00
christos
3fd7285df0
Don't include utmp.h
2002-08-02 02:13:46 +00:00
thorpej
58983a92ba
Let the "zero" and "fill8" functions share a bunch of code.
2002-08-02 02:08:11 +00:00
christos
8e5a0987a4
support utmpx
2002-08-02 02:07:09 +00:00
christos
c020d65e19
utmpx support.
2002-08-02 01:52:13 +00:00
thorpej
2952a59281
Add dmoverio(4) manual page.
2002-08-02 01:33:07 +00:00
thorpej
e1ea50db07
Add dmover(9) manual pages.
2002-08-02 01:31:06 +00:00
oster
f8388364aa
- remove memChunkEnable as an arg to InitHdrNode
2002-08-02 01:15:22 +00:00
thorpej
0cb8f6797b
Fix a typo which caused the wrong register to be updated when
...
the media is not full-duplex.
2002-08-02 01:12:32 +00:00
thorpej
cb163e72e4
Regenerate; added dmoverio.
2002-08-02 00:51:53 +00:00
thorpej
f7328ddbe7
Add dmoverio.
2002-08-02 00:50:25 +00:00
thorpej
180cb7b5c0
Regenerate; added dmoverio.
2002-08-02 00:48:28 +00:00
thorpej
6f79106887
Add dmoverio.
2002-08-02 00:45:37 +00:00
thorpej
a564ee723c
Manual page for pseudo-device access to hardware-assisted data movers.
2002-08-02 00:43:12 +00:00
thorpej
d09e51c588
Manual page for hardware-assisted data mover interface.
2002-08-02 00:41:53 +00:00
thorpej
321a514c93
Grr, RCS ID tag typo.
2002-08-02 00:36:38 +00:00
thorpej
036da55e8f
Add support for the Intel i80321 I/O Processor's Application Accelerator
...
Unit. The AAU provides block fill, block copy, XOR, and XOR-parity-check
operations. We currently provide dmover(9) functions for "zero", "fill8",
and "copy".
Much of this code can be shared with the i80312 Companion I/O AAU, and
will be when support for the older chip is implemented.
2002-08-02 00:35:47 +00:00
thorpej
d038c91c0c
Delete all the AAU register definitions; they are moved to a separate
...
file in a future commit.
2002-08-02 00:33:29 +00:00
thorpej
07977672c8
Add dmover(9) glue.
2002-08-02 00:32:12 +00:00
thorpej
ff8c9fb45c
Grr, fix typo in RCS ID tag.
2002-08-02 00:31:35 +00:00
thorpej
5d06c0e812
dmover(9) -- an interface to hardware-assisted data movers. This allows
...
clients to use a hardware-assisted data mover to clear a region of memory,
fill a region of memory with a specific value, copy a region of memory,
and perform simple boolean operations such as XOR on multiple regions
of memory.
Included here is a software back-end which can serve as an example of
how to write a back-end (and also provides a fall-back in case hardware
for a given function is not available), as well as a dmoverio(4) pseudo-
device which provides access to dmover(9) to userland via a message
passing interface.
dmover(9) is still a work-in-progress -- a few minor changes to the
interface are expected.
2002-08-02 00:30:37 +00:00