Commit Graph

43128 Commits

Author SHA1 Message Date
Julian Elischer
86079f581f Add explicit null entries for new entrypoints.
Forgotten by: Archie
1999-12-01 09:34:14 +00:00
Julian Elischer
d0fef8084f change intial timeout for session negotiation from 1 to 2 seconds.
One second was being hit too many times in normal situations.
1999-12-01 08:05:56 +00:00
Warner Losh
e09f49b6fa Fix the hang on card eject problem and maybe the hang on suspend
problem.

o Create new timeout routine so we don't detach the card inside a ISR
  but instead drop back to spl0 via a timeout of 0.
o Actually delete the child of the pccard device rather than just faking
  it badly.
o Fix sio, ed and ep to have pccard detach routines that are int rather
  than void.
o Fix ep and ed pccard detach routines to use if_detach rather than just
  if_down.  if_detach destroys the device, while if_down just marks it
  down.  In this incarnation of the pccard things, we map the disable
  the slot action to detach the driver, which removes the driver from the
  device tree.  When that is done, a panic would soon follow as the
  ifconfig tried to down the device.

Didn't fix:
o Should cache the pccard dev child's pointer in struct slot
o remove now unused parts of struct slot
o Any driver using softc after detach has been called.  sio's softc used
  to be statically allocated, so you could check sc->gone, but that is
  now gone.
o Didn't remove gone from softc of drivers that use the old pccard method.

Didn't test:
o ed driver changes
o sio driver changes on pccards
o suspend (no laptop or apm support on my desktop)
1999-12-01 07:38:54 +00:00
Brian Feldman
226420a464 Separate some common sysctl code into sysctl_find_oid() and calling
thereof.  Also, make the errno returns  _correct_, and add a new one
which is more appropriate.
1999-12-01 02:25:19 +00:00
Kirk McKusick
461bb71e4f Print out the filesystem read counts now collected by the kernel.
Submitted by:	Craig A Soules <soules+@andrew.cmu.edu>
Reviewed by:	Kirk McKusick <mckusick@mckusick.com>
1999-12-01 02:16:51 +00:00
Kirk McKusick
e9cc475851 Collect read and write counts for filesystems. This new code
drops the counting in bwrite and puts it all in spec_strategy.
I did some tests and verified that the counts collected for writes
in spec_strategy is identical to the counts that we previously
collected in bwrite. We now also get read counts (async reads
come from requests for read-ahead blocks). Note that you need
to compile a new version of mount to get the read counts printed
out. The old mount binary is completely compatible, the only
reason to install a new mount is to get the read counts printed.

Submitted by:	Craig A Soules <soules+@andrew.cmu.edu>
Reviewed by:	Kirk McKusick <mckusick@mckusick.com>
1999-12-01 02:09:30 +00:00
Jordan K. Hubbard
08c667112d Don't make the failure of a LOCAL dist a reported error.
If we're running 4.x and install X, auto-select COMPAT3X.
1999-12-01 01:34:33 +00:00
Brian Somers
cbee975442 Change the way we transfer links (again). The previous
method avoided all race conditions, but suffered from
sometimes running out of buffer space if enough clients
were piled up at the same time.

Now, the client pushes the link descriptor, one end of a
socketpair() and the ppp version via sendmsg() at the
server.  The server replies with a pid.  The client then
transfers any link lock with uu_lock_txfr() and writev()s
the actual link contents.  The socketpair is now the only
place we need to have large socket buffers and the bind()ed
socket can keep the default 4k buffer while still handling
around 90 racing clients.
1999-11-30 23:52:37 +00:00
Dima Ruban
3d1d437531 dummy version of read_random() until the real random driver is ported. 1999-11-30 23:49:54 +00:00
Pierre Beyssac
58387d7595 A (harmless) forgotten MFS_ROOT -> MD_ROOT. 1999-11-30 21:41:11 +00:00
Pierre Beyssac
b20d9ccb75 A forgotten "disk" -> "device". 1999-11-30 21:24:31 +00:00
Michael Haro
63d8472bc0 If SRCS is not defined assume ${PROG}.c, not when PROG isn't defined. 1999-11-30 20:24:44 +00:00
Dima Ruban
97cab30be6 Add arc4random.c.
Please note that kernel is still broken on alpha.
1999-11-30 20:18:20 +00:00
Andrey A. Chernov
9d969a8b29 Use %EF instead of hardcoded order for each country 1999-11-30 20:08:50 +00:00
Andrey A. Chernov
b549b54135 %Ex -> %Ef 1999-11-30 19:44:33 +00:00
Andrey A. Chernov
79dc5830af Convert after %Ex->%Ef and %EF adding 1999-11-30 19:43:32 +00:00
Andrey A. Chernov
c63a4303ab %Ex -> %Ef to not conflict with POSIX
Add %EF (long months name / day order)
Check that O and E not intermixed
Add missing POSIX extension to example
1999-11-30 19:24:07 +00:00
Andrey A. Chernov
a36840a71a Document %Ex and %OB 1999-11-30 18:37:36 +00:00
Andrey A. Chernov
c34957baa7 Accept both types of devices to work with older kernels too
Fix confusing message
1999-11-30 16:27:30 +00:00
Yoshinobu Inoue
21e6dbc1bc Just to avoid warning message about trigraph.
Commented by: green
1999-11-30 16:24:36 +00:00
Andrey A. Chernov
d3d56c3d4c Add support for pr's locale 1999-11-30 16:15:22 +00:00
Andrey A. Chernov
4bf9895e55 Change meaning of newly introduced -L option - it helps lpr later 1999-11-30 15:09:26 +00:00
Marcel Moolenaar
ec99e32256 Implement linux_sigaltstack. 1999-11-30 15:02:28 +00:00
Marcel Moolenaar
56d6dc1d34 Implement sigaltstack. 1999-11-30 15:00:17 +00:00
Kazutaka YOKOTA
6292718d93 Spanish messages
- Add Spanish messages to new keymaps.
- Improve other Spanish messages.

Fix minor bits in the previous commit:
- Fix a German message entry erroneously classified as English.
- Sort entries.

Submitted by: Jose M Alcaide <jose@we.lc.ehu.es>
1999-11-30 13:47:11 +00:00
Nick Hibma
93563adec1 Remove a stray ';' which made moused fail on read()s in all cases.
Prodded-By:	Andrey A. Chernov <ache@FreeBSD.org>
Prodded-By:	Soren Schmidt <sos@freebsd.dk>
Prodded-By:	Louis A. Mamakos <louie@TransSys.COM>
1999-11-30 10:20:33 +00:00
Peter Wemm
57f3c7da07 oops, named-bootconf.pl has morphed into something else and moved. 1999-11-30 10:18:49 +00:00
Andrey A. Chernov
b5076d918c Localize it 1999-11-30 09:41:01 +00:00
Doug Rabson
eab0f2ce01 Add ESS1879.
Submitted by: MIHIRA Sanpei Yoshiro <sanpei@sanpei.org>
1999-11-30 09:11:06 +00:00
Peter Wemm
ebc49c5654 Don't make the ktrace hook in tsleep() deref a null curproc after a panic.
PR:		15169
Submitted by:	David Gilbert <dgilbert@velocet.ca>
1999-11-30 09:01:46 +00:00
Andrey A. Chernov
336f19f8e7 Convert to new format 1999-11-30 08:55:27 +00:00
Andrey A. Chernov
7ecd80de13 Stricter checking %A vs %a 1999-11-30 08:11:13 +00:00
Andrey A. Chernov
1d6c99412b Fix %C handling
Use locale for %c
Add %+
Add %Ex and %OB
1999-11-30 08:05:09 +00:00
Andrey A. Chernov
11cd0d3241 Add %Ex extension to determine "%e %b" or "%b %e" order
Separate alternative for O and E cases
1999-11-30 07:33:37 +00:00
Archie Cobbs
8e0788736e Update documentation to reflect new functionality. 1999-11-30 07:24:05 +00:00
Matthew N. Dodd
44a451ba24 Reduce code duplication.
Hopefully this clears up some confusion about the nature of
devclass_get_softc() vs. device_get_softc() as well.

The check against DS_ATTACHED remains as this is not
a change that modifies functionality.

Reviewed by:	Peter "in principle" Wemm
1999-11-30 07:06:03 +00:00
Matthew Dillon
98733bd871 The symlink implementation could improperly return a NULL vp along with
a 0 error code.  The problem occured with NFSv2 mounts and also with
    any NFSv3 mount returning an EEXIST error (which is translated to 0
    prior to return).  The reply to the rpc only contains the file handle
    for the no-error case under NFSv3.  The error case under NFSv3 and
    all cases under NFSv2 do *not* return the file handle.  The fix is
    to do a secondary lookup to obtain the file handle and thus be able
    to generate a return vnode for the situations where the rpc reply
    does not contain the required information.

    The bug was originally introduced when VOP_SYMLINK semantics were
    changed for -CURRENT.  The NFS symlink implementation was not properly
    modified to go along with the change despite the fact that three
    people reviewed the code.  It took four attempts to get the current
    fix correct with five people.  Is NFS obfuscated?  Ha!

Reviewed by:	Alfred Perlstein <bright@wintelcom.net>
Testing and Discussion: "Viren R.Shah" <viren@rstcorp.com>, Eivind Eklund <eivind@FreeBSD.ORG>, Ian Dowse <iedowse@maths.tcd.ie>
1999-11-30 06:56:15 +00:00
Archie Cobbs
ac83689e01 Fix typo. 1999-11-30 06:47:54 +00:00
Peter Wemm
9db938c351 Reactivate bind and add dnskeygen. 1999-11-30 06:26:57 +00:00
Peter Wemm
e694b3ac53 New program in the bind suite. I'm not sure that it's worth much while
cylink/dnssafe is missing, but here it is anyway.
1999-11-30 06:26:14 +00:00
Peter Wemm
f7eddfb25a Use libbind to get to the extended resolver and headers. 1999-11-30 06:25:19 +00:00
Peter Wemm
64baa0b4e3 Reactivate named-xfer 1999-11-30 06:23:04 +00:00
Peter Wemm
44248f451c Reactivate bind (named and tools) 1999-11-30 06:22:22 +00:00
Peter Wemm
66535003ba ndc is now a C program that communicates with named via a unix-domain
socket.
1999-11-30 06:18:10 +00:00
Peter Wemm
7c88d4045b Link against libbind (library and headers) 1999-11-30 06:16:46 +00:00
Peter Wemm
3598ef2f77 Use a full path to pathtemplate.c in case it's being pulled into other
Makefiles.
1999-11-30 06:15:34 +00:00
Peter Wemm
83b8ab27b9 Turn libbind back on, it should be ok now. 1999-11-30 06:13:10 +00:00
Peter Wemm
a10b671db8 EEK! termios mode wasn't activated..
Noticed by:	Christian Weisgerber <naddy@mips.rhein-neckar.de>
1999-11-30 05:56:12 +00:00
Peter Wemm
b3fc5d84c1 Compile bind against the resolver in libbind for now. Unfortunately this
includes the slower IRS getpwent() and friends, but that's better than
nothing.
1999-11-30 04:43:16 +00:00
Peter Wemm
5ee6eb7515 Build more components to get named to build. 1999-11-30 04:40:54 +00:00