Commit graph

9931 commits

Author SHA1 Message Date
Garrett Wollman 3271ad14d8 Merge 4.4-Lite-2 by updating the version number.
Obtained from:	4.4BSD-Lite-2
1995-09-21 18:04:43 +00:00
Garrett Wollman 425f123ed4 Merge 4.4-Lite-2: update some declarations that we don't support anyway.
Obtained from:	4.4BSD-Lite-2
1995-09-21 17:58:07 +00:00
Garrett Wollman 2469dd60b7 Merge 4.4-Lite-2: use M_NOWAIT in in_pcballoc(), and return EACCES rather
than EPERM on illegal attempt to bind a reserved port.

Obtained from:	4.4BSD-Lite-2
1995-09-21 17:55:49 +00:00
Garrett Wollman 2180b92513 Merge with 4.4-Lite-2. This is actually a 64-bit fix; the second parameter
to in_control() is sometimes a pointer, and sometimes an integer, so use
u_long rather than int.

Obtained from:	4.4BSD-Lite-2
1995-09-21 17:50:45 +00:00
Garrett Wollman ef91e5283e Merge with 4.4-Lite-2. This involves changing the version number and
moving a declaration around.

Obtained from:	4.4BSD-Lite-2
1995-09-21 17:39:51 +00:00
Garrett Wollman 6c52bc4648 Merge with 4.4-Lite-2. This just adds a couple of tcpstat entries which
we don't currently set, but might in the future.
1995-09-21 17:29:13 +00:00
Stefan Eßer d4a471bda0 Add preliminary support for the 53c860 and 53c875 ULTRA SCSI chips,
and for the 53c810ap, the improved version of the 53c810.
The driver should work with all those controllers, but doesn't know
about any of their advanced features.
1995-09-21 17:27:28 +00:00
Bruce Evans beff52884f Fix relocation of job table.
while { sleep 1 & wait; } do echo 1; done

corrupted the job table every 4th iteration.
1995-09-21 13:24:20 +00:00
Andreas Schulz 4d34303860 Change the machine name for the mount example for sunos to sunbox instead
of linuxbox to not confuse people.
1995-09-21 09:29:06 +00:00
Garrett Wollman f138387af1 Add support in TCP for Path MTU discovery. This is highly experimental
and gated on `options MTUDISC' in the source.  It is also practically
untested becausse (sniff!) I don't have easy access to a network with
an MTU of less than an Ethernet.  If you have a small MTU network,
please try it and tell me if it works!
1995-09-20 21:00:59 +00:00
Garrett Wollman 2eeab93993 Only print `bpf: foo0 attached' if bootverbose. 1995-09-20 20:48:29 +00:00
John Fieber 65ed1e8754 Fix the phone number for Walnut Creek CDROM 1995-09-20 16:34:15 +00:00
Andrey A. Chernov 25883984a4 Use new _PATH_LOCK
Fix bug: pid was not assigned
1995-09-20 13:21:21 +00:00
Andrey A. Chernov c0810b3cbc Use new _PATH_LOCK for lock names 1995-09-20 13:10:50 +00:00
David Greenman 0704324a55 Fix rounding bug in last commit that would have caused the problem to not
be completely fixed.
1995-09-20 13:01:17 +00:00
Andrey A. Chernov fa78e67a41 Add _PATH_LOCK: /var/spool/lock/
Suggested-by: bde
1995-09-20 13:01:04 +00:00
Andrey A. Chernov 89ba97703c From Bruce:
slattach always exited early because fd is not open in acquire_line().

Other (trivial) changes that I've been neglecting for some time:

- Turn off O_NONBLOCK so that `chat' doesn't need to worry about it
  (`chat' actually does worry about it).
- Really set speeds POSIXly :-).  cfsetspeed() isn't POSIX.
- Fix spelling error in comment.
- Gripe about bad programming of doing everything from signal handlers.
  slattach should be written to do everything from the sigsuspend() loop,
  but I don't want to do it :-).

From me:
Use .PATH to find uucplock.c

Submitted by: bde
1995-09-20 12:56:25 +00:00
Jordan K. Hubbard 92e1dc86fa Add `visual' command to help menu.
Fix a small benign display bug.
Submitted by:	Michael Smith <msmith@atrad.adelaide.edu.au>
1995-09-20 12:07:22 +00:00
David Greenman a9e0f8b2e0 Don't dereference a NULL pointer in the case of a null pipe.
e.g.:
ls |> foo.out

sh now behaves the same as it does under SunOS 4.x for this case.
1995-09-20 08:30:56 +00:00
Poul-Henning Kamp 872fd9222e Missed these changes to the pccard stuff. Sorry Martin! 1995-09-20 07:23:51 +00:00
Jordan K. Hubbard 8355a05ba8 Now supports expand all' and collapse all'.
Now comes up in the old line-oriented interface by default for serial
and pcvt folk with a `visual' command for going to the visual interface.
Best of both worlds, no?
Submitted by:	Michael Smith <msmith@atrad.adelaide.edu.au>
1995-09-20 06:48:54 +00:00
Andrey A. Chernov 76cb3c7b5d Make uucp-lock optional: -L option 1995-09-20 04:56:09 +00:00
Andrey A. Chernov 1ff1e51f2d Make uucp-locking optional: -L option 1995-09-20 04:53:08 +00:00
Bruce Evans 2e69f359d1 Fix benign type mismatches in isa interrupt handlers. Many returned int
instead of void.
1995-09-19 18:55:37 +00:00
Bruce Evans 0b73305bdd Put declarations in a header file ("ioconf.h")
Generate prototypes for SCSI functions and function pointers.

Fix redundant declarations of interrupt handlers.

Generate 4.4-style includes (<> instead of "").

Clean up formatting of both the source and the output a bit.
1995-09-19 16:37:34 +00:00
John Fieber abe1c5f61a Add a missing quote that resulted in a parse error. 1995-09-19 14:23:38 +00:00
Bruce Evans c1b0bf4649 Update machine-generated files. 1995-09-19 13:56:09 +00:00
Bruce Evans d60a9ca6ab Oops. Avoid literal $Id in an awk string to stop cvs from substituting it. 1995-09-19 13:50:26 +00:00
Bruce Evans 3cb43dbdaf Generate prototypes for syscall-implementing functions. Put them in
<sys/sysproto.h> and use them (so far only) in kern/init_sysent.c.

Don't put $Id in generated files.

kern/syscalls.master:
I had to add some new fields to describe some non-orthogonal names.
E.g., the args struct for the syscall-implementing function foo()
is usually named `foo_args', but for getpid() it is named `args'.

sys/sysent.h:
sy_call_t is still incomplete to hide a couple of warnings.
1995-09-19 13:31:04 +00:00
Poul-Henning Kamp 6c287c8905 Now pccard modems work to some minimal extent. 1995-09-19 12:40:06 +00:00
Poul-Henning Kamp ccdbc84cba The stuff needed to remove a pccard with a sio port on it...
Not optimal, but pretty solid.
1995-09-19 12:37:41 +00:00
Bruce Evans 04cc52dfc3 Don't clear the session pointer in ptcclose(). It must be left alone
until the session leader exits so that a SIGHUP gets sent to the process
group and the pty slave gets revoked.
1995-09-19 12:26:47 +00:00
Gary Clark II 4f1e635556 Added Conetic Software Systems to commercial area
Added entry on NFS mounting SunOS drives (Just like the Linux entry above it)
Added entry on use of cu to do AT commands

Still to be added: KTRACE entry
1995-09-19 10:58:43 +00:00
Jordan K. Hubbard 2cc3249f42 local_startup=/usr/local/etc/rc.d
[ As suggested by Satoshi - rc.local.d was pretty redundant under /usr/local;
  duh! :-)]

[ -f /etc/rc.local ] && sh /etc/rc.local
For backwards compatibilty with non-executable rc.local files.  Sorry, Bruce!

Submitted by:	asami & bde & jkh
1995-09-19 10:19:44 +00:00
Andrey A. Chernov 7fcd7f5dcb Unlock device for redial_cmd, then lock again 1995-09-19 09:07:51 +00:00
Jordan K. Hubbard bf5c926da3 Bring my fixes over from 2.1. 1995-09-19 08:33:43 +00:00
Julian Elischer d51afe9d38 added support for link, and remove (unlink)
can now ln /devs/disks/floppy/fd1.1200 to fd1
and remove unwanted dirs and devices etc.
Still has a fatal bug.. don't use yet :)
1995-09-19 07:32:01 +00:00
Nate Williams af504bcff4 Added /usr/src/sys/compile to cdpath.
Set cdpath instead of leaving it commented out.
1995-09-19 04:57:31 +00:00
Andrey A. Chernov dbfd470885 Fix uucp locking
Remove unnecesary TIOCSETD
Move SLIO* before startup script call
1995-09-19 03:37:07 +00:00
Andrey A. Chernov 5ab506f0f1 Implement uucp-locking
Cleanup debug/syslog code
1995-09-19 03:27:31 +00:00
Stefan Eßer a3adc4f8c5 Revert most changes of previous commit.
Changes relative to 1.12:
- Put extra instruction between outl()/inl() sequence to prevent the
  old value being read back because of the bus capacitance.
- Additional check for existence of register at CONF2_ENABLE_PORT.
1995-09-18 21:48:39 +00:00
Nate Williams 01a9a98ea2 Fix the cdpath to find utilities in the gnu src tree. 1995-09-18 19:53:42 +00:00
Paul Richards b1d1220363 Removed startup code for pcnfsd and apache. These don't even exist
in FreeBSD and should never have got in here.

Removed hard-coded /etc/rc.local.d hacks and implemented a more flexible
solution.

Added a local configuration area to sysconfig.
1995-09-18 19:17:14 +00:00
Bruce Evans e475c1dd26 Back out the change in rev.1.4 and fix the formatting of the change
in rev.1.3.  1.4 just broke 1.3 for the -x case.

This fixes PR 721 and merges archive.c with 4.4Lite2.
1995-09-18 18:37:09 +00:00
Peter Wemm 5326bef3de This mega-commit brings in Jordan's latest sysinstall version..
This looks like it was developed offline, and is being spammed over the
top of the existing.  "That's fine by me!  I dont really care how you do
it, just get it in there..." said Jordan in a conversation a short while
ago...
1995-09-18 16:53:06 +00:00
Garrett Wollman 5cbf3e086c Initial back-end support for IP MTU discovery, gated on MTUDISC. The support
for TCP has yet to be written.
1995-09-18 15:51:40 +00:00
Andrey A. Chernov f24b54a614 Change new -U option to -S to go the same way as startslip. 1995-09-18 14:06:38 +00:00
Andrey A. Chernov b1d39b7c2a New option: -S #: set SLIP unit number 1995-09-18 14:01:11 +00:00
Andrey A. Chernov 2da5bee280 New options:
-K #: set SLIP keepalive timeout
-O #: set SLIP outfil timeout
-U #: set SLIP unit number
sighup handler now sets tty disc for non-redial case too.
Implement SIGURG handling (from keepalive).
POSIXing speed settings.
1995-09-18 13:33:30 +00:00
Bruce Evans 68d2b4d6a9 Fix a comment that became wrong when it was moved in rev. 1.7. Fix nearby
indentation.  Cosmetic.
1995-09-18 12:41:52 +00:00