Commit Graph

6460 Commits

Author SHA1 Message Date
mycroft 3731815919 Add RCS identifiers. 1993-07-30 20:50:20 +00:00
mycroft 080e65aef6 Add RCS identifiers. 1993-07-30 11:10:53 +00:00
jtc 78df5feb47 First cut at "catman" 1993-07-27 21:29:27 +00:00
brezak 19049fea1a Add option dependency generation. 1993-07-23 03:01:47 +00:00
glass f2a0b0fbdf Upgraded sendmail from revision 8.1C to 8.3;
this version of sendmail tries to use sysconf() if the _SC_* macros
		are defined in unistd.h.  We have the macros but not
		the function.  A temporary "fix" has been made to avoid
		the issue.
1993-07-20 18:10:14 +00:00
mycroft 4f59ef7ee3 Kitchen sink version of dbsym.
-f	force; don't complain if db_symtab is missing
-g	debugging; include line number and function info
-x	remove local symbols
-T addr	specify load address (necessary to determine file positions)
1993-07-19 16:50:10 +00:00
mrg 14b1a9b7a9 4.4BSD-Lite2 1993-07-19 16:48:16 +00:00
mycroft 2b5a456ba9 Fix kvm_mkdb to work with kernels loaded >=1MB. Note: This is a KLUGE, but
there is probably no better way to do it with a.out.
1993-07-19 07:24:41 +00:00
mycroft b6e9697594 DUH. This is kvm_mkdb, not symorder. Display the correct name in error
messages.
1993-07-18 10:36:47 +00:00
mycroft c8ca1437a9 Hmmm. I suppose text_Adr really should be an int... 1993-07-18 10:34:52 +00:00
mycroft b0c70a21fe Hmmm. I suppose loadaddress really should be an int... 1993-07-18 10:33:46 +00:00
mycroft 97159f53d2 Allow specifying the load address in the config file. Again, defaults to
KERNBASE.

To use this, on the `config' line you specify, `at address'.  For example:

config          netbsd  at 0xfe100000 root on sd0 swap on sd0 and sd1
1993-07-18 10:07:36 +00:00
mycroft 58b2563f49 Add -T option to specify load address of kernel (like ld); default to KERNBASE
for compatibility.
1993-07-18 09:44:12 +00:00
cgd dbbedddb89 Changed the reference to mkpasswd to pwd_mkdb since that is what is used
now.  (From Christoph Robitschko).
1993-07-17 12:30:13 +00:00
cgd f132587bb5 usage info called it "disktab" 1993-07-14 09:05:27 +00:00
cgd 10e3a8d21b use "#if __STDC__ > 0" rather than "#ifdef __STDC__" 1993-07-13 22:16:23 +00:00
cgd 048389b2ee make package makefiles deal with "all", "clean", and "cleandir" if they
don't already.
1993-07-13 08:12:53 +00:00
brezak 846b18f20c Changes for GCC2 generated symbols. 1993-07-12 18:01:51 +00:00
cgd 0836388ff0 if no symbols present, don't complain, and exit with 0 exit status.
that way we can use dbsym from kernel makefiles and actually pay attention
to its errors...
1993-07-11 08:43:34 +00:00
cgd 892404628d patch from Paul Kranenburg <pk@cs.few.eur.nl> so that if given a kernel
name, kvm_mkdb will work properly.
1993-07-10 01:16:15 +00:00
mycroft a18c6474da Clean up deleted files. 1993-07-08 16:58:04 +00:00
deraadt f437fa25c1 NIS -> YP (one more) 1993-07-08 02:19:32 +00:00
cgd f0e2d2191c changes from mw to support nfs swap/root specification 1993-07-07 10:47:00 +00:00
cgd 6e1f2beb63 we don't need the lex lib 1993-07-07 10:33:01 +00:00
cgd 09844fbcfe make the rlist code all go away. replace it with resource map code,
as written by Wolfgang Solfrank.
1993-07-07 06:04:12 +00:00
mrg 020c240b45 4.4BSD-Lite2 1993-07-05 22:36:25 +00:00
cgd 1559a8e0be slight stylistic change, and don't limit field width when such limits
are unnecessary...
1993-07-03 12:59:54 +00:00
cgd 77219acd07 change interrupt vector names to begin with "X" rather than "V", so we're
like every other BSD system on the planet...
1993-07-03 12:32:25 +00:00
glass b54cac1cc7 Upgrade for sendmail 8.1B to 8.1C....
from Eric Allman <eric@vangogh.cs.berkeley.edu>:
>Subject: sendmail 8.1C out
...
>THIS IS AN URGENT FIX.  There is a security problem in 8.1B (and
>apparently most vendor versions of sendmail) that permits a user
>to read any file on the system (don't ask, I won't go into details).
>It should be installed immediately.
...
> ======================================================================
>
> 8.1C/8.1B     93/06/27
>       Serious security bug fix: it was possible to read any file on
>               the system, regardless of ownership and permissions.
>       If a subroutine returns a fully qualified address, return it
>               immediately instead of feeding it back into rewriting.
>               This fixes a problem with mailertable lookups.
>       CONFIG: fix some M4 frotz (concat => CONCAT)
>
1993-06-28 22:32:43 +00:00
glass ef1aed7436 last change planned to the sendmail srcs proper.
sun-lamp.mc, and boat-anchor.mc now exist as examples of how to write
sendmail m4 files for NetBSD.  In particular, boat-anchor.mc is an example
of how to work around the annoying "we don't have lockf" problem.
1993-06-27 01:22:45 +00:00
brezak af4554d4e0 Close misbehaving connections instead of exiting. 1993-06-22 17:20:23 +00:00
glass c751fe1973 fixed so that 'obj' directory wasn't required. forwarded fix off to Allman. 1993-06-18 23:36:59 +00:00
glass 7af879627b example config file; used by sun-lamp 1993-06-18 23:07:57 +00:00
glass e66e5354ca link with -lutil to get getloadavg() 1993-06-18 21:21:08 +00:00
mycroft 99d9fd9026 Clean up deleted files. 1993-06-18 20:44:35 +00:00
glass cb8fe8af94 baseline commit of sendmail release 8 version 8.1B
(this is the sendmail stuff as it will appear in 4.4BSD)
1993-06-18 20:42:53 +00:00
mycroft 1a012c5667 Clean up deleted files. 1993-06-18 20:42:52 +00:00
glass 52021971d9 baseline commit of sendmail release 8 version 8.1B
(this is the sendmail stuff as it will appear in 4.4BSD)
1993-06-18 20:42:15 +00:00
mycroft 239b788fc6 Clean up deleted files. 1993-06-18 20:42:13 +00:00
glass 100f4f365f baseline commit of sendmail release 8 version 8.1B
(this is the sendmail stuff as it will appear in 4.4BSD)
1993-06-18 20:41:58 +00:00
mycroft b580eb544e Clean up deleted files. 1993-06-18 20:41:56 +00:00
glass f5b0f0df66 baseline commit of sendmail release 8 version 8.1B
(this is the sendmail stuff as it will appear in 4.4BSD)
1993-06-18 20:41:29 +00:00
mycroft 4f1bbae810 Clean up deleted files. 1993-06-18 20:41:28 +00:00
glass 9e94ffc755 baseline commit of sendmail release 8 version 8.1B
(this is the sendmail stuff as it will appear in 4.4BSD)
1993-06-18 20:41:02 +00:00
mycroft bb0e23229d Clean up deleted files. 1993-06-18 20:41:01 +00:00
glass ae87789673 baseline commit of sendmail release 8 version 8.1B
(this is the sendmail stuff as it will appear in 4.4BSD)
1993-06-18 20:40:25 +00:00
mycroft 4e47609c49 Clean up deleted files. 1993-06-18 20:40:15 +00:00
glass 841de26551 baseline commit of sendmail release 8 version 8.1B
(this is the sendmail stuff as it will appear in 4.4BSD)
1993-06-18 20:39:56 +00:00
cgd c8bdad0560 convert magic numbers to network byte order, and attendent changes 1993-06-18 06:49:30 +00:00
andrew 349ac16602 Fixed typo. 1993-06-17 08:21:42 +00:00
jtc 5108aaad56 Update source to use posix fnmatch 1993-06-16 17:19:05 +00:00
mycroft ec956c81af And just one more. 1993-06-15 23:41:53 +00:00
mycroft e6ee987106 And a few more... 1993-06-15 23:25:17 +00:00
mycroft c104e05fed Add another library dependency. 1993-06-15 23:24:24 +00:00
mycroft 53d8b825f0 Add some library dependencies. 1993-06-15 23:13:33 +00:00
mycroft 77f1922b02 Fix up FILES sections. 1993-06-13 23:06:41 +00:00
mycroft e52e93dd80 Update file names. 1993-06-13 22:36:44 +00:00
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