Commit Graph

11782 Commits

Author SHA1 Message Date
Andrey A. Chernov 94de173773 Add empty /var/log/slip.log creation to distribution: target where
other empty logs created.
Pointed by Bruce.
1996-01-10 21:22:28 +00:00
Stefan Eßer ad6ca346f2 Add back initialization of "ncrp[unit]" since ncrcontrol relies on it. 1996-01-10 21:20:57 +00:00
Bill Paul 34a042e8b8 - Fix error reporting when checking order number via NIS: we return zero
on a failure, but if we're checking a corrupt map we could also get back
  a zero from ypserv without really encountering any actual error. Flag this
  condition and generate an meaningful error message.

- Fix transmission of ypxfr_clear to ypserv: error checking was wrong
  and we sending YPXFR_YPERR as an error status instead of YPXFR_CLEAR.

- To help avoid a race condition (or at least reduce the likelyhood of
  it occuring), use rename() to move a newly transfered map into place
  instead of unlink()ing the old one first and then renaming. Da man page
  sez that rename should do the unlink() for us. This prevents ypserv
  from returning 'no such map in domain' when asked to query a map which
  ypxfr has just unlink()ed but not yet replaced.
1996-01-10 17:44:10 +00:00
Bill Paul 009790d136 More changes brought about by testing of yppush (which is almost finished):
In yp_server.c:

- Modify ypproc_xfr_2_svc() so that it sends both a return status and
  a yppush callback (if necessary: normally ypxfr is supposed to send the
  callback once it's done transfering a map, but if we can't get ypxfr
  off the ground for some reason, we have to send it here instead) and
  do it in the right order: have to send the reply to the ypproc_xfr
  request first, then send callback. This requires us to cheat a bit:
  you're supposed to just return() and let the RPC dispatcher send
  the reply for you, but we wouldn't be able to send the callback message
  if we did that, so we have to call svc_sendreply() ourselves, then
  send the callback, and then return NULL so that the RPC dispatcher
  won't call svc_sendreply() itself.

- Also modify ypproc_xfr_2_svc() so that it doesn't invoke ypxfr with
  the -f flag: this overrides the order number checks, which prevents
  us from ever refusing maps that aren't newer than then ones we already
  have.

In yp_access.c:

- Fix a typo in the TCP_WRAPPER support code (which is #ifdef'ed out
  by default): a close paren somehow vanished into the ether.
1996-01-10 16:07:39 +00:00
Jordan K. Hubbard 52abcf2c37 Fix small bug with negative item_no. 1996-01-10 13:57:46 +00:00
Mike Pritchard b6607b59c8 Correct the strspn() man page so that it no longer references
itself as strcspn().

Obtained from:  NetBSD-bugs mailing list (PR# 1905)
1996-01-10 11:06:25 +00:00
Mike Pritchard 78f03ca729 Correct the path used to invoke "pr" if the "-l" option to diff is
specified.  Also invoke "pr" with "-F" instead of the invalid "-f"
option.

Obtained from:  NetBSD-bugs mailing list (PR# 1896)
1996-01-10 10:41:47 +00:00
Poul-Henning Kamp bb91094a48 Remember to make the kernels dir. 1996-01-10 08:51:08 +00:00
Poul-Henning Kamp f477ac8ae6 Don't make the fs-image in /dev :-) 1996-01-10 06:32:22 +00:00
Andreas Schulz 5ccfdea260 Add the 3C595 as a supported device for vx0. Delete the rest of the line
for the vx0 device, it is not needed as for all other pci devices.
1996-01-09 23:14:57 +00:00
Andreas Schulz f1686c1ebc Add the pci-numbers for the 3c595 10/100Mb card to the driver. 1996-01-09 23:07:32 +00:00
Thomas Graichen 1d00bf005f fixed some printf format mismatches and some lines exceeding 80 col's
(thanks to bruce)
1996-01-09 21:41:01 +00:00
Stefan Eßer 020bfdcff6 Add back nncr and ncrp for now. ncrcontrol relies on them.
(To be replaced by sysctl accesses some time ...)

Remove a backward jump from the NCR script, which allowed a SCSI target
to receive any number of NOP messages it desired. If a target indeed
does such a silly thing, make it fail at the next instruction, instead
of causing a timeout a few seconds later.
1996-01-09 19:57:49 +00:00
Justin T. Gibbs e3cf0fb323 Don't bother setting the DSCommand register. Adaptec's own BIOS doesn't. 1996-01-09 16:14:53 +00:00
Justin T. Gibbs bff79954c2 Change the inb and outb routines slightly. It seems that waiting for
SPIORDY after polling REQINIT is a bad idea.
1996-01-09 16:14:03 +00:00
Thomas Graichen fa913fbd87 Obtained from: David Mazieres (OpenBSD)
added "#define PRECISE_SYMLINKS" to the amd config header - this
solves a problem with the amd "-type:=direct" mounts and /bin/sh
giving a "readlink failed" if you cd'ed to a "-type:=direct" mounted
directory

i got this from david mazieres as a result of giving him our (mostly
doug rabsons) fixes for the amd "-type:=direct" mounts and telling
them (also some NetBSD people were interested) about my only problem
running these fixes (which is now solved too :-)
1996-01-09 08:49:21 +00:00
Thomas Graichen c6bf200d31 Obtained from: NetBSD (PR#1906)
removed date formatting glitch in newsyslog
1996-01-09 08:40:08 +00:00
David Greenman ce00153c1f Fix logic bug (!= should be ==) in recent P2P/multicast kludge.
Reviewed by:	Bill Fenner <fenner@parc.xerox.com>
Submitted by:	Dave Marquardt <marquard@austin.ibm.com>
1996-01-09 08:26:07 +00:00
Thomas Gellekum c18a55ebaa Second attempt to correct the leap year handling. 1996-01-09 07:59:54 +00:00
Jordan K. Hubbard 59f8632ddb Somebody stumbled over the :? here.. :-) 1996-01-09 07:41:52 +00:00
Bill Paul ad7b4f8d41 Fix the 'extraneous newline' problem a little more sensibly: just taking
it out fixes my problem but hoses the GUS MAX probe messages. Check what
device we have and print things appropriately for each.

Pointed out by: Jim Lowe <james@miller.cs.uwm.edu>
1996-01-09 03:19:51 +00:00
Peter Wemm ad4f967485 clean up si_dprintf a bit so that it uses vararg argument parsing that does
not cause warnings, and uses printf() to do a vprintf()-like output.
1996-01-09 03:01:45 +00:00
Poul-Henning Kamp 288fe4dbdf Moved doFS into shell-script so we can be more smart about it.
make two boot floppies, one without help files for 4MB systems.
Mine's loading one now. :-)  -O2 may be needed.
1996-01-08 22:13:50 +00:00
Guido van Rooij 8dd27fd68b Fix a bug where having a process listening to both a INADDR_ANY and a
local address, that was assigned with ifconfig alias and netmask
0xffffffff, would receive duplictae udp packets.
This behaviour can easily be seen by having named run, and using the alias
address as the name server.
This solution is not the pretiest one, but after talk with Garreth, it
is seen as the most easy one.
1996-01-08 20:59:06 +00:00
Andrey A. Chernov dc3f9062ca Replace ugly year/month calculations in resettodr to more clean
variants, idea taken from NetBSD clock.c.
At least year calculation was wrong, pointed by Bruce.
Use different strategy to store year for BIOS without RTC_CENTURY
1996-01-08 18:50:14 +00:00
Joerg Wunsch bc64d5dbed MTRETENS for the wt driver. This patch got lost with
my previous commit.
1996-01-08 12:46:15 +00:00
Joerg Wunsch 8348d96afc Add `retens', the user frontend for MTRETENS. 1996-01-08 12:29:26 +00:00
Joerg Wunsch 3e0123a3e2 Implement the MTRETENS command. 1996-01-08 12:26:15 +00:00
Joerg Wunsch 830a0f5d3a Add ftp6.de.freebsd.org. 1996-01-08 11:53:46 +00:00
Peter Wemm e416b391a4 Yet another "fix" for some of the mistakes in the recent versions..
I discovered that when asking for the IFLIST via sysctl(), if you
specify only AF_INET address, it actually gives you only AF_INET..
(suprise, suprise..!)

Now, it should "do the right thing" in just about all cases...  The only
problem, is that "the right thing" isn't exactly clear in all cases.
1996-01-08 10:23:25 +00:00
Peter Wemm a8a6cb214c Install yacc with a link as byacc (and the man page). Some gnu autoconf
scripts that check for features/fixes in bison also check for byacc and
dont find it unless there is a 'byacc' in the path.
1996-01-08 09:20:16 +00:00
Peter Wemm 5ff3832b04 Add some links to lex (flex, flex++ etc) that some of the gnu autoconf
scripts check for.  (when looking explicitly for flex..)
Also, do some man links for the commands under their alternate names.
Install the c++ FlexLexer.h file as per the "XXX TODO" comment.
1996-01-08 09:17:39 +00:00
Thomas Gellekum a8611821d7 Fix leap year calculations in parse_to_unixtime() 1996-01-08 08:45:11 +00:00
Jordan K. Hubbard 2838466c09 Check in the shell scripts I used for the 2.1-RELEASE CDROM. These
are provided simply as easy short-cuts for users who are prowling through
the dists structure and decide to install something directly from there.

There still needs to be some glue stuck into release/Makefile to copy
these into the appropriate homes following a full `make release', but I'll
wait until phk is done in there.
1996-01-08 06:19:45 +00:00
Peter Wemm e5255f3193 No longer generate empty opt_sysvipc.h, and no longer issue -DSYSVSHM etc
for the CFLAGS.  Now, it tracks whatever the booted kernel has rather than
being specifying what features your kernel has at lkm build time.
1996-01-08 05:36:17 +00:00
Peter Wemm 6dd6813a2c No longer generate empty opt_sysvipc.h.. 1996-01-08 05:33:26 +00:00
Peter Wemm 14537e784b Reran makesyscalls.sh.. 1996-01-08 05:27:29 +00:00
Peter Wemm 801942bdd4 Oops. forgot to remove #include "opt_sysvipc.h" 1996-01-08 05:24:09 +00:00
Jordan K. Hubbard 5421d972c3 echo setting of ${router} properly, e.g. between double quotes. :) 1996-01-08 04:50:18 +00:00
Peter Wemm 143f48e1fa sysv_ipc.c now "standard" as it contains #if defined(...) blocks
of code that handle the various permutations of SYSV options.  sysv_shm.c
etc (the implementations) are still optional, this is just a file of
stubs and an optional utility function.
1996-01-08 04:39:20 +00:00
Peter Wemm 1529bb2d55 reran makesyscalls
Always call the SYSV ipc functions, stubs will take their place if
necessary.
1996-01-08 04:34:54 +00:00
Peter Wemm 7f75db1cce reran makesyscalls.. 1996-01-08 04:32:20 +00:00
Peter Wemm 81090119af (gulp!) reran makesyscalls..
sysv_ipc.c: add stub functions that either simply return (for the hooks
in kern_fork/kern_exit) or log() a messgae and call enosys() (for the
syscalls).  sysv_ipc.c will become "standard" in conf/files and has
#ifs for all the permutations.
1996-01-08 04:30:48 +00:00
Peter Wemm e7ae3bf08d Remove the #ifdef SYSVSHM etc. Always call the functions, some stubs
are about to go in.  This is to fix the problem with the ibcs2 and linux
lkm's not being able to call the sysv ipc functions unless the build is
modified.
1996-01-08 04:13:25 +00:00
Peter Wemm 0f7183ad60 Also move /var/db/kvm_kernel.db to /var/db/kvm_kernel.old.db IF we change
sysctl kern.bootfile - since libkvm expects it there.
1996-01-08 03:55:36 +00:00
Peter Wemm 79769a745d Fix some of my mistakes, slight cleanup, improve reliability (the old
ifconfig would segfault on "ifconfig ed0 ether up" and the like).

The main reason for this commit was that an "ifconfig -a" would also show
the AF_INET addresses in AF_IPX form (if the kernel was configured for IPX)
due to insufficient AF checking in my "new way" of doing it.
1996-01-08 03:46:27 +00:00
Poul-Henning Kamp b20235a04a It's bad if the blockno is negative. 1996-01-07 22:39:06 +00:00
Poul-Henning Kamp 8b0458040d Move some tables to "const" and remove some unused vars. 1996-01-07 22:32:35 +00:00
Poul-Henning Kamp 3b3f55c76f Only change the sysctl variable if it presently points to /kernel. 1996-01-07 22:31:27 +00:00
Poul-Henning Kamp 08f9c42211 Make all the tables "const" so that they don't clutter our data-segment. 1996-01-07 22:30:13 +00:00