Commit Graph

57539 Commits

Author SHA1 Message Date
joe
14468df303 When displaying interface statistics with -i show a '-' for any
values that aren't updated for a particular network-layer address.
2001-03-04 22:25:05 +00:00
alfred
d9660d62bd mark pthread_exit() as non-returning.
Requested by: Farooq Mela <fmela0@sm.socccd.cc.ca.us>
2001-03-04 22:17:52 +00:00
bmilekic
14e2ff2e30 During a flood, we don't call rtfree(), but we remove the entry ourselves.
However, if the RTF_DELCLONE and RTF_WASCLONED condition passes, but the ref
count is > 1, we won't decrement the count at all. This could lead to
route entries never being deleted.

Here, we call rtfree() not only if the initial two conditions fail, but
also if the ref count is > 1 (and we therefore don't immediately delete
the route, but let rtfree() handle it).

This is an urgent MFC candidate. Thanks go to Mike Silbersack for the
fix, once again. :-)

Submitted by: Mike Silbersack <silby@silby.com>
2001-03-04 21:28:40 +00:00
dmlb
6a5ea7c4b0 pkh's TAILQ changes to if_mutliaddrs missed a counting loop. 2001-03-04 20:56:45 +00:00
alfred
2e5b6e2b93 Simplify vm_object_deallocate(), by decrementing the refcount first.
This allows some of the conditionals to be combined.
2001-03-04 20:25:23 +00:00
mjacob
bac23a66ee more 32 to 16 bit handle conversions 2001-03-04 18:42:51 +00:00
mjacob
864186fbab More 32 to 16 bit handle stuff. Roll core minor version. 2001-03-04 18:42:23 +00:00
mjacob
6b66f59a26 Remove a superfluous newline in a string (isp_prt adds this).
Fix a missed conversion of 32 to 16 bit handles.
2001-03-04 18:41:23 +00:00
roberto
a8c009f2c8 When called with the "-n" command line argument, pkg_delete
is supposed to inform the user of all steps it would take.

The current code does not issue any messages regarding actions
that would be performed by delete_package (removing files and
executing @unexec commands), because when the Fake variable
is 1, delete_package (which itself respects Fake and prints
messages rather than taking action when it is 1) is not called
at all.

Fix this.

PR:		bin/24971
Submitted by:	Thomas Quinot <thomas@cuivre.fr.eu.org>
2001-03-04 17:38:38 +00:00
jhb
30ed2b68c0 Alter the pccard setup a bit so that it looks prettier by redirecting
pccardc's stdout to /dev/null and outputting short messages on succesful
completion instead much like other rc scripts.

Reviewed by:	imp
2001-03-04 17:34:37 +00:00
obrien
8da276b60d Fix style nit. 2001-03-04 13:19:51 +00:00
billf
bebe210a36 BDECFLAGS.
while I'm here, fix bitrotted debug code generating template.
2001-03-04 12:28:57 +00:00
obrien
6f1a0a6936 Do not set a default ELF syscall ABI fallback.
If one runs an un-branded Linux static binary that calls Linux's fcntl
the machine will reboot when interupted by the FreeBSD syscall ABI.
2001-03-04 11:58:50 +00:00
obrien
f970c2a9fd End words with a `.'.
Fixed spacing messed up in rev 1.244.
2001-03-04 10:43:14 +00:00
kris
8f7cf6fa2e First appeared in 4.3, not 5.0 2001-03-04 09:15:55 +00:00
phk
14a37c4221 Give the shoe-laces a distinct color so they don't disappear on b/w
daemons.
2001-03-04 09:13:17 +00:00
alc
25ce878554 Remove an out-of-date comment: aio_cancel() has been supported
since revision 1.69 of kern/vfs_aio.c.
2001-03-04 08:02:06 +00:00
markm
7630080b0a Remove stuff that is really "ports material", generated files and
stuff for other OS's. Also remove stuff (libraries) that are
already present in FreeBSD and must not get mixed up in our
code.
2001-03-04 07:26:45 +00:00
kris
09ac592cb6 Correct grammar in comment. 2001-03-04 07:14:11 +00:00
markm
2dc08feacd Trim down the source tree a bit. We shouldn't have blatantly
uncompilable bits in here (like X stuff), nor should we have
too much "ports material".
2001-03-04 07:06:39 +00:00
kris
385d94f8ee Clean up the installation of the compatibility libdes header/library
symlinks

Pointed out by:	bde
2001-03-04 06:51:51 +00:00
assar
05286a6e61 implement OCRNL, ONOCR, and ONLRET
Obtained from:	NetBSD
2001-03-04 06:04:50 +00:00
kris
28c7860338 Don't override CPUTYPE (actually this predates the <bsd.cpu.mk> use of
CPUTYPE, and I forgot I used it here already)

Pointed out by:	bde
2001-03-04 05:51:43 +00:00
obrien
9ec118cca2 Set TARGET_ARCH and install files -fschg as we do the kernel module. 2001-03-04 05:29:10 +00:00
obrien
0da600ccac Fix whitespace. 2001-03-04 04:38:14 +00:00
truckman
10399068a5 Disable interface checking for packets subject to "ipfw fwd".
Chris Johnson <cjohnson@palomine.net> tested this fix in -stable.
2001-03-04 03:22:36 +00:00
kris
c00fbdcc81 Correct the comment above MAKE_IDEA to be less confusing now that we
only have one patented algorithm in make.conf.
2001-03-04 03:14:27 +00:00
assar
ed5525fcec Add code for being compatible with ssh.com's krb5 authentication.
It is done by using the same ssh messages for v4 and v5 authentication
(since the ssh.com does not now anything about v4) and looking at the
contents after unpacking it to see if it is v4 or v5.
Based on code from Björn Grönvall <bg@sics.se>

PR:		misc/20504
2001-03-04 02:22:04 +00:00
truckman
d8d87b6ba0 Disable interface checking when IP forwarding is engaged so that packets
addressed to the interface on the other side of the box follow their
historical path.

Explicitly block packets sent to the loopback network sent from the outside,
which is consistent with the behavior of the forwarding path between
interfaces as implemented in in_canforward().

Always check the arrival interface when matching the packet destination
against the interface broadcast addresses.  This bug allowed TCP
connections to be made to the broadcast address of an interface on the
far side of the system because the M_BCAST flag was not set because the
packet was unicast to the interface on the near side.  This was broken
when the directed broadcast code was removed from revision 1.32.  If
the directed broadcast code was stil present, the destination would not
have been recognized as local until the packet was forwarded to the output
interface and ether_output() looped a copy back to ip_input() with
M_BCAST set and the receive interface set to the output interface.

Optimize the order of the tests.

Reviewed by:	jlemon
2001-03-04 01:39:19 +00:00
alc
f0ae1c2cc8 Remove the field privatemodes from struct __aiocb_private and the
related code from aio_read() and aio_write().  This field was
intended, but never used, to allow a mythical user-level library to
make an aio_read() or aio_write() behave like an ordinary read() or
write(), i.e., a blocking I/O operation.
2001-03-04 01:22:23 +00:00
kris
43f4c6abf6 This commit was generated by cvs2svn to compensate for changes in r73393,
which included commits to RCS files with non-trunk default branches.
2001-03-03 23:45:43 +00:00
kris
9b07833722 Import vendor fix for buffer overflow in HOME environment variable 2001-03-03 23:45:43 +00:00
cokane
472a4277da Small style fix, remove highlight from second list in FILES section. 2001-03-03 22:54:00 +00:00
cokane
fe651a8371 Added a man page for the tdfx 3Dfx Voodoo I/II device driver 2001-03-03 22:47:19 +00:00
mjacob
cce9bbeccc include paths.h for _PATH_DEV 2001-03-03 21:23:31 +00:00
ache
42b02a510e Change mon_decimal_point from "." to "" (N/A>) as it is specified by POSIX for
POSIX locale.
2001-03-03 21:03:15 +00:00
mjacob
104c626739 Add some default hints for isp. 2001-03-03 19:39:15 +00:00
ache
59ee2e20f4 Preserve comma as separator when it is not equal to radix character 2001-03-03 16:47:07 +00:00
dfr
dc91c6bf08 Remove the copyinstr call which was trying to copy the pathname in from
user space. It has already been copied in and mp->mnt_stat.f_mntonname has
already been initialised by the caller.

This fixes a panic on the alpha caused by the fact that the variable
'size' wasn't initialised because the call to copyinstr() bailed out with
an EFAULT error.
2001-03-03 15:15:33 +00:00
dfr
3589904ee2 Account for the new flags field in struct trapframe. 2001-03-03 15:11:37 +00:00
markm
ba68664cc2 Harvest interrupt entropy off the floppy disk controller. 2001-03-03 14:53:50 +00:00
markm
937f744ee5 Take down a comment that is no longer true.
/dev/random is ready for prime time!
2001-03-03 14:35:01 +00:00
markm
7d3dd159a1 Minor fixes. ManPolice stuff, and a clarification of interrupt
harvesting.
2001-03-03 14:21:58 +00:00
markm
26ea14af89 Extra MLINKS to reflect expansion of BUS_SETUP_INTR(9) manpage. 2001-03-03 14:19:39 +00:00
markm
280c2396bb Add a whole lot of extra info. Lots was gained from reading code
or comments, and some is as a result of simply documenting the
entropy harvester.

This still needs work: could a newbus guru pleazse follow up
and fix.extend my (no doubt) obvious mistakes!
2001-03-03 14:13:53 +00:00
obrien
1119764552 Support inheritance of the "nodump" flag down a hierarchy.
Submitted by:	Dima Dorfman <dima@unixfreak.org>
Obtained from:	NetBSD
2001-03-03 11:35:50 +00:00
imp
f18139e812 Add support for Dlink DL10022 to the ed driver. This is a mii part
bolted to a ne-2000 chip.  This is necessary for the NetGear FA-410TX
and other cards.

This also requires you add mii to your kernel if you have an ed driver
configured.

This code will result in a couple of timeout messages for ed on the
impacted cards.  Additional work will be needed, but this does work
right now, and many people need these cards.

Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
2001-03-03 08:31:37 +00:00
asmodai
23435475b5 Fix typo present since 1997: single used mode -> single user mode. 2001-03-03 08:12:58 +00:00
bmilekic
baa911044e Fix INVARIANT_SUPPORT-only builds (without INVARIANTS). The required
`infrastructure' built with INVARIANT_SUPPORT for kern_mutex.c essentially
involves _mtx_assert(), which makes use of constants that were defined
under #ifdef INVARIANTS here.
2001-03-03 06:06:00 +00:00
julian
ba9120c480 Cleanups to Macros for sending data between netgraph nodes. 2001-03-03 05:52:49 +00:00