Commit Graph

28026 Commits

Author SHA1 Message Date
peter
738d1efcd3 Initial bmake scaffolding for ipfilter userland stuff.
Obtained from: large chunks stolen from OpenBSD and NetBSD
1998-03-21 13:53:18 +00:00
peter
ff5d17cfaf Some tweaks to get this to compile for the userland tools. 1998-03-21 13:39:11 +00:00
peter
a4f5a0656c Some patchups for when this code is compiled in userland (!). 1998-03-21 13:37:44 +00:00
peter
35699ceb02 On most other systems "out there", <net/if.h> does not require the caller
to #include <sys/time.h> first.  I've lost count of the number of times
I've had to patch this in porting code.  The problem is the
"struct timeval ifi_lastchange" in the mib stats.  (most other systems don't
have this, until 4.4bsd anyway).
1998-03-21 13:36:20 +00:00
bde
c4deb2a13a Honour -static in LDFLAGS.
Install using ${INSTALL}, not `install'.  Install generated files using
${COPY}, not -c.  Install using a single command when this is easy.
1998-03-21 12:51:44 +00:00
bde
8f04cb6a75 Generate files at build time, not at install time. This should be the
last fix of this type.  Installing from a read-only object tree should
work now.

Install files using a single install command where this is easy; don't
use shell loops.

Don't use MANDEPEND to complicate things.
1998-03-21 12:12:55 +00:00
peter
92ea8f0724 replaced by FreeBSD specific version 1998-03-21 11:36:36 +00:00
peter
f29f1bbca3 Make this compile.. There are some unpleasing hacks in here.
A major unifdef session is sorely tempting but would destroy any remaining
chance of tracking the original sources.
1998-03-21 11:34:28 +00:00
peter
2d23f404e8 Merge vendor changes from 3.2.1 -> 3.2.3 onto mainline 1998-03-21 10:20:13 +00:00
peter
3af15d63c6 This commit was generated by cvs2svn to compensate for changes in r34742,
which included commits to RCS files with non-trunk default branches.
1998-03-21 10:11:54 +00:00
peter
d0b95c10ff Import kernel parts of ipfilter v3.2.3 1998-03-21 10:11:54 +00:00
peter
c3255d453d Import kernel parts of ipfilter v3.2.3 1998-03-21 10:11:54 +00:00
peter
4d70749c17 This commit was generated by cvs2svn to compensate for changes in r34739,
which included commits to RCS files with non-trunk default branches.
1998-03-21 10:04:55 +00:00
peter
58e3555d88 Import ipfilter 3.2.3 1998-03-21 10:04:55 +00:00
markm
1dfd1e0396 Build both libscrypt and libdescrypt. There is no point in letting
libscrypt stagnate, even if it is superceded by libdescrypt. It is
a tiny library anyway, and building it is inexpensive.
1998-03-21 08:18:57 +00:00
peter
16ee0098ca zap 'vector siintr' from example si0 config 1998-03-21 06:21:03 +00:00
peter
86089b67dc merge from 2.2 1998-03-21 06:17:14 +00:00
peter
9df0804f7a Merge from 2.2, plus some other changes. In the config file entry,
'vector siintr' isn't used since the handler is assigned internally.
1998-03-21 05:17:29 +00:00
dyson
bcac3d4a40 Softdep_sync_metadata appears to expect that it is called at splbio,
so make it so...
1998-03-21 05:16:09 +00:00
jkh
c1376b5d7c MF22: install correct kernel 1998-03-21 02:08:52 +00:00
jkh
f645e98460 MF22: teach about LS-120 devices. 1998-03-20 23:43:04 +00:00
jkh
7bfc78e15e MF22: create raw slice entries. 1998-03-20 23:39:57 +00:00
msmith
c8dfef8ee7 Remove unuseful (and annoying) ENXIO printf. 1998-03-20 23:14:52 +00:00
jkh
52a23062ce Ack, fix typo in last commit. 1998-03-20 18:26:04 +00:00
jkh
849c5448f8 My face is red - make the code for creating slices actually work now. 1998-03-20 18:07:02 +00:00
markm
00d657be11 More fixes to help fix race bags in "make -jN".
Submitted by:	BDE (Mostly)
1998-03-20 17:48:14 +00:00
itojun
d8bf725c35 /usr/local/man/ja_JP.EUC -> /usr/local/man/ja
PR:		5251
1998-03-20 16:54:34 +00:00
bde
acd80aa7bd Renamed the generated include file keys.tries to keys.tries.h so
that it can be put in SRCS for dependency generation to work
properly.  Don't use beforedepend, as usual.
1998-03-20 16:50:08 +00:00
bde
3f22d0b80e Don't use beforedepend to break things. The usual fix of putting
generated sources in SRCS breaks because compile_et uses an evil
include of one .c file in another.  Use a worse fix.  Perhaps
DPSRCS is useful after all.

Don't put *.y in SRCS.  Put the generated file in SRCS instead.
This fixes incomplete dependencies (mkdep can't work on *.y).

Don't override the default .l.c rule.  Just use LFLAGS.

Fixed some style bugs.
1998-03-20 16:21:39 +00:00
bde
5b605c6bc0 Don't use beforedepend to complicate and break things. The usual
fix of putting generated source files in SRCS breaks many special
cases (many dependencies had to be incomplete for ${.ALLSRC}
not to give .h files that would break compiling with c++ -c).
Reduce these special cases to the general case so that SRCS works
normally and bsd.lib.mk handles most of the complications.  Now
we only have to duplicate rules from bsd.lib.mk to add special
CFLAGS in some cases.
1998-03-20 15:10:59 +00:00
bde
356d576cdd Updated MISSING list. 1998-03-20 12:34:21 +00:00
bde
0b62ebc3f7 Don't use beforedepend to complicate and break things. Just put
generated source files in SRCS.
1998-03-20 12:20:43 +00:00
bde
a49cc476c2 Don't use beforedepend to complicate and break things. Just put
generated source files in SRCS.
1998-03-20 12:13:10 +00:00
bde
5a71334c65 Put generated source files in SRCS. This fixes races generating
the source files.  E.g., the stale version of locate.cc in the
source directory was sometimes used.  We didn't even use beforedepend.

Added temporary files to CLEANFILES.

Fixed some style bugs.
1998-03-20 12:05:50 +00:00
bde
b05eb6bff2 Don't use beforedepend to complicate and break things. Just put
generated source files in SRCS.

Don't use MANDEPEND to complicate things.  Just put the generated
man page in CLEANFILES.

Partly fixed yacc header brokenness, as in ../eqn/Makefile.

Added temporary files to CLEANFILES.

Fixed some style bugs.
1998-03-20 12:04:59 +00:00
bde
9a8bd5ce8d Don't use beforedepend to complicate and break things. Just put
generated source files in SRCS.

Don't use MANDEPEND to complicate things.  Just set MAN1 and put
generated man pages in CLEANFILES.

Added temporary files to CLEANFILES.

Partly fixed a potentially fatal bug involving the yacc header.
We generate eqn.cc (even if there is a version of it in the source
directory older than eqn.y) and a matching eqn.tab.h, but only use
the possibly-non-matching eqn.tab.h in the source directory.  This
works because Cygnus's yacc happened to generate a y.tab.h identical
to the current generated one.  The correct version will be used
when the wrong version is deleted from the source tree.  Kludge to
get the header generated early enough.  Yacc headers are mishandled
everywhere they are renamed (and used).

Generate neqn at build time, not at install time.

Fixed some style bugs.
1998-03-20 12:03:53 +00:00
bde
d050384644 Removed bogus -I path. The correct path is in all subdir Makefiles
where it matters.
1998-03-20 11:08:52 +00:00
hosokawa
d265354dfd Some parameter was left uninitialized when the card with incomplete
"Version 1" CIS tupple is plugged after normal card.
1998-03-20 04:49:19 +00:00
kato
102062b36a Deleted 1024bytes/sector floppy code for PC-98 arch. The
1024bytes/sector code has not worked for long time and it should be
re-implemented.
1998-03-20 02:33:42 +00:00
fenner
12cd357d0e Remove the check for SYN in SYN_RECEIVED state; it breaks simultaneous
connect.  This check was added as part of the defense against the "land"
attack, to prevent attacks which guess the ISS from going into ESTABLISHED.
The "src == dst" check will still prevent the single-homed case of the
"land" attack, and guessing ISS's should be hard anyway.

Submitted by:	David Borman <dab@bsdi.com>
1998-03-20 00:43:29 +00:00
dyson
089cf3e906 Fix vfs_bio_awrite usage, and correct vtruncbuf usage. 1998-03-19 22:49:44 +00:00
dyson
5ed196008e Remove b_generation. 1998-03-19 22:49:01 +00:00
dyson
85baaa0265 In kern_physio.c fix tsleep priority messup.
In vfs_bio.c, remove b_generation count usage,
	remove redundant reassignbuf,
	remove redundant spl(s),
	manage page PG_ZERO flags more correctly,
	utilize in invalid value for b_offset until it
		is properly initialized.  Add asserts
		for #ifdef DIAGNOSTIC, when b_offset is
		improperly used.
	when a process is not performing I/O, and just waiting
		on a buffer generally, make the sleep priority
		low.
	only check page validity in getblk for B_VMIO buffers.

In vfs_cluster, add b_offset asserts, correct pointer calculation
	for clustered reads.  Improve readability of certain parts of
	the code.  Remove redundant spl(s).

In vfs_subr, correct usage of vfs_bio_awrite (From Andrew Gallatin
	<gallatin@cs.duke.edu>).  More vtruncbuf problems fixed.
1998-03-19 22:48:16 +00:00
dyson
eb6e0e64d3 Add ENABLE_VFS_IOOPT kernel option. 1998-03-19 22:37:37 +00:00
eivind
c8dd835f55 Make 'ifconfig -l ether' only list Ethernet interfaces. This is
useful, intuitive, and match the old comments in the source.
Previously, 'ifconfig -l ether' and 'ifconfig -l' were equal.
1998-03-19 20:58:45 +00:00
dyson
d619c78358 Fix an embarassing problem in vtruncbuf. 1998-03-19 18:46:58 +00:00
bde
cc7c84e1aa Build the libraries in a correct order. Reorganized the ifdefs so
that the order is easy to see.
1998-03-19 16:56:58 +00:00
bde
c6c852fdaf Build the initial `make' in the temporary build tree so that its forced
cleaning doesn't affect the normal copy.  Save a little time by not doing
unnecessary clean, depend nd cleandepend steps.

Reviewed by:	mckay@freebsd.org

Added xargs to build-tools.  It may be used for kdump and truss.
1998-03-19 16:43:19 +00:00
hosokawa
f2e2aabf6b Added U.S. Robotics XJ1560J (X2 X-jack modem) 1998-03-19 16:25:17 +00:00
hosokawa
75fc1df80f Uninitialized pointer reference may happen on particular environment.
(for example, it kills my new laptop, Toshiba Libretto 100....)
1998-03-19 16:19:16 +00:00