Commit Graph

2903 Commits

Author SHA1 Message Date
deraadt 554c8c0397 clntudp_create was being called with the wrong arguments. (hurray prototypes!) 1993-06-12 00:02:37 +00:00
brezak c003b4a089 No need to link in librpc 1993-06-11 11:35:44 +00:00
brezak 5dffb9b127 Add support for starting RPC servers. 1993-06-11 00:36:31 +00:00
brezak 399d30c4ba Build in getpwent.o so that YP is NOT used. 1993-06-10 15:29:41 +00:00
mrg 5cf6badca2 4.4BSD-Lite2 1993-06-08 23:03:16 +00:00
mrg ce63d6c20f 4.4BSD-Lite2 1993-06-08 21:17:38 +00:00
cgd c22f041826 don't print NULL(); for a null vector... 1993-06-07 00:02:00 +00:00
mrg c78c6a22ab 4.4BSD-Lite2 1993-06-06 20:58:02 +00:00
cgd 8a05b36058 incorporate Bruce Evans' interrupt changes, as hacked by Rod grimes,
for patchkit patch 158.  it appears to work well.
1993-06-06 04:14:01 +00:00
cgd eb192ab885 use daemon() to put supfilesrv into daemon mode... 1993-06-05 21:32:15 +00:00
deraadt 00608c8651 i lied; +user entries do not work in /etc/passwd (hard to do too, i think) 1993-06-05 18:13:50 +00:00
brezak 22507bf001 Use -lrpcsvc for XDR 1993-06-04 15:52:20 +00:00
mycroft 727d788006 Clean up deleted files. 1993-06-03 19:34:13 +00:00
brezak 4d644be5e8 Moved rwalld to libexec 1993-06-03 19:34:02 +00:00
cgd 9bba98a520 update to use PS_STRINGS to set proc title 1993-06-02 05:01:49 +00:00
cgd 0b8e25b695 add "needs-count" specifier, which means "make a .h file if you otherwise
wouldn't".  this is overridden by (and is a subset of "device-driver".
if you have a "standard" file, you can also do: "standard foo needs-count"
to get a foo.h file.  (for the hp300 stuff)
1993-05-29 18:50:37 +00:00
cgd c1fa28cf2c use BINDIR, rather than DESTDIR to specify binary's location.
the former is correct, the latter is not.  actually, this makefile
probably should be hacked a bit more, but i'm not up to it now
1993-05-28 12:38:51 +00:00
brezak 05ccd38d70 Should install to /usr/sbin 1993-05-28 12:28:49 +00:00
brezak a4dd8f97fc Add yppoll command. 1993-05-28 12:19:15 +00:00
brezak 398e2679c3 Build yppoll 1993-05-28 12:17:21 +00:00
cgd bb216f6a1a don't USE_DB 1993-05-28 05:34:16 +00:00
cgd 0b58ac8cc8 make non-use of "EXPORTABLE_SYSTEM=true" do the right thing;
before, it didn't really check to see if you really did have the
real crypt.c before making a system with crypt.
1993-05-26 12:19:45 +00:00
brezak 8d3b13729a Use EXPORTABLE_SYSTEM=true to build sup w/o crypt 1993-05-25 20:00:47 +00:00
deraadt 9397be3182 make lpd know about modern ar files rather than the old ones.
Like, if it's going to want to make an effort, at least do it right.
1993-05-25 12:08:42 +00:00
deraadt 6dc90e5291 lpr should not access a_magic directly. That's what the N_BADMAG() macro
in a.out.h is there for!
1993-05-25 11:55:30 +00:00
brezak 83cb1e2940 Use /var/tmp for NetBSD 1993-05-24 18:57:48 +00:00
mycroft 01d7c3a029 Clean up deleted files. 1993-05-24 17:57:34 +00:00
brezak 256dbd11db Remove netcrypt.c. Remove unneeded files. Cleanup make. 1993-05-24 17:57:19 +00:00
cgd 864a094e19 do the right thing for vers.o. i.e. don't make newvers if nothing
has changed.
1993-05-24 11:04:45 +00:00
cgd 0c0fba5509 clean up a bit, and add install target 1993-05-21 15:02:34 +00:00
cgd a1e510b12f initial import of CMU's SUP to NetBSD 1993-05-21 14:52:16 +00:00
cgd 30904b9ec5 if no irq, that is, intenally, d_irq == -2, don't output a vector... 1993-05-18 18:02:05 +00:00
cgd 4ee5795095 last of the "arch" changes 1993-05-18 11:51:52 +00:00
cgd ddccecbf43 update man page for 'arch' changes 1993-05-18 09:10:27 +00:00
cgd c895b3c04f add changes for 'arch' 1993-05-18 08:56:31 +00:00
cgd 50fa568f9d make config use a /sys/${machine}/compile directory, rather than
/sys/compile
1993-05-17 09:10:06 +00:00
deraadt 5f3534d355 more self efacement 1993-05-16 02:55:27 +00:00
deraadt 77c037ed51 added my copyright.. how self efacing of me 1993-05-16 02:47:20 +00:00
cgd bd35df7299 add rule for hp300 cksum routine. yes, i know it points to cksum.tahoe.c.
net2 did it that way!!!
1993-05-13 13:47:33 +00:00
glass 0e0edb559f now you too can partake in this offense against any higher being there
may be.  basically to find out whether nfsserver support is in the kernel
earlier and thus avoid the loop problem, call nfssvc() with a bogus fd and
see whether you get a -1 return value or a SIGSYS...
1993-05-11 07:14:24 +00:00
deraadt 3417c8a45b 1. id_irq is a u_short
2. "irq ?" sets it to (u_short)-1
3. "irq #" sets it to (1<<#)
4. not specifying an interrupt sets it to 0.

Until someone else comes up with a better scheme, that's the way it is.
If you have a driver that turns the interrupt off, set it to ZERO.

If, after calling XXprobe(), id_irq is still (u_short)-1, that is the same
as if  XXprobe() failed.
1993-05-11 04:04:57 +00:00
mycroft 3558cc99e4 Correct checking of setsid() return value (from bvs@bitblocks.com). 1993-05-10 03:59:43 +00:00
cgd 318000897b fixe for uninitialized variables, from 386bsd patchkit patch #111 1993-05-07 05:16:15 +00:00
deraadt 2820a4755d iostat and vmstat being taught about drives.. 1993-05-04 07:38:29 +00:00
cgd 124d9b0e5a notate the fact that it creates /var/run/accountant.pid 1993-05-03 04:30:10 +00:00
cgd bb1d2dd636 make the sleep time/min on/max off numbers settable via options, and
notate this appropriately.
1993-05-03 04:08:16 +00:00
cgd 17a22f18ea added random stuff, including checking to make sure we don't fill the disk. 1993-05-03 03:06:32 +00:00
cgd 43175fb644 add accountant 1993-05-03 01:53:53 +00:00
cgd 7851679e8b change accton to work w/NWO 1993-05-03 01:53:21 +00:00
cgd fb57066e93 make man page install in cat8 1993-05-03 01:52:34 +00:00
cgd cdcb8f1155 accton is in section 8. 1993-05-03 01:45:34 +00:00
cgd ae8e19dfe7 add the accountant program. 1993-05-03 01:02:50 +00:00
cgd 8163959eb0 fix definition of swapmap; rlist.h used to declare it, now defines it as
extern...
1993-04-29 21:13:25 +00:00
deraadt d5d6561d7b A manual page for YP which explains that there are no other manual pages.. :-) 1993-04-27 05:10:23 +00:00
deraadt 619a143783 add man page 1993-04-27 05:05:11 +00:00
deraadt d42743fe12 initial rev
I don't like this program. passwd -y should do it's job (and it tries to)
1993-04-26 08:13:39 +00:00
deraadt e39dac2f56 initial rev 1993-04-26 08:09:02 +00:00
deraadt 13c91e95f5 yp utilities directory Makefile 1993-04-26 08:07:30 +00:00
deraadt 482c392efe compile usr.sbin/yp 1993-04-26 08:06:33 +00:00
mycroft f8760c2ba3 Convert hash_open() call to dbopen(). 1993-04-25 08:51:22 +00:00
mycroft 1aa661887a Convert btree_open() calls to dbopen(). 1993-04-25 08:44:51 +00:00
mycroft 895bb1c31d Use global value of CFLAGS. 1993-04-25 08:13:28 +00:00
mycroft 12f4f4a4ca Don't dereference NULL pointer. 1993-04-23 08:46:46 +00:00
mycroft 88789b5d35 Don't output `extern 0();' for interruptless driver. 1993-04-22 04:15:18 +00:00
proven 62566787d2 Changed hash_open to dbopen. 1993-04-21 08:26:54 +00:00
proven 76be010f7a Changed pwd_mkdb to use dbopen. 1993-04-21 07:54:40 +00:00
mycroft 530132e407 Don't dereference NULL pointer. 1993-04-20 10:16:17 +00:00
mycroft 11a76ec00f Cleanup for GCC 2. 1993-04-18 20:50:22 +00:00
mycroft 5a78b45371 Cleanup for GCC 2. 1993-04-18 20:22:09 +00:00
mycroft c1fd012d95 Cleanup for GCC 2. 1993-04-18 20:01:35 +00:00
mycroft 804c4234ec Cleanup for GCC 2. 1993-04-18 19:27:06 +00:00
deraadt aee9e16f75 Changed the files referenced in this manual page 1993-04-15 23:16:27 +00:00
deraadt fbecd3e987 Once more: some changes to the ioconf.c structure. It will now handle
devices hanging off controllers, any kind of controller.
A device on isa0 is called at probe(self), then attach(self)
A controller on isa0 is called at probe(self), then all it's children with
    defined unit numbers are initialized by calling attach(subdev); next all
    subdevices with unit ? are initialized by calling attach(sundev).
Almost all device entry points is now like the vax/sun model (intr being
the weird one)
1993-04-15 07:52:08 +00:00
cgd e17cdf070b added -DNFSSERVER to makefile. another point for glass. 1993-04-12 19:31:40 +00:00
deraadt a183b8d0bf new scsi subsystem.
changes also in /sys/scsi/* i386/isa/wd.c, fd.c, and all scsi drivers.
1993-04-12 08:18:09 +00:00
cgd 766c70273a forgot semicolon => syntax error. stupid error, glass... 1993-04-11 17:33:43 +00:00
glass 58b3b35fa9 doesn't core when nfsclient support is not in kernel 1993-04-10 20:16:13 +00:00
glass cf30e49568 doesn't core when nfsserver support is not in kernel 1993-04-10 20:16:04 +00:00
cgd 2d703fd900 fix rwalld so that it goes into daemon mode properly. 1993-04-10 17:59:27 +00:00
cgd 675e4016f2 added swapinfo from Kevin Lahey <kml@rokkaku.atl.ga.us> 1993-04-10 12:16:52 +00:00
glass d0cccba842 oops..left in -g 1993-04-10 12:16:42 +00:00
cgd 88c3c41b30 added swapinfo from Kevin Lahey <kml@rokkaku.atl.ga.us> 1993-04-10 12:16:41 +00:00
glass fea6b7920f Welcome to the new order. config(8)'s code for reading files, files.i386,
and files.kernel has now been completely replaced.
features supported: not nearly as broken as the stuff before
		    expression support for dependencies
		    support for 'requires'
		    no longer generates lots of stupid unnecessary .h files
		    broke lots of broken stuff, and forced fixing it.
(docs to arrive later)
		    added '-k' option for continue even after error
		    documented '-g'
1993-04-10 12:11:55 +00:00
mycroft 0152106f20 Reverse sense of fnmatch() to match POSIX. 1993-04-10 01:32:25 +00:00
cgd 6f9402e83b ported from Net/2. (patch 111) 1993-04-09 19:25:07 +00:00
cgd 9dc3975ffe from Rodney W. Grimes (rgrimes@agora.rain.com) (patchkit patch 117):
This patch adds the symbol names to icu.s that vmstat expects
the interrupt counters to be called.  It also adds code to config
so that the names of the interrupts are written at the end of vectors.s
so vmstat can report real device names.  It also cleans up and enables
the logging of stray interrupts.  The counters for false interrupts
are added but the fix for them is not (the fix I have is not done
very good.) A false interrupt is when a device asserts it's interrupt
signal, then removes it before the 8259 can latch it.  This is the number
one cause of stray IRQ7's and IRQ15's.

	Additional device probe information is now printed.  This includes
ending I/O address (many drivers do not return the correct value from a
probe this still needs to be fixed), memory address and size, driver
flags passed in by config.
1993-04-09 13:27:46 +00:00
cgd cf98284671 added accton, edquota, flcopy, gettable, htable, iostat, quotaon,
repquota, trpt, and trsp, per (currently alpha) patch 125.
1993-04-09 12:15:37 +00:00
deraadt 8c41b728aa config will now deal with wdc and fdc in "barsoom" fashion. This patch is
not identical to barsoom's patch, but I think it's an easier patch.
Check out compile/KERN/ioconf.c to see the effect. (On e kernel with wd and/or
fd of course)
1993-04-06 09:53:49 +00:00
cgd 3e510d3b79 made link to chgrp relative 1993-04-05 03:42:43 +00:00
cgd aac2114a43 moved chown into sbin from usr.sbin 1993-04-05 03:40:06 +00:00
cgd 7896865b17 original, by cgd 1993-04-04 19:01:05 +00:00
cgd 68e9a65943 updated for addition of rwalld 1993-04-04 19:00:49 +00:00
cgd 83bb0a658b now can config `maxfdescs number', similar to `maxusers' to set
the max. number of fd's a user is limited to.
1993-04-04 04:33:03 +00:00
glass 356d1d5761 wildcard mx support is flakey, distributed config file now defaults to no
special handling for wildcard MX case.
no longer tries to close getdtablesize() file descriptors.
1993-04-03 23:39:27 +00:00
cgd cac8c9b73b added support for kgmon 1993-03-31 18:06:59 +00:00
cgd 36adb5cb3d added kgmon, from net-2. should work fine, because kernel does profiling
support correctly of config'd w/"-p"
1993-03-31 17:19:52 +00:00
cgd 477497da10 adjusted to take into acct. changes to ../timed/Makefile, which
resolved the cksum.i386.c problem.
1993-03-23 03:50:32 +00:00
cgd d7ddb78a97 fixed CVS's fight with a cksum.i386.c (a symlink to cksum.tahoe.c). 1993-03-23 03:47:07 +00:00
cgd 06be60083d changed "Id" to "Header" for rcsids 1993-03-23 00:22:59 +00:00
cgd b82a753d4d added -lresolv to LDADD so we can get resolver debugging info 1993-03-22 18:58:09 +00:00
cgd 346aa5dd48 added rcs ids to all files 1993-03-22 08:04:00 +00:00
cgd e541169ce2 after 0.2.2 "stable" patches applied 1993-03-21 18:04:42 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00