thorpej
7d74a4ae8d
remove unneeded -I diretive from CFLAGS
1997-03-29 20:19:48 +00:00
thorpej
2acf8851b4
remove unneeded -I directive from CFLAGS
1997-03-29 20:07:26 +00:00
thorpej
6acb22838b
Remove unneeded -I directive from CFLAGS.
1997-03-29 20:00:36 +00:00
thorpej
2e11c06394
- Use IPL_NAME defined in <netinet/ip_fil.h>
...
- Make these compile in light of is-newarp
1997-03-29 19:49:02 +00:00
darrenr
fa592ade6f
fixup changes from import
1997-03-29 04:31:10 +00:00
darrenr
e7fbefddb2
add extra ipfilter programs
1997-03-29 04:30:30 +00:00
darrenr
4632a3d666
add extra directories to CFLAGS and PATH to pickup all the required .h and .c
...
files for these programs.
1997-03-29 04:28:28 +00:00
darrenr
e8fb8bd3a9
Properly import usr.sbin/ipf updates
1997-03-29 02:49:40 +00:00
thorpej
91d0b1474b
Resolve conflicts from import of 3.2alpha2.
1997-03-28 21:54:38 +00:00
christos
cc117ae3ac
Don't keep trying getpwuid(0) when ll_time == 0! This brings down the
...
execution time from 5 minutes -> 1 second in our password file.
1997-03-27 17:25:49 +00:00
darrenr
fe3bc025d0
Bring in entire 3.2alpha2 source tree
1997-03-27 15:13:58 +00:00
cgd
34732bad50
log date changes to wtmp, in the same way that 'date' does.
1997-03-26 21:12:58 +00:00
thorpej
87ca1d62e0
Print Ethernet and FDDI addresses in the same format as ether_ntoa().
...
From Matt Thomas <matt@3am-software.com>
1997-03-26 01:49:44 +00:00
is
45ae7d19f3
Mention correct PID file location.
1997-03-25 16:06:55 +00:00
thorpej
fcab4c339d
RCS id police.
1997-03-25 03:06:58 +00:00
christos
0aad9d4378
Makefile cleanups
1997-03-24 22:02:40 +00:00
fvdl
4df5a6390b
Checking for the use reserved ports by clients (both for mount/umount
...
and individual NFS requests) now depends on the '-noresport' option
in the exports file. Checking for reserved ports is the default.
The -n option has become obsolete but is maintained for backwards
compatibility.
1997-03-23 20:58:14 +00:00
cgd
b241147c80
fix some u_long vs. u_int32_t bogons in uses of nameserver lookup results.
1997-03-23 00:48:15 +00:00
lukem
789002a23e
use O_EXCL with O_CREAT when making the temporary db files
1997-03-22 03:32:36 +00:00
lukem
cd08442b0d
use O_EXCL with O_CREAT when making the tempfile
1997-03-22 03:20:38 +00:00
mycroft
14656f0069
Don't attempt to use libwrap for `stream wait' services, where
...
we only have the listening socket.
1997-03-19 00:05:05 +00:00
mycroft
95c740d58b
Oops; for waiting stream services, we don't do an accept(); we
...
pass down the fd of the listening socket.
1997-03-18 04:47:22 +00:00
veego
80109470c6
s/if_ether.h/if_inarp.h/
1997-03-17 10:39:53 +00:00
cjs
ec30dbdca7
Added mopd.
1997-03-17 00:02:02 +00:00
cjs
ed137f7c05
Import of Mats O Jansson's MOP boot program for DEC machines.
1997-03-16 22:23:34 +00:00
veego
3a388c65c6
s/if_ether.h/if_inarp.h/
1997-03-16 17:20:48 +00:00
is
00cef679df
New ARP system, supports IPv4 over any hardware link.
...
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.
For the detailed change history, look at the commit log entries for
the is-newarp branch.
1997-03-15 18:37:27 +00:00
perry
729632280d
transations -> transactions per pr 3333 from SAITOH Masanobu
1997-03-14 23:24:23 +00:00
perry
2b46e80f93
transations -> transactions per pr 3333 from SAITOH Masanobu
1997-03-14 23:23:24 +00:00
jtk
0b044b117e
. NULL terminate the list of locator names on each attachment
...
. link to the list of locator names from each entry in cfdata[] (for
future use by programs to print out the device tree nicely and/or
for boot-time configuration tools)
1997-03-14 22:54:08 +00:00
leo
0b28c6c0b1
Don't dump when a non-existent root device is specified. (missed a
...
param to error()).
1997-03-14 20:43:05 +00:00
mycroft
6ebf01d197
Output a + line for the tcpmux `help' service, and list itself.
1997-03-14 03:18:25 +00:00
christos
95e251ee4e
Better fix for the va_list problem from paulus.
1997-03-14 01:53:29 +00:00
mycroft
16cc2efbbd
Change _PATH_MASTERLOCK to /var/run/lpd.pid.
1997-03-14 01:17:34 +00:00
jtk
0f6d8d88b8
Add hash table walking functions to emit manifest constants for locator
...
offsets within cf->cf_loc[].
Also include locator names as strings in ioconf.c.
Still to do: wire the locator names into the cfdata.
1997-03-14 00:14:09 +00:00
mycroft
b860cb428b
Move all of the libwrap checking and subprocess startup into a separate
...
function. Arrange for tcpmux() to be called like other builtins, and have it
call the aforementioned function recursively. This allows tcpmux to be
wrapped, and always runs it after forking, so we don't freeze everything
else.
Also, use FD_CLOEXEC to close file descriptors, rather than iterating through
them ourself.
1997-03-13 20:15:04 +00:00
christos
28b883a7db
put back filtering options, and rcsid police.
1997-03-13 19:08:15 +00:00
christos
aae03a189a
Fix for the void * arg hack; reported by cgd
1997-03-13 19:05:51 +00:00
mycroft
a68a078f3e
Fix typo.
1997-03-13 18:39:50 +00:00
mycroft
51fa5e9be7
Make the previous dependent on LIBWRAP_INTERNAL, which is not defined by
...
default.
1997-03-13 18:36:35 +00:00
cgd
f919d5c499
fix an 'if' that could never be true to do what it really meant to do.
1997-03-13 18:23:19 +00:00
mycroft
249eced8da
If we forked for an internal service, make sure we always exit afterward.
1997-03-13 18:19:35 +00:00
mycroft
df6ec691b5
If we're using libwrap. always fork. This only affects the time and daytime
...
services anyway.
1997-03-13 18:08:19 +00:00
mycroft
cf5f8c252d
Slight rearrangement to forking code. Also, always close the new descriptor
...
after a fork failure, even for a waiting service.
1997-03-13 18:06:15 +00:00
mycroft
84626a507f
Another bug fix to tcpmux.
1997-03-13 17:35:39 +00:00
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