Commit Graph

21406 Commits

Author SHA1 Message Date
thorpej
fc1a524603 - Finished up merge.
- Add some prototypes and definitions for types as necessary,
  wrapped in __NetBSD__ to maintain portability.

- Explicit size types in structures that go out the wire.

- RCS id police.
1996-08-10 01:28:58 +00:00
thorpej
b1e0bd39e1 A leaner, meaner routed(8), implementing RIPv1, RIPv2, and ICMP Router
Discovery, courtesy of Vernon Schryver <vjs@sgi.com>.  Thanks!
1996-08-10 01:08:06 +00:00
mrg
6dd52f02da as the new reboot(2) will only use the bootstr option if the new RB_STRING
flag is set, the major number does not need to change.  backing this out.
1996-08-10 00:25:36 +00:00
mrg
72bad48e62 implement RB_STRING, derived from SunOS, via compat_sunos. 1996-08-10 00:23:14 +00:00
mrg
18393cb155 document RB_STRING. 1996-08-10 00:22:29 +00:00
mrg
a9f27985cf use the SunOS derived RB_STRING. 1996-08-10 00:20:58 +00:00
thorpej
7026126974 Alter the ypservers rule a bit to always make sure that this map
exists.
1996-08-09 21:04:32 +00:00
thorpej
e20d4be867 Add a rule for the `ypservers' map (the map containing a list of
slaves for the YP domain).  This map is not built by default, but the
rule exists to make adding slave servers a bit easier.
1996-08-09 20:58:36 +00:00
thorpej
5bf41ee467 Error out if we can't determine the YP domain name to be used for
the RPC.
1996-08-09 20:24:34 +00:00
thorpej
34ca0ef5c8 Use the key, not the val from the datum when reading the `ypservers'
map.  SunOS ypservers maps place the host name in the key and the val,
but HP-UX and NetBSD ypservers maps place the hostname only in the
key, leaving the val empty.  Since there is no clear standard for this map,
best to play it safe.
1996-08-09 20:18:50 +00:00
thorpej
5ef055ef5c Phrasing/formatting tweaks, from Kenneth Stailey <kstailey@dol-esa.gov>
in PR #2677.
1996-08-09 19:09:32 +00:00
is
0f2514d2a0 Add manu/prod id for the DMI resolver board here. (No, no driver yet) 1996-08-09 18:18:05 +00:00
explorer
6c2d055936 Add compat_freebsd.8 1996-08-09 18:03:16 +00:00
thorpej
7143a7612e Quote the YP daemon flags variables. 1996-08-09 16:07:42 +00:00
thorpej
5c49628ed7 Remove hard-coded a /var/yp. 1996-08-09 15:16:30 +00:00
thorpej
012dde15fd Install the Makefiles with mode 0644, not ${BINMODE} 1996-08-09 15:11:47 +00:00
thorpej
236743c464 Make this script a little more sane. 1996-08-09 15:09:04 +00:00
thorpej
320932936b Update for new ypserv suite. 1996-08-09 14:40:28 +00:00
mrg
9c0b5cc2eb reboot(2)/getpgid(2) changes. 1996-08-09 14:10:45 +00:00
thorpej
d82cbdfb69 Create /var/yp and /var/yp/binding. 1996-08-09 10:32:45 +00:00
mrg
74693079c6 update for new reboot(2). 1996-08-09 10:32:11 +00:00
mrg
5abbf990f3 Change reboot(2) to take two arguments: bootopt like normal and also
a boot string for firmware that can do this, such as the SPARC and
the sun3 models.  It is currently silently ignored on all other
hardware now, however.  The MD function "boot()" has been changed to
also take a char *.
1996-08-09 10:30:23 +00:00
thorpej
2dfaa56a79 Change how the YP daemons are started. Previously, ypbind was always
started if the directory /var/yp exists.  Now, ypbind, ypserv, and
rpc.yppasswdd are started like other daemons; there are flags variables
for these programs.  To disable them, set the variables to "NO", otherwise,
their contents are passed as flags.
1996-08-09 10:29:44 +00:00
thorpej
eabc5cbaf3 Build rpc.yppasswdd and the ypserv suite. 1996-08-09 10:24:00 +00:00
thorpej
d3e1a3664e An rpc.yppasswdd implmentation by Mats O Jansson, with some minor
cleanup and a race condition fix by me.
1996-08-09 10:19:48 +00:00
thorpej
60aa689c94 A ypserv implementation, originally written by Mats O Jansson, with
some changes by me, including misc. cleanup, minor bug fixes, and
brand-new access control list code.
1996-08-09 10:14:49 +00:00
thorpej
bb516fa80e Fix some potential type-size problems. 1996-08-09 10:06:02 +00:00
thorpej
51956e9393 Slight semantics change: ALWAYS use YP if the system is bound to a
YP server.  This is required if the passwd database is to stay in sync
if this program is run on the YP server.  Note, local passwd database
operations can still be performed by passing the -l flag.
1996-08-09 09:22:11 +00:00
thorpej
27643ee095 Slight semantics change: ALWAYS use YP if the system is bound to a
YP server.  This is required if the passwd database is to stay in sync
if this program is run on the YP server.  Note, local passwd database
operations can still be performed by passing the -l flag.

Also, some minor cleanup and RCS id police.
1996-08-09 09:19:33 +00:00
mrg
c01edc3a02 use sc_unit instead of pointer arthimetic. 1996-08-09 08:34:00 +00:00
mhitch
79fb4c0c30 Add missing #include of "ppp.h" to get definition of NPPP so that the
pppintr() call is actually included.  This fixes ppp so that it actually
works again.
1996-08-09 05:11:02 +00:00
jtc
813b4a4fbb converted to use -lrmt 1996-08-09 04:28:40 +00:00
jtc
7693327da9 rsh is now in /usr/bin, not /usr/ucb 1996-08-09 04:17:36 +00:00
jtc
59335bafe2 install rmt.h 1996-08-09 04:01:48 +00:00
jtc
f19fe7ba9c clean up comments, etc. 1996-08-09 03:59:40 +00:00
jtc
d694100bd1 Remote mag tape library from volume 18 of comp.sources.unix. 1996-08-09 03:56:56 +00:00
jtc
8ee4077ea0 minor changes for better integration into NetBSD 1996-08-09 03:39:00 +00:00
jtc
67ead26177 Remote mag tape library from volume 18 of comp.sources.unix. 1996-08-09 03:35:17 +00:00
thorpej
6054b19d94 Add EX_NOALIGN and EX_NOBOUNDARY macros to be used as arguments to
allocation calls in the event the caller does not wish to utilize those
features of extent map allocation.

Suggested by Matthew Green <mrg@eterna.com.au>
1996-08-09 00:00:13 +00:00
thorpej
b276d02b9d Fix typo, pointed out by Greg Hudson <ghudson@mit.edu> 1996-08-08 23:42:30 +00:00
mycroft
44f440543f We dont need to pass down COMPATDIR and KERNDIR. 1996-08-08 15:15:16 +00:00
mycroft
3f0b5a641e Run the child make in the source directory, so that nothing here needs to be
changed when the compile directory is outside the source tree.
1996-08-08 15:06:39 +00:00
jtc
33849ebec9 Add the asf command for absolute tape positioning.
Some cleanup of the remote tape interface, but a lot more is needed.
Ideally, we'd have a "rmt" library which provides a remote tape API
including open, read, write, close, and ioctl.  This is useful not
only for mt, but also for programs like tar, cpio, pax, backup and
restore.
1996-08-08 09:16:06 +00:00
mycroft
916902678d Remove straggling references to dk_ndrive and dk_xfer. 1996-08-08 04:11:27 +00:00
mark
d5df3db65b Make this with whether __STDC__ is defined or not. 1996-08-07 17:39:44 +00:00
mark
4e058e1f10 Make sure errno is always zeroed before the syscall.
Don't trash r0 on exit.
1996-08-07 17:38:16 +00:00
cgd
440a942944 fix bogus returns from dec_kn20aa_intr_map(), and slightly simplify interrupt
mapping code.  (instead of using a "slot" and multiplying by 4 and adding the
pin number later to get the IRQ, just use base IRQ value and add the pin
number.)
1996-08-07 04:33:21 +00:00
cgd
efec732f4d fix a typo, add a function kn20aa_disable_intr() to disable a given
kn20aa interrupt line.
1996-08-07 04:22:40 +00:00
mrg
0b88073324 this program does not need to be setuid root. 1996-08-06 07:21:40 +00:00
scottr
bfb6d245b5 Make the calculation of the PA returned by get_physical() agree with the
comment immediately preceding it:  We have to take the most significant
"numbits" from the returned value "ph", and the rest from our addr.  The
addition used previously introduced a carry which was causing great
difficulty in determining the correct PA of the framebuffer VA passed in
by the booter.
1996-08-06 04:03:33 +00:00