Commit Graph

95214 Commits

Author SHA1 Message Date
jdolecek a4f9b6e45e s/are are/are/ 2002-04-01 11:19:41 +00:00
skrll db9c02a42c Add some information for cats. 2002-04-01 11:10:19 +00:00
skrll d2f69604af Add cats 2002-04-01 11:07:50 +00:00
jdolecek 04b7839d81 g/c, these are not used on NetBSD 2002-04-01 09:10:38 +00:00
jdolecek 3da0847227 Make work on FPU-less computers again - if FPU is not detected in
npxprobe1(), set npxdna_func to new npxdna_empty(). This function just
returns 0 and thus fallbacks to a T_DNA trap (and math emulate, if present).
This fixes kern/15828 by Masaru Oki, tested on 386DX machine.
Reviewed by Jason Thorpe.

make npxdna_s87() and npxdna_xmm() static
g/c (npx_type == NPX_NONE) test from npxdna_s87(), it's no longer needed
2002-04-01 08:11:56 +00:00
enami 89cf6e2727 Hold an extra reference if updating and args.fspec == NULL. 2002-04-01 07:51:58 +00:00
enami 101714165d Now linux_sigarray.c is included by newly created linux_signo.c. 2002-04-01 06:54:55 +00:00
ichiro 2288447a2e add more IDs of PRISM family 2002-04-01 02:46:47 +00:00
christos e356d686bb Fixes from enami:
- If VOP_ACCESS fails when updating mount, we will vrele() twice.

- The check for update-only flags in mp->mnt_flag when not updating
  case is bogus.  If we really want to check, we need to see flags in
  ufs_args, but I'm not sure if it is really necessary.

- The credential passed to ffs_reload was credential of when looking
  up mount point, but now it is credential of when looking up device
  node.  Anyway, it may be current process's credential.
2002-04-01 01:52:44 +00:00
thorpej 87a6b41211 Actually delete obsolete.arm32 this time. 2002-03-31 23:34:00 +00:00
christos f600368b8f Provide hooks for signal number to name translation, and use them for kill
and PSIG.

XXX[1]: This shows that signal emulation ktrace is slightly busted: posted
	signals should really be translated to the emulated ones instead of
	producing ktrace records with the signal numbers of the native
	emulation.
XXX[2]: There are other places where signal names can be displayed, but this
	is not done yet.
2002-03-31 22:44:03 +00:00
christos 840887afee bring the reverse signal mapping array into linux_signo.c 2002-03-31 22:40:16 +00:00
christos ac29fb3782 make signal array handling uniform, and put signal arrays in a separate
file. This is simular to errno array handling.
2002-03-31 22:22:43 +00:00
christos 83c2f7aaf5 compat signal array renaming. 2002-03-31 22:21:02 +00:00
agc 3387a6a54e Do the previous differently. Run through the possible ranges for uids in
the command line order, then check the default range after that, if none
has yet been found.

Prompted by Brian Poole <raj@cerias.purdue.edu>.
2002-03-31 21:31:10 +00:00
thorpej 2b6a9a289f * Add set lists for CATS.
* Remove obsolete obsolete.arm32
2002-03-31 21:13:24 +00:00
christos 919d9f5617 PR/16136: Chris Jepeway: Bogus entry in /etc/fstab can panic kernel. 2002-03-31 20:53:25 +00:00
bouyer bf5fb91f9c Fix typo in a comment. Reported by Alexander Yurchenko in private e-mail. 2002-03-31 19:47:39 +00:00
matt f599a9fd8d Some these reflect reality a bit more closely. 2002-03-31 18:18:23 +00:00
bjh21 fb69871067 Add mktemp as a host tool. 2002-03-31 18:11:50 +00:00
bjh21 58017a564d Add mkdtemp to libnbcompat, since glibc doesn't have it an mktemp(1) will
need it.
2002-03-31 18:04:11 +00:00
mjacob 9fff4c6833 Thanks to Jason Wright of OpenBSD- spotted that the offsets were all wrong
for bus_dmamap_sync calls. They'd been blindly ported from Solaris which
had *one* dma map for the entire control space, so offset was incremented
for the Request, Response and FC Scratch spaces. Tsk. There are three maps
in NetBSD. I should probably make them one anyway.
2002-03-31 17:56:54 +00:00
matt ee7a858980 Add some free inodes and add ra2/ra3. 2002-03-31 17:30:16 +00:00
matt e6f6b92da4 Sprinkle some .WAIT's 2002-03-31 17:27:43 +00:00
bjh21 008e9cfd5f Add 4k to ramdisk image. 2002-03-31 17:00:32 +00:00
bjh21 3f0d7066b3 Add a MAKESUMS variable which invokes makesums with CKSUM in its environment.
Use this whenever we want to invoke makesums.
2002-03-31 16:07:53 +00:00
bjh21 1050fe6ae0 Put boot26 in the installation/misc directory, since that's where it's
documented as being.
2002-03-31 16:02:30 +00:00
bjh21 85a0df2127 Remove a spurious crypto-related comment that should have gone long ago. 2002-03-31 15:49:58 +00:00
bjh21 080ea4721e Set CKSUM in the environment when calling makesums. 2002-03-31 15:49:20 +00:00
bjh21 fdfbb66f3a Use ${CKSUM} rather than cksum if the former's defined. 2002-03-31 15:17:58 +00:00
bjh21 c3e2abe891 Add CKSUM. 2002-03-31 15:01:39 +00:00
bjh21 c18727ccec MACHINE_ARCH can't be "arm26", so don't bother checking for that. 2002-03-31 14:59:04 +00:00
bjh21 8088602c68 Protect __RCSID and __COPYRIGHT from being invoked if not defined. 2002-03-31 14:43:22 +00:00
martin 3adb535884 Don't clear the adapt structure of the attaching channel - this nukes
all function pointers passed in from the adapter driver.

This partly fixes PR 13480, i.e. the FREECOM CD driver works now in pcmcia
adapters.

The remaining issue (timing problems with slow cards and cardbus bridges)
is probably the cause of several other PRs too.
2002-03-31 14:36:59 +00:00
bjh21 2e32db0aee Add cksum as a host tool. 2002-03-31 14:33:54 +00:00
bjh21 efc4b53dc6 Add the necessary bits to make cksum buildable as a host tool. 2002-03-31 14:30:20 +00:00
tron 5054a7de6d Back out revision 1.22:
- "ktrace/kdump/ktruss" need "enum uio_rw".
- "vmstat" needs "enum uio_seg".
- "ipf" needs "struct uio".
So there is nothing left which can be hidden.
2002-03-31 14:21:56 +00:00
bjh21 3eb7aa7171 In userland, use <sha1.h>, not <sys/sha1.h>. 2002-03-31 14:17:19 +00:00
bjh21 66392bd7be split /usr/include/sys/sha1.h and /usr/include/sha1.h completely.
future direction: nuke /usr/include/sys/sha1.h, it shouldn't be there as
we don't provide libkern to userland.

This mirrors the same change for md5.h made by itojun on 2000/12/11.
2002-03-31 14:12:37 +00:00
bjh21 45c48aceb2 Shuffle config.h #iffery so as to wrap the __RCSID, as is done in several
other files.
This makes the rmd160 code compile on Linux as part of libnbcompat.
2002-03-31 13:55:14 +00:00
martin a35450fe90 Backout previous. While it fixes half of the problem for me, it is not
the right fix.
2002-03-31 13:27:32 +00:00
bjh21 bcaedc129c Add the md[245], sha1 and rmd160 functions to libnbcompat, conditional on their
not being in the host libc.
This will be necessary to make cksum into a host tool.
2002-03-31 12:58:54 +00:00
bjh21 407daa978b Provide a default for PWD_MKDB. 2002-03-31 11:48:45 +00:00
jdolecek 3679b97e61 add some bound checking
patch submitted by IWAMOTO Toshihiro in kern/13112
2002-03-31 10:44:44 +00:00
jdolecek 23f67512e0 edc_cmd_wait(): it is absolutely necessary to wait for the BSR_CMD_INPROGRESS
flag to clear, even when the COMMAND COMPLETE interrupt already did happen,
  otherwise we get ATTENTION ERROR for next command if it happens soon
  enough; this fixes the reliability problems introduced by previous change

some other cleanup & simlify of edc_cmd_wait()/edc_run_cmd(), the 'secs'
  is just a hint used in !poll case only
add some comments
move status_block[] back to edc_mca_softc, to save stack memory
make #ifdef DEBUG #ifdef EDC_DEBUG and g/c some obsolete debug stuff
make some EAGAINs EIOs
edc_intr(): wakeup the waiter for any command, not just READ/WRITE DATA
2002-03-31 10:01:26 +00:00
lukem 9aa4b4fe5d Move tempfname[] to fillin_program_objs() (the only place that calls it),
and assign it before each use of mkstemp(3).
Problem noted by Ben Harris <bjh21@netbsd.org> in [toolchain/16140].
2002-03-31 08:02:08 +00:00
lukem 1cdb82d0a7 Use "r" instead of "r+" to popen(3), since the latter is not portable
and the I/O stream is only read from in any case. Problem noted and fix
suggested by Ben Harris <bjh21@netbsd.org> in [toolchain/16139].
2002-03-31 07:48:15 +00:00
matt 15bab55a0c These haven't been use for a long time. Move 'em to the attic. 2002-03-31 07:32:18 +00:00
matt a5b7362c83 Don't build boot.mop. Remove a redundant ${INSTALL_FILE} 2002-03-31 07:30:22 +00:00
martin 6d37025002 Establish/disestablish the interrupt handler when enabling/disabling the
controller - no matter if we are called from attach or not.
This makes my FreeCOM CD drive work at first attach (PR 13480).

Something is wrong with the detach code; it won't work on second attach
and will panic on second detach - but that has to wait until the kids
took care of some easter eggs.
2002-03-31 07:19:03 +00:00