Commit Graph

43486 Commits

Author SHA1 Message Date
tv ff03cd6580 Document %ll[diouxX] as requested by <bgrayson@ece.utexas.edu> in PR
standards/3527.  Also describe the argument to such a format as "quad_t",
not "quad int".
1998-09-14 21:10:18 +00:00
hwr 517139017e Some additions.
And IDPR-CMTP is 38 not 39 according to IANA.
1998-09-14 21:09:51 +00:00
pk 99cd371c60 Fix copyout() argument switch. 1998-09-14 21:05:46 +00:00
pk b1a2d338c9 Fix copyout() arguments. 1998-09-14 21:03:59 +00:00
tv 5426fd2771 __RENAME() the libcompat regexp routines so they will not be used by
programs that want -lcompat but use POSIX regex.  Inspired by
<david@mono.org> in PR bin/1849.
1998-09-14 20:25:02 +00:00
tv 850ab15c3b Nix "Login %s is off but still has a valid shell" warning for 20-character
encrypted passwords generated by the NEWSALT option to passwd(1).
1998-09-14 19:42:42 +00:00
tv bb19dacbf2 Increase "keylength" to 32, inspired by <prlw1@newn.cam.ac.uk> in PR
bin/5415.  This will not be a significant performance hit, but allows
LOCALID keywords up to 32 characters long.
1998-09-14 18:36:07 +00:00
tv 52c5bfaee0 Disable rc.lkm by default. This has the nontrivial, hidden effect that if
rc.lkm is run, and BIND is used to resolve names, the BEFORENET stage of
rc-calling-rc.lkm will hang trying to mount a nfs /usr.
1998-09-14 18:22:20 +00:00
thorpej e30eafbbc6 Need 29 longs for jmp_buf now; signal mask is 128 bits. 1998-09-14 18:06:01 +00:00
tv 1b8fb38794 Add -t (totals) option as requested by <mrg@eterna.com.au> in PR bin/6133.
Note that -w (warn on non-object archive members) is the libbfd default;
accept the option silently for compatibility.
1998-09-14 18:01:46 +00:00
tv 9f8406c6b8 Remove objcopy from all builds until it can be used on all systems.
strip(1) is a specialized objcopy, and has an equivalent on systems which
cannot yet use binutils.
1998-09-14 17:49:21 +00:00
garbled 5c4c28f2c8 Document LDFLAGS in bsd.pkg.mk. Also, CFLAGS wasn't documented so I
threw that one in as well.
1998-09-14 17:33:01 +00:00
tv fe75b89f93 Nuke stdio.h's P_tmpdir and explicitly try /tmp after the environment
variables if hosted under NetBSD.  Inspired by <tsutsui@ceres.dti.ne.jp>
in PR bin/5700.
1998-09-14 17:19:35 +00:00
tv 8f7ed4aa27 Restrict -l to the superuser as suggested in PR 3973 from <soren@t.dk>.
Also distinguish "-f" from "-i 0.x" in the superuser restriction messages.
1998-09-14 17:08:55 +00:00
phil 86c53e4e63 /dev/cfs* for Coda. 1998-09-14 16:06:27 +00:00
phil 567df41ca2 Add /dev/cfs* for Coda. 1998-09-14 16:04:10 +00:00
leo d8ea31db0f Improve initialisation of the Crazy Dots card. (Julian Coleman) 1998-09-14 14:25:38 +00:00
tv b6b7269733 Nuke the termios stuff from the 1997/03/11 import, which prevents ping
from being run in the background of most shells without redirecting stdin
from /dev/null.  (AFAICT, the termios stuff is useless and does not
interfere with SIGINFO handling.)
1998-09-14 12:52:47 +00:00
frueauf 988c143116 Add (ugly?) code to prevent core dump as described in pr 5071 by Havard Eidnes.
XXX Maybe someone with more taste and understanding should have a look
XXX at this? At least I prefer this over the solution provided in the pr.
1998-09-14 11:52:21 +00:00
leo e325a47307 Fix "unused variable `c'" warning. (From Julian Coleman) 1998-09-14 11:50:59 +00:00
kleink 4048e12f31 Add wrappers around mutex and rwlock run-time initialization. 1998-09-14 11:03:05 +00:00
pk 0a46abfd42 Collect redundant code into cpu_setup(). 1998-09-14 10:37:12 +00:00
hwr bc8eeb32a3 Add greconfig and manpages to distribution. 1998-09-14 09:51:01 +00:00
pk b1b69e4195 Fix cache bit confusion in pmap_alloc_cpu(). 1998-09-14 09:46:11 +00:00
hubertf bd946d241e constify (PR#6151, once more by Joseph Myers <jsm28@cam.ac.uk>) 1998-09-14 09:30:57 +00:00
hubertf 006cc8ac96 return error on errors (PR#6147 by Joseph Myers <jsm28@cam.ac.uk>) 1998-09-14 09:29:08 +00:00
hubertf 4e4187282a constify, as per PR#6136 by Joseph Myers <jsm28@cam.ac.uk> 1998-09-14 09:13:46 +00:00
thorpej ea77978921 Fix typo in previous, and also don't version _setjmp/_longjmp; after
more careful analysis, I realized that they don't access the extended
jmp_buf data area, and thus would not have changed.
1998-09-14 07:27:08 +00:00
thorpej f09a4dc257 Version setjmp(), longjmp(), _setjmp(), _longjmp(), sigsetjmp(), and
siglongjmp().  The size of struct sigcontext, and thus the size
of jmp_buf and sigjmp_buf on some platforms, has changed.
1998-09-14 07:10:53 +00:00
jonathan 0b09668693 Fix typos in signal rework (sc.regs -> sc-regs, rege -> regs). 1998-09-14 07:04:06 +00:00
ross 68c92cf43b Descend into libbz2. 1998-09-14 06:39:53 +00:00
ross 381c357cf0 distrib bzlib.h and more libbz2 pieces 1998-09-14 06:13:36 +00:00
ross cb634251ae Distribute libbz2. 1998-09-14 06:09:27 +00:00
thorpej a4a356f9a6 Need 83 longs for a jmp_buf now. 1998-09-14 06:07:29 +00:00
ross 4ef30e719d Add bzip2 files and links. 1998-09-14 06:06:23 +00:00
scottr 0af57c2461 Correct a serious problem that affects at least front ends that can only
use PIO (or equivalent) code to do asynchronous transfers:  In
ncr5380_scsi_cmd(), test to see if the request has been completed after
the call to ncr5380_sched(), and return COMPLETE if so.  This avoids
going into an infinite loop in scsipi_execute_xs() while waiting for an
interrupt to trigger completion of the transfer... which, of course,
never happens, since it's already done.
1998-09-14 05:56:14 +00:00
scottr f2c6836685 Fix a problem uncovered when we started to use the pool allocator to manage
scsipi_xfer structures.

When scsipi_execute_xs() calls the driver's scsi_cmd function, it assumes
that it can still dereference a pointer to the scsipi_xfer struct.  Since
scsipi_done() has already been called, which in turn has called
scsipi_free_xs(), the struct has already been returned the structure to
the pool!  In other words, xs->flags has been compromised, but we are still
testing it.

These changes resolve the problem by doing the following:

- In scsipi_execute_xs(), if the hardware driver's scsi_cmd function
  returns SUCCESSFULLY_QUEUED, set a new flag (SCSI_ASYNCREQ) in xs->flags.
  Since the request will be handled asynchronously, we will need the
  scsipi_xfer struct to be freed in scsipi_done().

  If the hardware driver's scsi_cmd function returns COMPLETE, we now
  simply return any actual errors, or 0 if none occurred.  (Previously,
  we may have returned EJUSTRETURN, of which the sole effect was to
  avoid freeing the scsipi_xfer struct in our caller.)

- In scsipi_done(), only free the scsipi_xfer struct for async requests.
  The contents of the struct will otherwise remain valid until the
  function that initiated the transfer frees it.

With this change, responsibility for freeing the struct now lies in two
places, depending on the type of the request:

- For synchronous requests, the routine calling scsipi_execute_xs()
  must clean up.

- For asynchronous requests, scsipi_done() cleans up (as it always has).

[Note:  this change also corrects a problem with sddump():  scsipi_done()
was attempting to return a static scsipi_xfer struct to the pool!  Since
dumps are performed synchronously, we now handle this correctly.]

This solution was provided by Jason Thorpe, after I got him to look at
some related (but insufficient) attempts of my own.
1998-09-14 05:49:21 +00:00
scottr 10640f1bfc Fix a problem uncovered when we started to use the pool allocator to manage
scsipi_xfer structures.

When scsipi_execute_xs() calls the driver's scsi_cmd function, it assumes
that it can still dereference a pointer to the scsipi_xfer struct.  Since
scsipi_done() has already been called, which in turn has called
scsipi_free_xs(), the struct has already been returned to the pool!  In
other words, xs->flags has been compromised, but we are still testing it.

These changes resolve the problem by doing the following:

- In scsipi_execute_xs(), if the lower-level driver's scsi_cmd function
  returns SUCCESSFULLY_QUEUED and SCSI_NOSLEEP is set in xs->flags, set a
  new flag (SCSI_ASYNCREQ).  This indicates that scsipi_done() should free
  the scsipi_xfer struct.

  If the lower-level driver's scsi_cmd function returns SUCCESSFULLY_QUEUED
  but SCSI_NOSLEEP is not set, we wait (via tsleep()) for the request to
  complete, then fall through to the COMPLETE case.

  If the lower-level driver's scsi_cmd function returns COMPLETE, we now
  simply return any actual errors, or 0 if none occurred.  (Previously,
  we may have returned EJUSTRETURN, of which the sole effect was to
  avoid freeing the scsipi_xfer struct in our caller.  No code seems
  to depend on this behavior, however.)

- In scsipi_done(), only free the scsipi_xfer struct for async requests.
  The contents of the struct will otherwise remain valid until the
  function that initiated the transfer frees it.

With this change, responsibility for freeing the struct now lies in two
places, depending on the type of the request:

- For synchronous requests, the routine calling scsipi_execute_xs()
  must clean up.

- For asynchronous requests, scsipi_done() cleans up (as it always has).

[Note:  this change also corrects a problem with sddump():  scsipi_done()
was attempting to return a static scsipi_xfer struct to the pool!  Since
dumps are performed synchronously, we now handle this correctly.]

This solution was provided by Jason Thorpe, after I got him to look at
some related (but insufficient) attempts of my own.
1998-09-14 05:49:20 +00:00
ross c7c3a68ca1 Fix MLINKS. Define LDADD and DPADD. 1998-09-14 05:34:41 +00:00
marc 34b14f2e9e remove the sortlist line preferring nasa's nameservers. Sorry jason :-) 1998-09-14 05:05:44 +00:00
ross 51ecc07eb9 NetBSD rcs id keyword. 1998-09-14 04:42:45 +00:00
ross 28e76b2580 Add NetBSD-specific Makefile. 1998-09-14 04:42:21 +00:00
ross e4cac751bf Initial import of bzip2-0.9.0b from Julian Seward. 1998-09-14 04:27:53 +00:00
ross 382f00edd8 Document noasync and nosync.
Clarify the meaning of sync.
Run all the -o keywords through the Cm (keyword emphasis) macro.
1998-09-14 03:48:30 +00:00
ross 43b9fa8f01 New files specific to the NetBSD libbz2. 1998-09-14 03:18:12 +00:00
ross cede6f3c99 More rcs id keywords. 1998-09-14 03:13:53 +00:00
ross ec61451f99 Adding NetBSD rcs id keywords. 1998-09-14 03:08:17 +00:00
ross 6610fc2af7 Initial import of bzip2-0.9.0b from Julian Seward. 1998-09-14 03:01:19 +00:00
thorpej 27f3588d7b oops, missed one. 1998-09-14 02:50:12 +00:00
thorpej cbfc257eda sigset13_t -> int. 1998-09-14 02:48:33 +00:00