]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
25 years agoFix some cut and paste damage.
mdodd [Fri, 20 Aug 1999 07:14:46 +0000 (07:14 +0000)]
Fix some cut and paste damage.

Noticed by: Norman C. Rice <nrice@emu.sourcee.com>

25 years agoFix EINVAL related descriptions.
rse [Fri, 20 Aug 1999 07:00:22 +0000 (07:00 +0000)]
Fix EINVAL related descriptions.

25 years agovm_page_alloc and contigmalloc1:
alc [Fri, 20 Aug 1999 06:32:00 +0000 (06:32 +0000)]
vm_page_alloc and contigmalloc1:
Verify that free pages are not dirty.

Submitted by: dillon

25 years agoUpdate blackhole(4)
csgr [Fri, 20 Aug 1999 05:47:05 +0000 (05:47 +0000)]
Update blackhole(4)

25 years agoFix short timeout problems with the pt(4) driver:
ken [Fri, 20 Aug 1999 03:48:11 +0000 (03:48 +0000)]
Fix short timeout problems with the pt(4) driver:

- increase the default timeout from 10 seconds to 60 seconds
- add a new kernel option, SCSI_PT_DEFAULT_TIMEOUT, that lets users specify
  the default timeout for the pt driver to use
- add two new ioctls, one to get the timeout for a given pt device, the
  other to set the timeout for a given pt device.  The idea is that
  userland applications using the device can set the timeout to suit their
  purposes.  The ioctls are defined in a new header file, sys/ptio.h

PR: 10266
Reviewed by: gibbs, joerg

25 years agoReduce default timeout on remote serial debugging sessions from 20
grog [Fri, 20 Aug 1999 02:58:16 +0000 (02:58 +0000)]
Reduce default timeout on remote serial debugging sessions from 20
seconds to 1 second.  This fixes a problem where gdb would appear to
hang on flaky serial connections.  There's a theoretical problem that
the relatively short timeout could cause problems on slow links, but
you can override the default value with the 'set remotetimeout'
command.

Approved-by: dfr

25 years agoWhat the heck was I thinking? Nobody else saw this? Sheesh.
mdodd [Fri, 20 Aug 1999 01:24:35 +0000 (01:24 +0000)]
What the heck was I thinking?  Nobody else saw this?  Sheesh.

(num > MAX) ? MAX : num

rather than

(MAX > num) ? MAX : num

Also, make things a little easier to read while I'm here.

25 years agoAdd 2 functions: el_data_set() and el_data_get() which do what you
mdodd [Fri, 20 Aug 1999 01:17:12 +0000 (01:17 +0000)]
Add 2 functions: el_data_set() and el_data_get() which do what you
would expect.  (Allow user data to be associated with an EditLine context).

As this changes no existing interfaces and doesn't alter any structs
visable to the user I've been told that its not necessary to bump
the version of the library.

25 years agoChange the name of the static variable 'files' to 'linker_files' in
grog [Fri, 20 Aug 1999 00:18:07 +0000 (00:18 +0000)]
Change the name of the static variable 'files' to 'linker_files' in
order to be able to refer to it uniquely from the kernel debugger.

Approved-by:  peter

25 years agotime_to_sleep->tv_nsec > 1000000000
alfred [Thu, 19 Aug 1999 23:18:07 +0000 (23:18 +0000)]
time_to_sleep->tv_nsec > 1000000000
-to-
time_to_sleep->tv_nsec >= 1000000000

25 years agoSanity check time structures passed in, return EINVAL like the system
alfred [Thu, 19 Aug 1999 23:06:11 +0000 (23:06 +0000)]
Sanity check time structures passed in, return EINVAL like the system
calls do to avoid corrupting the thread library's concept of wakeup
time.

PR: kern/12141
Reviewed by: deischen, eivind

25 years agoMake gcc work on the Alpha again. alpha/alpha.h is used instead of svr4.h
peter [Thu, 19 Aug 1999 21:19:36 +0000 (21:19 +0000)]
Make gcc work on the Alpha again.  alpha/alpha.h is used instead of svr4.h

25 years agoQuieten ppp at startup.
brian [Thu, 19 Aug 1999 21:15:16 +0000 (21:15 +0000)]
Quieten ppp at startup.

25 years agoLet processes retrieve their argv through procfs. Revert to the original
marcel [Thu, 19 Aug 1999 19:41:08 +0000 (19:41 +0000)]
Let processes retrieve their argv through procfs. Revert to the original
behaviour in all other cases.

Submitted by: Andrew Gordon <arg@arg1.demon.co.uk>

25 years agoo Add the -foreground switch. This switch behaves like -background except
brian [Thu, 19 Aug 1999 18:15:52 +0000 (18:15 +0000)]
o Add the -foreground switch.  This switch behaves like -background except
  that ppp stays in the foreground.
o Add the -quiet switch to quieten ppps startup
o Add the -nat flag and discourage the use of the -alias flag.  Both do
  the same thing.
o Correct some nat usage strings.
o Change the internal ``alias'' command to ``nat''.

25 years agohandle under/overflow of time values in a more robust manner,
alfred [Thu, 19 Aug 1999 16:49:53 +0000 (16:49 +0000)]
handle under/overflow of time values in a more robust manner,
there may be an overflow that need to be adjusted more than once.

Pointed out by: Fabian Thylmann <fthylmann@stats.net>

Reviewed by: eivind, jb

25 years agoFix a typo and a bug.
peter [Thu, 19 Aug 1999 16:06:08 +0000 (16:06 +0000)]
Fix a typo and a bug.
- One RTP_PRIO_REALTIME was meant to be RTP_PRIO_IDLE.
- RTP_PRIO_FIFO was not handled.
- Move the usual case first for setrunqueue() etc.

25 years agoReplace the tulip_delay_300ns() with a DELAY(1). Hammering the PCI bus
peter [Thu, 19 Aug 1999 15:07:20 +0000 (15:07 +0000)]
Replace the tulip_delay_300ns() with a DELAY(1).  Hammering the PCI bus
to achieve a delay is pretty mean.

Andrew reports:
"The tulip_delay_300ns() is, well, bloody stupid on machines with a
heavily loaded PCI bus.  It tries to do a delay by assuming PCI reads
will take a certain amount of time & issues a large amount of
(expensive, 5% CPU when your PCI bus is heavily loaded) pci reads.

Locally, we've replaced the calls to tulip_delay_300ns(sc) in the EMIT
macros with a simple DELAY(1) and not seen any problems.  Plus we've
gained about 50Mb/sec throughput on our gigabit network cards because
of the added PCI bus bandwidth available."

Also, I do not understand why, but this change appears to stop the
Transmit Fifo underrun on one of my systems (but not the Alpha PC164SX).
This shouldn't make that much of a difference since the mii bus isn't
touched all that often, but perhaps when it does get accessed and hence
hammers the register, it was causing the chip to get upset.

Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>

25 years agoUndo my previous commit and do it differently. Break the ffs() etc macros
peter [Thu, 19 Aug 1999 14:54:40 +0000 (14:54 +0000)]
Undo my previous commit and do it differently.  Break the ffs() etc macros
into two parts - one to do the bsfl and the other to convert the result
(base 0) to ffs()-like (base 1) in inline C.  This enables the optimizer
to be a lot smarter in certain cases, like where it knows that the argument
is non-zero and we want ffs(known non zero arg) - 1.  This appears to
produce identical code to the old inline when the argument is unknown.

25 years agoConvert all the nfs macros to do { blah } while (0) to ensure it
peter [Thu, 19 Aug 1999 14:50:12 +0000 (14:50 +0000)]
Convert all the nfs macros to do { blah } while (0) to ensure it
works correctly in if/else etc.  egcs had probably picked up most of the
problems here before with "ambiguous braces" etc, but this should
increase the robustness a bit.  Based on an idea from Eivind Eklund.

25 years agoTake integer rounding into account in the buffer size approximation
sheldonh [Thu, 19 Aug 1999 13:04:08 +0000 (13:04 +0000)]
Take integer rounding into account in the buffer size approximation
macro. So now it's (1 +) for the sign and (+ 1) for rounding.

Reported by: bde

25 years agoStyle issues in previous commit:
sheldonh [Thu, 19 Aug 1999 11:36:12 +0000 (11:36 +0000)]
Style issues in previous commit:

        Use an upward approximation of the number of characters required
        for decimal representations of uid_t, gid_t and u_quad_t, intead
of arbitrary values that may not be safe in the future.

Fix disordering.

Requested by: bde

25 years agoMove two of the DBX config directives to the common configuration header.
obrien [Thu, 19 Aug 1999 09:16:23 +0000 (09:16 +0000)]
Move two of the DBX config directives to the common configuration header.
Also simply CPP_PREDEFINES a little.

25 years agoNuke /usr/share/misc/pkg_manage.
ru [Thu, 19 Aug 1999 07:10:26 +0000 (07:10 +0000)]
Nuke /usr/share/misc/pkg_manage.

PR: 13228
Submitted by: "Alexey M. Zelkin" <phantom@cris.net>

25 years agoLink libcrypt_p.a to the DES profiled library, if this library is present.
jkoshy [Thu, 19 Aug 1999 06:36:24 +0000 (06:36 +0000)]
Link libcrypt_p.a to the DES profiled library, if this library is present.

PR: misc/7759
Submitted by: Carl Mascott <cmascott@world.std.com>
Reviewed by: jkh

25 years agoFix breakage if blackhole=1 and tiflags & TH_SYN, plus
csgr [Thu, 19 Aug 1999 05:22:12 +0000 (05:22 +0000)]
Fix breakage if blackhole=1 and tiflags & TH_SYN, plus
style(9) fixes

Submitted by:  Jonathon Lemon

25 years agoUse el_source() so we pick up .editrc
mdodd [Thu, 19 Aug 1999 04:10:33 +0000 (04:10 +0000)]
Use el_source() so we pick up .editrc

25 years agoSmall tweak: in xl_rxeof(), rxstat should be u_int32_t, not u_int16_t.
wpaul [Thu, 19 Aug 1999 03:47:18 +0000 (03:47 +0000)]
Small tweak: in xl_rxeof(), rxstat should be u_int32_t, not u_int16_t.

25 years agoAdd support for command line editing and history.
mdodd [Thu, 19 Aug 1999 03:29:15 +0000 (03:29 +0000)]
Add support for command line editing and history.

Remove src/contrib/bind/bin/nslookup/commands.c as it is generated by lex
from commands.l.

Submitted by: lpc/cdcontrol patches originally by msmith.
Reviewed by: msmith (in theory)

25 years agoTry using the builtin ffs() for egcs, it (by random inspection)
peter [Thu, 19 Aug 1999 00:32:48 +0000 (00:32 +0000)]
Try using the builtin ffs() for egcs, it (by random inspection)
generates slightly better code and avoids the incl then subl when
using ffs(foo) - 1.

25 years agoUpdate for MI switch code, and trim a heap of unused (I believe) entries.
peter [Thu, 19 Aug 1999 00:20:10 +0000 (00:20 +0000)]
Update for MI switch code, and trim a heap of unused (I believe) entries.

25 years agoUse the MI process selection. We use a quick routine to decide whether
peter [Thu, 19 Aug 1999 00:18:48 +0000 (00:18 +0000)]
Use the MI process selection.  We use a quick routine to decide whether
to get the mplock and enter the kernel to run a process in the SMP case.

25 years agoUse MI switch code for process selection. This gets run queues entirely
peter [Thu, 19 Aug 1999 00:16:52 +0000 (00:16 +0000)]
Use MI switch code for process selection.  This gets run queues entirely
out of the asm code, and as a bonus implements rtprio and idprio for the
Alpha. Previously if you ran an idprio process, you were assured of a
deadlock.

25 years agoUpdate for run queue code.
peter [Thu, 19 Aug 1999 00:15:27 +0000 (00:15 +0000)]
Update for run queue code.

25 years agoDon't initialize run queues here, do it all in one place.
peter [Thu, 19 Aug 1999 00:14:43 +0000 (00:14 +0000)]
Don't initialize run queues here, do it all in one place.

25 years agoRun queue heads have moved to TAILQ's.
peter [Thu, 19 Aug 1999 00:13:58 +0000 (00:13 +0000)]
Run queue heads have moved to TAILQ's.

25 years agoUpdate for MI switch components. struct prochd is replaced by TAILQ's.
peter [Thu, 19 Aug 1999 00:13:15 +0000 (00:13 +0000)]
Update for MI switch components.  struct prochd is replaced by TAILQ's.
Use a spare pad field for saving the run queue index.

25 years ago(forced commit, cvs aborted part way though)
peter [Thu, 19 Aug 1999 00:10:39 +0000 (00:10 +0000)]
(forced commit, cvs aborted part way though)

Extract the next runnable process selection out of cpu_switch() into a
fairly machine independent C routine.  gcc actually does a pretty good
job of this.

Reviewed by:    msmith (in principle)

25 years agoSort xrefs.
mpp [Thu, 19 Aug 1999 00:10:37 +0000 (00:10 +0000)]
Sort xrefs.

Submitted by: Alexey Zelkin <phantom@cris.net>

25 years agoExtract the next runnable process selection out of cpu_switch() into a
peter [Thu, 19 Aug 1999 00:06:53 +0000 (00:06 +0000)]
Extract the next runnable process selection out of cpu_switch() into a
fairly machine independent C routine.  gcc actually does a pretty good
job of this.

Reviewed by: msmith (in principle)

25 years agoMake these actually compile. I got a little delete happy pruning includes
mdodd [Wed, 18 Aug 1999 22:14:24 +0000 (22:14 +0000)]
Make these actually compile.  I got a little delete happy pruning includes
and used 'command' instead of 'cmd' in a few cases.  Also clear up some
unused variables.

Pointed out by: phk

25 years agoAdd pin-numbers for easy reference.
phk [Wed, 18 Aug 1999 20:45:57 +0000 (20:45 +0000)]
Add pin-numbers for easy reference.

25 years agoDocument some common ENVIRONMENT variables.
mpp [Wed, 18 Aug 1999 19:53:04 +0000 (19:53 +0000)]
Document some common ENVIRONMENT variables.

PR: docs/13233
Submitted by: Alexey Zelkin <phantom@cris.net>

25 years agoAdd pam_radius.so manual page.
abial [Wed, 18 Aug 1999 19:04:24 +0000 (19:04 +0000)]
Add pam_radius.so manual page.

Reviewed by: jdp

25 years agoprintf("%x",dev); -> printf("%s",devtoname(dev));
nsayer [Wed, 18 Aug 1999 17:42:41 +0000 (17:42 +0000)]
printf("%x",dev); -> printf("%s",devtoname(dev));

25 years agoSlight tweak to tcp.blackhole to add optional behaviour to
csgr [Wed, 18 Aug 1999 15:40:05 +0000 (15:40 +0000)]
Slight tweak to tcp.blackhole to add optional behaviour to
drop any segment arriving at a closed port.
tcp.blackhole=1 - only drop SYN without RST
tcp.blackhole=2 - drop everything without RST
tcp.blackhole=0 - always send RST - default behaviour

This confuses nmap -sF or -sX or -sN quite badly.

25 years agoMention ``alias enable no'', not ``alias enable off''.
brian [Wed, 18 Aug 1999 15:35:54 +0000 (15:35 +0000)]
Mention ``alias enable no'', not ``alias enable off''.

25 years agoHopefully make IFMEDIA_DEBUG compile. if_xname[] is a NetBSD addition,
peter [Wed, 18 Aug 1999 13:13:01 +0000 (13:13 +0000)]
Hopefully make IFMEDIA_DEBUG compile.  if_xname[] is a NetBSD addition,
we need if_name, if_unit.  (maybe we should pick up if_xname[] ?)

Pointed out by: jkb@yahoo-inc.com

25 years agoThe "LINUX" option isn't actually used or referenced anywhere. The stuff
peter [Wed, 18 Aug 1999 11:28:36 +0000 (11:28 +0000)]
The "LINUX" option isn't actually used or referenced anywhere.  The stuff
that goes to opt_dontuse.h is so an opt_*.h file doesn't get created even
though an option may be used for bringing stuff in via files[.*].

Pointed out by: bde

25 years ago1) rename dev->self to be consistent
n_hibma [Wed, 18 Aug 1999 10:24:59 +0000 (10:24 +0000)]
1) rename dev->self to be consistent
2) use device_printf
3) properly tear down and disable interrupts when init fails

25 years agoRemove redundant spaces in the whole line, not only the first occurrence.
n_hibma [Wed, 18 Aug 1999 08:39:14 +0000 (08:39 +0000)]
Remove redundant spaces in the whole line, not only the first occurrence.
(not that anyone actually reads the created .c and .h files :)

25 years agoMerge from sys/i386/isa/spkr.c revision 1.38.
kato [Wed, 18 Aug 1999 08:24:35 +0000 (08:24 +0000)]
Merge from sys/i386/isa/spkr.c revision 1.38.

25 years agoMerge from sys/i386/i386/machdep.c revision 1.359.
kato [Wed, 18 Aug 1999 08:22:10 +0000 (08:22 +0000)]
Merge from sys/i386/i386/machdep.c revision 1.359.

25 years agoMerge from sys/i386/conf/files.i386 revision 1.259.
kato [Wed, 18 Aug 1999 08:20:28 +0000 (08:20 +0000)]
Merge from sys/i386/conf/files.i386 revision 1.259.

25 years agoDocument sysctl MIBs under net.inet.udp
csgr [Wed, 18 Aug 1999 07:04:42 +0000 (07:04 +0000)]
Document sysctl MIBs under net.inet.udp

25 years agoSIOCSIFADDR, SIOCGIFADDR, and SIOCSIFMTU are implemented in
mdodd [Wed, 18 Aug 1999 06:12:00 +0000 (06:12 +0000)]
SIOCSIFADDR, SIOCGIFADDR, and SIOCSIFMTU are implemented in
sys/net/if_ethersubr.c:ether_ioctl().  Drivers need not implement generic
behavior.

PR: kern/12126
Submitted by: in part by Boris Popov <bp@butya.kz>

25 years agoFix a bunch of broken cross-references
chris [Wed, 18 Aug 1999 05:55:22 +0000 (05:55 +0000)]
Fix a bunch of broken cross-references

25 years agoCreate callable (non-inline) versions of the atomic_OP_TYPE functions
alc [Wed, 18 Aug 1999 04:08:31 +0000 (04:08 +0000)]
Create callable (non-inline) versions of the atomic_OP_TYPE functions
that are linked into the kernel.  The KLD compilation options are
changed to call these functions, rather than in-lining the
atomic operations.

This approach makes atomic operations from KLDs significantly
faster on UP systems (though somewhat slower on SMP systems).

PR: i386/13111
Submitted by: peter.jeremy@alcatel.com.au

25 years agoFix breakage - an extra brace got inserted where DIAGNOSTIC was defined
mjacob [Wed, 18 Aug 1999 03:56:57 +0000 (03:56 +0000)]
Fix breakage - an extra brace got inserted where DIAGNOSTIC was defined
but MAP_LOCK_DIAGNOSTIC wasn't.

25 years agoRemove the SMBIOS detection and definitions; this should be handled in a
msmith [Wed, 18 Aug 1999 02:20:04 +0000 (02:20 +0000)]
Remove the SMBIOS detection and definitions; this should be handled in a
loadable module (under development).

25 years agoBad cross-reference of getservbyname(2) changed to getservbyname(3)
chris [Wed, 18 Aug 1999 01:20:07 +0000 (01:20 +0000)]
Bad cross-reference of getservbyname(2) changed to getservbyname(3)

Reviewed by: ru

25 years agoThe new test(1) did not use access() correctly. I don't know why, since
green [Wed, 18 Aug 1999 00:18:52 +0000 (00:18 +0000)]
The new test(1) did not use access() correctly. I don't know why, since
supposedly it's ksh-derived, and it's not broken in pdksh. I've added
a test for test running as root: if testing for -x, the file must be
mode & 0111 to get "success", rather than just existant.

Reviewed by: chris

25 years agoDevfs isn't quite dead yet... Add back devfs support to ptys..
julian [Tue, 17 Aug 1999 23:08:51 +0000 (23:08 +0000)]
Devfs isn't quite dead yet... Add back devfs support to ptys..
When you use pty(N) it creates pty(N+1) ready for your use in the DEVFS,
so DEVFS is not cluttered up with hundreds of ptys you are never going to
use.

25 years agoUnbreak the nfs KLD_MODULE. It needs a bit more of vm_page.h than was
green [Tue, 17 Aug 1999 22:48:10 +0000 (22:48 +0000)]
Unbreak the nfs KLD_MODULE. It needs a bit more of vm_page.h than was
exported (notably vm_page_undirty()). Also, let vm_page_dirty() work
in a KLD.

25 years ago(1) Fix a spelling mistake in a comment.
billf [Tue, 17 Aug 1999 22:13:06 +0000 (22:13 +0000)]
(1) Fix a spelling mistake in a comment.
(2) Add braces to avoid ambigious if/if/else

Reviewed by: bde

25 years agoFix a printf(3) formatter to match its variable.
billf [Tue, 17 Aug 1999 22:11:02 +0000 (22:11 +0000)]
Fix a printf(3) formatter to match its variable.

Reviewed by: bde

25 years agoFix a printf() formatter to match its variable.
billf [Tue, 17 Aug 1999 22:10:00 +0000 (22:10 +0000)]
Fix a printf() formatter to match its variable.

Reviewed by: bde, luigi

25 years agoRemove an unused variable.
billf [Tue, 17 Aug 1999 22:08:55 +0000 (22:08 +0000)]
Remove an unused variable.

Reviewed by: bde

25 years agoWrap two declarations that are only used in an #ifdef in their own #ifdef.
billf [Tue, 17 Aug 1999 22:06:17 +0000 (22:06 +0000)]
Wrap two declarations that are only used in an #ifdef in their own #ifdef.

Reviewed by: bde

25 years agoTake out a reference to ccb(4). I never got around to writing it.
ken [Tue, 17 Aug 1999 22:03:40 +0000 (22:03 +0000)]
Take out a reference to ccb(4).  I never got around to writing it.

Reported by: "Alexey M. Zelkin" <phantom@cris.net>

25 years agoWelcome devtoname(), to most likely be used when printing information
billf [Tue, 17 Aug 1999 20:25:50 +0000 (20:25 +0000)]
Welcome devtoname(), to most likely be used when printing information
about a dev_t.

printf("%x", dev) now becomes printf("%s", devtoname(dev)) because
printing actual information about the device is much more useful then
printing a pointer to an address that would never help the developer debug.

Submitted by: phk, bde

25 years agoAdd a second arg to ``set timeout'' as an example of a minimum idle
brian [Tue, 17 Aug 1999 19:23:49 +0000 (19:23 +0000)]
Add a second arg to ``set timeout'' as an example of a minimum idle
period.

25 years agovm_page_free_toq:
alc [Tue, 17 Aug 1999 18:09:01 +0000 (18:09 +0000)]
vm_page_free_toq:
Update the comment to reflect the demise of PQ_ZERO and
remove a (now) useless test.

25 years agoImplement a minimum idle time value as an optional second argument
brian [Tue, 17 Aug 1999 17:22:46 +0000 (17:22 +0000)]
Implement a minimum idle time value as an optional second argument
to ``set timeout''.
This is useful for situations where your minimum call charge is (say)
5 minutes (like mine is)

25 years agoUse ``set openmode passive'' in the ssh VPN example
brian [Tue, 17 Aug 1999 15:00:15 +0000 (15:00 +0000)]
Use ``set openmode passive'' in the ssh VPN example

25 years agoSet the close-on-exec flag for all unused descriptors when
brian [Tue, 17 Aug 1999 14:59:05 +0000 (14:59 +0000)]
Set the close-on-exec flag for all unused descriptors when
exec()ing other programs.

25 years agoDocument a whole truckload of sysctl MIBs under net.inet.tcp,
csgr [Tue, 17 Aug 1999 14:54:26 +0000 (14:54 +0000)]
Document a whole truckload of sysctl MIBs under net.inet.tcp,
including tcp.blackhole, tcp.log_in_vain and others.

25 years agoAdd reference to blackhole(4)
csgr [Tue, 17 Aug 1999 14:28:07 +0000 (14:28 +0000)]
Add reference to blackhole(4)

25 years agoAdd man page for black hole sysctl MIBs.
csgr [Tue, 17 Aug 1999 13:46:38 +0000 (13:46 +0000)]
Add man page for black hole sysctl MIBs.
references to follow.

25 years agoClaim ownership
markm [Tue, 17 Aug 1999 13:39:28 +0000 (13:39 +0000)]
Claim ownership

25 years agoAdd net.inet.tcp.blackhole and net.inet.udp.blackhole
csgr [Tue, 17 Aug 1999 12:17:53 +0000 (12:17 +0000)]
Add net.inet.tcp.blackhole and net.inet.udp.blackhole
sysctl knobs.

With these knobs on, refused connection attempts are dropped
without sending a RST, or Port unreachable in the UDP case.
In the TCP case, sending of RST is inhibited iff the incoming
segment was a SYN.

Docs and rc.conf settings to follow.

25 years agoAdd support for the serial version of Interlink VersaPad.
yokota [Tue, 17 Aug 1999 12:14:59 +0000 (12:14 +0000)]
Add support for the serial version of Interlink VersaPad.

25 years agoMention Interlink VersaPad support.
yokota [Tue, 17 Aug 1999 12:14:41 +0000 (12:14 +0000)]
Mention Interlink VersaPad support.

25 years agoRecognize Interlink VersaPad. `Tap' action will be recognized
yokota [Tue, 17 Aug 1999 12:14:13 +0000 (12:14 +0000)]
Recognize Interlink VersaPad.  `Tap' action will be recognized
as the button 4.

Submitted by: Masachika ISHIZUKA <ishizuka@ish.org>

25 years agoAdd definitions for Interlink VersaPad.
yokota [Tue, 17 Aug 1999 12:12:44 +0000 (12:12 +0000)]
Add definitions for Interlink VersaPad.

25 years agoThe sysinstall man page menetions that it was due to be replaced
mpp [Tue, 17 Aug 1999 10:57:18 +0000 (10:57 +0000)]
The sysinstall man page menetions that it was due to be replaced
in a previous FreeBSD version.  That never happened.  Document that
it is due to be replaced, but leave it open-ended as to when.

Also do some mdoc cleanup.

PR: docs/13148
PR: docs/13144
Submitted by: Lee Cremeans <lcremeans@erols.com>
Alex M. Zelkim <phantom@cris.net>
Discussed with: jkh

25 years agoFix a bug in debug-printfs of struct linux_termios fields, where I forgot to
marcel [Tue, 17 Aug 1999 10:27:55 +0000 (10:27 +0000)]
Fix a bug in debug-printfs of struct linux_termios fields, where I forgot to
change the format specifier after changing the definition of the structure.

Submitted by: billf
Commented on by: bde

25 years agoFix bug in the debug-printf of the vfork syscall, where the format specifier
marcel [Tue, 17 Aug 1999 10:09:06 +0000 (10:09 +0000)]
Fix bug in the debug-printf of the vfork syscall, where the format specifier
didn't match the argument (p->p_pid).

While I'm at it, also fix the dupo in the format string and fix the annoying
inconsistency in all the debug-printfs wrt p_pid arguments. Change all of them
to use the %ld format specifier and cast the p_pid arguments to long.

Submitted by: billf

25 years agoFix description of the _thread_autoinit_dummy_decl trick.
rse [Tue, 17 Aug 1999 09:50:21 +0000 (09:50 +0000)]
Fix description of the _thread_autoinit_dummy_decl trick.

25 years ago- Added documentation
n_hibma [Tue, 17 Aug 1999 07:36:34 +0000 (07:36 +0000)]
- Added documentation
- fix bug in data toggle handling

25 years agoSearch for and interrogate the PnP BIOS if found. This code just prints
msmith [Tue, 17 Aug 1999 07:10:34 +0000 (07:10 +0000)]
Search for and interrogate the PnP BIOS if found.  This code just prints
the PnP device IDs in verbose mode; it does not (yet) save any resource
data or contribute to the PnP process nor resource management.

25 years agoMindbogglingly, many BIOS vendors expect to be able to load %ds with
msmith [Tue, 17 Aug 1999 07:09:13 +0000 (07:09 +0000)]
Mindbogglingly, many BIOS vendors expect to be able to load %ds with
0x40 and then access data stored in real-mode segment 0x40, even when
called in protected mode.  Microsoft unfortunately coddle these individuals,
and so must we if we want to run their code.

This change works around GPFs in some APM and PnP BIOS implementations.

Obtained from: Linux

25 years agoCorrect an accidental omission of one "vm_page_undirty" replacement
alc [Tue, 17 Aug 1999 05:56:00 +0000 (05:56 +0000)]
Correct an accidental omission of one "vm_page_undirty" replacement
from the previous commit.

25 years agovm_page_free_toq:
alc [Tue, 17 Aug 1999 05:08:39 +0000 (05:08 +0000)]
vm_page_free_toq:
Clear the dirty bit mask (vm_page_undirty) before adding the page
to the free page queue.

Submitted by: dillon

25 years agoUse V-FAST mode register to check whether it supports V-FST mode.
nyan [Tue, 17 Aug 1999 04:33:11 +0000 (04:33 +0000)]
Use V-FAST mode register to check whether it supports V-FST mode.

Submitted by: WATANABE Takuya <sodium@xuni.ne.jp>

25 years agoAdd the (inline) function vm_page_undirty for clearing the dirty bitmask
alc [Tue, 17 Aug 1999 04:02:34 +0000 (04:02 +0000)]
Add the (inline) function vm_page_undirty for clearing the dirty bitmask
of a vm_page.

Use it.

Submitted by: dillon

25 years agoAdded "include" feature to pccard.conf to put the default pccard.conf
hosokawa [Tue, 17 Aug 1999 03:38:51 +0000 (03:38 +0000)]
Added "include" feature to pccard.conf to put the default pccard.conf
entries in /etc/defaults/.

25 years agoEnable printing of bridging statistics.
luigi [Tue, 17 Aug 1999 03:30:34 +0000 (03:30 +0000)]
Enable printing of bridging statistics.

25 years agoMake hostname comparisons case insensitive
brian [Tue, 17 Aug 1999 01:25:16 +0000 (01:25 +0000)]
Make hostname comparisons case insensitive

25 years agoDon't assume all ctags are meant to match a whole line ("^...line...$").
hoek [Tue, 17 Aug 1999 00:49:40 +0000 (00:49 +0000)]
Don't assume all ctags are meant to match a whole line ("^...line...$").
This lets more(1) work with, for example, /usr/local/share/vim/doc/*.txt.