mycroft
cb666b197f
Merge changes from Lite2 (with bug fixes). Adds tcpmux.
1997-03-13 17:22:23 +00:00
mycroft
7c7f4379a0
When rejecting a UDP connection, make sure to flush the right socket.
1997-03-13 14:57:34 +00:00
mycroft
d6dc78d4c1
Oops; subprocess must exit when rejecting connection.
1997-03-13 14:29:15 +00:00
mycroft
9df028750a
Do libwrap access checking *after* forking.
1997-03-13 14:15:40 +00:00
mikel
2b8bc7438f
RCSid police
1997-03-13 06:19:07 +00:00
christos
86276488dc
Resolve conflicts cleanup warnings.
1997-03-12 20:17:18 +00:00
christos
e287272422
Import the latest pppd from Paul Mackerras.
1997-03-12 19:38:04 +00:00
mycroft
411b988dfb
Use POSIX signal functions, and add an `interval' argument.
1997-03-12 19:10:54 +00:00
mycroft
5f00f8f048
Merge with 4.4BSD-Lite2 version.
1997-03-12 18:50:06 +00:00
scottr
6a8f5a85fd
RCS Id police
1997-03-11 04:13:02 +00:00
is
dd80c3d309
Back out the back-out. Don't ask.
1997-03-10 20:21:01 +00:00
is
9d29e526db
backout previos change; was not intended for trunk.
1997-03-10 19:36:40 +00:00
is
4ce26afebe
back out previoius commit---wasn't intended for The Trunk
1997-03-10 19:26:23 +00:00
is
0edaa1c1e5
adapt to new ARP code. still needs work for non-Ethernet.
1997-03-10 19:18:42 +00:00
scottr
ed0d9160f1
Build rpc.lockd and rpc.statd
1997-03-10 06:30:32 +00:00
scottr
24ce527b89
Status monitor daemon by A.R. Gordon, ported from FreeBSD. While the
...
functionality was not significantly altered, the code was KNFed and
the build process cleaned up considerably.
1997-03-10 06:28:29 +00:00
scottr
a6fdc939ab
NFS locking daemon by A.R. Gordon, ported from FreeBSD. While the
...
functionality was not significantly altered, the code was KNFed and
the build process cleaned up considerably.
1997-03-10 06:26:19 +00:00
cgd
72b0837ae3
fix one more goofup in the buffer safety changes: snprintf() should be
...
called with enough space for the trailing NUL, because it (unlike strn*())
always NUL-terminates.
1997-03-10 06:13:16 +00:00
cgd
7262daa78a
fix two bugs pointed out by Paul Sijben <Paul.Sijben@huygens.org>:
...
(1) incorrect check on length of data being written (fix provided by
Paul Sijben <Paul.Sijben@huygens.org>), and
(2) inadequate buffer (too small) for data being sent to remote meant
that properly-formed messages couldn't be created, so job removal
didn't work properly.
1997-03-08 22:50:52 +00:00
cgd
dd7fbd1461
doesn't need libkvm any more
1997-03-08 22:21:55 +00:00
cgd
1e9c4131dc
update structure definitions for 64-bit safety (already done in the relevant
...
header files), and kill the note about checking /netbsd's nlist, since that
is no longer done (since the kernel namelist isn't actually used for
anything).
1997-03-08 22:20:21 +00:00
mikel
3190ec8ac6
prototype internal functions so this will build
1997-03-08 21:39:06 +00:00
mouse
9dd8997bcf
alternate -> alternative, per PR 2643
1997-03-08 14:34:56 +00:00
mouse
ee6a5b2cd6
alternate -> alternative, per PR 2643
1997-03-08 14:24:19 +00:00
mouse
80c0d60f84
alternate -> alternative, per PR 2643
1997-03-08 13:47:08 +00:00
mikel
ba2d9f692b
merge lite-2 changes.
...
also RCSid police, and add return types to all of the functions.
1997-03-08 08:01:26 +00:00
mikel
6aeb76c1f1
merge lite-2 changes.
...
also replace index -> strchr, add <string.h> for strchr prototype, and
clean up .Nm usage.
1997-03-08 07:24:40 +00:00
mikel
54d63208ce
RCSid police
1997-03-08 06:48:00 +00:00
mikel
961a0bd020
we don't need 'pseudo-device ether' anymore. also misc mdoc-macro-usage
...
cleanup, and add a missing quote (font-lock strikes again).
1997-03-07 07:41:25 +00:00
mikel
38e37321ab
merge lite2 changes
1997-03-07 07:04:42 +00:00
thorpej
2622084d37
Fix possible buffer overflow, from Rick Byers <rickb@iaw.on.ca>,
...
PR #3293 .
1997-03-06 23:37:04 +00:00
thorpej
d214be029a
Fix arithmetic botch that caused incorrect results for configs like:
...
config netbsd root on sd1a
Noted by Taras Ivanenko <ivanenko@ctpa03.mit.edu> in PR #3203
and by others.
1997-03-06 23:11:55 +00:00
mikel
e65788c58e
merge lite-2 changes.
...
RCSid and getopt() return type police.
1997-03-06 07:00:50 +00:00
mikel
d917a6370d
RCSid police; getopt() return type police; rindex() -> strrchr()
1997-03-06 06:26:07 +00:00
mikel
bcecfb0095
merge lite-2 changes (just SCCS IDs).
...
RCSid police, update 'struct dkbad' definition in manpage.
1997-03-06 06:12:18 +00:00
mikel
af995d547a
RCSid police
1997-03-06 05:41:37 +00:00
mikel
2488f833e1
merge Lite2 version; RCSid and getopt() return type police.
1997-03-06 05:40:10 +00:00
mikel
96a22fa65f
RCSid police, and eliminate obsolescent comment.
1997-03-06 05:23:00 +00:00
mikel
0bd8d27ab1
merge Lite2 manpage
1997-03-06 05:19:10 +00:00
mikel
c4ecd9537c
don't write the PID file until after calling daemon(3); from Enami
...
Tsugutomo in PR bin/3280.
fix a typo in the error message while I'm here.
1997-03-05 07:19:52 +00:00
mikel
b5ce435d24
set proper length for sockaddr_un. fixes PR bin/3281 from Enami
...
Tsugutomo, but slightly differently; the code I added is basically
identical to SUN_LEN(), but avoids the unecessary strlen() call.
1997-03-04 06:12:44 +00:00
jtk
46764eff41
PR # 3271: ignore SIGPIPE to avoid nasty clients causing apmd to die.
...
From Lennart Augustsson <augustss@cs.chalmers.se>.
1997-03-01 19:10:49 +00:00
christos
cb8aa82b0c
compare only the prefix "nfs", not the whole word, so we match "nfs3" too.
1997-02-26 15:06:46 +00:00
mrg
1cf9e54f49
link ipl.4 to ipfilter.4
1997-02-18 21:28:53 +00:00
mrg
cda4cfcedd
note that ipfilter also includes PFIL_HOOKS.
1997-02-18 21:28:19 +00:00
mikel
cdc053b0b4
fix some typos and .Nm usage
1997-02-18 06:34:01 +00:00
mrg
a4cf268e76
lite2
1997-02-13 05:39:12 +00:00
cgd
dd84b718ce
Re-fix the PR 3209. The right thing to do is cast to (long long) and
...
print with %qd. 'off_t' is _NOT_ 'long long' on all platforms, and gcc
complains with -Wformat %qd is used on an off_t on those platforms.
1997-02-11 22:40:25 +00:00
pk
3bb6ed1979
Fix format for quad argument (PR#3209) and two other format string
...
mismatches.
1997-02-11 22:26:14 +00:00
phil
ec39037613
Add lastlogin to the list of subdirectories.
1997-02-11 18:47:04 +00:00
phil
38d6f43246
Import of lastlogin from John M. Vinopal, from PR #1932 .
...
RCS ID changes from PR. Updated man page for NetBSD 1.2 instead
of NetBSD 1.1. If this program is merged with last(1), then
it will be removed.
1997-02-11 18:36:51 +00:00
mikel
e405a28573
Xr Trpt -> Nm Trsp; pull in other bug fixes from trpt(8).
...
RCS ID police.
1997-02-07 06:53:17 +00:00
mikel
f3b151f572
fix PR misc/3184, but somewhat differently.
...
include <unistd.h> for getopt() prototype, reorder includes.
eliminate some leftover unused variables.
1997-02-07 05:07:13 +00:00
thorpej
c9fe001e3a
Cross-reference options(4). While I'm hear, garbage-collect the
...
reference to config(8) left over from when this program was called
config.new.
1997-02-05 19:17:28 +00:00
thorpej
f12fb4ba31
Patch from Gordon Ross to make this build under SunOS, useful in
...
cross-compiling environments.
1997-02-03 21:18:21 +00:00
cgd
1c4dda6b52
include string.h for protos
1997-02-03 20:12:34 +00:00
cgd
f429382aa8
add bad144 to the alpha's SUBDIR list
1997-02-03 20:11:45 +00:00
thorpej
e14a0d029f
Add support for generating "option headers". These allow options to
...
be included in object dependencies. config(8) is told to generate
a header for a particular option with the new "defopt" keyword, used
in the files.* system description files. Options that are placed in
header files are not given -D... cpp flags.
This approach allows options to be turned into headers incrementally,
rather than all at once, and allows for non-header options, as well.
1997-02-02 21:12:30 +00:00
carrel
eb7a3e7987
Display names for more frame buffer types
...
Patch from Klaus Klein. Fixes port-hp300/3039
1997-02-01 13:04:36 +00:00
carrel
3d7d96333d
add NetBSD CVS ids
1997-01-31 23:12:12 +00:00
carrel
914d884a22
fixed grfinfo to properly display errors
...
added man page
1997-01-31 23:06:52 +00:00
veego
8a514d0afa
Remove the last change. fil.fr_icode ist char and NOT unsigned char.
...
Fix pr#3169
1997-01-31 10:10:11 +00:00
thorpej
07c71aa7f7
Implement new grammar and semantics for specifying file systems
...
and the root device:
- New "file-system" keyword is used to configure file systems into
the kernel.
- New way of specifying root device, which allows root file system
type to always be specified. Examples:
config gennetbsd swap generic
config sdnetbsd root on sd0a swap on sd0b
config nfsnetbsd root on nfs
are replaced by:
config gennetbsd root on ? type ?
config sdnetbsd root on sd0a type ffs swap on sd0b
config nfsnetbsd root on ? type nfs
config lenetbsd root on le0 type nfs
Note that specific network interfaces may now be specified as
the root device.
- swapgeneric.c is no longer used; generate a swap*.c file for each
"config" line in the kernel configuration file.
1997-01-31 03:12:30 +00:00
thorpej
2cd7214cae
We no longer have to build config.old on the hp300. (Yay!! Woo!!)
1997-01-30 10:44:46 +00:00
thorpej
a4f420d68a
Ding dong, the old config is dead!
1997-01-30 10:41:27 +00:00
matthias
470161650e
compression ratio was computed wrong.
1997-01-30 09:14:50 +00:00
mark
ab4940de30
Cast -1 to an unsigned char for the test with fil.fr_icode as the fr_icode
...
field is declared as an unsigned char.
1997-01-29 18:39:47 +00:00
mark
3d14bc1b12
Use an integer rather than a char for the getopt() return value in order
...
to make it work with architectures that use unsigned chars.
1997-01-29 01:49:25 +00:00
mark
2ab96deb9a
Use an integer rather than a char for the getopt() return value in main()
...
in order to make it work with architectures that use unsigned chars.
1997-01-29 01:29:09 +00:00
thorpej
509e392ad5
Remove the SIOCADDMULTI ioctl; it's not meant for user level code. Just
...
always set promiscuous mode on the interface.
1997-01-27 22:51:50 +00:00
cjs
ca99d3bef4
Format and install ypinit manual page. (PR 3139 from
...
Andrew Wheadon <andrew@wipux2.wifo.uni-mannheim.de>.)
1997-01-27 00:28:31 +00:00
cjs
729dbf416c
sendmail 8.8.5 merge
1997-01-24 04:01:18 +00:00
cjs
df679e9b88
sendmail 8.8.5
1997-01-24 02:19:57 +00:00
cgd
de97b4a289
stdlib.h for malloc() prototype
1997-01-24 02:16:22 +00:00
cjs
27e0e2605f
sendmail 8.8.5
1997-01-24 01:53:10 +00:00
jtk
43130f9be2
apply typo fix per misc/3134 (from Thorsten Frueauf)
1997-01-23 00:31:14 +00:00
mycroft
af2068bc6a
Use ${.CURDIR} to find Makefile.inc.
1997-01-20 07:33:57 +00:00
tls
b032699c54
rather amusing typo. Perhaps this was a tunafish?
1997-01-19 10:52:10 +00:00
lukem
72aedc7cd1
convert to public stringlist implementation (I forgot about this)
...
found by Klaus Klein <kleink@layla.inka.de>, noted in [bin/3215]
1997-01-19 03:30:14 +00:00
mikel
c792bb5960
cast ether_ntohost() argument to proper type;
...
from Klaus Klein <kleink@layla.inka.de>
1997-01-18 02:22:21 +00:00
mikel
38f1be3526
use ether_aton() from libc; from Klaus Klein <kleink@layla.inka.de>,
...
with some modifications by myself.
1997-01-18 02:12:13 +00:00
scottr
1a49e59606
Remove timezone support. From Thorsten Frueauf, closes PR #3118 .
1997-01-17 23:48:54 +00:00
perry
0dc57f52ff
fix coredump per pr-3084
1997-01-16 22:27:01 +00:00
cgd
7bd18db5e6
pointer cast fixups for 64-bit cleanliness
1997-01-14 06:47:10 +00:00
cgd
bf31af7965
pointer cast/printf fixups for 64-bit cleanliness
1997-01-14 06:45:01 +00:00
cjs
f6d7620b76
Add tcpdchk and tcpdmatch.
1997-01-13 23:33:15 +00:00
tls
01221a35e5
b->mem
1997-01-12 20:42:41 +00:00
mikel
91e876159f
fix problem with restarting service after SIGHUP (PR 3093)
...
indicate proper invocation point and RCS ID police (PR 3098)
1997-01-12 06:55:41 +00:00
mikel
35b9d06596
make testdb() fail if database version string has length zero.
1997-01-11 06:18:11 +00:00
cjs
7e5ed09d92
Add a list of programs which are not in /etc/inetd.conf but use libwrap
...
on their own (currently just /usr/sbin/sendmail). Also, mark all programs
in inetd as wrapped even without tcpd being called, since NetBSD inetd
wraps all programs.
1997-01-11 03:33:31 +00:00
cjs
fbb40475d5
Import from tcp_wrappers_7.4.
1997-01-11 02:09:50 +00:00
cjs
84b4e9c069
Import from tcd_wrappers_7.4.
1997-01-11 02:06:52 +00:00
thorpej
05fe9cfe11
Grok and document CTL_DDB.
1997-01-09 05:38:54 +00:00
veego
21361a6567
Add ipf.
1997-01-08 21:58:34 +00:00
mrg
eafab1cbd3
ipl -> ipfilter
1997-01-07 11:32:24 +00:00
veego
ff73fbb75f
Alphabetize the SUBDIRs (Fix pr#3088)
1997-01-06 23:33:36 +00:00
veego
a3a8d0aba7
Add includes for 'struct tcpiphdr'.
...
Add $NetBSD$ id and restore the orginal Id.
1997-01-05 16:42:41 +00:00
mrg
3460d5fc46
update this for "pseudo-device ipl"
1997-01-05 14:53:55 +00:00
mrg
4810e839ab
initial import of darren reed's ip-filter, version 3.1.2.
1997-01-05 13:06:38 +00:00
cjs
5416ba5d61
New manual page for ypinit(8).
1997-01-05 09:49:41 +00:00
cjs
bce8700c83
Add reference to ypinit(8).
1997-01-05 09:49:07 +00:00
mouse
ccf88919e4
Per mail from Herb Peyerl, use LOG_AUTH for libwrap logging.
1997-01-02 14:25:18 +00:00
pk
1b92c8c5c6
This program is now called `mdsetimage'.
1997-01-02 00:36:15 +00:00
pk
b2c06715e2
Rename: rdconfig => mdconfig; rdsetimage => mdsetimage
1997-01-02 00:34:53 +00:00
pk
8ea56d49aa
This program is now called `mdsetimage'.
1997-01-02 00:33:34 +00:00
pk
04287aa824
This program is now called `mdconfig'.
1997-01-02 00:23:45 +00:00
pk
fa84b16b10
Device rename: `rd' => `md'
1997-01-02 00:22:43 +00:00
christos
2c22a216ba
64 bit patches (mostly long -> time_t) from Matthew Jacob (?)
...
sup now works on the alpha!
1996-12-31 18:08:00 +00:00
mouse
f02c2e5693
Get the local-address-part code in here (instead of "comsat" you can
...
use "127.0.0.1:comsat"). While I'm here, do trailing whitespace
cleanup, .Nm usage police in the manpage, and a couple of trivial text
typo fixes.
1996-12-30 23:38:18 +00:00
cjs
234f178084
Configure sendmail use tcp_wrappers (/etc/hosts.allow) for validating
...
hosts connecting via TCP/IP.
1996-12-27 01:54:07 +00:00
cjs
8c6c957cfd
8.8.4 initgroups patch from Eric Allman
1996-12-27 00:29:11 +00:00
mikel
a1e8465484
fix typo; PR bin/3038.
1996-12-24 02:44:58 +00:00
christos
9d10a25919
- add missing prototypes.
...
- fix function call inconsistencies
- fix int <-> long and pointer conversions
It should run now on 64 bit machines...
1996-12-23 19:42:01 +00:00
cgd
119b0ec653
fix dependency builds. Since we've got something to run a depend build
...
on, by all means _do it_, rather than not doing it. Also (unrelated
problem) make the built .c file gets removed when cleaning.
1996-12-23 00:19:05 +00:00
veego
df0caa2391
Add y.tab.h to CLEANFILES.
1996-12-22 16:57:40 +00:00
christos
bdde499b0c
PR/3042: filter parsing broke after libpcap upgrade causing infinite loops.
...
- removed all code stolen from libpcap and used the library functions directly,
linking -lpcap.
- added a pdebug option to turn on pcap optimization debugging, if libpcap
was compiled with debugging turned on.
1996-12-18 16:54:57 +00:00
thorpej
c0fe650b17
Eliminate unsafe calls to strcpy() and sprintf().
1996-12-16 22:30:43 +00:00
fvdl
a90e5523d6
Use the 'nochdir' argument to daemon(), so as not to undo the chdir
...
already done. Close PR 3025,3026,3023
1996-12-14 12:06:48 +00:00
mycroft
11f8dfe58d
Format police.
1996-12-12 00:43:28 +00:00
mrg
077acf5088
remove unsafe calls to strcpy(), strcat(), and sprintf(). some KNF.
1996-12-09 09:57:40 +00:00
mycroft
6020b18019
Use warnx() and hstrerror(), rather than herror().
1996-12-08 13:59:11 +00:00
mycroft
a6a278a7bf
Fix typo.
1996-12-08 13:54:42 +00:00
mycroft
ee7207b7ef
Eliminate local variable `progname'.
1996-12-08 13:53:25 +00:00
mycroft
0d53a465b5
Use daemon() corrently.
...
Use err*(3) and warn*(3).
1996-12-08 13:44:26 +00:00
mycroft
5d4bdd4971
Use daemon() to background.
1996-12-08 13:28:21 +00:00
mrg
5b9f69465f
if se_argv[0] is NULL, use se_service.
1996-12-07 00:37:00 +00:00
mrg
3e0b84a6d5
syslog allow/deny at the right severity.
1996-12-06 00:45:48 +00:00
mikel
857bb7c126
We don't need this (approved by mrg)
1996-12-05 06:04:30 +00:00
thorpej
170a88d9d9
amd works on the alpha now, so build it unconditionally.
1996-12-04 23:00:35 +00:00
thorpej
b71cc83108
Do a 64-bit `friendliness' sweep, making amd(8) work on the alpha.
...
XXX These aren't the prettiest diffs in the world, but making them
XXX nicer would require a bit of restructuring of the code and
XXX possible amq protocol.
1996-12-04 22:59:01 +00:00
mrg
b95b23e332
allow allow/deny severity to be compile-time configurable, use getservbyport()
...
correctly, and log the proto. from <jbernard@tater.Mines.EDU> in several PR's.
1996-12-04 13:37:18 +00:00
mrg
62f3bbaa0a
xref hosts_access.5 and hosts_options.5
1996-12-04 13:35:05 +00:00
mrg
057e9f509f
inetd.5 -> inetd.conf.5, from <jbernard@tater.Mines.EDU>
1996-12-04 13:32:31 +00:00
mrg
64327b49fc
merge 8.8.4
1996-12-04 06:35:51 +00:00
mrg
8b0617fdcf
sendmail 8.8.4. sigh.
1996-12-04 03:27:20 +00:00
thorpej
041a23ac7f
Make this compile with -DDEBUG.
1996-11-27 09:16:45 +00:00
thorpej
126bf2484b
Protect against NULL pointer reference in yp_private(). This can happen
...
with, e.g. an empty "ypservers" map, causing a SEGV in the child which
handles an "all_2" proc.
1996-11-27 09:16:01 +00:00
mrg
4e76afacc8
use the new libwrap functionality to provide tcpd-like functionality
...
as part of inetd. uses /etc/hosts.{allow,deny} as tcpd does, etc. it
is basically exactly like tcpd except that you don't need to change
the server to /usr/local/sbin/tcpd.
XXX should document better somewhere
1996-11-26 17:23:34 +00:00
mikel
1668cf2082
Enable 255.255.255.255 netmasks. Fixes bin/2954.
...
Also RCSID police.
1996-11-26 08:19:29 +00:00
mikel
f27059eb04
Read TTY-specific options after generic and command-line options.
...
Fixes PRs bin/2554, bin/2728, and bin/2935.
Also RCSID police.
1996-11-26 07:53:02 +00:00
thorpej
94a7999e9d
Fix byte-order bug in net number comparison.
...
From Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>, PR #2961 .
1996-11-25 20:04:42 +00:00
thorpej
a0e4cacd4c
Print a warning to stderr if a YP inclusion (`+') specifies a value of
...
0 for uid or gid. Based on a patch posted to tech-userlevel by
Paul Kranenburg <pk@NetBSD.ORG>.
1996-11-24 21:13:27 +00:00
chuck
c03ad89d2d
include all host names for an address rather than just the first one
1996-11-24 20:16:43 +00:00
lukem
9e8841e359
Implement '-d directory' option, to override the default of '/'.
...
Useful for building ~ftp/etc/pwd.db without using chroot or unionfs.
Inspired by FreeBSD, closes [bin/2566]
1996-11-22 05:37:29 +00:00
mrg
374d8a5b5a
minor tweaks.
1996-11-18 10:15:09 +00:00
mrg
59b7590636
merge in 8.8.3
1996-11-18 05:29:14 +00:00
mrg
7531efff40
sendmail 8.8.3
1996-11-18 04:29:19 +00:00
gwr
81aa081ab6
Eliminate the "dangerous trailing context" (actually both uses of
...
trailing context were unnecessary). Remove unnecessary { } around
simple actions (just a return statement). Fix some * vs + errors.
1996-11-13 18:42:18 +00:00
gwr
7fa1418031
Fix the bug I introduced in the last commit, which broke line contuation
...
where newline is followed by whitespace. Do not return a newline token
to the parser in that case (logically still the same line).
1996-11-12 17:42:47 +00:00
gwr
a0b75afc0b
* Eliminate all shift/reduce conflicts in the grammar. This
...
requires that some ordering requirements are checked by the
back-end C code instead of the parser (dirspecs, maxpart).
* Be more careful to require newline tokens in the grammer where
they are expected, and deal with blank lines, etc. This allows
elimination of a trailing context on newline in the scanner.
* Let the parser set values for "needs-count" and "needs-flag"
instead of making those special cases in the scanner.
* Get rid of '= ' preceeding actions (obsolete yacc syntax)
* Make the scanner not insert an extra newline after includes.
(It was just an accidental side-effect of the ENDFILE stuff.)
1996-11-11 23:54:17 +00:00