Commit Graph

1600 Commits

Author SHA1 Message Date
chuck 3745979128 fix broken case statement for "-C", also check to make sure we've got
the proper number of args for -C and give up if not.   fixes yp slave servers.
1996-08-15 22:17:57 +00:00
chuck 6ad546e352 fix printf format (%s -> %d) in yplog debug statement 1996-08-15 21:47:53 +00:00
explorer 0072cebdef Add mailstats man page. From John M. Vinopal. Closes pr bin/2697.
I also mailed this to sendmail-bugs@sendmail.org, in hopes this won't
remain a local mod for long
1996-08-14 07:07:06 +00:00
mycroft b9ae4a5e3f Remove `config-dependent' and `device-driver' flags. 1996-08-12 00:55:54 +00:00
explorer 2ff0386692 allow comments in chat scripts. pr misc/2450 1996-08-10 23:57:22 +00:00
explorer 22018a843b Reference the new sl(4) page 1996-08-10 21:26:42 +00:00
explorer 75f3d0f63c Reference the new ppp(4) page 1996-08-10 21:25:45 +00:00
explorer aa3ab1608c demand.c: fixed a very minor problem where the top of the file claimed
to be auth.c.  pr bin/2539
main.c:  don't try to delete pid file "", since that will end up being
	a directory.  pr bin/2388 and bin/2551
1996-08-10 20:39:35 +00:00
explorer 66917416dd Fix printing over non-root-exported NFS at least.
The problem here is setuid(euid) is used far too much.  Since I removed
many of these calls, and added no new ones, I do not think this weakens
security.  In fact, it quite likely improves it quite a bit, since
access() is called as the real userid, and the file is opened for printing
as the real userid rather than the (setuid-root) effective one.
1996-08-10 20:09:19 +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 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 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
ws 35a18894f5 xdr_bool wants a bool_t (which happens to be an int32_t on our port)
and not a char
1996-07-25 18:53:43 +00:00
explorer 86cec79d01 Document the new autonice sysctls 1996-07-17 21:38:46 +00:00
thorpej 401810260a -DDEAMON is no longer used, so remove it from CFLAGS. 1996-07-09 06:36:31 +00:00
thorpej 0d01b20301 Fix a misplaced #endif - if DEBUG wasn't defined, ypbind would never
detach from the controlling tty.
1996-07-09 06:34:12 +00:00
jtc d7eb41bd8e Changed to not use a compiled in table of baud rates. Evidently
there are some PC/Mac oriented devices that use non-standard speeds,
furthermore that's just not the way we do things anymore.

"Bad" baud rates are no longer caught with their own error message,
but the condition will still be diagnosed when the tcsetattr() fails.
1996-06-30 23:55:49 +00:00
jtc fe16013cee Fixed reversed inet_aton condition test; From PR #2579 1996-06-30 22:51:11 +00:00
thorpej 5ab89821de Use sigemptyset() rather than frobbing the sa_mask directly. 1996-06-23 22:08:43 +00:00
christos ebef85c991 Code cleanups.
- check malloc returns
- null terminate strncpy() strings
- use snprintf instead of sprintf
- pass the right arguments to the right functions
- check usage
- use err(3) and warn(3) instead of printfs.
1996-06-22 17:59:52 +00:00
gwr f1d623f2f2 Some corrections regarding boot file and path (suggested by cgd) 1996-06-19 16:08:34 +00:00
gwr 587d8cc1f5 Explain why the HP printers fail and how to work around the problem. 1996-06-19 15:15:40 +00:00
gwr 2a6455604b Minor fixes sent in since bootp-2.4.3 release:
Correct length arg to haddrtoa() in report of duplicate address.
The string value for a generic tag should not include the null.
(Including the null in reponses really annoys HP printers!)
When reading hardware addresses, allow colon separators
(only works if the whole H/W address is in quotes).
1996-06-19 14:52:34 +00:00
christos bb531c94ea General cleanup 1996-06-18 20:32:25 +00:00
briggs 14cd82db79 Minor formatting update. 1996-06-18 17:45:24 +00:00
briggs 3a5ebfc1d7 paths are specified as server:/path and the server and path are both
returned.
1996-06-18 17:30:16 +00:00
cgd cb40dc44d0 two devices instances which are otherwise the same but do not attach
via the same attributes are _not_ the same, and should not be treated
as aliases of each other.
1996-06-17 18:21:35 +00:00
pk fee478451f `/dev/printer' => `/var/run/printer' (PR#2552).
Also, change `.Os 4.2' => `.Os 4.4' (this man page is from 4.4 lite), and
for now, refer to the "BSD 4.3 Line printer manual", because that is what
we now have in lpr/SMM.doc (SMM.doc needs updating too).
1996-06-16 22:36:59 +00:00
thorpej 01c816cc43 Add the `ac' device (auto-changer) to the isscsidev() macro. (I can't
believe that's been missing for so long!)

While I'm here, remove all of the non-hp300 cruft.  The hp300 port is the
only thing that uses config.old(8) now'a'days.  Yes, this is a little
embarassing.
1996-06-10 02:32:20 +00:00
thorpej 5ac89b5cd9 Discard setgid privileges if not reading the running kernel, as suggested
by Mike Grupenhoff <kashmir@umiacs.umd.edu> in PR #2485.

While I'm here, do some long-overdue cleanup, including function prototypes,
and update for modern libkvm interfaces.
1996-06-07 00:44:18 +00:00
mrg 0d3d973470 remove nstest/nsquery references. 1996-06-06 16:32:10 +00:00
is 565cd65355 Sync "iteconfig -h" output with reality and man page.
From Hubert Feyrer, #2444
1996-06-04 16:27:56 +00:00
thorpej 3e82f2c697 Fix typo that can cause ypbind to assume an error when one doesn't
actually exist if the server takes a dive.
1996-06-03 20:44:51 +00:00
thorpej 5bd844ce5d Fix buglet in ypbindproc_domain_2() which caused:
ypbind; sleep 10; ypwhich

to fail (where failure is defined as ypwhich hangs until it gives up,
complaining about not being able to communicate with ypbind).  Failure
mode pointed out by Chris G. Demetriou <cgd@cs.cmu.edu>.
1996-06-03 20:32:55 +00:00
cgd 60da050b90 fix session pointer field width: make it two characters wider.
(The alpha will use all 8 chars.)
NOTE: use of (addr & ~KERNBASE) is VERY bogus.
1996-06-03 19:00:23 +00:00
cgd 6b52790dd2 warnx() already outputs newline; warnings for undefined symbols don't
need an extra one.
1996-06-03 18:50:26 +00:00
pk ef8fa9414c Fix formatting errors.
Also: `PGRP' => 'PGID'; and update `SESS' and `PGID' descriptions.
1996-06-02 21:47:41 +00:00
mrg a16f5e70fa some minor fixes/additions. 1996-05-31 04:07:20 +00:00
cgd 02bcd4f0c5 fix minor bogons (pastos) in last change 1996-05-31 00:29:59 +00:00
cgd 56aad3355b update documentation of what's in the DISC field output by pstat -t 1996-05-31 00:27:19 +00:00
cgd f73f528c42 add case for STRIPDISC to the tty discipline printing code, so that
ttys running Metricom Wireless IP have their discipline printed nicely.
1996-05-31 00:09:38 +00:00
mrg d3124e1c38 remove unnecessary test. 1996-05-30 23:33:16 +00:00
mrg 8493c7c772 pull in <paths.h> for _PATH_VARTMP. 1996-05-30 13:00:09 +00:00
mrg 0fae2c6fbd oops. print pstat -t header. 1996-05-30 08:08:27 +00:00
mrg 956fd533da use new ttylist to get tty stats. 1996-05-30 05:45:45 +00:00
thorpej eb46d3c03e Pull down yp/xdr fixes from release branch. 1996-05-29 20:11:10 +00:00
cgd 78dab63aec update for changes in libpcap function prototypes (u_long -> u_int32_t) 1996-05-26 23:51:40 +00:00
fvdl 9ba6417ed1 Don't try to print an NFS packet over TCP when there's not enough space
for an RPC header (--> garbage && coredumps).
1996-05-26 18:35:14 +00:00
ws 021326698d Fix PR 2462
While I am here do some reformatting, remove hardwired DEV_BSIZE values,
add old fs compatibility (stolen from libsa), and change to new RCSids.
1996-05-24 12:51:23 +00:00
mrg 30cdcc3b6b pull in <unistd.h> to make lseek() work ... 1996-05-24 08:52:41 +00:00
fvdl e5687b1276 Add PRECISE_SYMLINKS define (part of fix in PR #1917) 1996-05-23 22:51:02 +00:00
fvdl 6dacd1c9e2 Oops. Forgot to commit the nfsv2.h -> nfs.h change. 1996-05-23 22:49:53 +00:00
mrg 8849e59abd make some errors more verbose. inspired from pr#1509 1996-05-22 03:50:06 +00:00
mrg 8b5da257b3 CHAP is Challenge.... not Cryptographic.... (pr#2446) 1996-05-22 01:41:51 +00:00
mrg 64bd9cec8b don't use gets(). pr#2254 1996-05-21 13:00:31 +00:00
mrg 4a908fb362 use ABRT not IOT for "ndc stats". pr#2241 1996-05-21 12:53:48 +00:00
mrg 290aca3136 use LOG_INFO to say NIS isn't running. 1996-05-21 11:03:14 +00:00
fvdl d65ddbd4e0 Grok NFSv3 packets. Needs a bit of work but is ok for now. Enable dumping
of NFS packets over TCP. Upgrade to 3.0.4 while at it. 3.0.4 fixes previous
fix made to util.c too; 'official' fix applied instead (very minor difference).

Fixes to be sent to maintainers RSN.
1996-05-20 00:41:00 +00:00
is 0bc8c28078 Fix typo in last commit. 1996-05-19 20:17:42 +00:00
is 83f62ea033 Screenblank support:
- new fbio.h in arch/amiga/include, defining only FBIOSVIDEO
- add an IOCTL translation to arch/amiga/dev/grf.c
- add screenblank to the list of specials to build on amiga.
1996-05-19 20:06:02 +00:00
veego 26003d1ce4 print also the wrong mode number 1996-05-19 09:02:44 +00:00
cgd b165a43791 update comment for KERNTEXTOFF -> kerntextoff changes. 1996-05-16 22:48:09 +00:00
gwr 36c3560196 Use the symbol "_kernel_text" if it exists, instead of KERNTEXTOFF.
This allows /usr/sbin/kvm_mkdb to be shared among m68k machines.
1996-05-16 21:17:21 +00:00
thorpej 7356f2c747 Fix think-o in the code that deals with multiple field names passed
on the command line.
1996-05-16 16:00:55 +00:00
jtc a65aba5bdb Updated to use new password file functions in libutil.
From Greg Hudson <ghudson@MIT.EDU>.
1996-05-15 23:19:09 +00:00
mrg f485020d84 use BINDIR from ../../Makefile.inc 1996-05-14 13:55:47 +00:00
thorpej b2fd6338ed RCS id police. 1996-05-13 02:43:35 +00:00
christos 0e44adb42e Fix PR/2395: Segmentation fault de-referencing unitialized fp. 1996-05-12 15:35:09 +00:00
mycroft cc08bc1c86 Correct a thinko in that last. Make sure the programs are built at compile time,
not install time.
1996-05-11 14:46:39 +00:00
mycroft f012e6700f Fix bogons that caused this to not build with NOMAN set. From Luke Mewburn. 1996-05-11 14:36:24 +00:00
mycroft d779242948 Use the correct time zone info; not what the kernel says. (Forward to tcpdump
maintainers.)
1996-05-11 13:18:00 +00:00
thorpej 1eaf5ee379 New userland code to read the statistics kept by the NetBSD generic
disk framework, from John M. Vinopal <banshee@gabriella.resort.com>
1996-05-10 23:16:30 +00:00
christos d17eef343e Fix PR/2348: Support for NIS servers without YP_ORDER 1996-05-09 22:57:57 +00:00
christos 8627914b3f Fix PR/2371, a spelling error and missing -s from the description. 1996-05-06 16:36:44 +00:00
christos 134727973b Fix PR/2373 1996-05-06 13:49:16 +00:00
mrg ac90bb0fa5 merge sendmail 8.7.5 1996-05-04 14:13:20 +00:00
cgd eeee976759 handle the VISTTY vnode flag with the same letter ('I') that BSDI used.
Update the documentation of the vnode flags so that it lists only (and all)
of the flags understood by the program.  (The documentation is likely in need
of more cleanup.)
1996-05-02 00:13:08 +00:00
cgd dc6fe8f1a8 second argument to xdr_long must be a "long *", which means that the
'out' arg to svc_sendreply must point to a long if outproc is
xdr_long.  It was pointing to an 'int', and that was crashing on the
alpha, due to bad alignment.
1996-05-01 18:10:26 +00:00
pk ca9e50f43b Don't get distracted into kernel space.
Understand MNT_ROOTFS flag.
1996-04-30 00:41:51 +00:00
jtc 678bd1b2eb Use XS, not XC, flags when setting tty flags.
From Brook Milligan <brook@trillium.nmsu.edu>.
1996-04-30 00:07:00 +00:00
christos 5d0cf0b1fa - Fixed core-dump when key has no netgroups
- added -d flag for debugging.
- moved external functions to netgroup.h
1996-04-27 18:54:31 +00:00
gwr d87f04d7a2 Correct the "Vulnerabilities" announced in CERT advisory CA-96.08. 1996-04-25 01:00:12 +00:00
mrg d28f8743af Stylistic changes. 1996-04-24 14:54:06 +00:00
cgd 03ba0d2233 if a variable is a u_int32_t, it may never compare equally to -1L on
some machines (because on those (64-bit) machines, -1L is
0xffffffffffffffff, but a u_int32_t will never be sign extended).
Compare to 0xffffffff; that's what was really meant, anyway.
1996-04-09 05:29:25 +00:00
jtc 54e0c861ec Add to DPADD for each library in LDADD; Reported by Mike Long <mike.long@analog.com> in PR #2301. 1996-04-08 21:03:06 +00:00
jtc 58fae9f6e7 Add proper punctuation; Reported by Mike Long <mike.long@analog.com> in PR #2300. 1996-04-08 20:55:17 +00:00
cgd e9e09ebaca use fixed-size types where appropriate, to make timed work on 64-bit
machines (Alpha).  fixed sized types, not 'timeval's should go over
the net, and the stuff that goes over the net can't necessarily be
passed directly to functions that expect timevals.
1996-04-06 01:53:29 +00:00
cgd 9b70f26fe8 deal with the fact that fsck has moved 1996-04-05 04:17:54 +00:00
mrg 3fd9d3347e use local copy of resolver, with -DDEBUG. fixes pr#2275 (ken hornstein) 1996-03-31 13:55:34 +00:00
mark d907c07635 Use an integer instead of a char to store the getopt() return value in
order to match the function prototype and to work with compilers that
default to unsigned chars.
Compare the getopt() return value with -1 instead of EOF.
1996-03-30 23:53:51 +00:00
mark 3e43cc032f Use an integer instead of a char to store the getopt() return value in
order to match the function prototype and to work with compilers that
default to unsigned chars.
1996-03-30 23:51:42 +00:00
mark a8f4abc7d9 Use an integer instead of a char to store the getopt() return value in
order to match the function prototype and to work with compilers that
default to unsigned chars.
Compare the getopt() return value with -1 instead of EOF.
1996-03-30 23:49:48 +00:00
mark 630dc09e4b Use an integer instead of a char to store the getopt() return value in
order to match the prototype.
Compare the getopt() return value with -1 instead of EOF.
1996-03-30 23:46:04 +00:00
mark 1fe734c654 Use an integer instead of a char to store the getopt() return value in
order to work with compilers that default to unsigned chars.
Compare the getopt() return value with -1 instead of EOF.
1996-03-30 23:42:33 +00:00
cgd efa731795e apply patch from PR 2085: don't treat XIDs and domain mapping pointers
interchangeably, because this is fragile and doesn't work at all on
the alpha.  (get rid of the old hack used on the alpha, and fix RCS
Ids, too.)
1996-03-30 22:49:08 +00:00
mark 036d834ee8 Use an integer instead of a char for the getopt() return value in order
to work with compilers that use unsigned chars.
Compare the getopt() return value with -1 instead of EOF.
1996-03-30 22:34:25 +00:00
paulus e170d85c0d Minor bug-fixes to pppd; add -ccp option to disable CCP negotiation
if desired; delete interface addresses on exit.
1996-03-28 02:50:57 +00:00
paulus e8f5c6972e Fix problem of printing large numbers (as deltas) when the kernel
ppp stats get reset.
1996-03-28 02:42:29 +00:00
scottr 6bd0c1ff9b In link_down(), give a second arg to the close function. Fixes
a SEGV when pppd closes the link.
1996-03-23 05:43:11 +00:00
jtc cac62b2d65 Be pedantic, main() returns int in C. 1996-03-21 17:56:15 +00:00
jtc 8707bd0e20 Added -I. and -I${.CURDIR} to CFLAGS. 1996-03-19 03:03:04 +00:00
thorpej 280bbabcaa RCS id police. 1996-03-18 22:48:34 +00:00
mrg 25d96569e7 CLEANFILES=y.tab.h grammar.c scanner.c 1996-03-18 09:19:27 +00:00
cgd 315f091f18 fix (apparently long-standing) bug which prevented devices from attaching
to interface attributes on a device other than the interface attribute that
the device was named the same as, if that one was there.
1996-03-17 21:12:03 +00:00
christos 6b2a32d7dc Declare the mountroot functions and variables fully prototyped. 1996-03-17 20:36:25 +00:00
cgd 3ac7667c57 add BSDI-style expression support to optional file specifiers. Code mostly
taken from the parts of BSDI's 'config' which are freely-distributable
(under the LBL/UC Regents license), and adjusted to fit into our version.
1996-03-17 13:18:15 +00:00
cgd 50b3b61ea3 simplify nvlist creation slightly; change newnv() to take another arg: next 1996-03-17 11:50:09 +00:00
cgd 2dd7a7984c Fix PR 2218. As noted (both in mail from me included in the PR, and
in XXX-marked comments in the recent attachment changes), this was a
long-standing bug in config.

The problem: If a device is attached to a device via an attribute exported
by that device (i.e. foo* at bar0, where 'bar' exports an attribute that
'foo' attaches to), but the device attached to is not present in the
kernel configuration file, AND another device which exports an attribute
that 'foo' attaches to _is_ present (e.g. a device baz0, if one could
specify 'foo0 at baz0'), then: the configuration file will (incorrectly)
be accepted by config, and the resulting ioconf.c will include a bogus
cfdata entry for the device (in the example, 'foo*').  This typically
causes the resulting kernel to crash during autoconfiguration.

The solution: Be much more careful about keeping track of where a device
was attached, and, in particular, if a device was attached to another device,
_always_ keep track of what device it was attached to.  Then, when
cross-checking, if the attached-to device isn't present, give up and do not
check attributes.  Also, document the process much more thoroughly.
1996-03-17 07:05:50 +00:00
cgd 9c4f9d2daa spaces vs. tabs, spaces/tabs at EOL bogons. 1996-03-17 06:29:19 +00:00
cgd 95f205f10c fix bogon in device attachment name checking. the same rules should be
used for checking device attachment names as are used for device name
checking, because device names can be used as attachment names.  (Actually,
less strict rules could be used, but there's little point in that.)  This
was not a mistake of design, this was just a mistake; i misunderstood
the devbase name checking code.
1996-03-17 06:23:18 +00:00
cgd 9c70ac56a8 fix another just-discovered long-standing bug: foo0 at bar* is not legal
syntax.  (devices which specify 'at' can't be starred.  they can be
wildcarded, with ?, but not starred.)
1996-03-17 05:19:33 +00:00
cgd dfbb6d0884 fix a bug where definitions to be placed in headers wouldn't be
right/consistent.  If you had something like:

file	file.c		foo bar baz needs-flag

and any one of foo, bar, or baz caused it to be brought into the compile,
in the header you'd end up with:

#define NFOO	1
#define NBAR	1
#define NBAZ	1

even if only one of them were selected.  Other headers might have had a
different (inconsistent) set of definitions, depending on whether any of
their components were included, and any files necessary for the unspecified
options would not actually be present in the Makefile files list.  The
correct behaviour for the example above if only 'foo' is selected by
the config file is:

#define NFOO	1
#define NBAR	0
#define NBAZ	0

which is what config now does.  This bug has been present for a while.
(I don't know for sure that it was present in 4.4-Lite2, but from looking
at the Lite2 config sources, it appears to be there.)
1996-03-17 03:21:21 +00:00
thorpej cb6211e540 New device attachment scheme:
- split softc size and match/attach out from cfdriver into
	  a new struct cfattach.

	- new "attach" directive for files.*.  May specify the name of
	  the cfattach structure, so that devices may be easily attached
	  to parents with different autoconfiguration semantics.
1996-03-17 02:08:22 +00:00
pk cdd1abc966 Fix arguments to a printf() (PR#2219). 1996-03-16 12:37:45 +00:00
paulus 0a659c65f3 Files added to pppd to support demand-dialling and packet filtering. 1996-03-15 03:09:08 +00:00
paulus 44c91c8e53 Several enhancements and bug-fixes to the PPP daemon, including new
support for demand dialling, packet filtering, idle timeout, multiple
packet compression schemes (including PPP Deflate), and a limit on
connect time.
1996-03-15 03:03:34 +00:00
paulus 0b316ef301 Cleaned up the output of pppstats a bit, and changed the compression
ratio report to a more intuitive measure (i.e. uncomp / comp).
Corrected the man page.
1996-03-15 02:47:18 +00:00
christos 7758c3b701 Fix PR/2126; recognize mount option readdirsize. In addition, if rsize is
specified and readdirsize is not, make readdirsize use the value of rsize.
1996-03-06 00:21:21 +00:00
thorpej c5f7cf3a9e RCS id police. 1996-03-03 17:21:25 +00:00
veego 762a972b92 Added missing clean rules for grfconfig and videomode (amiga-port) 1996-03-01 19:45:13 +00:00
thorpej 1d94921b5e Copyright assigned to The NetBSD Foundation. 1996-02-28 01:25:08 +00:00
thorpej c479d69ad9 Copyright assigned to The NetBSD Foundation. 1996-02-28 01:13:20 +00:00
mrg a484d585d1 merge sendmail 8.7.4 1996-02-24 01:00:12 +00:00
cgd 7d351bb3f4 fix thinkos in emitobjs() and emitfiles() that would cause empty files
lists to not have a newline properly emitted.  (It was emitting a
newline only if the line position was != 7.  However, the only time the
line position was 7 was right after the initial variable assignment
string (e.g. "OBJS=\t") was printed.)
1996-02-23 00:39:42 +00:00
mycroft 0ffcbb494d Always swap most of the fields when updating a config file entry; otherwise
we can get weird lossage when deleting a field (e.g. the group).
1996-02-22 11:14:41 +00:00
thorpej e8c79c9ef1 RCS id police. 1996-02-22 06:59:15 +00:00
cgd 3afcb7a849 fix for new NFS include files. (checked with fvdl.) 1996-02-21 02:27:57 +00:00
fvdl baef289adb Sync with Lite2. 1996-02-20 16:06:55 +00:00
christos c7ce104884 Fix amd to compile and work after the NFSv3 commit.
This fix is a kludge:
	- make the nfs filehandle conditional on v2 and v3
	- set the nfs_args fields for the version and the
	  file handle size.
	- make the file handle pointer type void * so that
	  it works on both nfsv2 and nfsv3
	- fix the mountd rpc results parsing.

A proper fix should:
	- register an nfsv3 server for amd.
	- make amd try v2/v3 mounts exactly like mount_nfs does.
	- understand the nfsv3 mount options.
	- cleanup the #undef's in the protocol header.

Also in order to auto-recognize v2 vs v3, I moved the inclusion of
<sys/mount.h> to am.h.
1996-02-19 20:57:40 +00:00
mycroft d6864c438f Add #includes so this will compile. 1996-02-18 23:19:20 +00:00
mycroft e174025c48 Reorder #includes. 1996-02-18 23:18:56 +00:00
fvdl f916611f33 Bring in NFSv3 code by Rick Macklem (from Lite2). 1996-02-18 11:58:24 +00:00
fvdl 322cd1a032 Bring in NFSv3 code by Rick Macklem (from Lite2) 1996-02-18 11:57:50 +00:00
scottr de8fcf0996 Spelling correction 1996-02-13 23:08:24 +00:00
neil fee47471be Fixed Typo. Closes PR 2001. Keep them coming! 1996-02-11 16:34:23 +00:00
christos 1f4499519b fix pr/1226: allow rdate to use adjtime(2) 1996-02-10 18:44:54 +00:00
jtc b4c556ca62 Added explicit dependencies on yacc generated files. From Luke Mewburn
<lukem@supp.cpr.itg.telecom.com.au>.  Fixes PR #2032.
1996-02-06 18:30:58 +00:00
jtc 0f9ea1b77e Fix dangling 'The'; From Mike Long <mike.long@analog.com> 1996-02-05 06:11:16 +00:00
perry 71e2e03ced Added code to implement mode in which syslogd listens only to unix
domain socket (triggered by -s option) and documentation for
same. This closes pr 1761, although the code is slightly different.
1996-02-05 02:30:21 +00:00
mrg 9f1b8faa72 BINDIR=/usr/libexec (from jonathan) 1996-02-04 12:02:12 +00:00
scottr 38cd25875c Sleep after pulling DTR low when disconnecting. The ensures that the
modem has enough time for a reset or hangup should the line be marked
local, or a non-standard getty pulls DTR high again immediately.
1996-02-02 20:24:54 +00:00
scottr 6a334da2bd Be explicit about the fact that ip-up and ip-down are executed with
a null environment.  Closes PR #1866.
1996-02-02 20:17:53 +00:00
mrg 32c0edb470 update to bind 4.9.3-p1. 1996-02-02 15:30:57 +00:00
mrg 12e310738e update to bind 4.9.3-p1. 1996-02-02 15:29:24 +00:00
mrg c6357b052a update to bind 4.9.3-p1. 1996-02-02 15:29:21 +00:00
mrg 40405c0ec2 update to bind 4.9.3-p1. 1996-02-02 15:29:07 +00:00
mrg 03b98dd9c2 update to bind 4.9.3-p1. 1996-02-02 15:29:03 +00:00
mrg 631c443645 update to bind 4.9.3-p1. 1996-02-02 15:25:33 +00:00
mrg bcbd476ac7 these become subdirectories in the new bind 1996-02-02 14:15:59 +00:00
mycroft cbbb28608c If __FreeBSD__, don't swap the type field in the Ethernet II header. 1996-02-01 21:57:00 +00:00
mycroft 851e3892fc If __FreeBSD__, don't swap the length field in the 802.3 header. 1996-02-01 21:27:46 +00:00
jtc dd05bd5124 Rename struct timespec fields to conform to POSIX.1b 1996-02-01 00:04:52 +00:00
hpeyerl a2db59e20a interface aliases don't count as individual interfaces and hence don't
need a seperate bpf. Someone should decide whether to tell netstat
about this.
1996-01-31 20:25:31 +00:00
mycroft 15c8e154a1 Make this closer to reality. 1996-01-30 09:49:16 +00:00
mrg 705157eda9 extra update from 8.7.3. also, (re)include NIS support. 1996-01-29 04:58:23 +00:00
mrg d3b14c1c3a include <paths.h> under netbsd and freebsd, for _PATH_VARTMP 1996-01-26 03:30:23 +00:00
mrg 671e777954 cast return value of hstrerror() as this changes with the incoming bind
distribution to be const char *, and, causes a warning.
1996-01-24 15:49:52 +00:00
mrg 5eac1270dc merge to sendmail 8.7.3 1996-01-22 12:50:24 +00:00
mrg 8d05f6d4e9 sendmail 8.7.3 1996-01-22 10:52:39 +00:00
jonathan 92bff2b19b Change Makefile to build screenblank on Decstations. 1996-01-16 22:20:13 +00:00
thorpej 535abd80a2 Add a net.inet.ip.directed-broadcast sysctl as suggested by
Darren Reed <darrenr@vitruvius.arbld.unimelb.edu.au> in PR #1227.
This change is slightly different than the one submitted by Darren in
that the DIRECTED_BROADCAST compile-time option will behave like it used
to so that existing configurations utilizing it won't have to change.
1996-01-16 04:17:30 +00:00
thorpej 4b359df8c4 Add net.inet.ip.forwsrcrt: if zero, the system will not forward
source-routed packets.  Note this value is protected by kernel security
level; it can only be changed if securelevel < 1.
1996-01-15 21:11:46 +00:00
hpeyerl 8c4481f80c More descriptive message for printer status. Addresses PR #509. 1996-01-14 17:25:21 +00:00
thorpej dcb6bca52b Cross-reference fsinfo(8) and mk-amd-map(8), as per PR #1057.
From David Brownlee <abs@mono.city.ac.uk>.
1996-01-14 03:49:09 +00:00
pk 3cf040d518 Fix typo (Noriyuki Soda; PR#1926). 1996-01-13 23:18:15 +00:00
thorpej 484fdbba2d New-style RCS ids. 1996-01-11 06:33:32 +00:00
pk 7dd8344d86 Avoid arithmetic overflow (Tor Egge; PR#1768). 1996-01-09 21:23:36 +00:00
pk c6cd235738 Fix typo and make some enum. lists more compact (James Jegers; PR#592). 1996-01-06 23:25:51 +00:00
jtc 2fc14be1c2 merge in change accidently made to 1.1 release branch 1996-01-04 18:28:00 +00:00
perry 4e585ebdd7 Merge/Sync with 4.4lite2. This is the 4.4lite2 version with NetBSD bug
fixes thrown in (and an apparent pre-NetBSD fix to a hardcoded
"vmunix"). I also set the ttymsg timeout to one second (as per our
previous version), rather than the five minutes set in lite2, and made
the timeout set by a #define.
1996-01-02 17:48:41 +00:00
perry 07c1c767ba Merge/sync with 4.4lite2. Fixed HISTORY line for syslog.conf.5. Note
that the claim in the HISTORY line for syslogd.8 that it appeared in
4.3BSD is probably bogus -- I remember it being a lot older.
1996-01-02 17:41:46 +00:00
perry 7f907c1899 Merge/sync with 4.4lite2 -- just a change in version numbers and
RCS id strings.
1996-01-02 17:30:27 +00:00
thorpej 5fdb76aa13 Add RCS ids. 1995-12-30 18:14:01 +00:00
thorpej 11381ec353 Add a vnd(4) manual page and make vnconfig(8) reference it. Fixes
PR #445.
1995-12-30 18:10:45 +00:00
chopps e2f3d531be fix typos (pr#1680) from Thorsten Frueauf 1995-12-27 07:59:00 +00:00
jonathan c82a4ed224 Update Makefiles for usr.bin/systat and usr.sbin/iostat to be
consistent with usr.bin/vmstat/Makefile wrt CLFAGS and -I, since
all three compile vmstat/names.c.  (Now compiles on a pmax.)
1995-12-22 08:04:24 +00:00
cgd 13c61484db fix a call to localtime() so that it works if time_t != long.
(Whoever decided that one should repeate all of the locals 2x to
save one more #ifdef in log() should be shot...)
1995-12-19 03:33:06 +00:00
jonathan fc86960d2b Don't make config.old on pmaxes. Pmaxes now use (new) config, and config.old
can no longer build compilable kernels.
1995-12-17 06:39:31 +00:00
thorpej 89ed0166fe Change a rogue RCS id to new-style 1995-12-16 20:11:45 +00:00
thorpej feeffb23b0 Change a rogue RCS id to new-style. 1995-12-16 20:10:12 +00:00
thorpej a7565806e7 Cast the third argument of svc_getargs() to char * so that this compiles
with -Werror.
1995-12-15 19:08:21 +00:00
thorpej 47efd9f35e Make this compile with -Werror. 1995-12-14 22:30:45 +00:00
mycroft 3d8d046845 Update to mrouted 3.8. 1995-12-10 10:57:11 +00:00
mycroft ad1f8525b4 Update to mrouted 3.8. 1995-12-10 10:08:37 +00:00
mycroft d043d7538d Update to mrouted 3.8. 1995-12-10 10:06:55 +00:00
thorpej b1ebe24227 New-style RCS ids. 1995-11-28 20:16:28 +00:00
jtc 21908ddbd5 merge in changes from 1.1 release branch 1995-11-28 19:43:04 +00:00
jtc 0a1e7de7b6 merge in changes from 1.1 release branch 1995-11-28 05:25:28 +00:00
thorpej 8e8adaf600 Handle "clean" and "depend" targets properly. 1995-11-17 10:05:23 +00:00
thorpej f90cf6bd46 New-style RCS id. 1995-11-17 09:49:19 +00:00
thorpej 15539710a0 Clear the mount argument list before filling it in. This is the patch
from Michael Hitch in pr#1722.  As noted in the pr, this may not be the
most correct fix, but at least it prevents crashes.
1995-11-16 04:34:13 +00:00
pk a29aff2565 Id -> NetBSD 1995-11-15 22:55:41 +00:00
pk f54b84516b Add RCSIDs 1995-11-15 22:48:07 +00:00
pk b965d4ffe4 Add RCSIDs 1995-11-15 22:27:27 +00:00
pk f93236c806 Add RCSIDs. 1995-11-15 22:23:06 +00:00
pk 0e9c04fab0 Fix garbled lines (from Thomas Eberhardt; PR#1756).
Add RCSId.
1995-11-15 22:20:33 +00:00
thorpej 507ba8247c Kill some gratuitous byte-swapping calls, which broke rbootd on the i386
in some cases.  No functional change on big-endian systems.  From
Scott Reynolds <scottr@plexus.com>.
1995-11-14 08:41:42 +00:00
thorpej a752cec2e0 Don't require compiling with -DDEBUG to enable debugging messages. Instead,
add a new option flag "-d", which enables debugging output.  Compile all
of the code that used to be enabled with -DDEBUG unconditionally.  The
amount of extra code is negligable, and all of the tests to check if
debugging is enabled were done regardless of -DDEBUG anyway.  Adjust
SYSLOG() to DTRT if debugging is not enabled.
1995-11-06 07:00:07 +00:00
christos 1949f5ea6b - runio fails when result != 0 not only < 0
- print vis-encoded file in the scanner.
1995-10-29 23:54:45 +00:00
pk ad511bd89a Insert parentheses to get correct precedence when comparing time-stamps
(from Arne Juul; PR#1660).
1995-10-22 20:12:07 +00:00
mycroft 34b0d58fba Fix tiny documentation error; default timeout is 5s, not 3s. 1995-10-12 03:05:50 +00:00
cgd 55f15749ce need string.h to compile on alpha. 1995-10-10 17:56:10 +00:00
thorpej 86aa6c3604 Make an `#include <alloca.h>' conditional on `sparc && !__NetBSD__', rather
than just `sparc'.
1995-10-10 16:29:50 +00:00
chopps b93472a2bb update copyright 1995-10-09 13:52:49 +00:00
chopps dc683639f7 device is require not optional 1995-10-09 04:11:18 +00:00
thorpej ad3a5f50ae New-style RCS ids. 1995-10-09 03:51:32 +00:00
chopps 0699af0c7d add grfconfig to amiga subdirs 1995-10-09 03:43:55 +00:00
chopps b6873a23af add grfconfig from Ezra Story <ezy@panix.com> 1995-10-09 03:43:22 +00:00
chopps 2a4b986b4e add videomode to amiga specific subdirs 1995-10-09 00:52:17 +00:00
chopps 13e967a6eb add videomode (sets video modes for grf[124] 1995-10-09 00:50:07 +00:00
chopps 389dfb1ebd add gspa subdir 1995-10-09 00:09:05 +00:00
chopps f28a6fbe4b makefiles for gsp compiler and output converter 1995-10-09 00:06:57 +00:00
chopps 4a04381d56 compiler for the TMS34010 graphics processor. Original code from
Paul Mackerras, contributed by Ignatios Souvatzis <is@beverly.rhein.de>
more standard argument handling from me.
1995-10-09 00:06:02 +00:00
chopps 5646c9b6d9 gspa output processor from Ignatios Souvatzis <is@beverly.rhein.de> 1995-10-09 00:02:47 +00:00
gwr 677a80857e Add rdconfig 1995-10-08 22:55:48 +00:00
gwr ea702e59dd Helper program for "user RAM" mode supported by sys/dev/ramdisk.c 1995-10-08 22:40:41 +00:00
thorpej 31903d0eaa Be safer with types. From Scott Reynolds <scottr@plexus.com> 1995-10-06 05:12:12 +00:00
mycroft 49d5e89682 Update from kernel source. 1995-10-05 08:58:21 +00:00
mycroft 1e1d370eec Fix typos. 1995-10-05 08:23:18 +00:00
mycroft 2347ccba1b Fix various parity and character size bugs from the termios transition. 1995-10-05 08:20:20 +00:00
mycroft fde6ad0815 Fix a couple of things broken in the termios transition. 1995-10-05 08:01:29 +00:00
mycroft dfd0b8b273 Fix type errors. 1995-10-05 07:47:32 +00:00
mycroft 0231229adc Fix typo in previous. 1995-10-05 07:42:30 +00:00
mycroft 780c7fbe39 Change to use SET(), CLR(), and ISSET() macros. 1995-10-05 07:39:39 +00:00
thorpej c57984e13a New-style RCS ids. 1995-10-04 03:47:51 +00:00
thorpej f335667d4d New-style RCS ids. 1995-10-03 23:16:47 +00:00
hpeyerl 8e41ca8016 -- convert sgtty to termios. From: Scott Bartram <scottb@iis.net>
-- Use seteuid() to only give lpr, lprm, lpq and lpc root when they
   need it from matthew green <mrg@mame.mu.oz.au>
1995-10-03 15:02:17 +00:00
pk 0e91488536 Prevent loop in SIGCHLD handler (Frank van der Linden; PR#1539). 1995-09-30 11:39:53 +00:00
thorpej 7760002a45 New-style RCS ids. 1995-09-30 07:12:43 +00:00
thorpej a6af943990 Add support for the net.inet.tcp sysctl group and document. From
John Kohl <jtk@kolvir.blrc.ma.us>.
1995-09-30 07:05:19 +00:00
jtc 772e08ba5e Remove libdbm DPADD 1995-09-27 21:30:10 +00:00
jtc d538b54279 comment out HISTORY section, as it appears to be garbage; PR #1530 1995-09-27 19:49:25 +00:00
jtc 1bd0165884 iostat is in section 8; PR #1533 1995-09-27 19:46:12 +00:00
jtc 14381bce93 vmstat is in section 8; PR #1532 1995-09-27 19:45:07 +00:00
jtc 8ba230d554 vmstat is in section 8; PR #1532 1995-09-27 19:20:24 +00:00
jtc c362ae238b Add section number in SEE ALSO; PR #1531 1995-09-27 19:17:27 +00:00
jtc 68cc8e44b0 resolver(5) -> resolv.conf(5); PR #1501 1995-09-25 23:48:45 +00:00
thorpej 0964493c0d Better way to deal with byte-order in the RMP packet (might work on a PDP-11!)
From Scott Reynolds <scottr@plexus.com>
1995-09-19 06:27:31 +00:00
glass 8d3a219347 if the function returns nothing, declare it void 1995-09-16 19:12:14 +00:00
glass 9f5762d576 if the function returns nothing, declare it void 1995-09-16 19:01:25 +00:00
thorpej fd263d7b71 The rest of the little-endian patches from Scott Reynolds that
apparently slipped through the cracks before.
1995-09-12 20:07:52 +00:00
thorpej d871ec0593 Changes from Scott Reynolds <scottr@plexus.com> to make this go on
little-endian machines (like the i386).
1995-09-12 07:13:06 +00:00
thorpej c78a02a75a Make the "/tftpboot/<client-ip-address>" requirement conditional on
-DREQUIRE_TFTPBOOT and disable it by default.
1995-09-01 21:55:44 +00:00
cgd 1d48789579 pull in string.h for protos 1995-08-29 23:07:07 +00:00
ragge f525d4b280 Cleaned up an old #ifdef vax. 1995-08-24 19:58:07 +00:00
ragge 5362187bf6 Removed unnecessary #ifdef vax that broke compilation. 1995-08-24 17:04:40 +00:00
thorpej 6799ca3972 Use new-style RCS ids. 1995-08-21 17:05:08 +00:00
thorpej fc5cbfd4ca A few things:
* Don't compute the basename, use __progname.
	* Use daemon() to detach.
	* Use err(3) functions where appropriate.
	* Remove some old 4.2 stuff.
1995-08-21 16:57:54 +00:00
chopps aabb577203 add adosfs. 1995-08-19 16:08:05 +00:00
pk 6ea706d3c0 Remove a comma. Use `.Dq'. 1995-08-18 15:26:45 +00:00
pk 1a5a1af0ab `.SH' -> `.Sh' (from Masanobu Saitoh; PR#1378).
Also, use .Dq in two places, remove an extra comma and pluralize WARNING.
1995-08-18 15:22:34 +00:00
thorpej 6fe057662d New-style RCS IDs. 1995-08-17 17:22:06 +00:00
thorpej 919f902e1c Oops. Garbage collect the ccd-specific grammar, too. 1995-08-17 17:09:22 +00:00
thorpej fb67433ccd The ccd should be treated like any normal pseudo-device now. 1995-08-17 16:43:35 +00:00
paulus 8c0ef60b38 Minor bugfixes and enhancements from the ppp-2.2 release. 1995-08-17 12:03:51 +00:00
paulus b00e161b26 Updated to follow the example of slstats(8) more closely. 1995-08-17 11:44:51 +00:00
gwr 8d3f7ee63c minor cleanup 1995-08-14 19:50:09 +00:00
gwr ebd029a6da Add note (in HISTORY) to satisfy distribution terms. 1995-08-14 19:48:07 +00:00
gwr 6f885de1cf Put the SVR4 code back in (#ifdef SVR4) so as to respect the
requests made in the distribution terms. (re. modifications)
1995-08-14 19:45:18 +00:00
mycroft c9e578df48 Install this setuid root. 1995-08-13 02:54:30 +00:00
thorpej 3cb6ddbe3a Mention the `kern.maxpartitions' and `kern.rawpartition' variables. 1995-08-04 18:46:15 +00:00
paulus a437541fdd restored to its former state 1995-08-02 01:27:08 +00:00
phil 5354239906 Improvements to YP support from Jason Downs. 1995-07-28 07:13:04 +00:00
phil 72065007ac Improvements to YP support from Jason Downs. 1995-07-28 07:01:32 +00:00
gwr a9badc45e2 Delete (possibly incomplete) ARP table entry before adding.
Thanks to Chritos Zoulas and others.  Fixes PR# 1242
1995-07-25 22:56:56 +00:00
gwr e69420e49a Do not complain when yp_bind fails. It is optional. 1995-07-25 22:24:19 +00:00
gwr 457d5a17a4 Add the NetBSD ID strings. 1995-07-25 22:20:13 +00:00
jtc 11b902c1ae /usr/etc -> /usr/sbin 1995-07-25 20:22:10 +00:00
cgd 5c31b284f8 make work regardless of 'obj', do dependencies a bit better 1995-07-24 19:12:18 +00:00
ws b7e8360706 Make bootpgw work for more than just the first query 1995-07-24 13:38:10 +00:00
ws 09d174fdec Since BSD is defined in sys/param.h, we need to include that 1995-07-24 13:35:50 +00:00
jtc 82b75dfd3f gwr's port of pcnfsd 1995-07-24 04:02:44 +00:00
jtc 5bf668ed11 Fix formatting bug. 1995-07-14 17:38:29 +00:00
cgd 1a516ca0ab don't forget to clean eeprom 1995-07-14 07:01:35 +00:00
thorpej 3a7e8d570c Build eeprom where appropriate. 1995-07-13 20:42:35 +00:00
thorpej b7c1140c05 Program to display for modify contents of the EEPROM or OpenProm on
Sun 3 and SPARC systems, similar to the SunOS command of the same name.
1995-07-13 18:17:28 +00:00
thorpej da9b1f7603 Program to display for modify contents of the EEPROM or OpenProm on
Sun 3 and SPARC systems, similar to the SunOS command of the same name.
1995-07-13 18:07:19 +00:00
glass d2551bdcaf complete upgrade to version 8.6.12. Eric willing the next imported version will be 8.7.x 1995-07-12 18:25:23 +00:00
thorpej 6d2243ddee Build screenblank where appropriate. 1995-07-12 05:00:40 +00:00
thorpej dcbb2c500e A screen saver daemon for Sun 3 and SPARC machines, similar to the SunOS
program of the same name.
1995-07-12 04:57:47 +00:00
cgd 998286ad38 alphabetize machine-specific program lists, clean all progs on all machines 1995-07-12 04:56:33 +00:00
jtc 93101c4d91 spray(8) manpage, from Jim Jegers.
Expanded and edited by myself.
1995-07-11 01:18:05 +00:00
cgd ed12e6274c cfparse.c and y.tab.h should be in CLEANFILES 1995-07-10 01:39:58 +00:00
jtc a0e044841b Use consistant style of quotes; PR #1194 1995-07-07 22:26:11 +00:00
paulus fbb77fbf73 Compression Control Protocol (CCP) code for pppd, from ppp-2.2. 1995-07-04 23:54:06 +00:00
paulus 0cac89792c New version of pppd from ppp-2.2. The major new feature is support
for CCP (compression control protocol) and thus packet compression.
Several bugs fixed.
1995-07-04 23:47:29 +00:00
paulus 8d816f6a89 New version of pppstats from ppp-2.2. Optionally prints statistics for
packet compression.  Internally it now uses interface ioctls to get the
statistics, so it doesn't need to grub around in kernel memory any more.
1995-07-04 23:43:52 +00:00
paulus 7af42f4d78 New version of chat from ppp-2.2 distribution. The locking code is
gone, because it didn't belong here (chat doesn't open the serial
device), and there is a new "report" feature to report lines beginning
with specified strings (e.g. "CONNECT").
1995-07-04 23:36:19 +00:00
christos 363e119397 - Don't use system(3) to fork processes. It is a big security hole.
- Encode the filenames in the scan files using strvis(3), so filenames
  that contain newlines or other weird characters don't break the scanner.
1995-06-24 16:21:33 +00:00
pk d8f00aa36c Conform to rpcgen generated names and prototypes.
The server-side worker routines now have "_svc" appended to avoid
conflict with client-side prototypes.
1995-06-24 15:03:49 +00:00
cgd 1877da8b4d don't set the wrong address, for the address. from Arne Henrik Juul. 1995-06-24 11:16:47 +00:00
cgd a8973a1752 specify precision, not minimum field width. pointed out by John Kohl 1995-06-22 11:15:14 +00:00
mycroft 21258bad26 Allow exporting regular files. 1995-06-22 02:37:38 +00:00
christos 8fc36200cd Update to RIP version 2 header. 1995-06-20 23:38:49 +00:00
jtc 0ef3213f32 document 'info' level; pr#1137 from Kenneth Stailey 1995-06-20 22:43:19 +00:00
jtc 1847eaed9f sys/termios.h -> termios.h 1995-06-19 22:47:37 +00:00
cgd 3d113b326b don't assume f_fstypename is larger than MFSNAMELEN or is nul-terminated 1995-06-18 10:58:06 +00:00
mycroft ea4b47d0d7 Use hstrerror(), not h_errlist[]. 1995-06-11 20:22:58 +00:00
mycroft 7ae2c7538b Eliminate extra `/' when prefixing the device name with _PATH_DEV. 1995-06-10 21:01:08 +00:00
mycroft f477ccbfa7 Fix def_anon initializer. 1995-06-09 05:26:58 +00:00
christos 695670c5fa fixed bug related to the ascii `when' files previous fix, where the -t
option would fail to read the timestamp files.
1995-06-09 04:33:34 +00:00
cgd 29d4fed17f typeof(timeval.tv_sec) != time_t 1995-06-07 17:40:51 +00:00
cgd 10603feb51 needs string.h 1995-06-07 17:38:35 +00:00
cgd 788733b7a9 typeof(timeval.tv_sec) != time_t 1995-06-07 17:14:21 +00:00
christos a6d86f0535 Changes to write ascii timestamps in the when files.
Looked into making it 64 bit clean, but it is hopeless.
Added little program to convert from the old timestamp files
into the new ones.
1995-06-03 21:21:48 +00:00
jtc 642d0e3938 Remove chownerr() function completely and use warn() instead.
chownerr() would prematurely terminate the program if a error occured
(lack of permissions, nonexistant file, etc.), but POSIX.2 requires
that the chown and chgrp utilities continue on.  Removing the code
that caused the program to exit turned chownerr into a wrapper
around warn(), so why not call warn() directly.

Also changed the file traversal logic so that directories are not
chown()'d twice.  This only occured when the -R option was not used.
1995-06-03 07:01:19 +00:00
jtc e095500d0c In chownerr(), check to see if new group is the effective group id as
well as in the supplementary group id array.
1995-06-03 06:09:03 +00:00
mycroft 21caf81789 Add MBONE tools. 1995-06-03 06:03:44 +00:00
mycroft c62765fbdd Fix the `restrictmailq' security check to explicitly check the egid. 1995-06-03 02:07:08 +00:00
christos 73afb6b797 don't print NULLs; print empty strings.... 1995-06-02 21:40:51 +00:00
mycroft 7f26bb202e Set cr_gid properly, and adjust for getgrouplist() change. 1995-06-02 21:04:24 +00:00
pk 7fc3672d12 Correct argument in error msg. (PR #1087) 1995-06-02 15:03:34 +00:00
pk 0dee01cc03 Remove local declarations of ctime(). 1995-06-02 15:02:18 +00:00
thorpej c381c611ec Make the behavior of `-s' consistent. 1995-06-02 01:02:09 +00:00
thorpej 9cf337c39b Install this setuid-root. 1995-06-01 23:38:51 +00:00
thorpej 9d50339841 Lots of things; use getopt(), make `-i ...' work, others. 1995-06-01 23:27:00 +00:00
mycroft 01207e9c90 Update to multicast 3.5. 1995-06-01 05:45:27 +00:00
mycroft 03bc7e4381 Update to multicast 3.5. 1995-06-01 05:32:11 +00:00
mycroft bf70a55f72 Update to multicast 3.5. 1995-06-01 05:19:10 +00:00
mycroft 6995f4fc92 Update to multicast 3.5. 1995-06-01 02:25:45 +00:00
jtc 9f28755bff <sys/syslog.h> -> <syslog.h> 1995-05-28 05:31:01 +00:00
mycroft 65eea9435d Use inet_aton(), not inet_addr(). 1995-05-22 01:02:34 +00:00
mycroft c05dec805f Use inet_aton(), not inet_addr(). 1995-05-21 17:14:38 +00:00
mycroft 800709ce22 Use inet_aton(), not inet_addr(). 1995-05-21 15:50:45 +00:00
mycroft 53d11296c2 Use strerror(), not sys_errlist[]. 1995-05-20 02:38:23 +00:00
mycroft bc0c748b67 Use inet_aton(), not inet_addr(). 1995-05-19 22:22:34 +00:00
mycroft 76a3199557 Use inet_aton(), not inet_addr(). 1995-05-19 22:05:08 +00:00
cgd f1883097f5 fix priority mangling when sending to remote syslogds. (pr 1039, by
Jarle Greipsland.)  Fix not exactly the same as the one in the PR, but close.
1995-05-14 04:18:45 +00:00
leo 93dc1f1fea Make it work for both Amiga and Atari. Add new '-f' option. 1995-05-12 21:04:26 +00:00
leo 096846a93b Atari-port now also uses iteconfig 1995-05-12 20:51:38 +00:00
cgd be68575548 don't build netgroup(5) here. 1995-05-11 23:15:05 +00:00
mycroft 72039e8003 Increase size of buffer for file names. 1995-05-08 19:30:31 +00:00
cgd c626f39b3a update 'files' files search paths and manual page descriptions for
the config program renaming.
1995-04-28 08:15:48 +00:00
cgd 26444ba22c only build config.old on machines that need it. 1995-04-28 08:14:41 +00:00
cgd ee89d6ebad old config has moved here; attendant name changes. 1995-04-28 07:00:57 +00:00
cgd 064307e690 config.new has been moved here. names updated to match. 1995-04-28 06:54:58 +00:00
cgd 8aec5a0ab6 moved into config. 1995-04-28 06:54:10 +00:00
cgd d64248e551 build config.old instead of config.new 1995-04-28 06:53:49 +00:00
cgd 39e0ed2fd0 cast pointers to longs, not ints. don't return ptr to local var. 1995-04-24 13:27:39 +00:00
cgd 06b20eca85 need string.h 1995-04-24 13:25:55 +00:00
cgd e275cd471b cast to avoid warning. 1995-04-24 13:25:34 +00:00
cgd 867b4b0fac needs string.h 1995-04-24 13:25:18 +00:00
cgd 65dbd03764 the alpha says 'no' to amd 1995-04-21 04:42:34 +00:00
cgd af6ef0d828 need stdlib.h 1995-04-21 04:41:21 +00:00
cgd ff276cbedc really nasty hack for the alpha. bigtime XXX 1995-04-21 04:40:36 +00:00
christos 172747839f Fixes from David Brownlee to:
- default to /etc/netgroup if no input file is specified.
- create a temporary file and rename that to the final destination,
  so the we don't get partially created netgroup files.

Fixes PR bin/963.
1995-04-17 15:12:58 +00:00
cgd 662feab780 enable use of include files from "files" files. 1995-04-17 06:59:11 +00:00
mycroft 0cc4d5f125 Patch from Mike Pritchard to use `-t' option to sendmail, and prevent
overrunning some arrays.
1995-04-14 19:49:32 +00:00
mycroft abd8200176 Reset group list before execing child, as pointed out by Mike Pritchard. 1995-04-14 19:23:43 +00:00
mycroft e6ae4619a7 Add missing #include. 1995-04-13 02:07:23 +00:00
mycroft 7bffa9e3f0 Print out the `clean' field. 1995-04-12 21:23:24 +00:00
jtc a005fb19e3 fix typo 1995-04-12 05:19:51 +00:00
jtc cc47146dee Install manpage as both bootparamd(8) and rpc.bootparamd(8).
Changed manpage so both bootparamd and rpc.bootparamd are mentioned in NAME
section.
1995-04-12 00:53:09 +00:00
mycroft d092e7eb1e Give open() reasonable permissions for creating a file (though this doesn't
matter for the normal case of opening a device).  Suggested by Joerg Wunsch.
1995-04-09 19:02:54 +00:00
mycroft 7e2e739abf Fix a typo that caused an off-by-one error. 1995-04-08 23:25:34 +00:00
phil ce01c21e6d remove one "the" in a "the the". 1995-04-07 18:44:43 +00:00
jtc ae0b9c2010 KERNEL -> _KERNEL 1995-03-28 17:18:59 +00:00
glass 1290cb93c0 botched rcsid fix completely.. 1995-03-27 02:24:13 +00:00
mrg 89621f654f 4.4BSD-Lite2 1995-03-26 22:24:18 +00:00
glass bbb6bf7c90 new rcsid format. small cleanup 1995-03-26 21:45:18 +00:00
mycroft 04b12add73 Document the `resvport' option. 1995-03-22 17:18:01 +00:00
mycroft 13cd4fd01e Accept `noconn' and `resvport' mount options. Fix some slightly bogus option
parsing.
1995-03-22 17:15:08 +00:00
mycroft dd94184a46 Remove uses of some deprecated functions. 1995-03-22 15:56:29 +00:00
mycroft 7f3235feb5 Use Peter's original (more sane) patch for the previous. 1995-03-22 15:49:18 +00:00
mycroft cef03fb4dd Fix length of LCP echo and echo reply. 1995-03-21 19:32:13 +00:00
mycroft be82a25869 Use POSIX signals. 1995-03-21 18:48:41 +00:00
mycroft e3554fe598 Update to use timer{add,sub}(). 1995-03-21 14:42:59 +00:00
mycroft 29a8916e22 Update to use timer{add,sub}(). 1995-03-21 14:36:54 +00:00
mycroft 58b580b79b Remove unused tvsub(). 1995-03-21 14:29:14 +00:00
cgd 0114e805ce convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00
jtc 9ef98cf188 Changed clean target so that all index files generated by texindex
are removed.
Changed amdref.dvi target so that proper source file is run through
tex.
1995-03-17 06:10:14 +00:00
jtc 49ca19bb69 Removed. This is a leftover index file generated by texindex. 1995-03-17 06:04:10 +00:00
jtc 7203f50d95 Removed header files from V8 regular expression routines that were
originally distributed with amd.  The regex code itself is long gone.
1995-03-17 06:02:49 +00:00
jtc 63cf6913d7 Link with -lcompat to get V8 regular expression routines. 1995-03-17 05:55:49 +00:00
glass 7145a4fd92 add chimera; minor cleanup 1995-03-16 08:07:31 +00:00
glass 5f63d71c17 remove NOOP 1995-03-16 08:06:11 +00:00
jtc e30cf6de92 Cpp is in /usr/bin. 1995-03-16 00:15:27 +00:00
glass f092d07ee7 fix transposed sentences in man page (bin/861). Tim Chase <tim@weasel.alpha.net> 1995-03-11 21:05:17 +00:00
jtc e7d695a740 .include <bsd.prog.mk> 1995-03-11 01:14:25 +00:00
glass 7a903f9074 sendmail 8.6.11 integration 1995-03-10 19:01:35 +00:00
glass 8c23c56663 sendmail 8.6.11 try #2 1995-03-10 09:33:33 +00:00
jtc aa30924a6a Added zic and zdump 1995-03-10 07:17:05 +00:00
glass 997428654a sendmail 8.6.11 1995-03-09 22:17:12 +00:00
pk 1953a19a36 Take care of alignment; reported by Peter Svensson. 1995-03-08 21:38:59 +00:00
mycroft 3badd510a0 Add files I missed in the merge. 1995-03-07 23:18:35 +00:00
cgd 788c306f2b add an 'optional' keyword, which allows files to be in the
specification, but _not_ in the file hierarchy.  contrib'd by:
Ed Symanzik <zik@enoch.cl.msu.edu>.  Man page adjustment to match, and
minor man page cleanup, by me.
1995-03-07 21:26:23 +00:00
cgd 94f5a7441c add NetBSD id's 1995-03-07 21:12:04 +00:00
cgd d03f028e33 clean up import, fix a few bugs, etc. 1995-03-07 15:28:32 +00:00
cgd 82f956cd93 from 4.4-Lite 1995-03-07 14:44:05 +00:00
mycroft 1939eb406f Clean up merge, port to NetBSD, and add NetBSD RCS tags. 1995-03-06 19:09:42 +00:00
mycroft 6350556d1f Import LBL tcpdump, version 3.0 patch level 1. 1995-03-06 11:55:03 +00:00
chopps 25064b259a dd support for mfc serial ports.. 1995-03-02 03:57:39 +00:00
chopps ded185da25 oops forgot rcsid string, fix that to.. 1995-03-01 11:56:13 +00:00
chopps 7f624aaa47 fix id's 1995-03-01 11:50:52 +00:00
mycroft 4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
chopps 9a1b7b98e2 ditch use of inet_addr() use inet_aton() instead. 1995-02-28 22:51:16 +00:00
chopps c4516a41e6 Some KNF clenup. 1995-02-27 22:00:07 +00:00
chopps 215bb6256d fix typo. 1995-02-26 20:16:49 +00:00
chopps 1aad640d17 enable -f form. 1995-02-25 08:49:51 +00:00
mycroft 9827b2499c Enable optimization. 1995-02-24 09:30:08 +00:00
glass bd5eecab40 was busy 1995-02-23 19:29:46 +00:00
glass ddb6275ad0 integrate sendmail 8.6.10 1995-02-23 19:26:40 +00:00
mycroft bbfccb8f00 Merge with 4.4-Lite, and use libc err(3) and warn(3). 1995-01-30 21:12:41 +00:00
cgd 53dde5bc1c fix config.new's hardcoded partition number problems (read maxpartitions
in from a required keyword, and use it everywhere that's necessary), and
also (slightly) clean up the MACHINE_ARCH config file's inclusion.
1995-01-25 20:44:39 +00:00
cgd 8ae2a2e384 vn -> vnd renaming; consistency. 1995-01-25 04:32:37 +00:00
cgd 2ba7143838 allow swapping on pseudo-devices (!) assuming:
(1) they have a major number assigned, and
	(2) the minor you're swapping to is a possible minor, given config
		file's specification of count for that pdev.
1995-01-25 03:58:57 +00:00
mycroft 5b44c4f24f Remove specal case on VNIOCCLR return value. 1995-01-22 07:09:54 +00:00
mycroft 679d9f5451 Clean up parsing a bit. Get rid of bogus extra arg to `-u'. Update the
usage string and man page to reality.
1995-01-22 07:06:44 +00:00
glass 481ef64aa0 vnconfig.c: removed all the silly mount/swapon functionality that never
belonged there.  much of it didn't work anyway.
vnconfig.8: update man page.  still needs work.
1995-01-22 06:18:12 +00:00
mycroft 21102aadfa Handle stop signals gracefully. 1995-01-20 19:45:39 +00:00
mycroft 2303fc40d7 Merge with 4.4-Lite version. 1995-01-20 19:19:53 +00:00
mycroft 91d8b1d405 Import original 4.4-Lite version. 1995-01-20 19:14:58 +00:00
mycroft a616c10732 Add a column header for CP_INTR. 1995-01-18 07:46:31 +00:00
mycroft 9843f45605 Turn mountlist into a CIRCLEQ, and handle setting and checking of MNT_ROOTFS
differently.
1995-01-18 06:19:49 +00:00
glass 31d0c81a4e a stab at a new config file for pain.... 1995-01-15 17:01:45 +00:00
mycroft ae89e276d6 Daemonify only after the bind has been completed, and use daemon(). 1995-01-15 09:09:30 +00:00
mycroft d14504fe02 Closer to KNF, ANSI, and POSIX. 1995-01-15 08:55:59 +00:00
mycroft 43de8b476a Remove some now unnecessary code. 1995-01-15 07:29:23 +00:00
mycroft 1848664e31 Fix an oversight in the previous change, and put the maintenance of nfsd next
to the FD_SET()s.
1995-01-15 07:26:58 +00:00
mycroft 07871af1af Add `-k' option, per Matt Green.
Put the description of the `-n' option in the table, where it belongs.  Also,
fix the formatting of the table for consistency with the other man pages.
Document the BLOCKSIZE environment variable.
1995-01-15 07:08:55 +00:00
pk 47d7334134 Get netmask from correct location (fix for PR #711). 1995-01-07 10:49:35 +00:00
pk 064a6699f1 Recompute `width' before each select(), as the value of `svc_maxfd' can
be changed by the rpc library.
1995-01-06 13:16:15 +00:00
mycroft 975c7373da Make the usage string match the man page. 1995-01-04 05:35:47 +00:00
mycroft 28667663d2 Clean up deleted files. 1995-01-04 05:13:04 +00:00
mycroft e1dcc80293 Convert a few more. 1995-01-04 04:47:42 +00:00
mycroft aeb42b9ada Convert some things to use err*()/warn*(). 1995-01-04 04:42:09 +00:00
mycroft 9ec22f1c91 Add a `-g' option for loose source routing, as implemented by John Hawkinson
and I.
1995-01-04 04:28:18 +00:00
cgd f24d9135d1 <sys/queue.h> is no longer needed. 1995-01-03 02:06:24 +00:00
mycroft aeae498513 Avoid getdtablesize(3). 1994-12-30 05:02:08 +00:00
mycroft a9b844f65c Avoid getdtablesize(3). Also, remove some useless FD_CLR()s. 1994-12-30 04:49:06 +00:00
cgd 44baf7e067 change the way i did that last commit; make it work. 1994-12-27 00:20:36 +00:00
glass 572e2d63e3 keep you from dumpfs-ing a filesystem with a bad magic #. fixes bug 249. fix 98% from Giles Lean 1994-12-26 22:11:31 +00:00
pk a9384f4676 Define `MAN'. 1994-12-25 12:32:12 +00:00
pk ad47bcf207 MAN8 => MAN 1994-12-25 12:30:13 +00:00
pk a2e52c42e2 Define `MAN'. 1994-12-25 12:22:03 +00:00
cgd 072431f8af headers, for protos. 1994-12-23 17:05:58 +00:00
cgd 9314780732 includes for protos. 1994-12-23 17:00:14 +00:00
cgd a6e1a8ba98 includes, for protos. 1994-12-23 16:55:45 +00:00
cgd e08ec6db18 play a bit safer with types. 1994-12-23 16:52:30 +00:00
cgd 7a5208fcc2 header, for protos 1994-12-23 16:46:17 +00:00
cgd 191b5f2e5b be safe with types 1994-12-23 16:45:33 +00:00
cgd f6f602f9a7 includes, for necessary prototypes, and avoid name collisions with the
include.
1994-12-23 16:45:11 +00:00
cgd 06a9330f3a casts to quite compiler. 1994-12-23 16:44:22 +00:00
cgd 95a4af7728 cast, to quiet compiler. 1994-12-23 16:42:47 +00:00
cgd 7689062a8a be safe with types 1994-12-23 16:42:26 +00:00
cgd ab628a707e add headers for prototypes. 1994-12-23 16:39:28 +00:00
cgd ca58df5133 be more careful with types. 1994-12-23 16:35:50 +00:00
cgd 2f3eefda19 be more careful with types. necessary header inclusion. 1994-12-23 16:25:43 +00:00
cgd 2e1f66b68b include necessary headers, improve declarations. 1994-12-23 16:23:12 +00:00
cgd 567049be09 be a bit more careful with types, and prototype scope. 1994-12-23 16:21:49 +00:00
cgd 4a24ff6f6b specify man pages the new way. 1994-12-22 12:42:30 +00:00
cgd d065420b32 specify man pages the new way. 1994-12-22 11:43:15 +00:00
cgd d8806814a6 specify man pages the new way. 1994-12-22 11:32:57 +00:00
mycroft f15dd95a6a Clean up deleted files. 1994-12-22 11:32:52 +00:00
cgd 457aa2b833 specify man pages the new way. 1994-12-22 11:31:31 +00:00
cgd 06e2955ff1 specify man pages the new way. 1994-12-22 10:44:04 +00:00
jtc 2ca7c91a3e Pass -oi to sendmail so that a single dot is not interpreted as end of
message.
1994-12-20 18:33:40 +00:00
cgd 8e0e3522e1 pull in bsd.own.mk by hand, early, so NOMAN= can be defined there. 1994-12-20 15:12:31 +00:00
cgd 59530f6f9f compile against new include. 1994-12-20 11:48:01 +00:00
cgd a2fc49f975 compile against new headers 1994-12-18 16:01:13 +00:00
cgd c9117f53b5 -Wall cleanups from Jim Jegers 1994-12-18 00:15:01 +00:00
mycroft b8e6ab9578 Add explicit BINDIR definitions, since these directories are distributed
separately.
1994-12-11 22:29:40 +00:00
pk d88e845b42 Correct character array declaration (bug-report bin608). 1994-12-11 16:07:22 +00:00
christos 89cfd124d5 Added casts to fix warnings from the new prototyped rpc headers. 1994-12-08 21:41:05 +00:00
cgd 5eeab43e28 more cleanups from Jim Jegers, passed over by me. 1994-12-05 20:15:31 +00:00
christos f0d542b9b0 Added netgroup_mkdb 1994-12-04 18:40:21 +00:00
christos 350a2a7714 And a manual page for it. 1994-12-04 17:11:42 +00:00
christos 29d4c18600 New directory and program... 1994-12-04 17:11:00 +00:00
glass 2382e4a8f3 forgot rcs expando-string 1994-11-29 23:56:29 +00:00
glass 34810d41ad bring in named-xfer man page from bind distribution 1994-11-29 23:54:28 +00:00
glass f392a2616f bin/595 fixed. reported and fix provided by Chuck Silvers <chs@cs.cmu.edu> 1994-11-29 15:03:13 +00:00
mycroft b8ab0d3235 Clean up deleted files. 1994-11-17 17:39:55 +00:00
glass 634aea7490 fix bug #554. rdate man page now says rdate(8) 1994-11-17 17:39:54 +00:00
glass 6614c5a7b3 pppstats(8) and slstats(8) has been rewritten and merged
semantics and interface now follow the iostat/vmstat standard for
statistics reporting.

man page rewritten to match new semantics and interface.  now shared.
1994-11-15 07:20:52 +00:00
glass bbd135f568 inspired to redo slstats man page. slstats.c changed to print
column headers in upper case like most stat utilities.

needs a little more work wordsmithing.. Then copy to pppstats as well.
Code needs rewrite.
1994-11-13 11:20:51 +00:00
mycroft 6f895463de Fix core dump when parsing ccd device specifications. From Jason Downs. 1994-10-31 19:13:13 +00:00
cgd d666563b16 deal with RPC protos. 1994-10-31 04:24:32 +00:00
cgd 696b7080ba correct pointer type. 1994-10-31 04:21:52 +00:00
deraadt 17595b3407 man page from Jason Thorpe 1994-10-28 16:46:57 +00:00
deraadt d517107722 document that YP works 1994-10-24 08:01:56 +00:00
mycroft b524577c42 Better patch for the previous. 1994-10-18 16:38:12 +00:00
mycroft 0e4ea99974 Don't wedge in an infinite loop if NFSSERVER is not configured. 1994-10-18 16:00:17 +00:00
mycroft 1b62a0967f Change process titles to be less redundant. 1994-10-18 14:12:55 +00:00
mycroft ee8aff3286 Register a TCP service. 1994-10-15 03:55:33 +00:00
pk 1423112c96 Keep that pointer moving. 1994-10-05 20:19:30 +00:00
gwr ae9da3f71d Fix SEE ALSO and FILES. 1994-10-03 19:26:13 +00:00
gwr cd8e5bc1c9 Add a man page and a link for bootparamd(8). 1994-10-03 18:48:40 +00:00
deraadt 7d6a5f6936 create ypbind.lock file
fix ypset code
1994-09-28 01:39:54 +00:00
glass 9bb3c66c9a fixes a compilation problem under gcc 2.6.0 1994-09-26 06:50:12 +00:00
glass 55f8f53da3 now includes sendmail.h like the rest of the sendmail source..no functional change 1994-09-26 01:22:47 +00:00
mycroft b57ce343c0 Use POSIX form of kill(1). 1994-09-23 23:26:54 +00:00
mycroft c741ceaa58 Changes to match POSIXication of kill(1). 1994-09-23 23:18:36 +00:00
mycroft ea7b5d4ec6 Eliminate uses of some obsolete functions. 1994-09-23 14:26:58 +00:00