dwmalone
8390e0ce62
mvprintw is varadic - it doesn't take a va_list. Use vw_printw
...
instead.
Submitted by: Andrew Gordon <arg@arg1.demon.co.uk>
MFC after: 1 week
2001-06-06 19:44:58 +00:00
jesper
cfd2d3b2c6
Silby's take one on increasing FreeBSD's resistance to SYN floods:
...
One way we can reduce the amount of traffic we send in response to a SYN
flood is to eliminate the RST we send when removing a connection from
the listen queue. Since we are being flooded, we can assume that the
majority of connections in the queue are bogus. Our RST is unwanted
by these hosts, just as our SYN-ACK was. Genuine connection attempts
will result in hosts responding to our SYN-ACK with an ACK packet. We
will automatically return a RST response to their ACK when it gets to us
if the connection has been dropped, so the early RST doesn't serve the
genuine class of connections much. In summary, we can reduce the number
of packets we send by a factor of two without any loss in functionality
by ensuring that RST packets are not sent when dropping a connection
from the listen queue.
Submitted by: Mike Silbersack <silby@silby.com>
Reviewed by: jesper
MFC after: 2 weeks
2001-06-06 19:41:51 +00:00
dcs
6959a0fe93
Use ${EDITOR} as claimed.
...
Source rc.conf and use ${firewall_script} instead of rc.firewall.
Textwidth formatting of comments and text.
PR:
Submitted by: Maxim <maxim@news1.macomnet.ru>
(sorry if I got name/email/committer status wrong :)
2001-06-06 19:34:02 +00:00
wpaul
3f70846d28
Disable extra TCP/UCP checksum checking in nge_rxeof() for now.
2001-06-06 19:17:10 +00:00
wpaul
c33301ebfb
Use LGE_INC() macro to increment tx producer index in lge_encap().
...
Disable the extra TCP/UCP checksum checking in lge_rxeof() since it
doesn't appear to actually work as advertised.
2001-06-06 19:16:02 +00:00
dcs
53ac38cea1
Unbreak world by adding the new example directiory.
...
Reminded by: Niels Chr. Bank-Pedersen <ncbp@bank-pedersen.dk>
MFC after: 1 week
2001-06-06 19:11:32 +00:00
chris
e727a9e688
Spelling fix ("independantly" -> "independently")
...
PR: 25648
Submitted by: Jens Schweikhardt <schweikh@schweikhardt.net>
2001-06-06 19:07:03 +00:00
jlemon
6385ede210
o If the file being tailed is moved back to the original location,
...
resume using kqueue to monitor it, if possible.
o auto-clear the read filter on EOF; this is needed when tailing a FIFO.
2001-06-06 17:47:13 +00:00
jlemon
aabc69395c
Add a wrapper for the fifo kqfilter which falls through to the ufs routine.
...
This permits the fifo to inherit the ufs VNODE kqfilter.
2001-06-06 17:40:57 +00:00
jlemon
837aa48afd
The kq write filter was hooked up to the wrong socket, and thus was
...
not behaving correctly. Fix by attaching to the correct socket.
Also call so{rw}wakeup in addition to the fifo wakeup, so that any
kqfilters attached to the socket buffer get poked.
2001-06-06 17:38:36 +00:00
bmah
756fa5641e
Properly key RELNOTESng language selection from RELNOTES_LANG instead
...
of DOC_LANG.
Submitted by: Thomas Seck <tmseck@web.de>
2001-06-06 16:58:09 +00:00
obrien
2a4f6ac128
Add the single suffix rules for FORTRAN.
2001-06-06 16:58:08 +00:00
obrien
f71f419ff4
Add the single suffix rules for C++.
...
(While there, I also moved the single suffix C rules beside the double
suffix ones so they are easier to find)
PR: 24438
Submitted by: Georg-W. Koltermann <gwk@sgi.com>
2001-06-06 16:51:38 +00:00
ru
0b310c5261
Fetch the default maximum TTL value from the net.inet.ip.ttl MIB.
...
PR: bin/19598
MFC after: 1 week
2001-06-06 16:12:59 +00:00
dcs
7167c93cc4
Introduce an example script of safe changing of ipfw(8) rules.
...
I'm sure this can be much improved, but this works fairly well.
PR: 27887
Submitted by: Alexandre Peixoto <alexandref@tcoip.com.br>
MFC after: 1 week
2001-06-06 15:45:04 +00:00
gallatin
6128ab31a7
hold the vm_mtx around vm_map_lookup_entry() and vm_map_findspace()
2001-06-06 14:07:52 +00:00
ru
eee4ff44ee
Unbreak setregid(2).
...
Spotted by: Alexander Leidinger <Alexander@Leidinger.net>
2001-06-06 13:58:03 +00:00
gallatin
dcb68f6a47
Apparently, the vm_mtx must be held around vm_map_find(). I'm assuming
...
that it needn't be held around vm_mmap() since vm_mmap() itself aquires
it.
Sleuthing by: obrien
2001-06-06 13:46:16 +00:00
non
bd3c21136a
Sorry, an "ARCHIVE Python 06408" does not need SA_QUIRK_NOCOMP.
2001-06-06 13:01:44 +00:00
ru
5582d90b61
Note that -a is ignored if -s is also specified.
2001-06-06 12:48:22 +00:00
ru
d6bd00fb2b
fmt(1) rewrite by Gareth McCaughan.
...
PR: bin/5901, bin/12242, bin/19071
Submitted by: Gareth McCaughan <gjm11@dpmms.cam.ac.uk>
Obtained from: OpenBSD + ctype(3), WARNS=2, and manpage cleanup
MFC after: 2 weeks
2001-06-06 10:17:05 +00:00
bde
988bc39438
Fixed missing parentheses in the definition of KTR_COMPILE. KTR_COMPILE
...
is usually (always?) used in expressions like (KTR_COMPILE & KTR_FOO).
Defining it as KTR_INTR|KTR_PROC gave the wrong value in approximately
8497 places according to error output for compiling LINT.
2001-06-06 06:58:13 +00:00
joerg
1552594cdd
Part #2 of the <machine/ioctl_fd.h> => <sys/fdcio.h> move: handle the
...
tools in usr.sbin/fd*.
2001-06-06 06:16:19 +00:00
joerg
aca913b650
Nuke the various poorly maintained copies of ioctl_fd.h. The file is
...
not machine-dependant, thus it has been moved out (repo-copied) into
<sys/fdcio.h>.
2001-06-06 06:15:03 +00:00
tanimura
b62ac96aa6
Lock VM Giant prior to locking a vm map.
...
Spotted by: Daniel Rock <D.Rock@t-online.de>
Tested by: David Wolfskill <david@catwhisker.org>,
Sean Eric Fagan <sef@kithrup.com>
2001-06-06 04:13:11 +00:00
jhb
c662e0d18b
Don't hold sched_lock across addupc_task().
...
Reported by: David Taylor <davidt@yadt.co.uk>
Submitted by: bde
2001-06-06 00:57:24 +00:00
imp
1b231c63e8
Use bus_space when reading CIS. This allows us to access it in 8 bit
...
mode, which is what the standard mandates.
Submitted by: Takanori Watanabe-san
Reviewed by: jhb
2001-06-05 23:42:51 +00:00
imp
3cf6d9eec0
Back out my changes describing how snprintf nul terminates. It
...
was from the iso standard. Keep the sentence that says it is always
NUL terminated to make sure that people understand that.
Requested by: bde
2001-06-05 23:39:45 +00:00
wpaul
2ea81c771a
In lge_detach(), don't contigfree() the jumbogram buffer memory;
...
lge_free_jumbo_mem() does it for us.
2001-06-05 23:16:52 +00:00
imp
8b6d80bc3e
Commit part of the patch that I have for card eject problems with the
...
ep driver. The rest of the patch will wait until I can put the time
into it to get it righter than the kludge it is.
This protects us against card eject problems at all times,e xecpt when
we're in the epintr ISR.
2001-06-05 22:29:16 +00:00
nectar
338f352ca2
Add parens to get the cast that was meant in previous commit.
...
While we're at it, this file seems to prefer `unsigned int'
over `u_int', so go with that.
2001-06-05 21:55:57 +00:00
mjacob
9912c8d37e
Wrong. The size of size_t is *not* the same as the size of an integer.
...
MFC after: 2 weeks
2001-06-05 21:16:27 +00:00
phk
0b70af3d0f
There is no reason for logname to call getopt(3), it doesn't take
...
any options.
PR: 26689
Submitted by: Félix-Antoine Paradis <reel@sympatico.ca>
2001-06-05 21:04:42 +00:00
joerg
9007393631
Make the FDC (state machine) state an enum, as opposed to an int
...
abusing a bunch of #defines, for clarity and better debugging support.
2001-06-05 21:01:46 +00:00
wpaul
6604862abe
Fix mindo:
...
PCN_BCR_CLRBIT(sc, PCN_BCR_MIICTL, PCN_MIICTL_DANAS);
should be:
PCN_BCR_SETBIT(sc, PCN_BCR_MIICTL, PCN_MIICTL_DANAS);
Turning this bit on is what disables MII autoneg, not turning it off.
Without this, manually setting the media doesn't work.
Noticed by: Jim Browne <jbrowne@jbrowne.com>
2001-06-05 20:51:17 +00:00
wollman
f3e9e598b4
Don't mung the user's tm_sec field if we don't need to. (Belt-and-suspenders
...
version.)
PR: bin/27630
Submitted by: Arthur David Olson <ado@nci.nih.gov>
Obtained from: Timezone mailing-list <tz@elsie.nci.nih.gov>
MFC after: 1 month
2001-06-05 20:13:28 +00:00
shafeeq
0a20ee6fc7
Now works again and as a module and with devfs.
...
Used the bpf & tun drivers as examples as to what is necessary for devfs.
2001-06-05 19:45:16 +00:00
joerg
cf44e273d3
Document /usr/include/dev/{ic,wi}.
...
Reminded by: ru
2001-06-05 18:52:55 +00:00
tomsoft
c4bff79336
fix a bug of a only partitally initialization which could result
...
in an unclean filesystem after growing by a large amount of cylinder
groups
Reviewed by: chm
2001-06-05 18:39:57 +00:00
bmah
21e2deb2bc
New release note: SA-01:40.
2001-06-05 18:23:54 +00:00
mjacob
f0fd85f1d4
Fix botch for state levels. Role minor release. Start adding code for a
...
'force logout' path.
MFC after: 4 weeks
2001-06-05 17:11:06 +00:00
imp
f066b7149b
I neglected to notice that the change text had already been added in a
...
different place. Back out what I added since the other text is better.
Noticed by: nectar
2001-06-05 16:43:51 +00:00
bmah
2fbd53a595
Forced commit; CVS didn't prompt for a log message for the original
...
commit.
Add a README file where the old *.TXT files used to live, redirecting
developers to the doc directory and giving a URL for a Web-accessible
version of RELNOTESng.
Submitted by: dd (with some editing)
2001-06-05 15:33:30 +00:00
hm
d53d0538cc
PR: i386/26347
...
Submitted by: Nicola Vitale <nivit@libero.it>
Reviewed by: hm
Fix screen number display in HP mode in case PCVT_NSCREENS > 10
2001-06-05 15:31:47 +00:00
bmah
22300b7870
Revert previous commit. I have no idea how CVS let me do this; it
...
didn't even ask me for a log message.
2001-06-05 15:31:35 +00:00
bmah
e6be58edf2
*** empty log message ***
2001-06-05 15:28:41 +00:00
hm
e6fd63a53b
PR: bin/26817
...
Submitted by: Clement Ballabriga <clement@asso.ups-tlse.fr>
Reviewed by: hm
Check for read errors from the controlling tty when in fullscreen mode.
2001-06-05 15:16:45 +00:00
brian
b800399ccd
Talk a bit about how cloning works with devfs(5).
...
Make it clearer about what's going on with TUNSIFHEAD and TUNSLMODE.
Tidy up a little.
2001-06-05 14:26:17 +00:00
bmah
6100383252
Use WITHOUT_X11, not NO_X, as the standardized way of turning off doc
...
ports' dependencies on X Windows during release builds.
2001-06-05 14:16:50 +00:00
jlemon
4f6043acdf
Add a kqueue filter for writing to ufs filesystems which always returns
...
true. This permits better interoperability with programs which register
filters on their stdin/stdout handles.
Submitted by: Niels Provos <provos@citi.umich.edu>
2001-06-05 13:52:37 +00:00