]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agoThis commit was generated by cvs2svn to compensate for changes in r80357,
Peter Wemm [Wed, 25 Jul 2001 22:10:56 +0000 (22:10 +0000)]
This commit was generated by cvs2svn to compensate for changes in r80357,
which included commits to RCS files with non-trunk default branches.

23 years agoCommit the hwsleep.c patch for suspend/resume onto the vendor branch.
Peter Wemm [Wed, 25 Jul 2001 22:10:56 +0000 (22:10 +0000)]
Commit the hwsleep.c patch for suspend/resume onto the vendor branch.
This has supposedly been incorporated into the Intel code already, so this
will get cleanly replaced with the "official" version when it is next
imported and will not cause any conflicts or hiccups.

23 years agoFix 64 bit issues so that sockstat && fstat work correctly on alpha.
Matt Jacob [Wed, 25 Jul 2001 20:31:20 +0000 (20:31 +0000)]
Fix 64 bit issues so that sockstat && fstat work correctly on alpha.

PR: 29231
Submitted by: pherman@frenchfries.net
MFC after: 2 weeks

23 years agoSomewhat modernize ip_mroute.c:
Bill Fenner [Wed, 25 Jul 2001 20:15:49 +0000 (20:15 +0000)]
Somewhat modernize ip_mroute.c:
- Use sysctl to export stats
- Use ip_encap.c's encapsulation support
- Update lkm to kld (is 6 years a record for a broken module?)
- Remove some unused cruft

23 years agoDon't bother passing p to rtioctl just so it can fail to pass it to mrt_ioctl
Bill Fenner [Wed, 25 Jul 2001 20:15:28 +0000 (20:15 +0000)]
Don't bother passing p to rtioctl just so it can fail to pass it to mrt_ioctl

23 years agoUnbreak ip_mroute_mod
Bill Fenner [Wed, 25 Jul 2001 20:15:17 +0000 (20:15 +0000)]
Unbreak ip_mroute_mod

23 years agoUse sysctl to export multicast routing stats
Bill Fenner [Wed, 25 Jul 2001 20:14:09 +0000 (20:14 +0000)]
Use sysctl to export multicast routing stats

23 years agoAs commented in defined in sys/net/route.c, rt_fixchange() has a bad
Hajimu UMEMOTO [Wed, 25 Jul 2001 19:31:43 +0000 (19:31 +0000)]
As commented in defined in sys/net/route.c, rt_fixchange() has a bad
effect, which would cause unnecessary route deletion:

 * Unfortunately, this has the obnoxious
 * property of also triggering for insertion /above/ a pre-existing network
 * route and clones.  Sigh.  This may be fixed some day.

The effect has been even worse, because recent versions of route.c set
the parent rtentry for cloned routes from an interface-direct route.
For example, suppose that we have an interface "ne0" that has an IPv4
subnet "10.0.0.0/24".  Then we may have a cloned route like 10.0.0.1
on the interface, whose parent route is 10.0.0.0/24 (to the interface
ne0).  Now, when we add the default route (i.e. 0.0.0.0/0),
rt_fixchange() will remove the cloned route 10.0.0.1.  The (bad) effect
also prevents rt_setgate from configuring rt_gwroute, which would not
be an intended behavior.

As suggested in the comments to rt_fixchange(), we need stricter check
in the function, to prevent unintentional route deletion.

This fix also solve the "IPV6 panic?" problem in nd6_timer().

Submitted by: JINMEI Tatuya <jinmei@isl.rdc.toshiba.co.jp>
MFC after: 4 days

23 years agoAdd build infrastructure for a libiconv loadable kernel module.
Sheldon Hearn [Wed, 25 Jul 2001 19:21:06 +0000 (19:21 +0000)]
Add build infrastructure for a libiconv loadable kernel module.

This should allow the use of the smbfs module without the
requirement to rebuild the kernel with LIBICONV.

23 years agoReset the device's powerstate to d0 when resuming from a suspend
Jonathan Lemon [Wed, 25 Jul 2001 18:00:17 +0000 (18:00 +0000)]
Reset the device's powerstate to d0 when resuming from a suspend
operation, not just when we initally attach to the device.

Submitted by: warner

23 years agoMake dynamic sysctl entries start at 0x100, not decimal 100 - there are
Peter Pentchev [Wed, 25 Jul 2001 17:21:18 +0000 (17:21 +0000)]
Make dynamic sysctl entries start at 0x100, not decimal 100 - there are
static entries with oid's over 100, and defining enough dynamic entries
causes an overlap.

Move the "magic" value 0x100 into <sys/sysctl.h> where it belongs.

PR: 29131
Submitted by: "Alexander N. Kabaev" <kabaev@mail.ru>
Reviewed by: -arch, -audit
MFC after: 2 weeks

23 years agoStyle(9): function names on a separate line, max line length 80 chars.
Peter Pentchev [Wed, 25 Jul 2001 17:13:58 +0000 (17:13 +0000)]
Style(9): function names on a separate line, max line length 80 chars.

Reviewed by: -arch, -audit
MFC after: 2 weeks

23 years agoBetter checking of duplicated interrupt handler installation.
Mitsuru IWASAKI [Wed, 25 Jul 2001 16:13:30 +0000 (16:13 +0000)]
Better checking of duplicated interrupt handler installation.

Reviewed by: msmith

23 years agoSome minor fixes.
Mitsuru IWASAKI [Wed, 25 Jul 2001 16:08:58 +0000 (16:08 +0000)]
Some minor fixes.
 - Set system power profile only when AC-line status has canged.
 - Get initial AC-line status after whole system is up.

Reviewed by: msmith

23 years agoMake the multiple interrupts attachment an error not a panic.
Warner Losh [Wed, 25 Jul 2001 15:09:54 +0000 (15:09 +0000)]
Make the multiple interrupts attachment an error not a panic.
Sometimes, when pccardd is restarted, it fails to realize that the
device is already attached and tries to attach it again.  This leads
to bad mojo since the pccard code isn't setup to handle that, so the
panic was put in.  Now it appears that it is triggering too easily, so
I'm backing it off to a non-fatal error.

23 years agoMove the kernel stuff out of snoop.h. It was only there because some
Dima Dorfman [Wed, 25 Jul 2001 14:47:56 +0000 (14:47 +0000)]
Move the kernel stuff out of snoop.h.  It was only there because some
of the snp* functions needed to be called from tty.c, which is no
longer the case.

23 years agoFix breakage introduced in rev 1.26, with the introduction of
Sheldon Hearn [Wed, 25 Jul 2001 12:21:27 +0000 (12:21 +0000)]
Fix breakage introduced in rev 1.26, with the introduction of
absoluate pathnames starting with /usr/src.

This fixes the installworld target for the case where the source tree is
not in /usr/src.

23 years agoNote that this file was repo-copied from sys/kern/tty_snoop.c.
Dima Dorfman [Wed, 25 Jul 2001 12:07:34 +0000 (12:07 +0000)]
Note that this file was repo-copied from sys/kern/tty_snoop.c.

23 years agosys/kern/tty_snoop.c is now sys/dev/snp/snp.c.
Dima Dorfman [Wed, 25 Jul 2001 12:06:36 +0000 (12:06 +0000)]
sys/kern/tty_snoop.c is now sys/dev/snp/snp.c.

Repo-copy by: jdp

23 years agoNote MFC of {d,h}watch DDB commands.
Dima Dorfman [Wed, 25 Jul 2001 11:58:49 +0000 (11:58 +0000)]
Note MFC of {d,h}watch DDB commands.

23 years agoUse a safer method of creating the temporary password file.
Chris D. Faulhaber [Wed, 25 Jul 2001 11:55:33 +0000 (11:55 +0000)]
Use a safer method of creating the temporary password file.

Submitted by: dynamo@harvard.net
Obtained from: OpenBSD
MFC after: 3 days

23 years agoChange permissions from [4]554 to [4]551
Brian Somers [Wed, 25 Jul 2001 11:44:04 +0000 (11:44 +0000)]
Change permissions from [4]554 to [4]551

MFC after: 3 days

23 years agoFix a stupid bug which resulted in a blank line in the status output if
Brooks Davis [Wed, 25 Jul 2001 05:52:19 +0000 (05:52 +0000)]
Fix a stupid bug which resulted in a blank line in the status output if
WEP is supported, but not keys are set.

MFC after: 3 days

23 years agoRemove ISP_SMPLOCK stuff- we're just using locking now.
Matt Jacob [Wed, 25 Jul 2001 04:23:52 +0000 (04:23 +0000)]
Remove ISP_SMPLOCK stuff- we're just using locking now.

Correctly reintroduce loop_seen_once semantics- that is, if we've never
seen good link, start bouncing commands with CAM_SEL_TIMEOUT. But we
have to be careful to have let ourselves try (in isp_kthread) to check
for loop up at least once.

PR: 28992
MFC after: 1 week

23 years agoRoll minor version. Remove ISP_SMPLOCK nonsense. We're using full locking,
Matt Jacob [Wed, 25 Jul 2001 04:21:53 +0000 (04:21 +0000)]
Roll minor version. Remove ISP_SMPLOCK nonsense. We're using full locking,
and that's final.

MFC after: 1 week

23 years agofix misspelling introduced in rev 1.14 (sames as -> same as)
Bill Fumerola [Wed, 25 Jul 2001 04:13:01 +0000 (04:13 +0000)]
fix misspelling introduced in rev 1.14 (sames as -> same as)

23 years agoIf an attempt is made to LISTEN for a service tag that's already being
Brian Somers [Wed, 25 Jul 2001 03:34:07 +0000 (03:34 +0000)]
If an attempt is made to LISTEN for a service tag that's already being
LISTENed for, return EEXISTS.

Only match the magic "*" service tag if no other LISTEN service tags
match.

Require an explicit LISTEN for an empty service tag in order to match
empty service requests.

Approved by: julian
MFC after: 3 days

23 years agoMove netgraph to i386 only. Which is where it works only.
Matt Jacob [Wed, 25 Jul 2001 00:20:33 +0000 (00:20 +0000)]
Move netgraph to i386 only. Which is where it works only.

23 years agoIFT_8021_VLAN -> IFT_L2VLAN per if_vlan_var.h rev 1.9. With this change
Brooks Davis [Wed, 25 Jul 2001 00:19:59 +0000 (00:19 +0000)]
IFT_8021_VLAN -> IFT_L2VLAN per if_vlan_var.h rev 1.9.  With this change
LINT compiles, but doesn't link.

23 years agoAllow ng_split to be compiled in staticly.
Brooks Davis [Wed, 25 Jul 2001 00:15:02 +0000 (00:15 +0000)]
Allow ng_split to be compiled in staticly.

MFC after: 7 weeks

23 years agoMake ng_split part of the module building process.
Brooks Davis [Tue, 24 Jul 2001 23:42:56 +0000 (23:42 +0000)]
Make ng_split part of the module building process.

MFC after: 7 weeks

23 years agoGeneral cleanup providing better style(9) conformance and generally
Brooks Davis [Tue, 24 Jul 2001 23:33:06 +0000 (23:33 +0000)]
General cleanup providing better style(9) conformance and generally
improved readability.  The two real functional changes are that
netgraph now sees this as the "split" node type rather then the
"ng_split" node type and that meta data is passed through without
processing rather then being dropped.

Reviewed by: jhb, julian
MFC after: 7 weeks

23 years agomerged interface cloning support.
Brooks Davis [Tue, 24 Jul 2001 19:27:22 +0000 (19:27 +0000)]
merged interface cloning support.

23 years agoRemove non-existent (missing?) fonts.alias from beforeinstall: target
Andrey A. Chernov [Tue, 24 Jul 2001 19:25:19 +0000 (19:25 +0000)]
Remove non-existent (missing?) fonts.alias from beforeinstall: target

23 years agoAdd -I${.OBJDIR} to pick generated font*.h
Andrey A. Chernov [Tue, 24 Jul 2001 18:33:26 +0000 (18:33 +0000)]
Add -I${.OBJDIR} to pick generated font*.h

23 years agoEliminate the panic, reported by Daniel Sobral, which occurs when
Bill Fenner [Tue, 24 Jul 2001 17:14:37 +0000 (17:14 +0000)]
Eliminate the panic, reported by Daniel Sobral, which occurs when
vlan_unconfig()-ing an interface on which multicast groups have been
joined.  Instead, keep the list of groups around (and, in fact, allow
changing of the membership list) and re-join them when the vlan interface
is reassociated with a lower level interface.

23 years agocorrect description of `vpp' for mknod/symlink: they are actually
Assar Westerlund [Tue, 24 Jul 2001 16:16:00 +0000 (16:16 +0000)]
correct description of `vpp' for mknod/symlink: they are actually
returned locked

23 years agoExpland `mymalloc' with malloc + error checking.
David E. O'Brien [Tue, 24 Jul 2001 14:15:51 +0000 (14:15 +0000)]
Expland `mymalloc' with malloc + error checking.

23 years agoRemove the misnamed `xmalloc' and replace its uses with the realloc (along
David E. O'Brien [Tue, 24 Jul 2001 14:14:11 +0000 (14:14 +0000)]
Remove the misnamed `xmalloc' and replace its uses with the realloc (along
with error checking) that it actually was.

23 years agoRemove the misnamed `emalloc' and replace its uses with calloc (along
David E. O'Brien [Tue, 24 Jul 2001 14:13:34 +0000 (14:13 +0000)]
Remove the misnamed `emalloc' and replace its uses with calloc (along
with error checking) which it effectively was.  (malloc+memset)

23 years agoRemove emalloc and expand to the malloc + error checking it was, where used.
David E. O'Brien [Tue, 24 Jul 2001 14:12:05 +0000 (14:12 +0000)]
Remove emalloc and expand to the malloc + error checking it was, where used.

23 years agoRemove the misnamed `emalloc' and replace its uses with the calloc (along
David E. O'Brien [Tue, 24 Jul 2001 14:11:09 +0000 (14:11 +0000)]
Remove the misnamed `emalloc' and replace its uses with the calloc (along
with error checking) that it actually was.

23 years agoRemove the local basename in favor of the libc version.
David E. O'Brien [Tue, 24 Jul 2001 14:09:47 +0000 (14:09 +0000)]
Remove the local basename in favor of the libc version.
Remove xmalloc and xstrdup and do the error checking at the place of use.

23 years agoExpland the emalloc to do the testing at the place of mallocing.
David E. O'Brien [Tue, 24 Jul 2001 14:08:02 +0000 (14:08 +0000)]
Expland the emalloc to do the testing at the place of mallocing.

23 years agoExpand emalloc in-place, and remove the `rname' basename() implimenation.
David E. O'Brien [Tue, 24 Jul 2001 14:06:19 +0000 (14:06 +0000)]
Expand emalloc in-place, and remove the `rname' basename() implimenation.

23 years agoExpand xmalloc in-place, along with xrealloc; which wasn't even ANSI in its
David E. O'Brien [Tue, 24 Jul 2001 14:05:21 +0000 (14:05 +0000)]
Expand xmalloc in-place, along with xrealloc; which wasn't even ANSI in its
implementation.

23 years agoReplace the local `rname' with the cannonical `basename'.
David E. O'Brien [Tue, 24 Jul 2001 14:04:20 +0000 (14:04 +0000)]
Replace the local `rname' with the cannonical `basename'.

23 years agoExpand x{malloc,calloc,realloc,strdup} in-place.
David E. O'Brien [Tue, 24 Jul 2001 14:02:07 +0000 (14:02 +0000)]
Expand x{malloc,calloc,realloc,strdup} in-place.
(even found some unchecked naked uses)

23 years agopass any NS/NA/toobig.
Hajimu UMEMOTO [Tue, 24 Jul 2001 13:37:06 +0000 (13:37 +0000)]
pass any NS/NA/toobig.

Requested by: itojun
MFC after: 5 days

23 years agoRemove redundant mtu/mru/speed settings
Brian Somers [Tue, 24 Jul 2001 13:11:57 +0000 (13:11 +0000)]
Remove redundant mtu/mru/speed settings

MFC after: 6 days

23 years agoyp_errno is an `enum ypstat`.
Dima Dorfman [Tue, 24 Jul 2001 12:33:08 +0000 (12:33 +0000)]
yp_errno is an `enum ypstat`.

PR: 29190
Submitted by: Cristan Szmajda <cristan@unsw.edu.au>
Reviewed by: md5(1)

23 years agoyyerror() is a printflike function
Kris Kennaway [Tue, 24 Jul 2001 12:20:17 +0000 (12:20 +0000)]
yyerror() is a printflike function

MFC after: 1 week

23 years agoClean up the code a bit:
Thomas Gellekum [Tue, 24 Jul 2001 11:50:23 +0000 (11:50 +0000)]
Clean up the code a bit:

- add $FreeBSD$;
- remove unused variables;
- add missing headers and prototypes;
- -Wshadow.

23 years agoRewrite video emulation. Features:
Thomas Gellekum [Tue, 24 Jul 2001 11:44:20 +0000 (11:44 +0000)]
Rewrite video emulation. Features:

- slightly more accurate VGA hardware emulation;
- more int 10 functions, especially wrt to palette handling;
- first shot at graphics support;
- mode switching.

Bugs:

- graphics too slow;
- only 16 color modes work for now;
- works only under X, and only with 16 bit TrueColor visuals;
- far from being genuinely useful (I can play an old EGA game now, though
  (mahjongg.exe)).

Also, the code has been cleaned up a bit (more to come in a separate commit).

23 years agosprintf -> snprintf
Kris Kennaway [Tue, 24 Jul 2001 11:40:18 +0000 (11:40 +0000)]
sprintf -> snprintf

Obtained from: OpenBSD
MFC After: 1 week

23 years agoThe previous delta duplicated a significant amount of information
Sheldon Hearn [Tue, 24 Jul 2001 11:37:33 +0000 (11:37 +0000)]
The previous delta duplicated a significant amount of information
already found in the sigaction(2) manual.

As discussed with the committer of that delta, cross-reference the list
in sigaction(2) instead of duplicating the list of functions that are
safe for use within signal handlers.

23 years agoReplace strncpy -> strlcpy
Kris Kennaway [Tue, 24 Jul 2001 11:36:56 +0000 (11:36 +0000)]
Replace strncpy -> strlcpy

Obtained from: OpenBSD
MFC after: 1 week

23 years agoSync to OpenBSD (update comment and minor style change).
Kris Kennaway [Tue, 24 Jul 2001 11:34:22 +0000 (11:34 +0000)]
Sync to OpenBSD (update comment and minor style change).

Obtained from: OpenBSD
MFC after: 1 week

23 years agoSync to OpenBSD:
Kris Kennaway [Tue, 24 Jul 2001 11:32:29 +0000 (11:32 +0000)]
Sync to OpenBSD:

Clarify that if strlcat() does not find a NUL within siz byte it
will not NUL terminate either.

Document boundary condition when size < strlen(dst).

"of", not "on" (from Henric Jungheim)

Obtained from: OpenBSD
MFC After: 1 week

23 years agoAdded the txp driver into the list for SMALL kernel.
KATO Takenori [Tue, 24 Jul 2001 11:32:18 +0000 (11:32 +0000)]
Added the txp driver into the list for SMALL kernel.

23 years agoMerged from sys/i386/conf/GENERIC revision 1.315.
KATO Takenori [Tue, 24 Jul 2001 11:24:58 +0000 (11:24 +0000)]
Merged from sys/i386/conf/GENERIC revision 1.315.

23 years ago- Do not call VGLEnd() and exit() to terminate the program
Kazutaka YOKOTA [Tue, 24 Jul 2001 11:15:20 +0000 (11:15 +0000)]
- Do not call VGLEnd() and exit() to terminate the program
  immediately when a signal is caught.  Instead, defer
  program termination until the next call to VGLCheckSwitch().
  Otherwise, the video card may not be restored correctly
  if the signal is seen while inside libvgl functions.

MFC after: 1 week

23 years agoThe delta introduced in the previous revision and attributed to the
Sheldon Hearn [Tue, 24 Jul 2001 11:15:13 +0000 (11:15 +0000)]
The delta introduced in the previous revision and attributed to the
OpenBSD project had grammar problems and made no attempt to motivate
the practice of saving errno.  Replace it with something better.

23 years agoAdd ports for sshell, ldaps, rsync, ftps-{data|control}, ircs, and
Doug Barton [Tue, 24 Jul 2001 09:28:18 +0000 (09:28 +0000)]
Add ports for sshell, ldaps, rsync, ftps-{data|control}, ircs, and
correct some ommissions of udp ports.

Update IANA web page.

Clean up/correct some comments. I went a little further than the PR.

PR: conf/23416
Submitted by: Rudolf Cejka <cejkar@dcse.fee.vutbr.cz>

23 years agomdoc(7) police: remove hard sentence breaks and wrap lines over 80
Dima Dorfman [Tue, 24 Jul 2001 09:20:37 +0000 (09:20 +0000)]
mdoc(7) police: remove hard sentence breaks and wrap lines over 80
characters.

23 years agoFix or add types where appropriate.
Dima Dorfman [Tue, 24 Jul 2001 09:19:58 +0000 (09:19 +0000)]
Fix or add types where appropriate.

23 years agoThis commit was generated by cvs2svn to compensate for changes in r80260,
Kris Kennaway [Tue, 24 Jul 2001 09:05:00 +0000 (09:05 +0000)]
This commit was generated by cvs2svn to compensate for changes in r80260,
which included commits to RCS files with non-trunk default branches.

23 years agoImport updated/clarified license for tcp_wrappers.
Kris Kennaway [Tue, 24 Jul 2001 09:05:00 +0000 (09:05 +0000)]
Import updated/clarified license for tcp_wrappers.

+* Redistribution and use in source and binary forms, with or without
+* modification, are permitted provided that this entire copyright notice
+* is duplicated in all such copies.

Obtained from: ftp://ftp.porcupine.org/pub/security/tcp_wrappers_license

23 years agoImprove markup.
Dima Dorfman [Tue, 24 Jul 2001 08:48:50 +0000 (08:48 +0000)]
Improve markup.

Reviewed by: ru

23 years agoNote that this list should follow the docproj dependency list as much
Dima Dorfman [Tue, 24 Jul 2001 08:47:00 +0000 (08:47 +0000)]
Note that this list should follow the docproj dependency list as much
as possible.

23 years agoeps2png -> peps
Dima Dorfman [Tue, 24 Jul 2001 08:43:44 +0000 (08:43 +0000)]
eps2png -> peps

Submitted by: Alexey V. Neyman <avn@any.ru>

23 years agoFinish the sweep of changes that fix doubled 'the'.
Sheldon Hearn [Tue, 24 Jul 2001 08:30:55 +0000 (08:30 +0000)]
Finish the sweep of changes that fix doubled 'the'.

23 years agoAdd the list of signal-handler safe functions here too, so people can
Kris Kennaway [Tue, 24 Jul 2001 08:26:37 +0000 (08:26 +0000)]
Add the list of signal-handler safe functions here too, so people can
find it more easily

Obtained from: OpenBSD
MFC After: 1 week

23 years agoAdd a few more functions which are safe to call from signal handlers,
Kris Kennaway [Tue, 24 Jul 2001 08:24:50 +0000 (08:24 +0000)]
Add a few more functions which are safe to call from signal handlers,
and give a bit of advice.

Obtained from: OpenBSD
MFC After: 1 week

23 years agoUnify SEE ALSO sections of the kld*.2 and mod*.2 manpages.
Yaroslav Tykhiy [Tue, 24 Jul 2001 07:59:54 +0000 (07:59 +0000)]
Unify SEE ALSO sections of the kld*.2 and mod*.2 manpages.
Previously, some useful xrefs were missing.
Now each of the pages refers to all remaining section 2 pages,
to the kld(4) page, and to a related utility's (section 8) page.

23 years agoSimplify the implementation of pmap_emulate_reference(). The new version
Doug Rabson [Tue, 24 Jul 2001 07:13:07 +0000 (07:13 +0000)]
Simplify the implementation of pmap_emulate_reference(). The new version
simply manipulates the pte which faulted instead of traversing the mapping
list for that page. This makes it possible to complete the trap without
needing locks and incidentally improves the accuracy of some statistics
used by the VM system.

23 years agoSave errno in signal handler
Kris Kennaway [Tue, 24 Jul 2001 05:41:13 +0000 (05:41 +0000)]
Save errno in signal handler

Obtained from: OpenBSD
MFC After: 1 week

23 years agoBruce gave me a little too much credit ;-), stf didn't get the full
Brooks Davis [Tue, 24 Jul 2001 05:34:18 +0000 (05:34 +0000)]
Bruce gave me a little too much credit ;-), stf didn't get the full
treatment along with gif so it doesn't support cloning yet.

23 years agoFix four </para> tags that were either missing or misspelled as </para>.
Brooks Davis [Tue, 24 Jul 2001 04:27:54 +0000 (04:27 +0000)]
Fix four </para> tags that were either missing or misspelled as </para>.

Found by: make lint
Reviewed by: bmah

23 years agoInstall this mode 4550 owned by group dialer; there is unsafe code
Kris Kennaway [Tue, 24 Jul 2001 02:37:48 +0000 (02:37 +0000)]
Install this mode 4550 owned by group dialer; there is unsafe code
in the signal handlers which may pose a risk when executable by untrusted
users.

Submitted by: Przemyslaw Frasunek <venglin@freebsd.lublin.pl>
MFC After: 3 days

23 years agoAdd txp(4) devices to the supported hardware list.
Bruce A. Mah [Tue, 24 Jul 2001 01:14:00 +0000 (01:14 +0000)]
Add txp(4) devices to the supported hardware list.

23 years agoNew release notes: txp(4) driver.
Bruce A. Mah [Tue, 24 Jul 2001 00:32:51 +0000 (00:32 +0000)]
New release notes:  txp(4) driver.

Updates:  Cross-reference SA-01:49 for telnet(8) buffer overflow fix,
binutils upgrade to snapshot, tcpdump 3.6.3, OpenSSL 0.9.6b.

23 years agoUse the IANA assignment IFT_L2VLAN directly instead of indirecting through
Bill Fenner [Tue, 24 Jul 2001 00:03:51 +0000 (00:03 +0000)]
Use the IANA assignment IFT_L2VLAN directly instead of indirecting through
 a privately #defined IFT_8021_VLAN.

MFC after: 3 days

23 years agoGrrrr: s/DFS-538TX/DFE-538TX/
Bruce A. Mah [Mon, 23 Jul 2001 23:35:31 +0000 (23:35 +0000)]
Grrrr:  s/DFS-538TX/DFE-538TX/

23 years agoQuiet a [useless] compiler warning.
David E. O'Brien [Mon, 23 Jul 2001 23:27:28 +0000 (23:27 +0000)]
Quiet a [useless] compiler warning.

23 years agoMerge tcpdump 3.6.3
Bill Fenner [Mon, 23 Jul 2001 23:15:44 +0000 (23:15 +0000)]
Merge tcpdump 3.6.3

23 years agoThis commit was generated by cvs2svn to compensate for changes in r80231,
Bill Fenner [Mon, 23 Jul 2001 23:15:13 +0000 (23:15 +0000)]
This commit was generated by cvs2svn to compensate for changes in r80231,
which included commits to RCS files with non-trunk default branches.

23 years agoVirgin import of tcpdump.org tcpdump v3.6.3
Bill Fenner [Mon, 23 Jul 2001 23:15:13 +0000 (23:15 +0000)]
Virgin import of tcpdump.org tcpdump v3.6.3

23 years agoBasically rewrite the dofork() routine, to add more error-checking and
Garance A Drosehn [Mon, 23 Jul 2001 23:13:39 +0000 (23:13 +0000)]
Basically rewrite the dofork() routine, to add more error-checking and
correct the error-checking that was there.  With the old code, an error
return from getpwuid(daemon_user) could turn the lpd process into a very
effective fork-bomb...

Reviewed by: freebsd-audit freebsd-print (a little...)
MFC after: 6 days

23 years agoTurn on __STRICT_ALIGNMENT. We need this to fix up alignment so the alpha
Bill Paul [Mon, 23 Jul 2001 22:27:17 +0000 (22:27 +0000)]
Turn on __STRICT_ALIGNMENT. We need this to fix up alignment so the alpha
won't trap.

23 years agoMFcrypto/telnet/telnetd: Correct semantics of output_data*() and netflush()
Kris Kennaway [Mon, 23 Jul 2001 22:00:51 +0000 (22:00 +0000)]
MFcrypto/telnet/telnetd: Correct semantics of output_data*() and netflush()
to ensure deterministic operation

23 years agooutput_data(), output_datalen() and netflush() didn't actually guarantee
Kris Kennaway [Mon, 23 Jul 2001 21:52:26 +0000 (21:52 +0000)]
output_data(), output_datalen() and netflush() didn't actually guarantee
to do what they are supposed to: under some circumstances output data would
be truncated, or the buffer would not actually be flushed (possibly leading
to overflows when the caller assumes the operation succeeded).  Change the
semantics so that these functions ensure they complete the operation before
returning.

Comment out diagnostic code enabled by '-D reports' which causes an
infinite recursion and an eventual crash.

Patch developed with assistance from ru and assar.

23 years agoSimplify IPv4 mapped IPv6 address handling.
Hajimu UMEMOTO [Mon, 23 Jul 2001 21:42:22 +0000 (21:42 +0000)]
Simplify IPv4 mapped IPv6 address handling.

Reviewed by: brian
MFC after: 5 days

23 years agoAdd an external function to unlink a netgraph type from the types list.
Julian Elischer [Mon, 23 Jul 2001 21:14:57 +0000 (21:14 +0000)]
Add an external function to unlink a netgraph type from the types list.

23 years agoAIEEE! Commit the firmware image too. *blush*
Bill Paul [Mon, 23 Jul 2001 21:01:36 +0000 (21:01 +0000)]
AIEEE! Commit the firmware image too. *blush*

23 years agoGrrr. Module depends on vlan.h, and I committed the wrong version
Bill Paul [Mon, 23 Jul 2001 20:54:31 +0000 (20:54 +0000)]
Grrr. Module depends on vlan.h, and I committed the wrong version
of if_txpreg.h, which didn't have sc_rxbufprod defined in the softc
struct.

23 years agoYou were knocked senseless by the Boomerang, spun around by the Cyclone,
Bill Paul [Mon, 23 Jul 2001 20:44:54 +0000 (20:44 +0000)]
You were knocked senseless by the Boomerang, spun around by the Cyclone,
blown over by the Hurricane and had a house dropped on you by the Tornado.
Now it's time to have your parade rained on by... the Typhoon!

This commit adds driver support for 3Com 3cR990 10/100 ethernet
adapters based on the Typhoon I and Typhoon II chipsets. This is actually
a port of the OpenBSD driver with many hacks by me.

No Virginia, there isn't any support for the hardware crypto yet. However
there is support for TCP/IP checksum offload and VLANs.

Special thanks go to Jason Wright, Aaron Campbell and Theo de Raadt for
squeezing enough info out of 3Com to get this written, and for doing
most of the hard work.

Manual page is included. Compiled as a module and included in GENERIC.

23 years agoAdd D-Link DFE-538TX to list of rl(4)-supported devices.
Bruce A. Mah [Mon, 23 Jul 2001 19:11:33 +0000 (19:11 +0000)]
Add D-Link DFE-538TX to list of rl(4)-supported devices.

While I'm here, fix a typo:  s/DGE=500SX/DGE-500SX/.

Submitted by: Christian Greisen <csg@fakse.dk>

23 years agoFix removal of at jobs.
Guy Helmer [Mon, 23 Jul 2001 18:25:45 +0000 (18:25 +0000)]
Fix removal of at jobs.

PR: bin/23052
Submitted by: Mike Sellenschuetter <mike.sellenschuetter@bankofamerica.com>
MFC after: 1 week

23 years agoRemind people to document bumps in the Porter's Handbook.
David E. O'Brien [Mon, 23 Jul 2001 17:51:02 +0000 (17:51 +0000)]
Remind people to document bumps in the Porter's Handbook.