Commit Graph

44044 Commits

Author SHA1 Message Date
kleink
7ccc52a0cc Add strtok_r(3) links. 1998-09-14 21:59:53 +00:00
kleink
dc895f2e20 Make makewhatis find strtok_r(3). 1998-09-14 21:35:34 +00:00
kleink
25d16c74e0 Install a link for strtok_r(3). 1998-09-14 21:34:43 +00:00
thorpej
dbebd9b148 Need 13 longs for jmp_buf; signal mask is 128 bits now.
XXX Actually, libc appears to use only 7 of the previous 10, so increasing
the size isn't actually necessary!  But there was a gap at the end before,
so we'll keep it.
1998-09-14 21:31:52 +00:00
kleink
1ec8fda77e Add a pointer to strtok_r(). 1998-09-14 21:31:31 +00:00
frueauf
c548010b99 Fix pr 5071 better after feedback from the Originator Havard Eidnes. 1998-09-14 21:23:07 +00:00
tv
148929222c Transition sparc platform to egcs. 1998-09-14 21:21:58 +00:00
hwr
cf70cc28c7 Typo. :( 1998-09-14 21:15:56 +00:00
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