From owner-p4-projects@FreeBSD.ORG Sun Jun 1 00:48:28 2008
Return-Path:
Delivered-To: p4-projects@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 32767)
id 414191065671; Sun, 1 Jun 2008 00:48:28 +0000 (UTC)
Delivered-To: perforce@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
by hub.freebsd.org (Postfix) with ESMTP id 01D831065670
for ; Sun, 1 Jun 2008 00:48:28 +0000 (UTC)
(envelope-from pgj@FreeBSD.org)
Received: from repoman.freebsd.org (repoman.freebsd.org
[IPv6:2001:4f8:fff6::29])
by mx1.freebsd.org (Postfix) with ESMTP id 14C128FC1B
for ; Sun, 1 Jun 2008 00:48:28 +0000 (UTC)
(envelope-from pgj@FreeBSD.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m510mRs5029570
for ; Sun, 1 Jun 2008 00:48:27 GMT
(envelope-from pgj@FreeBSD.org)
Received: (from perforce@localhost)
by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m510mRlI029568
for perforce@freebsd.org; Sun, 1 Jun 2008 00:48:27 GMT
(envelope-from pgj@FreeBSD.org)
Date: Sun, 1 Jun 2008 00:48:27 GMT
Message-Id: <200806010048.m510mRlI029568@repoman.freebsd.org>
X-Authentication-Warning: repoman.freebsd.org: perforce set sender to
pgj@FreeBSD.org using -f
From: Gabor Pali
To: Perforce Change Reviews
Cc:
Subject: PERFORCE change 142651 for review
X-BeenThere: p4-projects@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: p4 projects tree changes
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 01 Jun 2008 00:48:29 -0000
http://perforce.freebsd.org/chv.cgi?CH=142651
Change 142651 by pgj@disznohal on 2008/06/01 00:47:29
IFC
Affected files ...
.. //depot/projects/docproj_hu/doc/en_US.ISO8859-1/share/sgml/glossary/freebsd-glossary.sgml#2 integrate
.. //depot/projects/docproj_hu/doc/en_US.ISO8859-1/share/sgml/mailing-lists.ent#2 integrate
.. //depot/projects/docproj_hu/doc/hu_HU.ISO8859-2/articles/Makefile#5 integrate
.. //depot/projects/docproj_hu/doc/hu_HU.ISO8859-2/books/handbook/eresources/chapter.sgml#4 integrate
.. //depot/projects/docproj_hu/doc/hu_HU.ISO8859-2/share/sgml/glossary/freebsd-glossary.sgml#4 integrate
.. //depot/projects/docproj_hu/doc/hu_HU.ISO8859-2/share/sgml/mailing-lists.ent#3 integrate
.. //depot/projects/docproj_hu/doc/share/pgpkeys/stas.key#2 integrate
.. //depot/projects/docproj_hu/doc/share/sgml/man-refs.ent#2 integrate
.. //depot/projects/docproj_hu/src/release/doc/en_US.ISO8859-1/readme/article.sgml#2 integrate
.. //depot/projects/docproj_hu/src/release/doc/en_US.ISO8859-1/relnotes/article.sgml#2 integrate
.. //depot/projects/docproj_hu/src/release/doc/share/sgml/release.ent#2 integrate
.. //depot/projects/docproj_hu/www/en/docs/books.sgml#3 integrate
.. //depot/projects/docproj_hu/www/en/multimedia/multimedia-input.xml#2 integrate
.. //depot/projects/docproj_hu/www/en/multimedia/multimedia.pl#2 integrate
.. //depot/projects/docproj_hu/www/en/platforms/arm.sgml#2 integrate
.. //depot/projects/docproj_hu/www/en/platforms/xbox.sgml#2 integrate
.. //depot/projects/docproj_hu/www/en/projects/ideas/ideas.xml#3 integrate
.. //depot/projects/docproj_hu/www/share/sgml/events.xml#2 integrate
Differences ...
==== //depot/projects/docproj_hu/doc/en_US.ISO8859-1/share/sgml/glossary/freebsd-glossary.sgml#2 (text+ko) ====
@@ -1,5 +1,5 @@
@@ -349,6 +349,10 @@
FreeBSD realtime extensions mailing list">
freebsd-realtime">
+
+FreeBSD Ruby mailing list">
+freebsd-ruby">
+
FreeBSD SCSI subsystem mailing list">
freebsd-scsi">
==== //depot/projects/docproj_hu/doc/hu_HU.ISO8859-2/articles/Makefile#5 (text+ko) ====
@@ -1,4 +1,4 @@
-# $FreeBSD: doc/hu_HU.ISO8859-2/articles/Makefile,v 1.4 2008/05/26 20:21:04 pgj Exp $
+# $FreeBSD: doc/hu_HU.ISO8859-2/articles/Makefile,v 1.5 2008/05/28 17:19:18 pgj Exp $
#
# The FreeBSD Hungarian Documentation Project
==== //depot/projects/docproj_hu/doc/hu_HU.ISO8859-2/books/handbook/eresources/chapter.sgml#4 (text+ko) ====
@@ -1,7 +1,7 @@
+
@@ -7,6 +7,8 @@
Key fingerprint = F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581
uid Stanislav Sedov
uid Stanislav Sedov
+uid Stanislav Sedov (Corporate email)
+uid Stanislav Sedov
sub 1024g/B47898B1 2006-05-20 [expires: 2011-05-19]
]]>
==== //depot/projects/docproj_hu/doc/share/sgml/man-refs.ent#2 (text+ko) ====
@@ -20,7 +20,7 @@
lexicographical order by the entity (i.e., the dots used in place of
special characters should not be expanded when comparing).
- $FreeBSD: doc/share/sgml/man-refs.ent,v 1.461 2008/04/20 18:15:46 hrs Exp $
+ $FreeBSD: doc/share/sgml/man-refs.ent,v 1.462 2008/05/31 13:14:38 hrs Exp $
-->
@@ -3437,6 +3437,7 @@
+
==== //depot/projects/docproj_hu/src/release/doc/en_US.ISO8859-1/readme/article.sgml#2 (text+ko) ====
@@ -12,7 +12,7 @@
The &os; Project
- $FreeBSD: src/release/doc/en_US.ISO8859-1/readme/article.sgml,v 1.40 2007/08/18 17:11:14 bmah Exp $
+ $FreeBSD: src/release/doc/en_US.ISO8859-1/readme/article.sgml,v 1.41 2008/05/31 13:45:35 hrs Exp $2000
@@ -23,6 +23,7 @@
200520062007
+ 2008The &os; Documentation Project
@@ -58,8 +59,8 @@
Intel Itanium Processor based computers (&arch.ia64;),
NEC PC-9801/9821 series PCs and compatibles (&arch.pc98;),
and &ultrasparc; machines (&arch.sparc64;). Versions
- for the &powerpc; (&arch.powerpc;), and &mips; (mips)
- architectures are currently under
+ for the &arm; (&arch.arm;), &mips; (&arch.mips;), and
+ &powerpc; (&arch.powerpc;) architectures are currently under
development as well. &os; works with a wide variety of
peripherals and configurations and can be used for everything
from software development to games to Internet Service
==== //depot/projects/docproj_hu/src/release/doc/en_US.ISO8859-1/relnotes/article.sgml#2 (text+ko) ====
@@ -17,7 +17,7 @@
The &os; Project
- $FreeBSD: src/release/doc/en_US.ISO8859-1/relnotes/article.sgml,v 1.1088 2008/04/20 18:17:33 hrs Exp $
+ $FreeBSD: src/release/doc/en_US.ISO8859-1/relnotes/article.sgml,v 1.1089 2008/05/31 13:27:16 hrs Exp $2000
@@ -208,6 +208,8 @@
The &man.cmx.4; driver, a driver for Omnikey CardMan 4040
PCMCIA smartcard readers, has been added.
+ The &man.syscons.4; driver now supports Colemak keyboard layout.
+
The &man.uslcom.4; driver, a driver for Silicon
Laboratories CP2101/CP2102-based USB serial adapters, has been
imported from OpenBSD.
@@ -228,6 +230,10 @@
client/desktop adapters. A new igb driver
will support new server adapters.
+ The &man.jme.4; driver has been added to provide support
+ for PCIe network adapters based on JMicron JMC250 Gigabit
+ Ethernet and JMC260 Fast Ethernet controllers.
+
The &man.malo.4; driver has been added to provide
support for Marvell Libertas 88W8335 based PCI network
adapters.
@@ -263,6 +269,10 @@
the net.bpf.zerocopy_enable sysctl
variable to 1.
+ ISDN4BSD(I4B), netatm, and all
+ related subsystems have been removed due to lack of
+ multi-processor support.
+
A bug in TCP options padding, where the wrong padding
bytes were used, has been fixed.
@@ -320,6 +330,11 @@
supports a flag, which is equivalent to
specifying the flags.
+ BSD-licensed version of &man.cpio.1; based on
+ libarchive, has replaced the GNU cpio.
+ Note that the GNU cpio is still installed as
+ gcpio.
+
The &man.env.1; program now supports
which will completely unset the given variable
@@ -332,6 +347,10 @@
of primaries that were present in GNU find but not &os;
&man.find.1;.
+ &man.jexec.8; now supports option to specify the
+ jail where the command will be executed.
+
&man.kgdb.1; now supports a new add-kld
command to make it easier to debug crash dumps with kernel
modules.
@@ -343,6 +362,11 @@
&man.nc.1; now supports a switch to
disable the use of TCP options.
+ The &man.ping6.8; utility now returns 2
+ when the packet transmission was successful but no responses
+ were received (this is the same behavior as &man.ping.8;).
+ It returned a non-zero value before this change.
+
The &man.procstat.1; utility has been added to display
detailed information about processes.
@@ -357,6 +381,17 @@
flag to enable &man.compress.1;-style
compression/decompression.
+ The &man.tar.1; utility now supports a
+ flag to ignore user/group names
+ on create and extract.
+
+ The &man.tar.1; utility now supports an
+ flag to sparsify files on extraction.
+
+ The &man.tar.1; utility now supports a
+ flag to substitute filenames based on the specified regular
+ expression.
+
The &man.tcgetsid.3; library function has been added to
return the process group ID for the session leader for the
controlling terminal. It is defined in IEEE Std 1003.1-2001
@@ -427,6 +462,13 @@
Ports/Packages Collection Infrastructure
+ The &man.pkg.create.1; utility now supports
+ . When this option is specified and a
+ package tarball exists, it will not be overwritten. This is
+ useful when multiple packages are saved with several consecutive
+ runs of &man.pkg.create.1; with the
+ options.
+
The pkg_sign and pkg_check utilities for cryptographically
signing &os; packages have been removed. They were only useful
for packages compressed using &man.gzip.1;; however
==== //depot/projects/docproj_hu/src/release/doc/share/sgml/release.ent#2 (text+ko) ====
@@ -1,6 +1,6 @@
@@ -54,6 +54,7 @@
+
==== //depot/projects/docproj_hu/www/en/docs/books.sgml#3 (text+ko) ====
@@ -1,6 +1,6 @@
-
+
@@ -140,6 +140,10 @@
A list of organizations and individuals who have helped
enhance FreeBSD.
+
CUPS on &os;
+ (cups)
+ How to setup CUPS with &os;.
+
Setting up a
CVS repository - The FreeBSD way (cvs-freebsd)
How to set up a CVS repository that uses the same CVSROOT
@@ -225,6 +229,11 @@
(laptop)
Information about running FreeBSD on a laptop.
+
LDAP Authentication
+ (ldap-auth)
+ A practical guide about setting up an LDAP server on
+ &os; and how to use it for authenticating users.
+
FreeBSD: An Open Source Alternative to Linux
(linux-comparison)
A white paper explaining the differences between Linux
==== //depot/projects/docproj_hu/www/en/multimedia/multimedia-input.xml#2 (text+ko) ====
@@ -10,6 +10,1089 @@
+
+ Alex Feldman from Sangoma
+
+ Interview at BSDCan2008 with Alex Feldman from Sangoma.
+
+ http://bsdtalk.blogspot.com/2008/05/bsdtalk150-alex-feldman-from-sangoma.html
+ bsdtalk,interview,sangoma,alex feldman
+
+ http://cisx1.uma.maine.edu/~wbackman/bsdtalk/
+
+ bsdtalk150.mp3
+ 4 Mb
+ 9 minutes
+ MP3 version
+ mp3
+
+
+ bsdtalk150.ogg
+ 9 minutes
+ Ogg version
+ ogg
+
+
+
+
+
+ Justin Gibbs from the FreeBSD Foundation
+
+ Interview with Justin Gibbs from the FreeBSD Foundation.
+
+ http://bsdtalk.blogspot.com/2008/05/bsdtalk149-justin-gibbs-from-freebsd.html
+ bsdtalk,interview,freebsd foundation,justin gibbs
+
+ http://cisx1.uma.maine.edu/~wbackman/bsdtalk/
+
+ bsdtalk149.mp3
+ 5 Mb
+ 11 minutes
+ MP3 version
+ mp3
+
+
+ bsdtalk149.ogg
+ 11 minutes
+ Ogg version
+ ogg
+
+
+
+
+
+ Jeremy White, Founder of CodeWeavers
+
+ Interview with Jeremy White, Founder of CodeWeavers.
+ We talk about the recent availability of an
+ experimental build of Crossover Games for BSD.
+
+ http://bsdtalk.blogspot.com/2008/05/bsdtalk148-jeremy-white-founder-of.html
+ bsdtalk,interview,freebsd,codeweavers,crossover,jeremy white
+
+ http://cisx1.uma.maine.edu/~wbackman/bsdtalk/
+
+ bsdtalk148.mp3
+ 7 Mb
+ 16 minutes
+ MP3 version
+ mp3
+
+
+ bsdtalk148.ogg
+ 16 minutes
+ Ogg version
+ ogg
+
+
+
+
+
+ FreeBSD Developer Alexander Motin
+
+ Interview with FreeBSD Developer Alexander Motin.
+ We talk about mpd, the netgraph based Multi-link
+ PPP Daemon. For more information, see
+ http://mpd.sourceforge.net/.
+
+ http://bsdtalk.blogspot.com/2008/04/bsdtalk147-freebsd-developer-alexander.html
+ bsdtalk,interview,freebsd,mpd,alexander motin
+
+ http://cisx1.uma.maine.edu/~wbackman/bsdtalk/
+
+ bsdtalk147.mp3
+ 8 Mb
+ 16 minutes
+ MP3 version
+ mp3
+
+
+ bsdtalk147.ogg
+ 16 minutes
+ Ogg version
+ ogg
+
+
+
+
+
+ James Cornell
+
+ Another interview with Sysadmin James Cornell. We
+ talk about BSD, OpenSolaris, and Linux on the
+ desktop.
+
+ http://bsdtalk.blogspot.com/2008/04/bsdtalkalk146-james-cornell.html
+ bsdtalk,interview,desktop,james cornell
+
+ http://cisx1.uma.maine.edu/~wbackman/bsdtalk/
+
+ bsdtalk146.mp3
+ 9 Mb
+ 20 minutes
+ MP3 version
+ mp3
+
+
+ bsdtalk146.ogg
+ 9 minutes
+ Ogg version
+ ogg
+
+
+
+
+
+ Adam Wright from No Starch Press
+
+ Intro: Some musings on the consistency and simplicity of BSD.
+
+ A brief interview with Adam Wright from No Starch
+ Press, recorded by Micheal Dexter on behalf of
+ BSDTalk. They talk about recent and future BSD
+ books.
+
+ ]]>
+ http://bsdtalk.blogspot.com/2008/04/bsdtalk145-adam-wright-from-no-starch.html
+ bsdtalk,interview,books,no starch press,adam wright
+
+ http://cisx1.uma.maine.edu/~wbackman/bsdtalk/
+
+ bsdtalk145.mp3
+ 4 Mb
+ 8 minutes
+ MP3 version
+ mp3
+
+
+ bsdtalk145.ogg
+ 8 minutes
+ Ogg version
+ ogg
+
+
+
+
+
+ Dan Langille
+
+ Interview with Dan Langille. We talk about his new
+ job with Afilias, and BSDCan 2008.
+
+ http://bsdtalk.blogspot.com/2008/03/bsdtalk144-dan-langille.html
+ bsdtalk,interview,afilias,bsdcan2008,dan langille
+
+ http://cisx1.uma.maine.edu/~wbackman/bsdtalk/
+
+ bsdtalk144.mp3
+ 10 Mb
+ 22 minutes
+ MP3 version
+ mp3
+
+
+ bsdtalk144.ogg
+ 22 minutes
+ Ogg version
+ ogg
+
+
+
+
+
+ BSD Hobbiest Deborah Norling
+
+ Interview with Deborah Norling. We talk about her
+ use of BSD on old hardware, accessibility on the
+ BSDs, and Simh (http://simh.trailing-edge.com).
+
+ http://bsdtalk.blogspot.com/2008/03/bsdtalk143-bsd-hobbiest-deborah-norling.html
+ bsdtalk,interview,accessibility,deborah norling
+
+ http://cisx1.uma.maine.edu/~wbackman/bsdtalk/
+
+ bsdtalk143.mp3
+ 10 Mb
+ 23 minutes
+ MP3 version
+ mp3
+
+
+ bsdtalk143.ogg
+ 23 minutes
+ Ogg version
+ ogg
+
+
+
+
+
+ FreeBSD Lead Release Engineer Ken Smith
+
+ Interview with FreeBSD Lead Release Engineer Ken Smith.
+
+ http://bsdtalk.blogspot.com/2008/02/bsdtalk142-freebsd-lead-release.html
+ bsdtalk,interview,freebsd,release engineer,ken smith
+
+ http://cisx1.uma.maine.edu/~wbackman/bsdtalk/
+
+ bsdtalk142.mp3
+ 7 Mb
+ 16 minutes
+ MP3 version
+ mp3
+
+
+ bsdtalk142.ogg
+ 16 minutes
+ Ogg version
+ ogg
+
+
+
+
+
+ PBI 4 with Kris Moore
+
+ Interview with PC-BSD founder Kris Moore about the
+ new features in PBI 4.
+
+ http://bsdtalk.blogspot.com/2008/02/bsdtalk141-pbi4-with-kris-moore.html
+ bsdtalk,interview,pc-bsd, kris moore
+
+ http://cisx1.uma.maine.edu/~wbackman/bsdtalk/
+
+ bsdtalk141.mp3
+ 5 Mb
+ 10 minutes
+ MP3 version
+ mp3
+
+
+ bsdtalk141.ogg
+ 10 minutes
+ Ogg version
+ ogg
+
+
+
+
+
+ The Mult Project with Kristaps Dzonsons
+
+ We talk about the Mult project, which is "an on-going
+ research project to create a high-performance
+ instance multiplicity system." You can find more
+ information at http://mult.bsd.lv/. He also gives
+ a quick update on Sysjail.
+
+ http://bsdtalk.blogspot.com/2008/02/bsdtalk140-mult-project-with-kristaps.html
+ bsdtalk,interview,multi project, kristaps dzonsons
+
+ http://cisx1.uma.maine.edu/~wbackman/bsdtalk/
+
+ bsdtalk140.mp3
+ 14 Mb
+ 30 minutes
+ MP3 version
+ mp3
+
+
+ bsdtalk140.ogg
+ 30 minutes
+ Ogg version
+ ogg
+
+
+
+
+
+ Dru Lavigne
+
+ Interview with Dru Lavigne. We talk about her new
+ book "The Best of FreeBSD Basics" and also get an
+ update on some other projects including BSD
+ Certification.
+
If you are concerned about the security of your logs, use a dedicated machine and lock it down.
+
Keep clocks in sync.
+
You may need to change log rotation schedule in /etc/newsyslog.conf. You can rotate based in size and/or time. This can be as much a policy decision as a hardware decision.
+
On central log host, change syslogd flags to listen to network. Each BSD does this differently, so check the man pages. Also, check out the -n flag for busy environments.
+
Make sure host firewall allows syslog traffic through.
+
Be careful to limit syslog traffic to just the trusted network or hosts. FreeBSD man page refers to syslogd as a "remote disk filling service".
+
For heavy logging environments, it is important to have a dedicated network. A down syslogd server can create a lot of "ARP who-has" broadcasts.
+
Most network devices such as printers and commercial firewalls support sending to a central syslog server. Take a look at "Snare" for Windows hosts.
+
To send messages from a Unix host, specify the host name prepended with @ instead of a file for logging in /etc/syslog.conf. For example, change /var/log/xferlog to @loghost.mydomain.biz. You can also copy and edit the line to have it log to both a local file and a remote host.
+
+ ]]>
+ http://bsdtalk.blogspot.com/2008/01/bsdtalk138-central-syslog.html
+ bsdtalk,syslog
+
+ http://cisx1.uma.maine.edu/~wbackman/bsdtalk/
+
+ bsdtalk138.mp3
+ 3 Mb
+ 7 minutes
+ MP3 version
+ mp3
+
+
+ bsdtalk138.ogg
+ 7 minutes
+ Ogg version
+ ogg
+
+
+
+
+
+ Open Community Camp with Marten Vijn
+
+ Interview with Marten Vijn about www.OpenCommunityCamp.org.
+
+ http://bsdtalk.blogspot.com/2008/01/bsdtalk137-open-community-camp-with.html
+ bsdtalk,interview,opencommunitycamp,marten vijn
+
+ http://cisx1.uma.maine.edu/~wbackman/bsdtalk/
+
+ bsdtalk137.mp3
+ 6 Mb
+ 13 minutes
+ MP3 version
+ mp3
+
+
+ bsdtalk137.ogg
+ 13 minutes
+ Ogg version
+ ogg
+
+
+
+
+
+ PF with Peter N. M. Hansteen
+
+ An interview with Peter N. M. Hansteen, recorded
+ by Michael Dexter on behalf of BSDTalk. If you would
+ like to learn more about the PF firewall, check out
+ "The Book of PF" which is available at
+ http://nostarch.com/frameset.php?startat=pf
+
+ http://bsdtalk.blogspot.com/2007/12/bsdtalk136-pf-with-peter-n-m-hansteen.html
+ bsdtalk,interview,pf,michael dexter,peter n m hansteen,book of pf
+
+ http://cisx1.uma.maine.edu/~wbackman/bsdtalk/
+
+ bsdtalk136.mp3
+ 7 Mb
+ 16 minutes
+ MP3 version
+ mp3
+
+
+ bsdtalk136.ogg
+ 15 minutes
+ Ogg version
+ ogg
+
+
+
+
+
+ Joerg Sonnenberger
+
+ Michael Dexter sent me an interview he recorded on
+ behalf of BSDTalk with Joerg Sonnenberger at
+ EuroBSDCon 2007.
+
+ http://bsdtalk.blogspot.com/2007/11/bsdtalk135-joerg-sonnenberger.html
+ bsdtalk,interview,eurobsdcon,eurobsdcon2007,michael dexter,joerg sonnenberger
+
+ http://cisx1.uma.maine.edu/~wbackman/bsdtalk/
+
+ bsdtalk135.mp3
+ 8 Mb
+ 17 minutes
+ MP3 version
+ mp3
+
+
+ bsdtalk135.ogg
+ 17 minutes
+ Ogg version
+ ogg
+
+
+
+
+
+ AsiaBSDCon Update with Hiroki Sato and George Neville-Neil
+
+ A quick update on AsiaBSDCon 2008 with Hiroki Sato
+ and George Neville-Neil. More information at
+ http://www.asiabsdcon.org/.
+
+ http://bsdtalk.blogspot.com/2007/10/bsdtalk134-asiabsdcon-update-with.html
+ bsdtalk,interview,asiabsdcon,hiroki sato,george neville-neil
+
+ http://cisx1.uma.maine.edu/~wbackman/bsdtalk/
+
+ bsdtalk134.mp3
+ 5 Mb
+ 10 minutes
+ MP3 version
+ mp3
+
+
+ bsdtalk134.ogg
+ 10 minutes
+ Ogg version
+ ogg
+
+
+
+
+
+ OpenCon 2007 update from Marc Balmer
+
+ A short update on OpenCon 2007 with Marc Balmer.
+ More information at http://www.opencon.org/.
+
+ http://bsdtalk.blogspot.com/2007/10/bsdtalk133-opencon-2007-update-from.html
+ bsdtalk,interview,opencon,marc balmer
+
+ http://cisx1.uma.maine.edu/~wbackman/bsdtalk/
+
+ bsdtalk133.mp3
+ 3 Mb
+ 7 minutes
+ MP3 version
+ mp3
+
+
+ bsdtalk133.ogg
+ 7 minutes
+ Ogg version
+ ogg
+
+
+
+
+
+ Richard Stallman
+
+ Interview with Richard Stallman.
+
+ http://bsdtalk.blogspot.com/2007/10/bsdtalk132-richard-stallman.html
+ bsdtalk,interview,rms,richard stallman
+
+ http://cisx1.uma.maine.edu/~wbackman/bsdtalk/
+
+ bsdtalk132.ogg
+ 16 Mb
+ 28 minutes
+ Ogg version
+ ogg
+
+
+
+
+
+ PCC with Anders "Ragge" Magnusson
+
+ Interview with Anders "Ragge" Magnusson. We talk
+ about his work on the Portable C Compiler. More
+ information can be found at http://pcc.ludd.ltu.se/.
+
+ http://bsdtalk.blogspot.com/2007/10/bsdtalk131-pcc-with-anders-ragge.html
+ bsdtalk,interview,pcc,ragge,anders magnusson
+
+ http://cisx1.uma.maine.edu/~wbackman/bsdtalk/
+
+ bsdtalk131.mp3
+ 7 Mb
+ 15 minutes
+ MP3 version
+ mp3
+
+
+ bsdtalk131.ogg
+ 15 minutes
+ Ogg version
+ ogg
+
+
+
+
+
+ Network Stack Virtualization with Marko Zec
+
+ Michael Dexter sent me an interview he recorded on
+ behalf of BSDTalk with Marko Zec at EuroBSDCon 2007.
+ More information on the project at
+ http://imunes.tel.fer.hr/virtnet/.
+
+ http://bsdtalk.blogspot.com/2007/10/bsdtalk130-network-stack-virtualization.html
+ bsdtalk,interview,stack virtualization,marko zec
+
+ http://cisx1.uma.maine.edu/~wbackman/bsdtalk/
+
+ bsdtalk130.mp3
+ 8 Mb
+ 16 minutes
+ MP3 version
+ mp3
+
+
+ bsdtalk130.ogg
+ 16 minutes
+ Ogg version
+ ogg
+
+
+
+
+
+ BSDCertification Update with Dru Lavigne
+
+ Interview with Dru Lavigne. We talk about the
+ progress of BSDCertification.org and also her new
+ position with the Open Source Business Resource at
+ http://www.osbr.ca/.
+
+ http://bsdtalk.blogspot.com/2007/09/bsdtalk129-bsdcertification-update-with.html
+ bsdtalk,interview,bsdcertification,dru lavigne
+
+ http://cisx1.uma.maine.edu/~wbackman/bsdtalk/
+
+ bsdtalk129.mp3
+ 10 Mb
+ 20 minutes
>>> TRUNCATED FOR MAIL (1000 lines) <<<
From owner-p4-projects@FreeBSD.ORG Sun Jun 1 00:50:30 2008
Return-Path:
Delivered-To: p4-projects@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 32767)
id C254D1065678; Sun, 1 Jun 2008 00:50:30 +0000 (UTC)
Delivered-To: perforce@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
by hub.freebsd.org (Postfix) with ESMTP id 847EB1065674
for ; Sun, 1 Jun 2008 00:50:30 +0000 (UTC)
(envelope-from pgj@FreeBSD.org)
Received: from repoman.freebsd.org (repoman.freebsd.org
[IPv6:2001:4f8:fff6::29])
by mx1.freebsd.org (Postfix) with ESMTP id 7FB418FC22
for ; Sun, 1 Jun 2008 00:50:30 +0000 (UTC)
(envelope-from pgj@FreeBSD.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m510oUwF029810
for ; Sun, 1 Jun 2008 00:50:30 GMT
(envelope-from pgj@FreeBSD.org)
Received: (from perforce@localhost)
by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m510oUPl029808
for perforce@freebsd.org; Sun, 1 Jun 2008 00:50:30 GMT
(envelope-from pgj@FreeBSD.org)
Date: Sun, 1 Jun 2008 00:50:30 GMT
Message-Id: <200806010050.m510oUPl029808@repoman.freebsd.org>
X-Authentication-Warning: repoman.freebsd.org: perforce set sender to
pgj@FreeBSD.org using -f
From: Gabor Pali
To: Perforce Change Reviews
Cc:
Subject: PERFORCE change 142652 for review
X-BeenThere: p4-projects@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: p4 projects tree changes
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 01 Jun 2008 00:50:31 -0000
http://perforce.freebsd.org/chv.cgi?CH=142652
Change 142652 by pgj@disznohal on 2008/06/01 00:50:12
IFC
Affected files ...
.. //depot/projects/docproj_hu/doc/hu_HU.ISO8859-2/articles/compiz-fusion/Makefile#2 integrate
.. //depot/projects/docproj_hu/doc/hu_HU.ISO8859-2/articles/compiz-fusion/article.sgml#3 integrate
Differences ...
==== //depot/projects/docproj_hu/doc/hu_HU.ISO8859-2/articles/compiz-fusion/Makefile#2 (text+ko) ====
==== //depot/projects/docproj_hu/doc/hu_HU.ISO8859-2/articles/compiz-fusion/article.sgml#3 (text+ko) ====
From owner-p4-projects@FreeBSD.ORG Sun Jun 1 00:52:33 2008
Return-Path:
Delivered-To: p4-projects@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 32767)
id E53961065683; Sun, 1 Jun 2008 00:52:32 +0000 (UTC)
Delivered-To: perforce@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
by hub.freebsd.org (Postfix) with ESMTP id A72AB1065679
for ; Sun, 1 Jun 2008 00:52:32 +0000 (UTC)
(envelope-from pgj@FreeBSD.org)
Received: from repoman.freebsd.org (repoman.freebsd.org
[IPv6:2001:4f8:fff6::29])
by mx1.freebsd.org (Postfix) with ESMTP id AED678FC15
for ; Sun, 1 Jun 2008 00:52:32 +0000 (UTC)
(envelope-from pgj@FreeBSD.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m510qWRr030031
for ; Sun, 1 Jun 2008 00:52:32 GMT
(envelope-from pgj@FreeBSD.org)
Received: (from perforce@localhost)
by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m510qWt6030029
for perforce@freebsd.org; Sun, 1 Jun 2008 00:52:32 GMT
(envelope-from pgj@FreeBSD.org)
Date: Sun, 1 Jun 2008 00:52:32 GMT
Message-Id: <200806010052.m510qWt6030029@repoman.freebsd.org>
X-Authentication-Warning: repoman.freebsd.org: perforce set sender to
pgj@FreeBSD.org using -f
From: Gabor Pali
To: Perforce Change Reviews
Cc:
Subject: PERFORCE change 142653 for review
X-BeenThere: p4-projects@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: p4 projects tree changes
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 01 Jun 2008 00:52:33 -0000
http://perforce.freebsd.org/chv.cgi?CH=142653
Change 142653 by pgj@disznohal on 2008/06/01 00:51:52
Update CVS Id tags
Affected files ...
.. //depot/projects/docproj_hu/doc/hu_HU.ISO8859-2/articles/compiz-fusion/Makefile#3 edit
.. //depot/projects/docproj_hu/doc/hu_HU.ISO8859-2/articles/compiz-fusion/article.sgml#4 edit
Differences ...
==== //depot/projects/docproj_hu/doc/hu_HU.ISO8859-2/articles/compiz-fusion/Makefile#3 (text+ko) ====
@@ -1,5 +1,5 @@
#
-# $FreeBSD: doc/en_US.ISO8859-1/articles/compiz-fusion/Makefile,v 1.1 2008/02/12 07:25:23 gabor Exp $
+# $FreeBSD: doc/hu_HU.ISO8859-2/articles/compiz-fusion/Makefile,v 1.1 2008/05/28 17:19:18 pgj Exp $
#
# Article: Installing and using compiz-fusion
==== //depot/projects/docproj_hu/doc/hu_HU.ISO8859-2/articles/compiz-fusion/article.sgml#4 (text+ko) ====
@@ -1,4 +1,4 @@
-
+
1.231 books/handbook/config/chapter.sgml
MFP4 after: 3 days
Affected files ...
.. //depot/projects/docproj_hu/doc/hu_HU.ISO8859-2/books/handbook/config/chapter.sgml#4 edit
Differences ...
==== //depot/projects/docproj_hu/doc/hu_HU.ISO8859-2/books/handbook/config/chapter.sgml#4 (text+ko) ====
@@ -6,7 +6,7 @@
+ Original Revision: 1.231 -->
@@ -528,13 +528,11 @@
Jóllehet minden szkriptnek teljesítenie kell
minimális elvárásokat, ezek a legtöbb
esetben függetlenek a &os; konkrét
- verziójától. Minden szkriptnek
- .sh kiterjesztéssel kell rendelkeznie
- és minden szkriptnek a rendszer által
- végrehajthatónak kell lennie. Ez utóbbit
+ verziójától. Minden szkriptnek a rendszer
+ által végrehajthatónak kell lennie. Ezt
úgy érhetjük el, ha a chmod
parancs felhasználásával
- beállítjuk a 755
+ beállítjuk a 555
kódú engedélyeket. Ezen felül a
szkriptnek még tudnia kell kezelnie a
start és stop
From owner-p4-projects@FreeBSD.ORG Sun Jun 1 01:50:33 2008
Return-Path:
Delivered-To: p4-projects@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 32767)
id A74FE1065689; Sun, 1 Jun 2008 01:50:33 +0000 (UTC)
Delivered-To: perforce@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
by hub.freebsd.org (Postfix) with ESMTP id BC7F21065685
for ; Sun, 1 Jun 2008 01:50:32 +0000 (UTC)
(envelope-from jb@freebsd.org)
Received: from repoman.freebsd.org (repoman.freebsd.org
[IPv6:2001:4f8:fff6::29])
by mx1.freebsd.org (Postfix) with ESMTP id AA8038FC20
for ; Sun, 1 Jun 2008 01:50:32 +0000 (UTC)
(envelope-from jb@freebsd.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m511oWcK036104
for ; Sun, 1 Jun 2008 01:50:32 GMT
(envelope-from jb@freebsd.org)
Received: (from perforce@localhost)
by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m511oWwd036102
for perforce@freebsd.org; Sun, 1 Jun 2008 01:50:32 GMT
(envelope-from jb@freebsd.org)
Date: Sun, 1 Jun 2008 01:50:32 GMT
Message-Id: <200806010150.m511oWwd036102@repoman.freebsd.org>
X-Authentication-Warning: repoman.freebsd.org: perforce set sender to
jb@freebsd.org using -f
From: John Birrell
To: Perforce Change Reviews
Cc:
Subject: PERFORCE change 142659 for review
X-BeenThere: p4-projects@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: p4 projects tree changes
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 01 Jun 2008 01:50:34 -0000
http://perforce.freebsd.org/chv.cgi?CH=142659
Change 142659 by jb@freebsd3 on 2008/06/01 01:49:51
IFdtrace
Affected files ...
.. //depot/projects/dtrace7/src/share/mk/bsd.own.mk#7 integrate
.. //depot/projects/dtrace7/src/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c#4 integrate
.. //depot/projects/dtrace7/src/sys/cddl/contrib/opensolaris/uts/common/sys/dtrace_impl.h#3 integrate
.. //depot/projects/dtrace7/src/sys/modules/Makefile#13 integrate
.. //depot/projects/dtrace7/src/sys/modules/cyclic_test/Makefile#3 integrate
.. //depot/projects/dtrace7/src/sys/modules/dtrace/Makefile#5 integrate
Differences ...
==== //depot/projects/dtrace7/src/share/mk/bsd.own.mk#7 (text+ko) ====
@@ -1,4 +1,4 @@
-# $FreeBSD: src/share/mk/bsd.own.mk,v 1.67.2.4 2008/01/28 08:42:15 dougb Exp $
+# $FreeBSD: src/share/mk/bsd.own.mk,v 1.75 2008/05/26 10:39:52 bz Exp $
#
# The include file set common variables for owner,
# group, mode, and directories. Defaults are in brackets.
@@ -162,8 +162,6 @@
NLSGRP?= ${SHAREGRP}
NLSMODE?= ${NOBINMODE}
-DEFAULT_THREAD_LIB?= libthr
-
INCLUDEDIR?= /usr/include
# Common variables
@@ -231,7 +229,6 @@
GPIB \
GROFF \
HTML \
- I4B \
INET6 \
INFO \
IPFILTER \
@@ -318,7 +315,6 @@
GPIB \
GROFF \
HTML \
- I4B \
INET6 \
INFO \
INSTALLLIB \
@@ -328,7 +324,6 @@
KVM \
LIB32 \
LIBPTHREAD \
- LIBKSE \
LIBTHR \
LOCALES \
LPR \
@@ -359,8 +354,8 @@
TOOLCHAIN \
USB \
WPA_SUPPLICANT_EAPOL \
- ZONEINFO \
- ZFS
+ ZFS \
+ ZONEINFO
.if defined(WITH_${var}) && defined(WITHOUT_${var})
.error WITH_${var} and WITHOUT_${var} can't both be set.
.endif
@@ -399,11 +394,10 @@
# Order is somewhat important.
#
.if ${MK_LIBPTHREAD} == "no"
-MK_LIBKSE:= no
MK_LIBTHR:= no
.endif
-.if ${MK_LIBKSE} == "no" && ${MK_LIBTHR} == "no"
+.if ${MK_LIBTHR} == "no"
MK_BIND:= no
.endif
==== //depot/projects/dtrace7/src/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c#4 (text) ====
@@ -111,6 +111,7 @@
/* FreeBSD includes: */
#if !defined(sun)
+#include
#include
#include
#include
@@ -5593,7 +5594,7 @@
#if defined(sun)
debug_enter(c);
#else
- kdb_enter_why(KDB_WHY_DTRACE, "breakpoint action");
+ kdb_enter(KDB_WHY_DTRACE, "breakpoint action");
#endif
}
@@ -12690,6 +12691,7 @@
}
}
+#if defined(sun)
static void
dtrace_state_clean(dtrace_state_t *state)
{
@@ -12707,9 +12709,51 @@
dtrace_sync();
-#if !defined(sun)
+ now = dtrace_gethrtime();
+
+ if (state != dtrace_anon.dta_state &&
+ now - state->dts_laststatus >= dtrace_deadman_user)
+ return;
+
+ /*
+ * We must be sure that dts_alive never appears to be less than the
+ * value upon entry to dtrace_state_deadman(), and because we lack a
+ * dtrace_cas64(), we cannot store to it atomically. We thus instead
+ * store INT64_MAX to it, followed by a memory barrier, followed by
+ * the new value. This assures that dts_alive never appears to be
+ * less than its true value, regardless of the order in which the
+ * stores to the underlying storage are issued.
+ */
+ state->dts_alive = INT64_MAX;
+ dtrace_membar_producer();
+ state->dts_alive = now;
+}
+#else
+static void
+dtrace_state_clean(void *arg)
+{
+ dtrace_state_t *state = arg;
+ dtrace_optval_t *opt = state->dts_options;
+
+ if (state->dts_activity == DTRACE_ACTIVITY_INACTIVE)
+ return;
+
+ dtrace_dynvar_clean(&state->dts_vstate.dtvs_dynvars);
+ dtrace_speculation_clean(state);
+
+ callout_reset(&state->dts_cleaner, hz * opt[DTRACEOPT_CLEANRATE] / NANOSEC,
+ dtrace_state_clean, state);
+}
+
+static void
+dtrace_state_deadman(void *arg)
+{
+ dtrace_state_t *state = arg;
+ hrtime_t now;
+
+ dtrace_sync();
+
dtrace_debug_output();
-#endif
now = dtrace_gethrtime();
@@ -12729,7 +12773,11 @@
state->dts_alive = INT64_MAX;
dtrace_membar_producer();
state->dts_alive = now;
+
+ callout_reset(&state->dts_deadman, hz * dtrace_deadman_interval / NANOSEC,
+ dtrace_state_deadman, state);
}
+#endif
static dtrace_state_t *
#if defined(sun)
@@ -12803,8 +12851,14 @@
*/
state->dts_buffer = kmem_zalloc(bufsize, KM_SLEEP);
state->dts_aggbuffer = kmem_zalloc(bufsize, KM_SLEEP);
+
+#if defined(sun)
state->dts_cleaner = CYCLIC_NONE;
state->dts_deadman = CYCLIC_NONE;
+#else
+ callout_init(&state->dts_cleaner, CALLOUT_MPSAFE);
+ callout_init(&state->dts_deadman, CALLOUT_MPSAFE);
+#endif
state->dts_vstate.dtvs_state = state;
for (i = 0; i < DTRACEOPT_MAX; i++)
@@ -13086,8 +13140,10 @@
dtrace_optval_t *opt = state->dts_options, sz, nspec;
dtrace_speculation_t *spec;
dtrace_buffer_t *buf;
+#if defined(sun)
cyc_handler_t hdlr;
cyc_time_t when;
+#endif
int rval = 0, i, bufsize = NCPU * sizeof (dtrace_buffer_t);
dtrace_icookie_t cookie;
@@ -13265,11 +13321,11 @@
if (opt[DTRACEOPT_CLEANRATE] > dtrace_cleanrate_max)
opt[DTRACEOPT_CLEANRATE] = dtrace_cleanrate_max;
+ state->dts_alive = state->dts_laststatus = dtrace_gethrtime();
+#if defined(sun)
hdlr.cyh_func = (cyc_func_t)dtrace_state_clean;
hdlr.cyh_arg = state;
-#if defined(sun)
hdlr.cyh_level = CY_LOW_LEVEL;
-#endif
when.cyt_when = 0;
when.cyt_interval = opt[DTRACEOPT_CLEANRATE];
@@ -13278,15 +13334,18 @@
hdlr.cyh_func = (cyc_func_t)dtrace_state_deadman;
hdlr.cyh_arg = state;
-#if defined(sun)
hdlr.cyh_level = CY_LOW_LEVEL;
-#endif
when.cyt_when = 0;
when.cyt_interval = dtrace_deadman_interval;
- state->dts_alive = state->dts_laststatus = dtrace_gethrtime();
state->dts_deadman = cyclic_add(&hdlr, &when);
+#else
+ callout_reset(&state->dts_cleaner, hz * opt[DTRACEOPT_CLEANRATE] / NANOSEC,
+ dtrace_state_clean, state);
+ callout_reset(&state->dts_deadman, hz * dtrace_deadman_interval / NANOSEC,
+ dtrace_state_deadman, state);
+#endif
state->dts_activity = DTRACE_ACTIVITY_WARMUP;
@@ -13547,11 +13606,16 @@
for (i = 0; i < nspec; i++)
dtrace_buffer_free(spec[i].dtsp_buffer);
+#if defined(sun)
if (state->dts_cleaner != CYCLIC_NONE)
cyclic_remove(state->dts_cleaner);
if (state->dts_deadman != CYCLIC_NONE)
cyclic_remove(state->dts_deadman);
+#else
+ callout_stop(&state->dts_cleaner);
+ callout_stop(&state->dts_deadman);
+#endif
dtrace_dstate_fini(&vstate->dtvs_dynvars);
dtrace_vstate_fini(vstate);
==== //depot/projects/dtrace7/src/sys/cddl/contrib/opensolaris/uts/common/sys/dtrace_impl.h#3 (text) ====
@@ -1137,8 +1137,13 @@
uint32_t dts_dblerrors; /* errors in ERROR probes */
uint32_t dts_reserve; /* space reserved for END */
hrtime_t dts_laststatus; /* time of last status */
+#if defined(sun)
cyclic_id_t dts_cleaner; /* cleaning cyclic */
cyclic_id_t dts_deadman; /* deadman cyclic */
+#else
+ struct callout dts_cleaner; /* Cleaning callout. */
+ struct callout dts_deadman; /* Deadman callout. */
+#endif
hrtime_t dts_alive; /* time last alive */
char dts_speculates; /* boolean: has speculations */
char dts_destructive; /* boolean: has dest. actions */
==== //depot/projects/dtrace7/src/sys/modules/Makefile#13 (text+ko) ====
@@ -1,4 +1,4 @@
-# $FreeBSD: src/sys/modules/Makefile,v 1.540.2.13 2008/05/09 02:20:39 weongyo Exp $
+# $FreeBSD: src/sys/modules/Makefile,v 1.571 2008/05/28 20:26:25 jhb Exp $
.include
@@ -8,6 +8,7 @@
accf_data \
accf_http \
${_acpi} \
+ age \
${_agp} \
aha \
${_ahb} \
@@ -23,6 +24,7 @@
${_arcmsr} \
${_arcnet} \
${_arl} \
+ ${_asmc} \
${_asr} \
ata \
${_ath} \
@@ -32,7 +34,6 @@
${_ath_rate_sample} \
aue \
${_auxio} \
- ${_awi} \
axe \
bce \
bfe \
@@ -52,6 +53,7 @@
${_ciss} \
${_cm} \
${_cmx} \
+ ${_cnw} \
coda \
coda5 \
${_coff} \
@@ -63,9 +65,10 @@
${_cs} \
${_ctau} \
cue \
+ ${_cx} \
cxgb \
- ${_cx} \
${_cyclic} \
+ ${_cyclic_test} \
dc \
dcons \
dcons_crom \
@@ -92,9 +95,7 @@
fxp \
gem \
geom \
- ${_harp} \
hatm \
- ${_hfa} \
hifn \
hme \
${_hptiop} \
@@ -105,7 +106,6 @@
${_ibcs2} \
${_ichwd} \
${_ida} \
- ${_idt} \
${_ie} \
if_bridge \
if_disc \
@@ -129,8 +129,8 @@
${_ipfilter} \
ipfw \
ipfw_nat \
+ ${_ipmi} \
ip_mroute_mod \
- ${_ipmi} \
${_ips} \
${_ipw} \
${_ipwfw} \
@@ -139,8 +139,12 @@
ispfw \
${_iwi} \
${_iwifw} \
+ ${_iwn} \
+ ${_iwnfw} \
${_ixgb} \
+ jme \
joy \
+ ${_k8temp} \
kbdmux \
krpc \
kue \
@@ -195,11 +199,11 @@
${_nsp} \
ntfs \
ntfs_iconv \
- ${_nxge} \
nullfs \
${_nve} \
${_nvram} \
${_nwfs} \
+ ${_nxge} \
${_oltr} \
${_opensolaris} \
${_padlock} \
@@ -226,6 +230,7 @@
${_ray} \
rc \
rc4 \
+ ${_rdma} \
re \
reiserfs \
rl \
@@ -310,11 +315,10 @@
wb \
${_wi} \
wlan \
- wlan_scan_ap \
- wlan_scan_sta \
wlan_acl \
wlan_amrr \
wlan_ccmp \
+ wlan_rssadapt \
wlan_tkip \
wlan_wep \
wlan_xauth \
@@ -336,11 +340,6 @@
_ufs= ufs
.endif
-# Disabled in 7.0 as netatm is not MPSAFE.
-#if ${MK_ATM} != "no"
-#_harp= harp
-#.endif
-
.if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
.if exists(${.CURDIR}/../opencrypto)
_crypto= crypto
@@ -378,7 +377,6 @@
_ath_rate_amrr= ath_rate_amrr
_ath_rate_onoe= ath_rate_onoe
_ath_rate_sample=ath_rate_sample
-_awi= awi
_bktr= bktr
_cardbus= cardbus
_cbb= cbb
@@ -389,6 +387,7 @@
_cs= cs
.if ${MK_CDDL} != "no" || defined(ALL_MODULES)
_cyclic= cyclic
+_cyclic_test= cyclic_test
.endif
_digi= digi
_drm= drm
@@ -402,8 +401,6 @@
_exca= exca
_ext2fs= ext2fs
_fe= fe
-# Disabled due to non-MPSAFEty in 7.0
-#_hfa= hfa
_i2c= i2c
_ibcs2= ibcs2
_ie= ie
@@ -432,6 +429,7 @@
_pecoff= pecoff
_pst= pst
_ray= ray
+_rdma= rdma
_safe= safe
_sbni= sbni
_scsi_low= scsi_low
@@ -444,7 +442,7 @@
_sr= sr
_stg= stg
_streams= streams
-_tmpfs= tmpfs
+_tmpfs= tmpfs
_wi= wi
_xe= xe
.if ${MK_ZFS} != "no" || defined(ALL_MODULES)
@@ -456,11 +454,13 @@
_ahb= ahb
_arcmsr= arcmsr
_arl= arl
+_asmc= asmc
_asr= asr
_bios= bios
_ciss= ciss
_cm= cm
_cmx= cmx
+_cnw= cnw
_coretemp= coretemp
_ctau= ctau
_cx= cx
@@ -471,8 +471,6 @@
_hptrr= hptrr
_ichwd= ichwd
_ida= ida
-# Disabled due to non-MPSAFEty in 7.0
-#_idt= idt
_iir= iir
_ipmi= ipmi
_ips= ips
@@ -480,7 +478,9 @@
_ipwfw= ipwfw
_iwi= iwi
_iwifw= iwifw
-_ixgb= ixgb
+_iwn= iwn
+_iwnfw= iwnfw
+_ixgb= ixgb
_mly= mly
_nfe= nfe
_nve= nve
@@ -510,6 +510,7 @@
_agp= agp
_an= an
_arcmsr= arcmsr
+_asmc= asmc
_ath= ath
_ath_hal= ath_hal
_ath_rate_amrr= ath_rate_amrr
@@ -523,6 +524,7 @@
_cpufreq= cpufreq
.if ${MK_CDDL} != "no" || defined(ALL_MODULES)
_cyclic= cyclic
+_cyclic_test= cyclic_test
.endif
_digi= digi
_drm= drm
@@ -547,7 +549,10 @@
_ips= ips
_ipw= ipw
_ipwfw= ipwfw
-_ixgb= ixgb
+_iwn= iwn
+_iwnfw= iwnfw
+_ixgb= ixgb
+_k8temp= k8temp
_linprocfs= linprocfs
_linsysfs= linsysfs
_linux= linux
@@ -561,13 +566,14 @@
_opensolaris= opensolaris
.endif
_pccard= pccard
+_rdma= rdma
_safe= safe
_scsi_low= scsi_low
_smbfs= smbfs
_sound= sound
_speaker= speaker
_sppp= sppp
-_tmpfs= tmpfs
+_tmpfs= tmpfs
_twa= twa
_wi= wi
_wpi= wpi
@@ -584,9 +590,9 @@
# acpi is not enabled because it is broken as a module on ia64
_aic= aic
#_ar= ar not 64-bit clean
+_an= an
_arcnet= arcnet
_asr= asr
-_an= an
_bktr= bktr
_cardbus= cardbus
_cbb= cbb
@@ -599,7 +605,6 @@
_ep= ep
_exca= exca
_fe= fe
-_hfa= hfa
_igb= igb
_iir= iir
_mly= mly
==== //depot/projects/dtrace7/src/sys/modules/cyclic_test/Makefile#3 (text+ko) ====
@@ -1,6 +1,6 @@
# $FreeBSD#
-.PATH: ${.CURDIR}/../../cddl/cyclic
+.PATH: ${.CURDIR}/../../cddl/dev/cyclic
KMOD= cyclic_test
SRCS= cyclic_test.c
==== //depot/projects/dtrace7/src/sys/modules/dtrace/Makefile#5 (text+ko) ====
From owner-p4-projects@FreeBSD.ORG Sun Jun 1 01:51:34 2008
Return-Path:
Delivered-To: p4-projects@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 32767)
id 0AF70106567B; Sun, 1 Jun 2008 01:51:34 +0000 (UTC)
Delivered-To: perforce@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
by hub.freebsd.org (Postfix) with ESMTP id B1AF51065678
for ; Sun, 1 Jun 2008 01:51:33 +0000 (UTC)
(envelope-from jb@freebsd.org)
Received: from repoman.freebsd.org (repoman.freebsd.org
[IPv6:2001:4f8:fff6::29])
by mx1.freebsd.org (Postfix) with ESMTP id A07BF8FC0A
for ; Sun, 1 Jun 2008 01:51:33 +0000 (UTC)
(envelope-from jb@freebsd.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m511pXdQ036178
for ; Sun, 1 Jun 2008 01:51:33 GMT
(envelope-from jb@freebsd.org)
Received: (from perforce@localhost)
by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m511pXQl036176
for perforce@freebsd.org; Sun, 1 Jun 2008 01:51:33 GMT
(envelope-from jb@freebsd.org)
Date: Sun, 1 Jun 2008 01:51:33 GMT
Message-Id: <200806010151.m511pXQl036176@repoman.freebsd.org>
X-Authentication-Warning: repoman.freebsd.org: perforce set sender to
jb@freebsd.org using -f
From: John Birrell
To: Perforce Change Reviews
Cc:
Subject: PERFORCE change 142660 for review
X-BeenThere: p4-projects@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: p4 projects tree changes
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 01 Jun 2008 01:51:34 -0000
http://perforce.freebsd.org/chv.cgi?CH=142660
Change 142660 by jb@freebsd3 on 2008/06/01 01:50:49
IFdtrace
Affected files ...
.. //depot/projects/dtrace6/src/cddl/Makefile#2 integrate
.. //depot/projects/dtrace6/src/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c#2 integrate
.. //depot/projects/dtrace6/src/sys/cddl/contrib/opensolaris/uts/common/sys/dtrace_impl.h#2 integrate
Differences ...
==== //depot/projects/dtrace6/src/cddl/Makefile#2 (text+ko) ====
==== //depot/projects/dtrace6/src/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c#2 (text) ====
@@ -111,6 +111,7 @@
/* FreeBSD includes: */
#if !defined(sun)
+#include
#include
#include
#include
@@ -11410,9 +11411,11 @@
* block pending our completion.
*/
for (enab = dtrace_retained; enab != NULL; enab = enab->dten_next) {
+#if defined(sun)
cred_t *cr = enab->dten_vstate->dtvs_state->dts_cred.dcr_cred;
if (INGLOBALZONE(curproc) || getzoneid() == crgetzoneid(cr))
+#endif
(void) dtrace_enabling_match(enab, NULL);
}
@@ -12688,6 +12691,7 @@
}
}
+#if defined(sun)
static void
dtrace_state_clean(dtrace_state_t *state)
{
@@ -12705,9 +12709,51 @@
dtrace_sync();
-#if !defined(sun)
+ now = dtrace_gethrtime();
+
+ if (state != dtrace_anon.dta_state &&
+ now - state->dts_laststatus >= dtrace_deadman_user)
+ return;
+
+ /*
+ * We must be sure that dts_alive never appears to be less than the
+ * value upon entry to dtrace_state_deadman(), and because we lack a
+ * dtrace_cas64(), we cannot store to it atomically. We thus instead
+ * store INT64_MAX to it, followed by a memory barrier, followed by
+ * the new value. This assures that dts_alive never appears to be
+ * less than its true value, regardless of the order in which the
+ * stores to the underlying storage are issued.
+ */
+ state->dts_alive = INT64_MAX;
+ dtrace_membar_producer();
+ state->dts_alive = now;
+}
+#else
+static void
+dtrace_state_clean(void *arg)
+{
+ dtrace_state_t *state = arg;
+ dtrace_optval_t *opt = state->dts_options;
+
+ if (state->dts_activity == DTRACE_ACTIVITY_INACTIVE)
+ return;
+
+ dtrace_dynvar_clean(&state->dts_vstate.dtvs_dynvars);
+ dtrace_speculation_clean(state);
+
+ callout_reset(&state->dts_cleaner, hz * opt[DTRACEOPT_CLEANRATE] / NANOSEC,
+ dtrace_state_clean, state);
+}
+
+static void
+dtrace_state_deadman(void *arg)
+{
+ dtrace_state_t *state = arg;
+ hrtime_t now;
+
+ dtrace_sync();
+
dtrace_debug_output();
-#endif
now = dtrace_gethrtime();
@@ -12727,7 +12773,11 @@
state->dts_alive = INT64_MAX;
dtrace_membar_producer();
state->dts_alive = now;
+
+ callout_reset(&state->dts_deadman, hz * dtrace_deadman_interval / NANOSEC,
+ dtrace_state_deadman, state);
}
+#endif
static dtrace_state_t *
#if defined(sun)
@@ -12801,8 +12851,14 @@
*/
state->dts_buffer = kmem_zalloc(bufsize, KM_SLEEP);
state->dts_aggbuffer = kmem_zalloc(bufsize, KM_SLEEP);
+
+#if defined(sun)
state->dts_cleaner = CYCLIC_NONE;
state->dts_deadman = CYCLIC_NONE;
+#else
+ callout_init(&state->dts_cleaner, CALLOUT_MPSAFE);
+ callout_init(&state->dts_deadman, CALLOUT_MPSAFE);
+#endif
state->dts_vstate.dtvs_state = state;
for (i = 0; i < DTRACEOPT_MAX; i++)
@@ -13084,8 +13140,10 @@
dtrace_optval_t *opt = state->dts_options, sz, nspec;
dtrace_speculation_t *spec;
dtrace_buffer_t *buf;
+#if defined(sun)
cyc_handler_t hdlr;
cyc_time_t when;
+#endif
int rval = 0, i, bufsize = NCPU * sizeof (dtrace_buffer_t);
dtrace_icookie_t cookie;
@@ -13263,11 +13321,11 @@
if (opt[DTRACEOPT_CLEANRATE] > dtrace_cleanrate_max)
opt[DTRACEOPT_CLEANRATE] = dtrace_cleanrate_max;
+ state->dts_alive = state->dts_laststatus = dtrace_gethrtime();
+#if defined(sun)
hdlr.cyh_func = (cyc_func_t)dtrace_state_clean;
hdlr.cyh_arg = state;
-#if defined(sun)
hdlr.cyh_level = CY_LOW_LEVEL;
-#endif
when.cyt_when = 0;
when.cyt_interval = opt[DTRACEOPT_CLEANRATE];
@@ -13276,15 +13334,18 @@
hdlr.cyh_func = (cyc_func_t)dtrace_state_deadman;
hdlr.cyh_arg = state;
-#if defined(sun)
hdlr.cyh_level = CY_LOW_LEVEL;
-#endif
when.cyt_when = 0;
when.cyt_interval = dtrace_deadman_interval;
- state->dts_alive = state->dts_laststatus = dtrace_gethrtime();
state->dts_deadman = cyclic_add(&hdlr, &when);
+#else
+ callout_reset(&state->dts_cleaner, hz * opt[DTRACEOPT_CLEANRATE] / NANOSEC,
+ dtrace_state_clean, state);
+ callout_reset(&state->dts_deadman, hz * dtrace_deadman_interval / NANOSEC,
+ dtrace_state_deadman, state);
+#endif
state->dts_activity = DTRACE_ACTIVITY_WARMUP;
@@ -13545,11 +13606,16 @@
for (i = 0; i < nspec; i++)
dtrace_buffer_free(spec[i].dtsp_buffer);
+#if defined(sun)
if (state->dts_cleaner != CYCLIC_NONE)
cyclic_remove(state->dts_cleaner);
if (state->dts_deadman != CYCLIC_NONE)
cyclic_remove(state->dts_deadman);
+#else
+ callout_stop(&state->dts_cleaner);
+ callout_stop(&state->dts_deadman);
+#endif
dtrace_dstate_fini(&vstate->dtvs_dynvars);
dtrace_vstate_fini(vstate);
==== //depot/projects/dtrace6/src/sys/cddl/contrib/opensolaris/uts/common/sys/dtrace_impl.h#2 (text) ====
@@ -1137,8 +1137,13 @@
uint32_t dts_dblerrors; /* errors in ERROR probes */
uint32_t dts_reserve; /* space reserved for END */
hrtime_t dts_laststatus; /* time of last status */
+#if defined(sun)
cyclic_id_t dts_cleaner; /* cleaning cyclic */
cyclic_id_t dts_deadman; /* deadman cyclic */
+#else
+ struct callout dts_cleaner; /* Cleaning callout. */
+ struct callout dts_deadman; /* Deadman callout. */
+#endif
hrtime_t dts_alive; /* time last alive */
char dts_speculates; /* boolean: has speculations */
char dts_destructive; /* boolean: has dest. actions */
From owner-p4-projects@FreeBSD.ORG Sun Jun 1 06:50:39 2008
Return-Path:
Delivered-To: p4-projects@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 32767)
id 0A76C106567B; Sun, 1 Jun 2008 06:50:39 +0000 (UTC)
Delivered-To: perforce@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
by hub.freebsd.org (Postfix) with ESMTP id 877C01065672
for ; Sun, 1 Jun 2008 06:50:38 +0000 (UTC)
(envelope-from julian@freebsd.org)
Received: from repoman.freebsd.org (repoman.freebsd.org
[IPv6:2001:4f8:fff6::29])
by mx1.freebsd.org (Postfix) with ESMTP id 833A38FC13
for ; Sun, 1 Jun 2008 06:50:38 +0000 (UTC)
(envelope-from julian@freebsd.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m516oc3x074319
for ; Sun, 1 Jun 2008 06:50:38 GMT
(envelope-from julian@freebsd.org)
Received: (from perforce@localhost)
by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m516ocNL074317
for perforce@freebsd.org; Sun, 1 Jun 2008 06:50:38 GMT
(envelope-from julian@freebsd.org)
Date: Sun, 1 Jun 2008 06:50:38 GMT
Message-Id: <200806010650.m516ocNL074317@repoman.freebsd.org>
X-Authentication-Warning: repoman.freebsd.org: perforce set sender to
julian@freebsd.org using -f
From: Julian Elischer
To: Perforce Change Reviews
Cc:
Subject: PERFORCE change 142665 for review
X-BeenThere: p4-projects@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: p4 projects tree changes
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 01 Jun 2008 06:50:39 -0000
http://perforce.freebsd.org/chv.cgi?CH=142665
Change 142665 by julian@julian_trafmon1 on 2008/06/01 06:49:56
Make things compile if ipfw nat is included.
This doesn't mean it works.
Affected files ...
.. //depot/projects/vimage/src/sys/netinet/ip_fw.h#11 edit
.. //depot/projects/vimage/src/sys/netinet/ip_fw2.c#33 edit
.. //depot/projects/vimage/src/sys/netinet/ip_fw_nat.c#2 edit
Differences ...
==== //depot/projects/vimage/src/sys/netinet/ip_fw.h#11 (text+ko) ====
@@ -647,6 +647,7 @@
int ipfw_init(void);
void ipfw_destroy(void);
+void ipfw_nat_destroy(void);
typedef int ip_fw_ctl_t(struct sockopt *);
extern ip_fw_ctl_t *ip_fw_ctl_ptr;
@@ -771,6 +772,7 @@
#define V_norule_counter VNET_IPFW(norule_counter)
#define V_ipfw_timeout VNET_IPFW(ipfw_timeout)
+#define V_ifaddr_event_tag VNET_IPFW(ifaddr_event_tag)
#endif /* _KERNEL */
#endif /* _IPFW2_H */
==== //depot/projects/vimage/src/sys/netinet/ip_fw2.c#33 (text+ko) ====
@@ -4703,7 +4703,7 @@
#endif
#ifdef IPFIREWALL_NAT
- EVENTHANDLER_DEREGISTER(ifaddr_event, ifaddr_event_tag);
+ ipfw_nat_destroy();
#endif
IPFW_DYN_LOCK_DESTROY();
uma_zdestroy(ipfw_dyn_rule_zone);
==== //depot/projects/vimage/src/sys/netinet/ip_fw_nat.c#2 (text+ko) ====
@@ -24,6 +24,7 @@
* SUCH DAMAGE.
*/
+#include "opt_vimage.h"
#include
__FBSDID("$FreeBSD: src/sys/netinet/ip_fw_nat.c,v 1.2 2008/03/03 22:32:01 piso Exp $");
@@ -45,6 +46,7 @@
#include
#include
#include
+#include
#include
#include
@@ -52,6 +54,7 @@
#define IPFW_INTERNAL /* Access to protected data structures in ip_fw.h. */
#include
+#include
#include
#include
#include
@@ -63,12 +66,15 @@
#include
#include
#include
+#include
#include /* XXX for in_cksum */
MALLOC_DECLARE(M_IPFW);
-extern struct ip_fw_chain layer3_chain;
+#ifndef VIMAGE
+extern struct ip_fw_chain V_layer3_chain;
+#endif
static eventhandler_tag ifaddr_event_tag;
@@ -81,12 +87,13 @@
static void
ifaddr_change(void *arg __unused, struct ifnet *ifp)
{
+ INIT_VNET_IPFW(curvnet);
struct cfg_nat *ptr;
struct ifaddr *ifa;
- IPFW_WLOCK(&layer3_chain);
+ IPFW_WLOCK(&V_layer3_chain);
/* Check every nat entry... */
- LIST_FOREACH(ptr, &layer3_chain.nat, _next) {
+ LIST_FOREACH(ptr, &V_layer3_chain.nat, _next) {
/* ...using nic 'ifp->if_xname' as dynamic alias address. */
if (strncmp(ptr->if_name, ifp->if_xname, IF_NAMESIZE) == 0) {
mtx_lock(&ifp->if_addr_mtx);
@@ -102,16 +109,17 @@
mtx_unlock(&ifp->if_addr_mtx);
}
}
- IPFW_WUNLOCK(&layer3_chain);
+ IPFW_WUNLOCK(&V_layer3_chain);
}
static void
flush_nat_ptrs(const int i)
{
+ INIT_VNET_IPFW(curvnet);
struct ip_fw *rule;
- IPFW_WLOCK_ASSERT(&layer3_chain);
- for (rule = layer3_chain.rules; rule; rule = rule->next) {
+ IPFW_WLOCK_ASSERT(&V_layer3_chain);
+ for (rule = V_layer3_chain.rules; rule; rule = rule->next) {
ipfw_insn_nat *cmd = (ipfw_insn_nat *)ACTION_PTR(rule);
if (cmd->o.opcode != O_NAT)
continue;
@@ -121,12 +129,12 @@
}
#define HOOK_NAT(b, p) do { \
- IPFW_WLOCK_ASSERT(&layer3_chain); \
+ IPFW_WLOCK_ASSERT(&V_layer3_chain); \
LIST_INSERT_HEAD(b, p, _next); \
} while (0)
#define UNHOOK_NAT(p) do { \
- IPFW_WLOCK_ASSERT(&layer3_chain); \
+ IPFW_WLOCK_ASSERT(&V_layer3_chain); \
LIST_REMOVE(p, _next); \
} while (0)
@@ -402,6 +410,7 @@
static int
ipfw_nat_cfg(struct sockopt *sopt)
{
+ INIT_VNET_IPFW(curvnet);
struct cfg_nat *ptr, *ser_n;
char *buf;
@@ -413,20 +422,20 @@
/*
* Find/create nat rule.
*/
- IPFW_WLOCK(&layer3_chain);
- LOOKUP_NAT(layer3_chain, ser_n->id, ptr);
+ IPFW_WLOCK(&V_layer3_chain);
+ LOOKUP_NAT(V_layer3_chain, ser_n->id, ptr);
if (ptr == NULL) {
/* New rule: allocate and init new instance. */
ptr = malloc(sizeof(struct cfg_nat),
M_IPFW, M_NOWAIT | M_ZERO);
if (ptr == NULL) {
- IPFW_WUNLOCK(&layer3_chain);
+ IPFW_WUNLOCK(&V_layer3_chain);
free(buf, M_IPFW);
return (ENOSPC);
}
ptr->lib = LibAliasInit(NULL);
if (ptr->lib == NULL) {
- IPFW_WUNLOCK(&layer3_chain);
+ IPFW_WUNLOCK(&V_layer3_chain);
free(ptr, M_IPFW);
free(buf, M_IPFW);
return (EINVAL);
@@ -437,7 +446,7 @@
UNHOOK_NAT(ptr);
flush_nat_ptrs(ser_n->id);
}
- IPFW_WUNLOCK(&layer3_chain);
+ IPFW_WUNLOCK(&V_layer3_chain);
/*
* Basic nat configuration.
@@ -463,28 +472,29 @@
/* Add new entries. */
add_redir_spool_cfg(&buf[(sizeof(struct cfg_nat))], ptr);
free(buf, M_IPFW);
- IPFW_WLOCK(&layer3_chain);
- HOOK_NAT(&layer3_chain.nat, ptr);
- IPFW_WUNLOCK(&layer3_chain);
+ IPFW_WLOCK(&V_layer3_chain);
+ HOOK_NAT(&V_layer3_chain.nat, ptr);
+ IPFW_WUNLOCK(&V_layer3_chain);
return (0);
}
static int
ipfw_nat_del(struct sockopt *sopt)
{
+ INIT_VNET_IPFW(curvnet);
struct cfg_nat *ptr;
int i;
sooptcopyin(sopt, &i, sizeof i, sizeof i);
- IPFW_WLOCK(&layer3_chain);
- LOOKUP_NAT(layer3_chain, i, ptr);
+ IPFW_WLOCK(&V_layer3_chain);
+ LOOKUP_NAT(V_layer3_chain, i, ptr);
if (ptr == NULL) {
- IPFW_WUNLOCK(&layer3_chain);
+ IPFW_WUNLOCK(&V_layer3_chain);
return (EINVAL);
}
UNHOOK_NAT(ptr);
flush_nat_ptrs(i);
- IPFW_WUNLOCK(&layer3_chain);
+ IPFW_WUNLOCK(&V_layer3_chain);
del_redir_spool_cfg(ptr, &ptr->redir_chain);
LibAliasUninit(ptr->lib);
free(ptr, M_IPFW);
@@ -494,6 +504,7 @@
static int
ipfw_nat_get_cfg(struct sockopt *sopt)
{
+ INIT_VNET_IPFW(curvnet);
uint8_t *data;
struct cfg_nat *n;
struct cfg_redir *r;
@@ -504,9 +515,9 @@
off = sizeof(nat_cnt);
data = malloc(NAT_BUF_LEN, M_IPFW, M_WAITOK | M_ZERO);
- IPFW_RLOCK(&layer3_chain);
+ IPFW_RLOCK(&V_layer3_chain);
/* Serialize all the data. */
- LIST_FOREACH(n, &layer3_chain.nat, _next) {
+ LIST_FOREACH(n, &V_layer3_chain.nat, _next) {
nat_cnt++;
if (off + SOF_NAT < NAT_BUF_LEN) {
bcopy(n, &data[off], SOF_NAT);
@@ -533,12 +544,12 @@
goto nospace;
}
bcopy(&nat_cnt, data, sizeof(nat_cnt));
- IPFW_RUNLOCK(&layer3_chain);
+ IPFW_RUNLOCK(&V_layer3_chain);
sooptcopyout(sopt, data, NAT_BUF_LEN);
free(data, M_IPFW);
return (0);
nospace:
- IPFW_RUNLOCK(&layer3_chain);
+ IPFW_RUNLOCK(&V_layer3_chain);
printf("serialized data buffer not big enough:"
"please increase NAT_BUF_LEN\n");
free(data, M_IPFW);
@@ -548,6 +559,7 @@
static int
ipfw_nat_get_log(struct sockopt *sopt)
{
+ INIT_VNET_IPFW(curvnet);
uint8_t *data;
struct cfg_nat *ptr;
int i, size, cnt, sof;
@@ -556,16 +568,16 @@
sof = LIBALIAS_BUF_SIZE;
cnt = 0;
- IPFW_RLOCK(&layer3_chain);
+ IPFW_RLOCK(&V_layer3_chain);
size = i = 0;
- LIST_FOREACH(ptr, &layer3_chain.nat, _next) {
+ LIST_FOREACH(ptr, &V_layer3_chain.nat, _next) {
if (ptr->lib->logDesc == NULL)
continue;
cnt++;
size = cnt * (sof + sizeof(int));
data = realloc(data, size, M_IPFW, M_NOWAIT | M_ZERO);
if (data == NULL) {
- IPFW_RUNLOCK(&layer3_chain);
+ IPFW_RUNLOCK(&V_layer3_chain);
return (ENOSPC);
}
bcopy(&ptr->id, &data[i], sizeof(int));
@@ -573,7 +585,7 @@
bcopy(ptr->lib->logDesc, &data[i], sof);
i += sof;
}
- IPFW_RUNLOCK(&layer3_chain);
+ IPFW_RUNLOCK(&V_layer3_chain);
sooptcopyout(sopt, data, size);
free(data, M_IPFW);
return(0);
@@ -582,27 +594,29 @@
static void
ipfw_nat_init(void)
{
+ INIT_VNET_IPFW(curvnet);
- IPFW_WLOCK(&layer3_chain);
+ IPFW_WLOCK(&V_layer3_chain);
/* init ipfw hooks */
ipfw_nat_ptr = ipfw_nat;
ipfw_nat_cfg_ptr = ipfw_nat_cfg;
ipfw_nat_del_ptr = ipfw_nat_del;
ipfw_nat_get_cfg_ptr = ipfw_nat_get_cfg;
ipfw_nat_get_log_ptr = ipfw_nat_get_log;
- IPFW_WUNLOCK(&layer3_chain);
+ IPFW_WUNLOCK(&V_layer3_chain);
ifaddr_event_tag = EVENTHANDLER_REGISTER(ifaddr_event, ifaddr_change,
NULL, EVENTHANDLER_PRI_ANY);
}
-static void
+void
ipfw_nat_destroy(void)
{
+ INIT_VNET_IPFW(curvnet);
struct ip_fw *rule;
struct cfg_nat *ptr, *ptr_temp;
- IPFW_WLOCK(&layer3_chain);
- LIST_FOREACH_SAFE(ptr, &layer3_chain.nat, _next, ptr_temp) {
+ IPFW_WLOCK(&V_layer3_chain);
+ LIST_FOREACH_SAFE(ptr, &V_layer3_chain.nat, _next, ptr_temp) {
LIST_REMOVE(ptr, _next);
del_redir_spool_cfg(ptr, &ptr->redir_chain);
LibAliasUninit(ptr->lib);
@@ -610,14 +624,14 @@
}
EVENTHANDLER_DEREGISTER(ifaddr_event, ifaddr_event_tag);
/* flush all nat ptrs */
- for (rule = layer3_chain.rules; rule; rule = rule->next) {
+ for (rule = V_layer3_chain.rules; rule; rule = rule->next) {
ipfw_insn_nat *cmd = (ipfw_insn_nat *)ACTION_PTR(rule);
if (cmd->o.opcode == O_NAT)
cmd->nat = NULL;
}
/* deregister ipfw_nat */
ipfw_nat_ptr = NULL;
- IPFW_WUNLOCK(&layer3_chain);
+ IPFW_WUNLOCK(&V_layer3_chain);
}
static int
From owner-p4-projects@FreeBSD.ORG Sun Jun 1 06:51:40 2008
Return-Path:
Delivered-To: p4-projects@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 32767)
id 059631065674; Sun, 1 Jun 2008 06:51:40 +0000 (UTC)
Delivered-To: perforce@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
by hub.freebsd.org (Postfix) with ESMTP id 801921065670
for ; Sun, 1 Jun 2008 06:51:39 +0000 (UTC)
(envelope-from julian@freebsd.org)
Received: from repoman.freebsd.org (repoman.freebsd.org
[IPv6:2001:4f8:fff6::29])
by mx1.freebsd.org (Postfix) with ESMTP id 7D2F18FC0A
for ; Sun, 1 Jun 2008 06:51:39 +0000 (UTC)
(envelope-from julian@freebsd.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m516pdaR074389
for ; Sun, 1 Jun 2008 06:51:39 GMT
(envelope-from julian@freebsd.org)
Received: (from perforce@localhost)
by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m516pdoo074387
for perforce@freebsd.org; Sun, 1 Jun 2008 06:51:39 GMT
(envelope-from julian@freebsd.org)
Date: Sun, 1 Jun 2008 06:51:39 GMT
Message-Id: <200806010651.m516pdoo074387@repoman.freebsd.org>
X-Authentication-Warning: repoman.freebsd.org: perforce set sender to
julian@freebsd.org using -f
From: Julian Elischer
To: Perforce Change Reviews
Cc:
Subject: PERFORCE change 142666 for review
X-BeenThere: p4-projects@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: p4 projects tree changes
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 01 Jun 2008 06:51:40 -0000
http://perforce.freebsd.org/chv.cgi?CH=142666
Change 142666 by julian@julian_trafmon1 on 2008/06/01 06:51:12
have a go at making ipfw compile correctly
Affected files ...
.. //depot/projects/vimage/src/sys/i386/conf/VIMAGE#12 edit
Differences ...
==== //depot/projects/vimage/src/sys/i386/conf/VIMAGE#12 (text+ko) ====
@@ -8,6 +8,13 @@
ident VIMAGE
options VIMAGE
+options IPFIREWALL
+options IPFIREWALL_VERBOSE
+options IPFIREWALL_VERBOSE_LIMIT=100
+options IPFIREWALL_DEFAULT_TO_ACCEPT
+options IPFIREWALL_FORWARD
+options IPFIREWALL_NAT
+options LIBALIAS
#
# Some kernel subsystems and functions don't yet compile with VIMAGE. Remove
From owner-p4-projects@FreeBSD.ORG Sun Jun 1 11:14:16 2008
Return-Path:
Delivered-To: p4-projects@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 32767)
id 9B3651065671; Sun, 1 Jun 2008 11:14:16 +0000 (UTC)
Delivered-To: perforce@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
by hub.freebsd.org (Postfix) with ESMTP id 5CE591065678
for ; Sun, 1 Jun 2008 11:14:16 +0000 (UTC)
(envelope-from andre@freebsd.org)
Received: from repoman.freebsd.org (repoman.freebsd.org
[IPv6:2001:4f8:fff6::29])
by mx1.freebsd.org (Postfix) with ESMTP id 6442A8FC20
for ; Sun, 1 Jun 2008 11:14:16 +0000 (UTC)
(envelope-from andre@freebsd.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m51BEGDo015235
for ; Sun, 1 Jun 2008 11:14:16 GMT
(envelope-from andre@freebsd.org)
Received: (from perforce@localhost)
by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m51BEGsA015233
for perforce@freebsd.org; Sun, 1 Jun 2008 11:14:16 GMT
(envelope-from andre@freebsd.org)
Date: Sun, 1 Jun 2008 11:14:16 GMT
Message-Id: <200806011114.m51BEGsA015233@repoman.freebsd.org>
X-Authentication-Warning: repoman.freebsd.org: perforce set sender to
andre@freebsd.org using -f
From: Andre Oppermann
To: Perforce Change Reviews
Cc:
Subject: PERFORCE change 142687 for review
X-BeenThere: p4-projects@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: p4 projects tree changes
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 01 Jun 2008 11:14:16 -0000
http://perforce.freebsd.org/chv.cgi?CH=142687
Change 142687 by andre@andre_flirtbox on 2008/06/01 11:13:53
Make TCPS_HAVERCVDFIN() do what its name suggests and its consumers
actually depend on.
Affected files ...
.. //depot/projects/tcp_new/netinet/tcp_fsm.h#2 edit
Differences ...
==== //depot/projects/tcp_new/netinet/tcp_fsm.h#2 (text+ko) ====
@@ -73,7 +73,7 @@
#define TCPS_HAVERCVDSYN(s) ((s) >= TCPS_SYN_RECEIVED)
#define TCPS_HAVEESTABLISHED(s) ((s) >= TCPS_ESTABLISHED)
-#define TCPS_HAVERCVDFIN(s) ((s) >= TCPS_TIME_WAIT)
+#define TCPS_HAVERCVDFIN(s) ((s) == TCPS_CLOSE_WAIT || (s) >= TCPS_CLOSING)
#ifdef TCPOUTFLAGS
/*
From owner-p4-projects@FreeBSD.ORG Sun Jun 1 14:31:47 2008
Return-Path:
Delivered-To: p4-projects@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 32767)
id B9118106566C; Sun, 1 Jun 2008 14:31:47 +0000 (UTC)
Delivered-To: perforce@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
by hub.freebsd.org (Postfix) with ESMTP id 768DA106564A
for ; Sun, 1 Jun 2008 14:31:47 +0000 (UTC)
(envelope-from remko@freebsd.org)
Received: from repoman.freebsd.org (repoman.freebsd.org
[IPv6:2001:4f8:fff6::29])
by mx1.freebsd.org (Postfix) with ESMTP id 5DA1B8FC19
for ; Sun, 1 Jun 2008 14:31:47 +0000 (UTC)
(envelope-from remko@freebsd.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m51EVl5L049459
for ; Sun, 1 Jun 2008 14:31:47 GMT
(envelope-from remko@freebsd.org)
Received: (from perforce@localhost)
by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m51EVl5S049457
for perforce@freebsd.org; Sun, 1 Jun 2008 14:31:47 GMT
(envelope-from remko@freebsd.org)
Date: Sun, 1 Jun 2008 14:31:47 GMT
Message-Id: <200806011431.m51EVl5S049457@repoman.freebsd.org>
X-Authentication-Warning: repoman.freebsd.org: perforce set sender to
remko@freebsd.org using -f
From: Remko Lodder
To: Perforce Change Reviews
Cc:
Subject: PERFORCE change 142700 for review
X-BeenThere: p4-projects@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: p4 projects tree changes
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 01 Jun 2008 14:31:48 -0000
http://perforce.freebsd.org/chv.cgi?CH=142700
Change 142700 by remko@remko_nakur on 2008/06/01 14:31:37
Bring in the latest work by Rene Ladan (Thanks!)
Affected files ...
.. //depot/projects/docproj_nl/nl_NL.ISO8859-1/books/handbook/mail/chapter.sgml#3 edit
Differences ...
==== //depot/projects/docproj_nl/nl_NL.ISO8859-1/books/handbook/mail/chapter.sgml#3 (text+ko) ====
@@ -3,7 +3,7 @@
$FreeBSD$
$FreeBSDnl: doc/nl_NL.ISO8859-1/books/handbook/mail/chapter.sgml,v 1.12 2006/01/01 13:09:23 siebrand Exp $
- Gebaseerd op: 1.131
+ Gebaseerd op: 1.137
-->
@@ -12,14 +12,14 @@
BillLloyd
- Original work by
+ Origineel werk van JimMock
- Rewritten by
+ Hershreven door
@@ -28,176 +28,185 @@
TomLeetersVertaald door
-
-
+
+
+
+
- Frederic
- Van Assche
-
-
+ Frederic
+ Van Assche
+ Vertaling voortgezet door
+
+
+
+
- Remko
- Lodder
+ René
+ Ladan
+ Vertaling voortgezet door
+
- Electronische Mail
+ Electronische mailOverzichtemail
- Electronische Mail, beter bekend als email, is vandaag
- de dag een van de meest gebruikte vormen van communicatie. Dit hoofdstuk
- zal een algemene inleiding in het opzetten van een mailserver op &os; zijn,
- alsmede een introductie in het verzenden en ontvangen van email op &os;;
- echter zal het geen complete referentie zijn en zullen veel belangrijke
- overwegingen buiten beschouwing worden gelaten. Voor een meer complete
- behandeling wordt de lezer gewezen op de vele excellente boeken welke
+ Electronische Mail, beter bekend als email, is
+ tegenwoordig een van de meest gebruikte vormen van communicatie.
+ Dit hoofdstuk geeft een algemene inleiding in het opzetten van een
+ mailserver op &os;, alsmede een introductie in het verzenden en
+ ontvangen van email op &os;; het is echter geen complete
+ referentie en veel belangrijke overwegingen zullen buiten
+ beschouwing worden gelaten. Voor een completere behandeling
+ wordt de lezer gewezen op de vele uitstekende boeken welke
worden vermeld in .
- In dit hoofdstuk leer je:
+ In dit hoofdstuk wordt behandeld:
- Welke software (componenten) gebruikt wordt(/en) bij het verzenden
- en ontvangen van email.
+ Welke software (componenten) gebruikt wordt(en) bij het
+ verzenden en ontvangen van email.
- Waar algemene sendmail configuratie
- bestanden worden opgeslagen in FreeBSD.
+ Waar algemene sendmail
+ instellingsbestanden worden opgeslagen in &os;.
- Het verschil tussen postbussen op lokale en netwerk pc's.
+ Het verschil tussen lokale en postbussen op-afstand.
+
- Hoe je kunt tegen gaan dat spammers jouw mailserver illegaal
- gebruiken als "relay".
+ Hoe spammers te verhinderen dat ze de mailserver illegaal
+ gebruiken als "relay".
- Hoe je een andere MTA (Mail Transfer Agent) kunt installeren en configureren op je systeem,
- om sendmail te vervangen.
+ Hoe een andere MTA (Mail Transfer Agent) te installeren en
+ configureren op het systeem, ter vervanging van
+ sendmail.
- Hoe je veel voorkomende problemen met mail servers kunt oplossen.
+ Hoe veel voorkomende problemen met mail servers worden
+ opgelost.
- Hoe je SMTP met UUCP kunt gebruiken.
+ Hoe SMTP met UUCP te gebruiken.
- Hoe je een systeem kunt instellen om alleen mail te verzenden.
+ Hoe een systeem in te stellen om alleen mail te verzenden.
+
- Hoe je email kunt gebruiken met een inbel verbinding.
+ Hoe email te gebruiken met een inbelverbinding.
- Hoe je SMTP Authenticatie moet instellen voor verhoogde beveiliging.
+ Hoe SMTP Authenticatie in te stellen voor verhoogde
+ beveiliging.
- Hoe een Mail User Agent zoals mutt te installeren
- om email te verzenden en ontvangen.
+ Hoe een Mail User Agent zoals mutt
+ te installeren om email te verzenden en te
+ ontvangen.
- Hoe je mail kunt binnenhalen van een externe POP
- of IMAP server.
+ Hoe mail te downloaden van een POP of
+ IMAP server op afstand.
- Hoe je automatisch filters en sorteer regels op inkomende email
- kunt toepassen.
+ Hoe automatisch filters en sorteerregels op inkomende
+ email toe te passen.
- Voor je verder gaat met het lezen van dit hoofdstuk, dien je eerst:
+ Voordat dit hoofdstuk gelezen wordt, dient:
- Je netwerkconnecties correct opgezet te hebben
- ().
+ De netwerkverbindingen correct ingesteld te zijn ().
- De juiste DNS informatie ingesteld hebben voor je mail server
- ().
+ De juiste DNS-informatie ingesteld te zijn voor de
+ mailserver ().
- Te weten hoe je "third-party" software moet installeren
- ().
+ Bekend te zijn hoe software van derde partijen te
+ installeren ().
- Gebruik maken van Electronische Mail
-
+ Gebruik maken van electronische mailPOP
-
IMAP
-
DNS
- Er zijn vijf belangrijke componenten betrokken bij het uitwisselen van e-mail.
- Dit zijn: het gebruikers programma,
- de server service,
- DNS,
- een mailbestand, lokaal of extern, en natuurlijk,
- de mail server zelf.
+ Er zijn vijf belangrijke componenten betrokken bij het
+ uitwisselen van e-mail. Dit zijn: het
+ gebruikersprogramma, de
+ serverdaemon, DNS,
+ een mailbox, lokaal of op afstand
+ , en natuurlijk de mailhost zelf
+ .
+
- Het gebruikers programma
+ Het gebruikersprogramma
- Dit omvat programma's zoals
- mutt,
- pine, elm,
- and mail, en GUI programma's zoals
- balsa,
- xfmail om er maar een paar te noemen, en een
- iets meer geavanceerder zoals een Web Browser. Deze
- programma's doen niets anders dan de mail bezorgen bij de lokale
- mailserver, door deze af te leveren
- of bij een van de beschikbare server
- services, of via TCP.
-
+ Dit omvat opdrachtregelprogramma's zoals mutt
+ , pine,
+ elm, en mail, en GUI
+ programma's zoals balsa,
+ xfmail, en iets geavanceerders
+ zoals een webbrowser. Deze programma's doen niets
+ anders dan de mail bezorgen bij de lokale mailhost, door deze
+ af te leveren of bij een van de beschikbare serverdiensten, of via TCP
+ .
+
- Mailserver Server Service
-
+ Mailhost Server Daemon
- mail server daemons
- sendmail
+ mailserver daemons
+ sendmail
-
- mail server daemons
- postfix
+ mailserver daemons
+ postfix
-
- mail server daemons
- qmail
+ mailserver daemons
+ qmail
-
- mail server daemons
- exim
+ mailserver daemons
+ exim
- &os; wordt standaard geleverd metsendmail
- , maar ondersteund meerdere andere mail server services,
- zoals bijvoorbeeld:
+ &os; wordt standaard geleverd metsendmail
+ , maar ondersteund meerdere andere mailserver
+ daemons, zoals:
@@ -213,274 +222,295 @@
- De server service heeft meestal twee functies—het is verantwoordelijk
- voor het ontvangen van inkomende mail en het bezorgen van uitgaande mail. Het is
- niet verantwoordelijk voor het verzamelen/collecteren van mail
- door het gebruik van protocollen zoals POP of IMAP
- om je mail te lezen, noch dat het toestaat een connectie te maken met lokale
- mbox of Maildir postbussen. Het is mogelijk dat je daarvoor een
- extra service voor nodig hebt.
+ De server daemon heeft meestal twee functies—het is
+ verantwoordelijk voor het ontvangen van inkomende mail en het
+ bezorgen van uitgaande mail. Het is niet
+ verantwoordelijk voor het verzamelen van mail door gebruik te
+ maken van protocollen zoals POP of
+ IMAP om mail te lezen, noch staat het toe om
+ een verbinding te maken met een lokale mbox
+ of Maildir postbus. Het is mogelijk dat daarvoor een extra
+ daemon voor nodig is.Oudere versies van sendmail
- hebben serieuze beveiligings lekken welke kunnen resulteren in een
- situatie waarbij een aanvaller zich lokale of toegang van afstand
- tot je machine kan verkijgen.
- Ben er zeker van dat je een huidige actuele versie draait om deze problemen
- te voorkomen. Optioneel kun je een alternatieve
- MTA installeren via de&os;
- Portscollectie.
+ hebben serieuze beveiligingslekken welke kunnen leiden tot een
+ situatie waarbij een aanvaller lokale of toegang van afstand
+ tot de machine kan verkijgen. Draai een actuele versie om
+ deze problemen te voorkomen. Optioneel kan een alternatieve
+ MTA van de &os;
+ Portscollectie geïnstalleerd worden.
Email en DNS
- Het Domain Naam Systeem (DNS) en de service
- named spelen een grote rol in het bezorgen van
- email. Om het mogelijk te maken e-mail te bezorgen van jouw lokatie naar een andere,
- zal de server service de remote lokatie opzoeken in het DNS om zo de host te bepalen
- die de e-mail in ontvangst zal nemen voor de bestemming. Dit proces
- gebeurt ook als e-mail verzonden wordt vanaf een andere host naar jouw mailserver.
+ Het Domein Naam Systeem (DNS) en de daemon named
+ spelen een grote rol in het bezorgen van email. Om
+ het mogelijk te maken e-mail van de deze lokatie naar een andere
+ lokatie te bezorgen, zal de serverdaemon de andere lokatie
+ opzoeken in het DNS om zo de host te bepalen die de e-mail voor
+ de bestemming in ontvangst zal nemen. Dit gebeurt ook als
+ e-mail verzonden wordt vanaf een andere host naar de lokale
+ mailserver.
- MX record
+
+ MX record
+
- DNS is verantwoordelijk voor het koppelen van
- hostnamen aan IP adressen, en voor het opslaan van specifieke informatie
- voor het bezorgen van mail, beter bekend als MX regels. De MX (Mail
- eXchanger) regel specificeert welke host, of meerdere, mail zullen ontvangen
- voor een specifiek domein. Als je geen MX regel hebt voor je hostnaam of domein
- , dan zal de mail direct bij je host worden afgeleverd, mits je een A regel hebt
- die jouw hostnaam aan je IP adres koppelt.
+ DNS is verantwoordelijk voor het koppelen
+ van hostnamen aan IP-adressen, en voor het opslaan van
+ specifieke informatie voor het bezorgen van mail, bekend als
+ MX-regels. De MX-regel (Mail eXchanger) specificeert welke
+ host(s) mail zullen ontvangen voor een specifiek domein. Als er
+ geen MX-regel is voor deze hostnaam of dit domein, dan zal de
+ mail direct bij de host worden afgeleverd, mits er een A-regel
+ is die deze hostnaam aan dit IP-adres koppelt.
- Je kunt de MX regels van een willekeurig domein bekijken, door gebruik te maken
- van het &man.host.1; commando, zoals je hieronder kunt zien in het voorbeeld:
+ De MX-regels van een willekeurig domein kunnen wordeni
+ bekeken door gebruik te maken van het commando &man.host.1;,
+ zoals te zien is in het onderstaande voorbeeld:&prompt.user; host -t mx FreeBSD.org
FreeBSD.org mail is handled (pri=10) by mx1.FreeBSD.org
- Mail Ontvangen
-
+ Mail ontvangen
- email
- receiving
+ email
+ ontvangen
- Mail ontvangen voor je domein wordt door de mail host gedaan. Deze
- zal alle mail verzonden aan jouw domein collecteren en deze opslaan in of
- een mbox (de standaard manier om mail op te slaan) of in Maildir formaat,
- afhankelijk van je configuratie.
- Eens mail opgeslagen is, kan deze lokaal worden gelezen door programma's
- zoals &man.mail.1; of mutt, of vanaf afstand
- bekeken en verzameld middels protocollen zoals
- POP of IMAP.
- Dit betekend, dat je als je alleen lokaal mail wilt lezen,
- je niet nog een POP of IMAP server
- hoeft te installeren.
+ De mailhost verzorgt het ontvangen van mail voor het domein.
+ Deze zal alle mail verzonden aan het domein verzamelen en deze
+ afhankelijk van de configuratie opslaan in òf
+ mbox (de standaardmanier om mail op te slaan)
+ òf in Maildir-formaat. Wanneer de mail eenmaal is
+ opgeslagen, kan het òf lokaal gelezen worden door
+ toepassingen als &man.mail.1; of mutt
+ , of op afstand bekeken en verzameld worden middels protocollen
+ als POP of IMAP.
+ Dit betekent, dat als mail alleen lokaal wordt gelezen, er geen
+ POP- of IMAP-server
+ geïnstalleerd hoeft te worden.
- Toegang vanaf afstand tot je postbus krijgen door
- gebruik te maken van POP en IMAP
+ Op afstand toegang tot de postbus krijgen door gebruik te
+ maken van POP en IMAP
+
- POP
+ POP
+ IMAP
+ Om op afstand toegang te krijgen tot postbussen is het nodig toegang
+ te hebben tot een POP- of IMAP
+ -server. Deze protocollen stellen gebruikers in
+ staat hun postbus gemakkelijk op afstand te benaderen. Hoewel
+ zowel POP als IMAP
+ gebruikers in staat stellen op afstand een postbus te bereiken
+ , biedt IMAP veel voordelen, waaronder:
+
- IMAP
+
+
+ IMAP kan berichten zowel op de
+ server op afstand opslaan als ze ophalen.
+
- Om vanaf afstand toegang te krijgen tot postbussen is het nodig toegang
- te hebben tot een POP of IMAP
- server. Deze protocollen stellen een gebruiker in staat zijn/haar
- postbus gemakkelijk te benaderen vanaf afstand. Hoewel
- POP en IMAP beide gebruikers in
- staat stellen vanaf afstand een postbus te bereiken biedt,
- IMAP veel voordelen, waaronder:
+
+ IMAP ondersteunt gelijktijdig
+ actualiseren.
+
-
-
- IMAP kan berichten zowel op de server
- bewaren als lokaal opslaan.
-
+
+ IMAP kan uitstekend worden gebruikt
+ over langzame verbindingen omdat het gebruikers in staat
+ stelt de structuur van berichten te bekijken zonder deze
+ binnen te halen; het kan ook worden gebruikt om te zoeken
+ op de server om zo de gegevensoverdracht tussen client en
+ server te minimaliseren.
+
+
-
- IMAP ondersteund gelijktijdig actualiseren.
-
+ Om een POP- of IMAP-
+ server te installeren, zijn de volgende stappen nodig:
-
- IMAP kan uitstekend worden toegepast over
- lage-snelheid verbindingen omdat het gebruikers in staat stelt
- allereerst berichten te bekijken voor deze binnen te halen; het kan ook
- taken zoals zoeken op de server uitvoeren om zo de gegevens
- transmissie tussen client en server te beperken servers.
-
-
-
-
- Om een POP of IMAP server te
- installeren, zijn de volgende stappen benodigd:
-
-
+
- Kies een IMAP of
- POP server die het beste aan jouw eisen voldoet.
- De volgende POP en IMAP
- servers zijn zeer bekend en dienen als een paar
- goede voorbeelden:
+ Kies een IMAP- of POP
+ -server die het beste aan de eisen voldoet.
+ De volgende POP- en IMAP
+ -servers zijn zeer bekend en zijn goede
+ voorbeelden:
-
+ qpopper;
-
+
-
+ teapop;
-
+
-
+ imap-uw;
-
+
-
+ courier-imap;
-
+
-
-
- Installeer de POP of
- IMAP service van je keuze vanuit de
- Portscollectie.
+
+ Installeer de gewenste POP- of
+ IMAP-daeomon vanuit de Portscollectie.
+
- Indien nodig, wijzig /etc/inetd.conf
- om de POP of
- IMAP server te laden.
+ Wijzig indien nodig /etc/inetd.conf
+ om de POP- of IMAP
+ - server te laden.
-
+ Let er wel op dat zowel POP en
- IMAP informatie, waaronder
- gebruikersnaam en wachtwoord combinaties oneversleuteld versturen.
- Dit betekend, dat wanneer je deze uitwisseling van gegevens over
- deze protocollenwilt versleutelen, je het gebruik van tunnels via
- &man.ssh.1; kunt overwegen. Het tunnelen van sessies wordt
- beschreven in .
-
+ IMAP informatie, waaronder gegevens over
+ gebruikersnaam en wachtwoord, oneversleuteld versturen. Dit
+ betekent, dat wanneer het gewenst is dat de uitwisseling van
+ gegevens over deze protocollen versleuteld is, het
+ verstandig is om te overwegen de sessies over &man.ssh.1;
+ te tunnelen. Het tunnelen van sessies wordt beschreven in
+ .
+
- Toegang tot lokale postbussen
+ Toegang tot lokale postbussen
- Postbussen kunnen lokaal benaderd worden door direct op de server
- waarop de postbus wordt bewaard MUAs te gebruiken
- Dit kan gedaan worden door programma's zoals mutt
- of &man.mail.1; te gebruiken.
+ Postbussen kunnen lokaal benaderd worden door direct op de
+ server waarop de postbus wordt bewaard MUAs
+ te gebruiken. Dit kan gedaan worden door programma's zoals
+ mutt of &man.mail.1; te gebruiken.
- De mail server
+ De mailhost
+ mailhost
- mail host
-
- De mail server is de server benaming welke verantwoordelijk is
- for het afleveren en ontvangen van mail voor jouw server en
- mogelijk voor je netwerk.
+ De mailhost is de naam van de server welke verantwoordelijk
+ is voor het afleveren en ontvangen van mail voor de server en
+ mogelijk voor het netwerk.
-
- Christopher
- Shumway
- Contributed by
-
+
+ Christopher
+ Shumway
+ Bijgedragen door
+
+ sendmail instellen
- sendmail configuratie
-
- sendmail
+
+ sendmail
+ &man.sendmail.8; is de standaard Mail Transfer Agent (MTA) in
- FreeBSD. sendmail's taak is het accepteren
- van mail van gebruikersprogramma's (MUA) en deze
- te bezorgen bij de juiste mailer zoals gedefinieerd in het
- betreffende configuratie bestand.
- sendmail kan ook netwerk connecties
+ &os;. sendmail's taak is het
+ accepteren van mail van gebruikersprogramma's (MUA
+ ) en deze te bezorgen bij de juiste mailer zoals
+ gedefinieerd in het betreffende configuratiebestand.
+ sendmail kan ook netwerkverbindingen
accepteren en mail in lokale postbussen afleveren of bezorgen
bij een ander programma.sendmail gebruikt de volgende
- configuratie bestanden:
+ configuratiebestanden:
- /etc/mail/access
-
- /etc/mail/aliases
-
- /etc/mail/local-host-names
-
- /etc/mail/mailer.conf
-
- /etc/mail/mailertable
-
- /etc/mail/sendmail.cf
-
- /etc/mail/virtusertable
-
+
+ /etc/mail/access
+
+
+ /etc/mail/aliases
+
+
+ /etc/mail/local-host-names
+
+
+ /etc/mail/mailer.conf
+
+
+ /etc/mail/mailertable
+
+
+ /etc/mail/sendmail.cf
+
+
+ /etc/mail/virtusertable
+ Bestandsnaam
-
Functie
- /etc/mail/access
-
- sendmail toegangs database
- bestand
+
+ /etc/mail/access
+
+ bestand met de toegangsdatabase van
+ sendmail
- /etc/mail/aliases
-
- Postbus aliases
+
+ /etc/mail/aliases
+
+ Aliases voor postbussen
- /etc/mail/local-host-names
-
- Lijst van servers waarvoor sendmail
- mail accepteert
-
+
+ /etc/mail/local-host-names
+
+ Lijst van servers waarvoor sendmail
+ mail accepteert
+
- /etc/mail/mailer.conf
-
- Mailer programma configuratie
+
+ /etc/mail/mailer.conf
+
+ Configuratie voor het mailerprogramma
- /etc/mail/mailertable
-
- Mailer bezorgings tabel
+
+ /etc/mail/mailertable
+
+ Aflevertabel voor de mailer
- /etc/mail/sendmail.cf
-
- sendmail hoofd
- configuratie bestand
+
+ /etc/mail/sendmail.cf
+
+ Hoofdconfiguratiebestand van sendmail
+
- /etc/mail/virtusertable
-
- Virtuele gebruikers en domein(en) tabellen
+
+ /etc/mail/virtusertable
+
+ Tabellen voor virtuele gebruikers en domeinen
@@ -489,342 +519,314 @@
/etc/mail/access
- De toegangs database definieert welke server(s) of IP adressen
- toegang hebben tot de lokale mail server en wat voor soort toegang
- ze hebben. Servers kunnen in de lijst voorkomen met een ,
- , of simpelweg worden doorgevoerd
- naar de foutafhandelings procedure van sendmail
- met een bepaalde mail fout.
- Servers welke vermeld staan met een , welke de standaard is
- kunnen mail versturen naar deze server, zolang de eindbestemming
- van de mail de lokale machine is. Servers welke vermeld staan met een
- worden niet toegestaan om een connectie op te bouwen.
- Servers met een vermelding wordt toegestaan om
- via deze server naar elke bestemming te mailen.
+ De toegangsdatabase definieert welke host(s) of IP-adressen
+ toegang hebben tot de lokale mailserver en wat voor soort toegang
+ ze hebben. Hosts kunnen in de lijst als ,
+ , of staan, of
+ worden doorgevoerd naar de foutafhandelingsprocedure van
+ sendmail met een bepaalde mailerfout.
+ Hosts welke vermeld staan als , wat de
+ standaard is, kunnen mail versturen naar deze host zolang de
+ eindbestemming van de mail de lokale machine is. Hosts welke
+ vermeld staan als worden voor alle
+ verbindingen geweigerd. Hosts met een
+ vermelding wordt toegestaan om via deze server mail naar elke
+ bestemming te sturen.
-
- Configureren van de sendmail
- Toegangs Database
+
+ Configureren van de sendmail
+ toegangsdatabase
- cyberspammer.com 550 We do not accept mail from spammers
-FREE.STEALTH.MAILER@ 550 We do not accept mail from spammers
-another.source.of.spam REJECT
-okay.cyberspammer.com OK
-128.32 RELAY
-
+ cyberspammer.com 550 We accepteren geen mail van spammers
+FREE.STEALTH.MAILER@ 550 We accepteren geen mail van spammers
+another.source.of.spam REJECT
+okay.cyberspammer.com OK
+128.32 RELAY
+
- In dit voorbeeld staan vijf vermeldingen. Mail afzenders die
- overeenkomen met de linkerhelft van de tabel worden beinvloed door de actie
- die vermeld staan aan de rechterzijde van de tabel. De eerste 2 voorbeelden
- geven een foutcode af aan sendmail's foutafhandeling.
- Het bericht wordt bij de externe host bekend gemaakt wanneer een e-mail voldoet aan
- de linker kolom van de tabel. De volgende regel weigert e-mail van een specifieke
- host op het Internet, another.source.of.spam. De daar op volgende
- regel accepteert mail connecties van een host okay.cyberspammer.com,
- welke nauwkeuriger is dan de cyberspammer.com
- regel erboven. Specifiekere regels overtreffen minder specifieke. De laatste regel
- staat het doorsturen van electronische mail toe vanaf hosts waarvan de ipadressen
- beginnen met 128.32. Deze hosts zijn dan in staat om via deze
- mail server naar een andere bestemming mail te versturen.
+ In dit voorbeeld staan vijf vermeldingen. Mailafzenders die
+ overeenkomen met de linkerzijde van de tabel worden beïnvloed
+ door de actie die vermeld staan aan de rechterzijde van de tabel.
+ De eerste twee voorbeelden geven een foutcode af aan de
+ foutafhandelingsroutine van sendmail.
+ Het bericht wordt bij de externe host bekend gemaakt wanneer een
+ mail voldoet aan de linkerzijde van de tabel. De volgende regel
+ weigert mail van een specifieke host op het Internet,
+ another.source.of.spam. De volgende regel accepteert
+ mailverbindingen van een host
+ okay.cyberspammer.com, welke nauwkeuriger is dan de
+ regel met cyberspammer.com
+ erboven. Specifiekere regels vervangen minder specifieke. De
+ laatste regel staat het doorsturen van electronische mail toe
+ vanaf hosts waarvan de IP-adressen beginnen met 128.32
+ . Deze hosts zijn dan in staat om via deze mailserver
+ naar een andere bestemming mail te versturen.
- Wanneer dit bestand is bijgewerkt, dien je make
- in /etc/mail/ te activeren om de databestanden bij te werken.
-
+ Wanneer dit bestand is bijgewerkt, dient make
+ in /etc/mail/ te gedraaid te
+ worden om de database bij te werken.
- /etc/mail/aliases
+ /etc/mail/aliases
- De alias databestanden bevatten een lijst met virtuele postbussen
- die verwijzen naar (een) andere gebruiker(s), bestand(en), programma('s) of andere
- aliassen. Hier zijn een paar voorbeelden die gebruikt kunnen worden in
- /etc/mail/aliases:
+ De aliasdatabase bevat een lijst met virtuele postbussen die
+ verwijzen naar andere gebruiker(s), bestand(en), programma('s) of
+ andere aliassen. Hier zijn een paar voorbeelden die gebruikt
+ kunnen worden in /etc/mail/aliases:
- Mail Alias
+ Mailaliassenroot: localuser
ftp-bugs: joe,eric,paul
bit.bucket: /dev/null
procmail: "|/usr/local/bin/procmail"
- Het bestandsformaat is simpel; de postbus naam aan de linkerzijde
- van de dubbele punt wordt verder uitgewerkt naar de namen aan de rechterzijde.
- Het eerste voorbeeld verwijst heel eenvoudig de postbus van root
- naar de postbus localuser, welke dan vervolgens weer wordt opgezocht
- in het alias databestand. Als er geen verdere overeenkomst wordt gevonden,
- dan wordt het bericht afgeleverd bij de lokale gebruiker
- localuser. Het volgende voorbeeld toont een distributielijst.
- Post voor de postbus ftp-bugs wordt doorverwezen naar
- de drie lokale postbussen van joe,
- eric en paul. Merk op dat een externe
- postbus gespecificeert kan worden als user@example.com. Het
- volgende voorbeeld toont hoe post naar een bestand kan worden geschreven, in dit geval
- /dev/null. Het laatste voorbeeld toont hoe post doorgestuurt
- kan worden naar een programma, in dit geval wordt de post doorgestuurt naar de standaard
- invoer van /usr/local/bin/procmail door een zogenaamde
- &unix; pipe.
+ Het bestandsformaat is simpel; de postbusnaam aan de
+ linkerzijde van de dubbele punt wordt verder uitgewerkt naar de
+ doel(en) aan de rechterzijde. Het eerste voorbeeld breidt de
+ postbus van root uit naar de postbus
+ localuser, welke dan vervolgens weer wordt
+ opgezocht in de aliasdatabase. Als er geen verdere overeenkomst
+ wordt gevonden, dan wordt het bericht afgeleverd bij de lokale
+ gebruiker localuser. Het volgende
+ voorbeeld toont een mailinglijst. Mail voor de postbus
+ ftp-bugs wordt doorverwezen naar de drie
+ lokale postbussen joe, eric
+ en paul. Merk op dat een
+ externe postbus gespecificeerd kan worden als
+ user@example.com. Het volgende voorbeeld toont het
+ schrijven van mail naar een bestand, in dit geval
+ /dev/null. Het laatste voorbeeld toont het sturen
+ van mail naar een programma, in dit geval wordt het mailbericht
+ doorgestuurd naar de standaard invoer van
+ /usr/local/bin/procmail via een &unix; pijp.
- Wanneer dit bestand is bijgewerkt, dien je make
- in /etc/mail/ te activeren om de databestanden bij te werken.
-
+ Wanneer dit bestand is bijgewerkt, dient make
+ in /etc/mail/ gedraaid te worden
+ om de database bij te werken.
+
-
- /etc/mail/local-host-names
+
+ /etc/mail/local-host-names
- Dit is een lijst van hostnamen die &man.sendmail.8; moet zien als de lokale
- hostnaam. Plaats hierin alle hostnamen waarvoor
- sendmail mail moet ontvangen.
- Voorbeeld: als de mailserver mail moet ontvangen van het domein
- example.com en de hostnaam is
- mail.example.com, dan ziet
- local-host-names er ongeveer zo uit:
+ Dit is een lijst van hostnamen die &man.sendmail.8; moet
+ accepteren als de lokale hostnaam. Hierin dienen alle hostnamen
+ geplaatst te worden waarvoor sendmail
+ mail moet ontvangen. Als deze mailserver mail moet ontvangen
+ voor het domein example.com
+ en de hostnaam is mail.example.com,
+ dan ziet local-host-names er ongeveer zo
+ uit:
- example.com
+ example.com
mail.example.com
- Herstart na het bijwerken van dit bestand &man.sendmail.8; om de wijzigingen door
- te voeren.
+ Wanneer dit bestand is bijgewerkt, dient &man.sendmail.8;
+ opnieuw gestart te worde zodat het de veranderingen kan lezen.
+
+
-
+
+ /etc/mail/sendmail.cf
-
- /etc/mail/sendmail.cf
+ Het hoofdinstellingenbestand van sendmail
+ , sendmail.cf controleert het
+ algemene gedrag van sendmail,
+ inclusief alles van het herschrijven van emailaddressen tot het
+ sturen van weigeringsberichten naar externe mailservers. Met
+ zo'n diverse rol is dit instellingenbestand redelijk complex en
+ vallen de details buiten het bereik van dit hoofdstuk. Gelukkig
+ hoeft dit bestand maar zelden aangepast te worden voor standaard
+ mailservers.
- Het hoofd instellingenbestand van sendmail
- , sendmail.cf controleert het algemene gedrag van
- sendmail, betreffende alles van het herschrijven van
- e-mail addressen tot het weergeven van weigeringsberichten op externe mailservers.
- Natuurlijk, met zo'n diverse rol, is dit instellingenbestand
- redelijk complex, en details liggen buiten het bereik van dit hoofdstuk.
- Gelukkig moet dit bestand maar zelden aangepast worden voor standaard mailservers.
+ Het hoofdinstellingenbestand van sendmail
+ kan gebouwd worden met &man.m4.1; macro's die het
+ gedrag en de mogelijkheden van sendmail
+ specificeren. Lees
+ /usr/src/contrib/sendmail/cf/README voor meer
+ details.
- Het hoofd instellingenbestand van sendmail
- kan gebouwd worden met &man.m4.1; macro's die het gedrag en de mogelijkheden van
- sendmail specifikren. Lees
- /usr/src/contrib/sendmail/cf/README voor meer details.
+ Wanneer dit bestand is bijgewerkt, dient &man.sendmail.8;
+ opnieuw gestart te worden om de wijzigingen door te voeren.
+
+
>>> TRUNCATED FOR MAIL (1000 lines) <<<
From owner-p4-projects@FreeBSD.ORG Sun Jun 1 14:49:10 2008
Return-Path:
Delivered-To: p4-projects@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 32767)
id 704221065672; Sun, 1 Jun 2008 14:49:10 +0000 (UTC)
Delivered-To: perforce@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
by hub.freebsd.org (Postfix) with ESMTP id 3258B106566B
for ; Sun, 1 Jun 2008 14:49:10 +0000 (UTC)
(envelope-from snagg@FreeBSD.org)
Received: from repoman.freebsd.org (repoman.freebsd.org
[IPv6:2001:4f8:fff6::29])
by mx1.freebsd.org (Postfix) with ESMTP id 0113C8FC1F
for ; Sun, 1 Jun 2008 14:49:10 +0000 (UTC)
(envelope-from snagg@FreeBSD.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m51En9mA052595
for ; Sun, 1 Jun 2008 14:49:09 GMT
(envelope-from snagg@FreeBSD.org)
Received: (from perforce@localhost)
by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m51En9ST052591
for perforce@freebsd.org; Sun, 1 Jun 2008 14:49:09 GMT
(envelope-from snagg@FreeBSD.org)
Date: Sun, 1 Jun 2008 14:49:09 GMT
Message-Id: <200806011449.m51En9ST052591@repoman.freebsd.org>
X-Authentication-Warning: repoman.freebsd.org: perforce set sender to
snagg@FreeBSD.org using -f
From: Vincenzo Iozzo
To: Perforce Change Reviews
Cc:
Subject: PERFORCE change 142703 for review
X-BeenThere: p4-projects@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: p4 projects tree changes
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 01 Jun 2008 14:49:10 -0000
http://perforce.freebsd.org/chv.cgi?CH=142703
Change 142703 by snagg@snagg_macosx on 2008/06/01 14:48:35
Added the "launcher" for testing programs. it generates xml from
bsm records
Affected files ...
.. //depot/projects/soc2008/snagg-audit/sys/security/audit/audit_pipe.c#23 edit
.. //depot/projects/soc2008/snagg-audit/tools/regression/audit/audit_pipe/audit_pipe_ioctl_events.c#1 add
Differences ...
==== //depot/projects/soc2008/snagg-audit/sys/security/audit/audit_pipe.c#23 (text) ====
From owner-p4-projects@FreeBSD.ORG Sun Jun 1 14:51:13 2008
Return-Path:
Delivered-To: p4-projects@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 32767)
id 0745F1065675; Sun, 1 Jun 2008 14:51:13 +0000 (UTC)
Delivered-To: perforce@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
by hub.freebsd.org (Postfix) with ESMTP id 90C171065674
for ; Sun, 1 Jun 2008 14:51:12 +0000 (UTC)
(envelope-from snagg@FreeBSD.org)
Received: from repoman.freebsd.org (repoman.freebsd.org
[IPv6:2001:4f8:fff6::29])
by mx1.freebsd.org (Postfix) with ESMTP id 771728FC1A
for ; Sun, 1 Jun 2008 14:51:12 +0000 (UTC)
(envelope-from snagg@FreeBSD.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m51EpCxB057335
for ; Sun, 1 Jun 2008 14:51:12 GMT
(envelope-from snagg@FreeBSD.org)
Received: (from perforce@localhost)
by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m51EpCH1057331
for perforce@freebsd.org; Sun, 1 Jun 2008 14:51:12 GMT
(envelope-from snagg@FreeBSD.org)
Date: Sun, 1 Jun 2008 14:51:12 GMT
Message-Id: <200806011451.m51EpCH1057331@repoman.freebsd.org>
X-Authentication-Warning: repoman.freebsd.org: perforce set sender to
snagg@FreeBSD.org using -f
From: Vincenzo Iozzo
To: Perforce Change Reviews
Cc:
Subject: PERFORCE change 142705 for review
X-BeenThere: p4-projects@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: p4 projects tree changes
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 01 Jun 2008 14:51:13 -0000
http://perforce.freebsd.org/chv.cgi?CH=142705
Change 142705 by snagg@snagg_macosx on 2008/06/01 14:50:19
IFC
Affected files ...
.. //depot/projects/soc2008/snagg-audit/sys/amd64/amd64/pmap.c#5 integrate
.. //depot/projects/soc2008/snagg-audit/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c#3 integrate
.. //depot/projects/soc2008/snagg-audit/sys/cddl/contrib/opensolaris/uts/common/sys/dtrace_impl.h#2 integrate
.. //depot/projects/soc2008/snagg-audit/sys/dev/ath/ah_osdep.h#2 integrate
.. //depot/projects/soc2008/snagg-audit/sys/dev/atkbdc/psm.c#2 integrate
.. //depot/projects/soc2008/snagg-audit/sys/dev/nve/if_nve.c#2 integrate
.. //depot/projects/soc2008/snagg-audit/sys/dev/nve/if_nvereg.h#2 integrate
.. //depot/projects/soc2008/snagg-audit/sys/fs/devfs/devfs_vnops.c#4 integrate
.. //depot/projects/soc2008/snagg-audit/sys/netinet/ip_fw_nat.c#2 integrate
.. //depot/projects/soc2008/snagg-audit/sys/netinet/libalias/alias.c#3 integrate
Differences ...
==== //depot/projects/soc2008/snagg-audit/sys/amd64/amd64/pmap.c#5 (text+ko) ====
@@ -77,7 +77,7 @@
*/
#include
-__FBSDID("$FreeBSD: src/sys/amd64/amd64/pmap.c,v 1.618 2008/05/18 04:16:55 alc Exp $");
+__FBSDID("$FreeBSD: src/sys/amd64/amd64/pmap.c,v 1.619 2008/06/01 07:36:59 alc Exp $");
/*
* Manages physical address maps.
@@ -2775,22 +2775,20 @@
PMAP_LOCK_ASSERT(pmap, MA_OWNED);
firstpte = (pt_entry_t *)PHYS_TO_DMAP(*pde & PG_FRAME);
- KASSERT((*firstpte & PG_V) != 0,
- ("pmap_promote_pde: firstpte is missing PG_V"));
- if ((*firstpte & PG_A) == 0) {
+ newpde = *firstpte;
+ if ((newpde & (PG_A | PG_V)) != (PG_A | PG_V)) {
pmap_pde_p_failures++;
CTR2(KTR_PMAP, "pmap_promote_pde: failure for va %#lx"
" in pmap %p", va, pmap);
return;
}
- pa = *firstpte & PG_PS_FRAME;
- newpde = *firstpte;
if ((newpde & (PG_M | PG_RW)) == PG_RW)
newpde &= ~PG_RW;
/*
* Check all the ptes before promotion
*/
+ pa = newpde & PG_PS_FRAME;
for (pte = firstpte; pte < firstpte + NPTEPG; pte++) {
retry:
oldpte = *pte;
==== //depot/projects/soc2008/snagg-audit/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c#3 (text+ko) ====
@@ -17,6 +17,8 @@
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
+ *
+ * $FreeBSD: src/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c,v 1.4 2008/06/01 01:46:37 jb Exp $
*/
/*
@@ -111,6 +113,7 @@
/* FreeBSD includes: */
#if !defined(sun)
+#include
#include
#include
#include
@@ -11400,13 +11403,23 @@
mutex_enter(&dtrace_lock);
/*
- * Because we can be called after dtrace_detach() has been called, we
- * cannot assert that there are retained enablings. We can safely
- * load from dtrace_retained, however: the taskq_destroy() at the
- * end of dtrace_detach() will block pending our completion.
+ * Iterate over all retained enablings to see if any probes match
+ * against them. We only perform this operation on enablings for which
+ * we have sufficient permissions by virtue of being in the global zone
+ * or in the same zone as the DTrace client. Because we can be called
+ * after dtrace_detach() has been called, we cannot assert that there
+ * are retained enablings. We can safely load from dtrace_retained,
+ * however: the taskq_destroy() at the end of dtrace_detach() will
+ * block pending our completion.
*/
- for (enab = dtrace_retained; enab != NULL; enab = enab->dten_next)
- (void) dtrace_enabling_match(enab, NULL);
+ for (enab = dtrace_retained; enab != NULL; enab = enab->dten_next) {
+#if defined(sun)
+ cred_t *cr = enab->dten_vstate->dtvs_state->dts_cred.dcr_cred;
+
+ if (INGLOBALZONE(curproc) || getzoneid() == crgetzoneid(cr))
+#endif
+ (void) dtrace_enabling_match(enab, NULL);
+ }
mutex_exit(&dtrace_lock);
mutex_exit(&cpu_lock);
@@ -12680,6 +12693,7 @@
}
}
+#if defined(sun)
static void
dtrace_state_clean(dtrace_state_t *state)
{
@@ -12697,9 +12711,51 @@
dtrace_sync();
-#if !defined(sun)
+ now = dtrace_gethrtime();
+
+ if (state != dtrace_anon.dta_state &&
+ now - state->dts_laststatus >= dtrace_deadman_user)
+ return;
+
+ /*
+ * We must be sure that dts_alive never appears to be less than the
+ * value upon entry to dtrace_state_deadman(), and because we lack a
+ * dtrace_cas64(), we cannot store to it atomically. We thus instead
+ * store INT64_MAX to it, followed by a memory barrier, followed by
+ * the new value. This assures that dts_alive never appears to be
+ * less than its true value, regardless of the order in which the
+ * stores to the underlying storage are issued.
+ */
+ state->dts_alive = INT64_MAX;
+ dtrace_membar_producer();
+ state->dts_alive = now;
+}
+#else
+static void
+dtrace_state_clean(void *arg)
+{
+ dtrace_state_t *state = arg;
+ dtrace_optval_t *opt = state->dts_options;
+
+ if (state->dts_activity == DTRACE_ACTIVITY_INACTIVE)
+ return;
+
+ dtrace_dynvar_clean(&state->dts_vstate.dtvs_dynvars);
+ dtrace_speculation_clean(state);
+
+ callout_reset(&state->dts_cleaner, hz * opt[DTRACEOPT_CLEANRATE] / NANOSEC,
+ dtrace_state_clean, state);
+}
+
+static void
+dtrace_state_deadman(void *arg)
+{
+ dtrace_state_t *state = arg;
+ hrtime_t now;
+
+ dtrace_sync();
+
dtrace_debug_output();
-#endif
now = dtrace_gethrtime();
@@ -12719,7 +12775,11 @@
state->dts_alive = INT64_MAX;
dtrace_membar_producer();
state->dts_alive = now;
+
+ callout_reset(&state->dts_deadman, hz * dtrace_deadman_interval / NANOSEC,
+ dtrace_state_deadman, state);
}
+#endif
static dtrace_state_t *
#if defined(sun)
@@ -12793,8 +12853,14 @@
*/
state->dts_buffer = kmem_zalloc(bufsize, KM_SLEEP);
state->dts_aggbuffer = kmem_zalloc(bufsize, KM_SLEEP);
+
+#if defined(sun)
state->dts_cleaner = CYCLIC_NONE;
state->dts_deadman = CYCLIC_NONE;
+#else
+ callout_init(&state->dts_cleaner, CALLOUT_MPSAFE);
+ callout_init(&state->dts_deadman, CALLOUT_MPSAFE);
+#endif
state->dts_vstate.dtvs_state = state;
for (i = 0; i < DTRACEOPT_MAX; i++)
@@ -13076,8 +13142,10 @@
dtrace_optval_t *opt = state->dts_options, sz, nspec;
dtrace_speculation_t *spec;
dtrace_buffer_t *buf;
+#if defined(sun)
cyc_handler_t hdlr;
cyc_time_t when;
+#endif
int rval = 0, i, bufsize = NCPU * sizeof (dtrace_buffer_t);
dtrace_icookie_t cookie;
@@ -13255,11 +13323,11 @@
if (opt[DTRACEOPT_CLEANRATE] > dtrace_cleanrate_max)
opt[DTRACEOPT_CLEANRATE] = dtrace_cleanrate_max;
+ state->dts_alive = state->dts_laststatus = dtrace_gethrtime();
+#if defined(sun)
hdlr.cyh_func = (cyc_func_t)dtrace_state_clean;
hdlr.cyh_arg = state;
-#if defined(sun)
hdlr.cyh_level = CY_LOW_LEVEL;
-#endif
when.cyt_when = 0;
when.cyt_interval = opt[DTRACEOPT_CLEANRATE];
@@ -13268,15 +13336,18 @@
hdlr.cyh_func = (cyc_func_t)dtrace_state_deadman;
hdlr.cyh_arg = state;
-#if defined(sun)
hdlr.cyh_level = CY_LOW_LEVEL;
-#endif
when.cyt_when = 0;
when.cyt_interval = dtrace_deadman_interval;
- state->dts_alive = state->dts_laststatus = dtrace_gethrtime();
state->dts_deadman = cyclic_add(&hdlr, &when);
+#else
+ callout_reset(&state->dts_cleaner, hz * opt[DTRACEOPT_CLEANRATE] / NANOSEC,
+ dtrace_state_clean, state);
+ callout_reset(&state->dts_deadman, hz * dtrace_deadman_interval / NANOSEC,
+ dtrace_state_deadman, state);
+#endif
state->dts_activity = DTRACE_ACTIVITY_WARMUP;
@@ -13537,11 +13608,16 @@
for (i = 0; i < nspec; i++)
dtrace_buffer_free(spec[i].dtsp_buffer);
+#if defined(sun)
if (state->dts_cleaner != CYCLIC_NONE)
cyclic_remove(state->dts_cleaner);
if (state->dts_deadman != CYCLIC_NONE)
cyclic_remove(state->dts_deadman);
+#else
+ callout_stop(&state->dts_cleaner);
+ callout_stop(&state->dts_deadman);
+#endif
dtrace_dstate_fini(&vstate->dtvs_dynvars);
dtrace_vstate_fini(vstate);
==== //depot/projects/soc2008/snagg-audit/sys/cddl/contrib/opensolaris/uts/common/sys/dtrace_impl.h#2 (text+ko) ====
@@ -17,6 +17,8 @@
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
+ *
+ * $FreeBSD: src/sys/cddl/contrib/opensolaris/uts/common/sys/dtrace_impl.h,v 1.3 2008/06/01 01:46:37 jb Exp $
*/
/*
@@ -1137,8 +1139,13 @@
uint32_t dts_dblerrors; /* errors in ERROR probes */
uint32_t dts_reserve; /* space reserved for END */
hrtime_t dts_laststatus; /* time of last status */
+#if defined(sun)
cyclic_id_t dts_cleaner; /* cleaning cyclic */
cyclic_id_t dts_deadman; /* deadman cyclic */
+#else
+ struct callout dts_cleaner; /* Cleaning callout. */
+ struct callout dts_deadman; /* Deadman callout. */
+#endif
hrtime_t dts_alive; /* time last alive */
char dts_speculates; /* boolean: has speculations */
char dts_destructive; /* boolean: has dest. actions */
==== //depot/projects/soc2008/snagg-audit/sys/dev/ath/ah_osdep.h#2 (text+ko) ====
@@ -26,7 +26,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGES.
*
- * $FreeBSD: src/sys/dev/ath/ah_osdep.h,v 1.3 2008/04/20 20:35:35 sam Exp $
+ * $FreeBSD: src/sys/dev/ath/ah_osdep.h,v 1.4 2008/05/31 22:44:06 sam Exp $
*/
#ifndef _ATH_AH_OSDEP_H_
#define _ATH_AH_OSDEP_H_
@@ -87,8 +87,11 @@
#define AH_BIG_ENDIAN 4321
#if _BYTE_ORDER == _BIG_ENDIAN
+#define OS_REG_UNSWAPPED(_reg) \
+ (((_reg) >= 0x4000 && (_reg) < 0x5000) || \
+ ((_reg) >= 0x7000 && (_reg) < 0x8000))
#define OS_REG_WRITE(_ah, _reg, _val) do { \
- if ( (_reg) >= 0x4000 && (_reg) < 0x5000) \
+ if (OS_REG_UNSWAPPED(_reg)) \
bus_space_write_4((bus_space_tag_t)(_ah)->ah_st, \
(bus_space_handle_t)(_ah)->ah_sh, (_reg), (_val)); \
else \
@@ -96,12 +99,13 @@
(bus_space_handle_t)(_ah)->ah_sh, (_reg), (_val)); \
} while (0)
#define OS_REG_READ(_ah, _reg) \
- (((_reg) >= 0x4000 && (_reg) < 0x5000) ? \
+ (OS_REG_UNSWAPPED(_reg) ? \
bus_space_read_4((bus_space_tag_t)(_ah)->ah_st, \
(bus_space_handle_t)(_ah)->ah_sh, (_reg)) : \
bus_space_read_stream_4((bus_space_tag_t)(_ah)->ah_st, \
(bus_space_handle_t)(_ah)->ah_sh, (_reg)))
#else /* _BYTE_ORDER == _LITTLE_ENDIAN */
+#define OS_REG_UNSWAPPED(_reg) (0)
#define OS_REG_WRITE(_ah, _reg, _val) \
bus_space_write_4((bus_space_tag_t)(_ah)->ah_st, \
(bus_space_handle_t)(_ah)->ah_sh, (_reg), (_val))
==== //depot/projects/soc2008/snagg-audit/sys/dev/atkbdc/psm.c#2 (text+ko) ====
@@ -59,7 +59,7 @@
*/
#include
-__FBSDID("$FreeBSD: src/sys/dev/atkbdc/psm.c,v 1.96 2008/04/08 19:09:45 jkim Exp $");
+__FBSDID("$FreeBSD: src/sys/dev/atkbdc/psm.c,v 1.97 2008/06/01 13:44:51 philip Exp $");
#include "opt_isa.h"
#include "opt_psm.h"
@@ -367,6 +367,8 @@
0x08, MOUSE_4D_PACKETSIZE, enable_4dmouse },
{ MOUSE_MODEL_4DPLUS, /* A4 Tech 4D+ Mouse */
0xc8, MOUSE_4DPLUS_PACKETSIZE, enable_4dplus },
+ { MOUSE_MODEL_SYNAPTICS, /* Synaptics Touchpad */
+ 0xc0, MOUSE_SYNAPTICS_PACKETSIZE, enable_synaptics },
{ MOUSE_MODEL_INTELLI, /* Microsoft IntelliMouse */
0x08, MOUSE_PS2INTELLI_PACKETSIZE, enable_msintelli },
{ MOUSE_MODEL_GLIDEPOINT, /* ALPS GlidePoint */
@@ -375,8 +377,6 @@
0x80, MOUSE_PS2_PACKETSIZE, enable_kmouse },
{ MOUSE_MODEL_VERSAPAD, /* Interlink electronics VersaPad */
0xe8, MOUSE_PS2VERSA_PACKETSIZE, enable_versapad },
- { MOUSE_MODEL_SYNAPTICS, /* Synaptics Touchpad */
- 0xc0, MOUSE_SYNAPTICS_PACKETSIZE, enable_synaptics },
{ MOUSE_MODEL_GENERIC,
0xc0, MOUSE_PS2_PACKETSIZE, NULL },
};
==== //depot/projects/soc2008/snagg-audit/sys/dev/nve/if_nve.c#2 (text+ko) ====
@@ -72,7 +72,7 @@
*/
#include
-__FBSDID("$FreeBSD: src/sys/dev/nve/if_nve.c,v 1.29 2007/11/22 02:44:59 yongari Exp $");
+__FBSDID("$FreeBSD: src/sys/dev/nve/if_nve.c,v 1.30 2008/05/31 14:17:36 remko Exp $");
#include
#include
@@ -211,32 +211,52 @@
DRIVER_MODULE(miibus, nve, miibus_driver, miibus_devclass, 0, 0);
static struct nve_type nve_devs[] = {
- {NVIDIA_VENDORID, NFORCE_MCPNET1_DEVICEID,
- "NVIDIA nForce MCP Networking Adapter"},
- {NVIDIA_VENDORID, NFORCE_MCPNET2_DEVICEID,
- "NVIDIA nForce MCP2 Networking Adapter"},
- {NVIDIA_VENDORID, NFORCE_MCPNET3_DEVICEID,
- "NVIDIA nForce MCP3 Networking Adapter"},
- {NVIDIA_VENDORID, NFORCE_MCPNET4_DEVICEID,
- "NVIDIA nForce MCP4 Networking Adapter"},
- {NVIDIA_VENDORID, NFORCE_MCPNET5_DEVICEID,
- "NVIDIA nForce MCP5 Networking Adapter"},
- {NVIDIA_VENDORID, NFORCE_MCPNET6_DEVICEID,
- "NVIDIA nForce MCP6 Networking Adapter"},
- {NVIDIA_VENDORID, NFORCE_MCPNET7_DEVICEID,
- "NVIDIA nForce MCP7 Networking Adapter"},
- {NVIDIA_VENDORID, NFORCE_MCPNET8_DEVICEID,
- "NVIDIA nForce MCP8 Networking Adapter"},
- {NVIDIA_VENDORID, NFORCE_MCPNET9_DEVICEID,
- "NVIDIA nForce MCP9 Networking Adapter"},
- {NVIDIA_VENDORID, NFORCE_MCPNET10_DEVICEID,
- "NVIDIA nForce MCP10 Networking Adapter"},
- {NVIDIA_VENDORID, NFORCE_MCPNET11_DEVICEID,
- "NVIDIA nForce MCP11 Networking Adapter"},
- {NVIDIA_VENDORID, NFORCE_MCPNET12_DEVICEID,
- "NVIDIA nForce MCP12 Networking Adapter"},
- {NVIDIA_VENDORID, NFORCE_MCPNET13_DEVICEID,
- "NVIDIA nForce MCP13 Networking Adapter"},
+ {PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_NFORCE_LAN,
+ "NVIDIA nForce MCP Networking Adapter"},
+ {PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_NFORCE2_LAN,
+ "NVIDIA nForce2 MCP2 Networking Adapter"},
+ {PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_NFORCE2_400_LAN1,
+ "NVIDIA nForce2 400 MCP4 Networking Adapter"},
+ {PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_NFORCE2_400_LAN2,
+ "NVIDIA nForce2 400 MCP5 Networking Adapter"},
+ {PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_NFORCE3_LAN1,
+ "NVIDIA nForce3 MCP3 Networking Adapter"},
+ {PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_NFORCE3_250_LAN,
+ "NVIDIA nForce3 250 MCP6 Networking Adapter"},
+ {PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_NFORCE3_LAN4,
+ "NVIDIA nForce3 MCP7 Networking Adapter"},
+ {PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_NFORCE4_LAN1,
+ "NVIDIA nForce4 CK804 MCP8 Networking Adapter"},
+ {PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_NFORCE4_LAN2,
+ "NVIDIA nForce4 CK804 MCP9 Networking Adapter"},
+ {PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP04_LAN1,
+ "NVIDIA nForce MCP04 Networking Adapter"}, // MCP10
+ {PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP04_LAN2,
+ "NVIDIA nForce MCP04 Networking Adapter"}, // MCP11
+ {PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_NFORCE430_LAN1,
+ "NVIDIA nForce 430 MCP12 Networking Adapter"},
+ {PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_NFORCE430_LAN2,
+ "NVIDIA nForce 430 MCP13 Networking Adapter"},
+ {PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP55_LAN1,
+ "NVIDIA nForce MCP55 Networking Adapter"},
+ {PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP55_LAN2,
+ "NVIDIA nForce MCP55 Networking Adapter"},
+ {PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP61_LAN1,
+ "NVIDIA nForce MCP61 Networking Adapter"},
+ {PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP61_LAN2,
+ "NVIDIA nForce MCP61 Networking Adapter"},
+ {PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP61_LAN3,
+ "NVIDIA nForce MCP61 Networking Adapter"},
+ {PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP61_LAN4,
+ "NVIDIA nForce MCP61 Networking Adapter"},
+ {PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP65_LAN1,
+ "NVIDIA nForce MCP65 Networking Adapter"},
+ {PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP65_LAN2,
+ "NVIDIA nForce MCP65 Networking Adapter"},
+ {PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP65_LAN3,
+ "NVIDIA nForce MCP65 Networking Adapter"},
+ {PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP65_LAN4,
+ "NVIDIA nForce MCP65 Networking Adapter"},
{0, 0, NULL}
};
==== //depot/projects/soc2008/snagg-audit/sys/dev/nve/if_nvereg.h#2 (text+ko) ====
@@ -25,29 +25,47 @@
* SUCH DAMAGE.
*
* $Id: if_nvreg.h,v 1.6 2004/08/12 14:00:05 q Exp $
- * $FreeBSD: src/sys/dev/nve/if_nvereg.h,v 1.8 2006/12/05 15:31:05 jhb Exp $
+ * $FreeBSD: src/sys/dev/nve/if_nvereg.h,v 1.9 2008/05/31 14:17:36 remko Exp $
*/
#ifndef _IF_NVEREG_H_
#define _IF_NVEREG_H_
-#ifndef NVIDIA_VENDORID
-#define NVIDIA_VENDORID 0x10DE
+#ifndef PCI_VENDOR_NVIDIA
+#define PCI_VENDOR_NVIDIA 0x10DE
#endif
-#define NFORCE_MCPNET1_DEVICEID 0x01C3
-#define NFORCE_MCPNET2_DEVICEID 0x0066
-#define NFORCE_MCPNET3_DEVICEID 0x00D6
-#define NFORCE_MCPNET4_DEVICEID 0x0086
-#define NFORCE_MCPNET5_DEVICEID 0x008C
-#define NFORCE_MCPNET6_DEVICEID 0x00E6
-#define NFORCE_MCPNET7_DEVICEID 0x00DF
-#define NFORCE_MCPNET8_DEVICEID 0x0056
-#define NFORCE_MCPNET9_DEVICEID 0x0057
-#define NFORCE_MCPNET10_DEVICEID 0x0037
-#define NFORCE_MCPNET11_DEVICEID 0x0038
-#define NFORCE_MCPNET12_DEVICEID 0x0268
-#define NFORCE_MCPNET13_DEVICEID 0x0269
+#define PCI_PRODUCT_NVIDIA_NFORCE_LAN 0x01C3
+#define PCI_PRODUCT_NVIDIA_NFORCE2_LAN 0x0066
+#define PCI_PRODUCT_NVIDIA_NFORCE3_LAN1 0x00D6
+#define PCI_PRODUCT_NVIDIA_NFORCE2_400_LAN1 0x0086
+#define PCI_PRODUCT_NVIDIA_NFORCE2_400_LAN2 0x008C
+#define PCI_PRODUCT_NVIDIA_NFORCE3_250_LAN 0x00E6
+#define PCI_PRODUCT_NVIDIA_NFORCE3_LAN4 0x00DF
+#define PCI_PRODUCT_NVIDIA_NFORCE4_LAN1 0x0056
+#define PCI_PRODUCT_NVIDIA_NFORCE4_LAN2 0x0057
+#define PCI_PRODUCT_NVIDIA_MCP04_LAN1 0x0037
+#define PCI_PRODUCT_NVIDIA_MCP04_LAN2 0x0038
+#define PCI_PRODUCT_NVIDIA_NFORCE430_LAN1 0x0268
+#define PCI_PRODUCT_NVIDIA_NFORCE430_LAN2 0x0269
+#define PCI_PRODUCT_NVIDIA_MCP55_LAN1 0x0372
+#define PCI_PRODUCT_NVIDIA_MCP55_LAN2 0x0373
+#define PCI_PRODUCT_NVIDIA_MCP61_LAN1 0x03e5
+#define PCI_PRODUCT_NVIDIA_MCP61_LAN2 0x03e6
+#define PCI_PRODUCT_NVIDIA_MCP61_LAN3 0x03ee
+#define PCI_PRODUCT_NVIDIA_MCP61_LAN4 0x03ef
+#define PCI_PRODUCT_NVIDIA_MCP65_LAN1 0x0450
+#define PCI_PRODUCT_NVIDIA_MCP65_LAN2 0x0451
+#define PCI_PRODUCT_NVIDIA_MCP65_LAN3 0x0452
+#define PCI_PRODUCT_NVIDIA_MCP65_LAN4 0x0453
+
+#define PCI_PRODUCT_NVIDIA_NFORCE3_LAN2 PCI_PRODUCT_NVIDIA_NFORCE2_400_LAN1
+#define PCI_PRODUCT_NVIDIA_NFORCE3_LAN3 PCI_PRODUCT_NVIDIA_NFORCE2_400_LAN2
+#define PCI_PRODUCT_NVIDIA_NFORCE3_LAN5 PCI_PRODUCT_NVIDIA_NFORCE3_250_LAN
+#define PCI_PRODUCT_NVIDIA_CK804_LAN1 PCI_PRODUCT_NVIDIA_NFORCE4_LAN1
+#define PCI_PRODUCT_NVIDIA_CK804_LAN2 PCI_PRODUCT_NVIDIA_NFORCE4_LAN2
+#define PCI_PRODUCT_NVIDIA_MCP51_LAN1 PCI_PRODUCT_NVIDIA_NFORCE430_LAN1
+#define PCI_PRODUCT_NVIDIA_MCP51_LAN2 PCI_PRODUCT_NVIDIA_NFORCE430_LAN2
#define NV_RID 0x10
==== //depot/projects/soc2008/snagg-audit/sys/fs/devfs/devfs_vnops.c#4 (text+ko) ====
@@ -31,7 +31,7 @@
* @(#)kernfs_vnops.c 8.15 (Berkeley) 5/21/95
* From: FreeBSD: src/sys/miscfs/kernfs/kernfs_vnops.c 1.43
*
- * $FreeBSD: src/sys/fs/devfs/devfs_vnops.c,v 1.159 2008/05/23 16:36:39 kib Exp $
+ * $FreeBSD: src/sys/fs/devfs/devfs_vnops.c,v 1.161 2008/06/01 14:02:46 ed Exp $
*/
/*
@@ -891,9 +891,8 @@
if(fp == NULL)
return (error);
#endif
- KASSERT(fp->f_ops == &badfileops,
- ("Could not vnode bypass device on fdops %p", fp->f_ops));
- finit(fp, fp->f_flag, DTYPE_VNODE, dev, &devfs_ops_f);
+ if (fp->f_ops == &badfileops)
+ finit(fp, fp->f_flag, DTYPE_VNODE, dev, &devfs_ops_f);
return (error);
}
==== //depot/projects/soc2008/snagg-audit/sys/netinet/ip_fw_nat.c#2 (text+ko) ====
@@ -25,7 +25,7 @@
*/
#include
-__FBSDID("$FreeBSD: src/sys/netinet/ip_fw_nat.c,v 1.2 2008/03/03 22:32:01 piso Exp $");
+__FBSDID("$FreeBSD: src/sys/netinet/ip_fw_nat.c,v 1.3 2008/06/01 12:29:23 mav Exp $");
#include
#include
@@ -318,11 +318,12 @@
c = mtod(mcl, char *);
if (args->oif == NULL)
retval = LibAliasIn(t->lib, c,
- MCLBYTES);
+ mcl->m_len + M_TRAILINGSPACE(mcl));
else
retval = LibAliasOut(t->lib, c,
- MCLBYTES);
- if (retval != PKT_ALIAS_OK) {
+ mcl->m_len + M_TRAILINGSPACE(mcl));
+ if (retval != PKT_ALIAS_OK &&
+ retval != PKT_ALIAS_FOUND_HEADER_FRAGMENT) {
/* XXX - should i add some logging? */
m_free(mcl);
badnat:
==== //depot/projects/soc2008/snagg-audit/sys/netinet/libalias/alias.c#3 (text+ko) ====
@@ -25,7 +25,7 @@
*/
#include
-__FBSDID("$FreeBSD: src/sys/netinet/libalias/alias.c,v 1.61 2008/05/02 18:54:36 marck Exp $");
+__FBSDID("$FreeBSD: src/sys/netinet/libalias/alias.c,v 1.62 2008/06/01 11:47:04 mav Exp $");
/*
Alias.c provides supervisory control for the functions of the
@@ -1092,13 +1092,13 @@
/* Local prototypes */
static int FragmentIn(struct libalias *la, struct in_addr ip_src,
- struct in_addr *ip_dst, u_char ip_p, u_short *ip_sum);
+ struct in_addr *ip_dst, u_short ip_id, u_short *ip_sum);
static int FragmentOut(struct libalias *, struct in_addr *ip_src,
u_short *ip_sum);
static int
FragmentIn(struct libalias *la, struct in_addr ip_src, struct in_addr *ip_dst,
- u_char ip_id, u_short *ip_sum)
+ u_short ip_id, u_short *ip_sum)
{
struct alias_link *lnk;
From owner-p4-projects@FreeBSD.ORG Sun Jun 1 15:41:04 2008
Return-Path:
Delivered-To: p4-projects@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 32767)
id 63A081065670; Sun, 1 Jun 2008 15:41:04 +0000 (UTC)
Delivered-To: perforce@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
by hub.freebsd.org (Postfix) with ESMTP id 2496B106564A
for ; Sun, 1 Jun 2008 15:41:04 +0000 (UTC)
(envelope-from strauss@FreeBSD.org)
Received: from repoman.freebsd.org (repoman.freebsd.org
[IPv6:2001:4f8:fff6::29])
by mx1.freebsd.org (Postfix) with ESMTP id 0907D8FC1A
for ; Sun, 1 Jun 2008 15:41:04 +0000 (UTC)
(envelope-from strauss@FreeBSD.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m51Ff4u2026650
for ; Sun, 1 Jun 2008 15:41:04 GMT
(envelope-from strauss@FreeBSD.org)
Received: (from perforce@localhost)
by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m51Ff4Kj026646
for perforce@freebsd.org; Sun, 1 Jun 2008 15:41:04 GMT
(envelope-from strauss@FreeBSD.org)
Date: Sun, 1 Jun 2008 15:41:04 GMT
Message-Id: <200806011541.m51Ff4Kj026646@repoman.freebsd.org>
X-Authentication-Warning: repoman.freebsd.org: perforce set sender to
strauss@FreeBSD.org using -f
From: Anselm Strauss
To: Perforce Change Reviews
Cc:
Subject: PERFORCE change 142709 for review
X-BeenThere: p4-projects@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: p4 projects tree changes
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 01 Jun 2008 15:41:04 -0000
http://perforce.freebsd.org/chv.cgi?CH=142709
Change 142709 by strauss@strauss_daredevil on 2008/06/01 15:40:31
parent integration
Affected files ...
.. //depot/projects/soc2008/strauss_libarchive/COPYING#4 integrate
.. //depot/projects/soc2008/strauss_libarchive/Makefile#4 delete
.. //depot/projects/soc2008/strauss_libarchive/Makefile.am#3 integrate
.. //depot/projects/soc2008/strauss_libarchive/Makefile.in#2 delete
.. //depot/projects/soc2008/strauss_libarchive/NEWS#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/README#4 integrate
.. //depot/projects/soc2008/strauss_libarchive/aclocal.m4#2 delete
.. //depot/projects/soc2008/strauss_libarchive/autogen.sh#1 branch
.. //depot/projects/soc2008/strauss_libarchive/config.h.in#2 delete
.. //depot/projects/soc2008/strauss_libarchive/configure.ac#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/Makefile#3 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/bsdcpio.1#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/cmdline.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/config_freebsd.h#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/cpio.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/cpio.h#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/cpio_platform.h#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/err.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/matching.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/matching.h#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/pathmatch.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/pathmatch.h#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/test/Makefile#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/test/main.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/test/test.h#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/test/test_0.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/test/test_basic.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/test/test_format_newc.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/test/test_gcpio_compat.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/test/test_gcpio_compat_ref.bin.uu#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/test/test_gcpio_compat_ref.crc.uu#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/test/test_gcpio_compat_ref.newc.uu#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/test/test_gcpio_compat_ref.ustar.uu#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_B.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_L.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_a.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_c.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_d.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_ell.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_f.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_f.cpio.uu#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_help.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_m.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_m.cpio.uu#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_t.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_t.cpio.uu#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_t.stdout.uu#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_tv.stdout.uu#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_u.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_version.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_y.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_z.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/test/test_owner_parse.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/cpio/test/test_pathmatch.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/Makefile#3 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/archive.h#1 branch
.. //depot/projects/soc2008/strauss_libarchive/libarchive/archive.h.in#3 delete
.. //depot/projects/soc2008/strauss_libarchive/libarchive/archive_endian.h#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/archive_entry.3#3 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/archive_entry.c#3 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/archive_entry.h#3 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/archive_entry_link_resolver.c#3 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/archive_entry_private.h#3 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/archive_entry_strmode.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/archive_platform.h#3 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/archive_read.3#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/archive_read_data_into_fd.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/archive_read_extract.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/archive_read_support_compression_bzip2.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/archive_read_support_compression_program.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/archive_read_support_format_ar.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/archive_read_support_format_iso9660.c#3 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/archive_read_support_format_mtree.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/archive_read_support_format_tar.c#3 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/archive_read_support_format_zip.c#3 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/archive_string.c#3 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/archive_string.h#3 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/archive_util.c#3 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/archive_windows.c#1 branch
.. //depot/projects/soc2008/strauss_libarchive/libarchive/archive_windows.h#1 branch
.. //depot/projects/soc2008/strauss_libarchive/libarchive/archive_write.3#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/archive_write_disk.3#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/archive_write_disk.c#3 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/archive_write_set_compression_program.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/archive_write_set_format_ar.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/archive_write_set_format_pax.c#3 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/archive_write_set_format_ustar.c#3 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/config_freebsd.h#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/config_windows.h#1 branch
.. //depot/projects/soc2008/strauss_libarchive/libarchive/cpio.5#3 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/filter_fork.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/libarchive-formats.5#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/mtree.5#3 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/tar.5#3 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/test/Makefile#3 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/test/main.c#3 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/test/test_acl_pax.c#3 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/test/test_archive_api_feature.c#3 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/test/test_entry.c#3 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/test/test_link_resolver.c#1 branch
.. //depot/projects/soc2008/strauss_libarchive/libarchive/test/test_pax_filename_encoding.c#3 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/test/test_read_format_mtree.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/test/test_read_format_tar_empty_filename.c#1 branch
.. //depot/projects/soc2008/strauss_libarchive/libarchive/test/test_read_format_tar_empty_filename.tar.uu#1 branch
.. //depot/projects/soc2008/strauss_libarchive/libarchive/test/test_tar_filenames.c#3 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/test/test_tar_large.c#3 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/test/test_ustar_filenames.c#1 branch
.. //depot/projects/soc2008/strauss_libarchive/libarchive/test/test_write_disk_hardlink.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/test/test_write_format_ar.c#3 integrate
.. //depot/projects/soc2008/strauss_libarchive/libarchive/test/test_write_format_tar_ustar.c#1 branch
.. //depot/projects/soc2008/strauss_libarchive/release.sh#1 branch
.. //depot/projects/soc2008/strauss_libarchive/tar/Makefile#3 integrate
.. //depot/projects/soc2008/strauss_libarchive/tar/bsdtar.1#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/tar/bsdtar.c#3 integrate
.. //depot/projects/soc2008/strauss_libarchive/tar/bsdtar.h#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/tar/config_freebsd.h#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/tar/matching.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/tar/read.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/tar/siginfo.c#1 branch
.. //depot/projects/soc2008/strauss_libarchive/tar/subst.c#1 branch
.. //depot/projects/soc2008/strauss_libarchive/tar/test/Makefile#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/tar/test/main.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/tar/test/test.h#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/tar/test/test_0.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/tar/test/test_basic.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/tar/test/test_copy.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/tar/test/test_getdate.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/tar/test/test_help.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/tar/test/test_option_T.c#1 branch
.. //depot/projects/soc2008/strauss_libarchive/tar/test/test_patterns.c#1 branch
.. //depot/projects/soc2008/strauss_libarchive/tar/test/test_stdio.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/tar/test/test_version.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/tar/util.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/tar/write.c#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/upload.sh#2 delete
.. //depot/projects/soc2008/strauss_libarchive/version#2 integrate
.. //depot/projects/soc2008/strauss_libarchive/windows/mvcpp.nt#1 branch
.. //depot/projects/soc2008/strauss_libarchive/windows/wccpp.nt#1 branch
Differences ...
==== //depot/projects/soc2008/strauss_libarchive/COPYING#4 (text+ko) ====
@@ -1,7 +1,41 @@
-All of the C source code and documentation in this package is subject
-to the following:
+The libarchive distribution as a whole is Copyright by Tim Kientzle
+and is subject to the copyright notice reproduced at the bottom of
+this file.
+
+Each individual file in this distribution should have a clear
+copyright/licensing statement at the beginning of the file. If any do
+not, please let me know and I will rectify it. The following is
+intended to summarize the copyright status of the individual files;
+the actual statements in the files are controlling.
+
+* Except as listed below, all C sources (including .c and .h files)
+ and documentation files are subject to the copyright notice reproduced
+ at the bottom of this file.
+
+* The following source files are also subject in whole or in part to
+ a 3-clause UC Regents copyright; please read the individual source
+ files for details:
+ libarchive/archive_entry.c
+ libarchive/archive_read_support_compression_compress.c
+ libarchive/archive_write_set_compression_compress.c
+ libarchive/mtree.5
+ tar/matching.c
+
+* The following source files are in the public domain:
+ tar/getdate.y
+
+* The build files---including Makefiles, configure scripts,
+ and auxiliary scripts used as part of the compile process---have
+ widely varying licensing terms. Please check individual files before
+ distributing them to see if those restrictions apply to you.
+
+I intend for all new source code to use the license below and hope over
+time to replace code with other licenses with new implementations that
+do use the license below. The varying licensing of the build scripts
+seems to be an unavoidable mess.
+
-Copyright (c) 2003-2006 Tim Kientzle
+Copyright (c) 2003-2008
All rights reserved.
Redistribution and use in source and binary forms, with or without
==== //depot/projects/soc2008/strauss_libarchive/Makefile.am#3 (text+ko) ====
@@ -25,8 +25,9 @@
#
EXTRA_DIST= version \
contrib \
+ doc \
examples \
- doc \
+ windows \
$(libarchive_EXTRA_DIST) \
$(libarchive_test_EXTRA_DIST) \
$(bsdtar_EXTRA_DIST) \
@@ -43,7 +44,7 @@
rm -f `find $(distdir) -name '*.out'`
rm -f `find $(distdir) -name '*.core'`
-rm -f $(distdir)/*/Makefile $(distdir)/*/*/Makefile
- cd $(distdir)/doc && ./update.sh
+ cd $(distdir)/doc && /bin/sh update.sh
#
# Extra rules for cleanup
@@ -69,10 +70,7 @@
#
#
-include_HEADERS= libarchive/archive_entry.h
-# Note: archive.h is built from archive.h.in, so don't
-# include archive.h in the distfile, but do install it.
-nodist_include_HEADERS= libarchive/archive.h
+include_HEADERS= libarchive/archive.h libarchive/archive_entry.h
libarchive_la_SOURCES= \
libarchive/archive_check_magic.c \
@@ -140,8 +138,6 @@
libarchive/filter_fork.c \
libarchive/filter_fork.h
-# archive.h ends up in the build directory, so make sure we can find it.
-libarchive_la_CPPFLAGS= -I$(top_builddir)/libarchive
# cygwin barfs without -no-undefined; I don't know what it does or
# whether it helps or hurts other platforms...
libarchive_la_LDFLAGS= -no-undefined -version-info $(ARCHIVE_LIBTOOL_VERSION)
@@ -161,8 +157,10 @@
libarchive/tar.5
# Additional libarchive files to include in the distribution
-libarchive_EXTRA_DIST= \
- libarchive/test/list.h \
+libarchive_EXTRA_DIST= \
+ libarchive/test/list.h \
+ libarchive/archive_windows.c \
+ libarchive/archive_windows.h \
$(libarchive_man_MANS)
#
@@ -272,14 +270,14 @@
tar/getdate.y \
tar/matching.c \
tar/read.c \
+ tar/siginfo.c \
+ tar/subst.c \
tar/tree.c \
tar/tree.h \
tar/util.c \
tar/write.c
-bsdtar_DEPENDENCIES= libarchive.la \
- libarchive/archive_entry.h \
- libarchive/archive.h
+bsdtar_DEPENDENCIES= libarchive.la
if STATIC_BSDTAR
bsdtar_static= -static
@@ -314,6 +312,8 @@
tar/test/test_copy.c \
tar/test/test_getdate.c \
tar/test/test_help.c \
+ tar/test/test_option_T.c \
+ tar/test/test_patterns.c \
tar/test/test_stdio.c \
tar/test/test_version.c
@@ -348,9 +348,7 @@
cpio/pathmatch.c \
cpio/pathmatch.h
-bsdcpio_DEPENDENCIES = libarchive.la \
- libarchive/archive_entry.h \
- libarchive/archive.h
+bsdcpio_DEPENDENCIES = libarchive.la
if STATIC_BSDCPIO
==== //depot/projects/soc2008/strauss_libarchive/NEWS#2 (text+ko) ====
@@ -1,4 +1,54 @@
+May 25, 2008: libarchive 2.5.4b released
+May 21, 2008: Joerg Sonnenberger: fix bsdtar hardlink handling for newc format
+
+May 21, 2008: More progress on Windows building. Thanks to "Scott"
+ for the Windows makefiles, thanks to Kees Zeelenberg for
+ code contributions.
+
+May 21, 2008: Fix a number of non-exploitable integer and buffer overflows,
+ thanks to David Remahl at Apple for pointing these out.
+
+May 21, 2008: Colin Percival: SIGINFO or SIGUSR1 to bsdtar prints progress info
+
+May 16, 2008: bsdtar's test harness no longer depends on file ordering.
+ This was causing spurious test failures on a lot of systems.
+ Thanks to Bernhard R. Link for the diagnosis.
+
+May 14, 2008: Joerg Sonnenberger: -s substitution support for bsdtar
+
+May 13, 2008: Joerg Sonnenberger: Many mtree improvements
+
+May 11, 2008: Joerg Sonnenberger: fix hardlink extraction when
+ hardlinks have different permissions from original file
+
+April 30, 2008: Primary libarchive work has been moved into the FreeBSD
+ project's Perforce repository: http://perforce.freebsd.org/
+ The libarchive project can be browsed at
+ //depot/user/kientzle/libarchive-portable
+ Direct link: http://preview.tinyurl.com/46mdgr
+
+May 04, 2008: libarchive 2.5.3b released
+ * libarchive: Several fixes to link resolver to address bsdcpio crashes
+ * bsdcpio: -p hardlink handling fixes
+ * tar/pax: Ensure ustar dirnames end in '/'; be more careful about
+ measuring filenames when deciding what pathname fields to use
+ * libarchive: Mark which entry strings are set; be accurate about
+ distinguishing empty strings ("") from unset ones (NULL)
+ * tar: Don't crash reading entries with empty filenames
+ * libarchive_test, bsdtar_test, bsdcpio_test: Better detaults:
+ run all tests, delete temp dirs, summarize repeated failures
+ * -no-undefined to libtool for Cygwin
+ * libarchive_test: Skip large file tests on systems with 32-bit off_t
+ * iso9660: Don't bother trying to find the body of an empty file;
+ this works around strange behavior from some ISO9660 writers
+ * tar: allow -r -T to be used together
+ * tar: allow --format with -r or -u
+ * libarchive: Don't build archive.h
+
+May 04, 2008: Simplified building: archive.h is no longer constructed
+ This may require additional #if conditionals on some platforms.
+
Mar 30, 2008: libarchive 2.5.1b released
Mar 15, 2008: libarchive 2.5.0b released
==== //depot/projects/soc2008/strauss_libarchive/README#4 (text+ko) ====
@@ -69,6 +69,7 @@
The library can write:
* gzip compression
* bzip2 compression
+ * compress/LZW compression
* POSIX ustar
* POSIX pax interchange format
* "restricted" pax format, which will create ustar archives except for
==== //depot/projects/soc2008/strauss_libarchive/configure.ac#2 (text+ko) ====
@@ -4,13 +4,13 @@
dnl In particular, this allows the version macro to be used in AC_INIT
dnl These first two version numbers are updated automatically on each release.
-m4_define([LIBARCHIVE_VERSION_S],[2.5.1b])
-m4_define([LIBARCHIVE_VERSION_N],[2005001])
+m4_define([LIBARCHIVE_VERSION_S],[2.5.4b])
+m4_define([LIBARCHIVE_VERSION_N],[2005004])
dnl bsdtar versioning tracks libarchive
m4_define([BSDTAR_VERSION_S],LIBARCHIVE_VERSION_S())
dnl bsdcpio is still versioning separately
-m4_define([BSDCPIO_VERSION_S],[0.9.9a])
+m4_define([BSDCPIO_VERSION_S],[0.9.10a])
#
# Now starts the "real" configure script.
@@ -63,7 +63,6 @@
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([Makefile])
-AC_CONFIG_FILES([libarchive/archive.h])
# Checks for programs.
AC_PROG_CC
@@ -174,7 +173,7 @@
AC_CHECK_HEADER(inttypes.h,
[AC_SUBST(ARCHIVE_H_INCLUDE_INTTYPES_H,['#include /* For int64_t */'])],
[AC_SUBST(ARCHIVE_H_INCLUDE_INTTYPES_H,[''])])
-AC_CHECK_HEADERS([locale.h paths.h poll.h pwd.h stdarg.h])
+AC_CHECK_HEADERS([locale.h paths.h poll.h pwd.h regex.h stdarg.h])
AC_CHECK_HEADERS([stdint.h stdlib.h string.h sys/acl.h sys/ioctl.h])
AC_CHECK_HEADERS([sys/param.h sys/poll.h sys/select.h sys/time.h sys/utime.h])
AC_CHECK_HEADERS([time.h unistd.h utime.h wchar.h zlib.h])
@@ -240,13 +239,13 @@
AC_FUNC_STRERROR_R
AC_FUNC_STRFTIME
AC_FUNC_VPRINTF
-AC_CHECK_FUNCS([chflags chown fchdir fchflags fchmod fchown fstat])
-AC_CHECK_FUNCS([ftruncate futimes geteuid getopt_long getpid])
+AC_CHECK_FUNCS([chflags chown fchdir fchflags fchmod fchown fcntl fork])
+AC_CHECK_FUNCS([fstat ftruncate futimes geteuid getopt_long getpid])
AC_CHECK_FUNCS([lchflags lchmod lchown])
AC_CHECK_FUNCS([lutimes memmove memset mkdir mkfifo mknod])
-AC_CHECK_FUNCS([nl_langinfo poll select setenv setlocale])
+AC_CHECK_FUNCS([nl_langinfo pipe poll select setenv setlocale])
AC_CHECK_FUNCS([strchr strdup strerror strrchr timegm])
-AC_CHECK_FUNCS([tzset unsetenv utime utimes])
+AC_CHECK_FUNCS([tzset unsetenv utime utimes vfork])
AC_CHECK_FUNCS([wcscpy wcslen wmemcmp wmemcpy])
# FreeBSD's nl_langinfo supports an option to specify whether the
==== //depot/projects/soc2008/strauss_libarchive/cpio/Makefile#3 (text+ko) ====
@@ -1,7 +1,7 @@
# $FreeBSD$
PROG= bsdcpio
-BSDCPIO_VERSION_STRING=0.9.9a
+BSDCPIO_VERSION_STRING=0.9.10a
SRCS= cpio.c cmdline.c err.c matching.c pathmatch.c
WARNS?= 6
DPADD= ${LIBARCHIVE} ${LIBZ} ${LIBBZ2}
==== //depot/projects/soc2008/strauss_libarchive/cpio/bsdcpio.1#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/cmdline.c#2 (text+ko) ====
@@ -66,7 +66,7 @@
*/
-static const char *cpio_opts = "AaBC:F:O:cdE:f:H:hijLlmopR:rtuvW:yZz";
+static const char *cpio_opts = "0AaBC:F:O:cdE:f:H:hijLlmopR:rtuvW:yZz";
/*
* On systems that lack getopt_long, long options can be specified
@@ -86,6 +86,7 @@
{ "format", required_argument, NULL, 'H' },
{ "help", no_argument, NULL, 'h' },
{ "insecure", no_argument, NULL, OPTION_INSECURE },
+ { "null", no_argument, NULL, '0' },
{ "owner", required_argument, NULL, 'R' },
{ "quiet", no_argument, NULL, OPTION_QUIET },
{ "verbose", no_argument, NULL, 'v' },
==== //depot/projects/soc2008/strauss_libarchive/cpio/config_freebsd.h#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/cpio.c#2 (text+ko) ====
@@ -101,6 +101,7 @@
cpio->gid_override = -1;
cpio->argv = argv;
cpio->argc = argc;
+ cpio->line_separator = '\n';
cpio->mode = '\0';
cpio->verbose = 0;
cpio->compress = '\0';
@@ -116,6 +117,9 @@
while ((opt = cpio_getopt(cpio)) != -1) {
switch (opt) {
+ case '0': /* GNU convention: --null, -0 */
+ cpio->line_separator = '\0';
+ break;
case 'A': /* NetBSD/OpenBSD */
cpio->option_append = 1;
break;
@@ -341,8 +345,10 @@
static void
mode_out(struct cpio *cpio)
{
+ unsigned long blocks;
struct archive_entry *entry, *spare;
- unsigned long blocks;
+ struct line_reader *lr;
+ const char *p;
int r;
if (cpio->option_append)
@@ -375,7 +381,10 @@
r = archive_write_open_file(cpio->archive, cpio->filename);
if (r != ARCHIVE_OK)
cpio_errc(1, 0, archive_error_string(cpio->archive));
- process_lines(cpio, "-", file_to_archive);
+ lr = process_lines_init("-", cpio->line_separator);
+ while ((p = process_lines_next(lr)) != NULL)
+ file_to_archive(cpio, p);
+ process_lines_free(lr);
/*
* The hardlink detection may have queued up a couple of entries
@@ -793,6 +802,8 @@
static void
mode_pass(struct cpio *cpio, const char *destdir)
{
+ struct line_reader *lr;
+ const char *p;
int r;
/* Ensure target dir has a trailing '/' to simplify path surgery. */
@@ -809,7 +820,10 @@
cpio_errc(1, 0, archive_error_string(cpio->archive));
cpio->linkresolver = archive_entry_linkresolver_new();
archive_write_disk_set_standard_lookup(cpio->archive);
- process_lines(cpio, "-", file_to_archive);
+ lr = process_lines_init("-", cpio->line_separator);
+ while ((p = process_lines_next(lr)) != NULL)
+ file_to_archive(cpio, p);
+ process_lines_free(lr);
archive_entry_linkresolver_free(cpio->linkresolver);
r = archive_write_close(cpio->archive);
@@ -868,79 +882,119 @@
* terminated with newlines.
*
* This uses a self-sizing buffer to handle arbitrarily-long lines.
- * If the "process" function returns non-zero for any line, this
- * function will return non-zero after attempting to process all
- * remaining lines.
*/
-int
-process_lines(struct cpio *cpio, const char *pathname,
- int (*process)(struct cpio *, const char *))
-{
+struct line_reader {
FILE *f;
char *buff, *buff_end, *line_start, *line_end, *p;
- size_t buff_length, bytes_read, bytes_wanted;
+ char *pathname;
+ size_t buff_length;
int separator;
int ret;
+};
- separator = cpio->option_null ? '\0' : '\n';
- ret = 0;
+struct line_reader *
+process_lines_init(const char *pathname, char separator)
+{
+ struct line_reader *lr;
+
+ lr = calloc(1, sizeof(*lr));
+ if (lr == NULL)
+ cpio_errc(1, ENOMEM, "Can't open %s", pathname);
+
+ lr->separator = separator;
+ lr->pathname = strdup(pathname);
if (strcmp(pathname, "-") == 0)
- f = stdin;
+ lr->f = stdin;
else
- f = fopen(pathname, "r");
- if (f == NULL)
+ lr->f = fopen(pathname, "r");
+ if (lr->f == NULL)
cpio_errc(1, errno, "Couldn't open %s", pathname);
- buff_length = 8192;
- buff = malloc(buff_length);
- if (buff == NULL)
+ lr->buff_length = 8192;
+ lr->buff = malloc(lr->buff_length);
+ if (lr->buff == NULL)
cpio_errc(1, ENOMEM, "Can't read %s", pathname);
- line_start = line_end = buff_end = buff;
+ lr->line_start = lr->line_end = lr->buff_end = lr->buff;
+
+ return (lr);
+}
+
+const char *
+process_lines_next(struct line_reader *lr)
+{
+ size_t bytes_wanted, bytes_read, new_buff_size;
+ char *line_start, *p;
+
for (;;) {
- /* Get some more data into the buffer. */
- bytes_wanted = buff + buff_length - buff_end;
- bytes_read = fread(buff_end, 1, bytes_wanted, f);
- buff_end += bytes_read;
- /* Process all complete lines in the buffer. */
- while (line_end < buff_end) {
- if (*line_end == separator) {
- *line_end = '\0';
- if ((*process)(cpio, line_start) != 0)
- ret = -1;
- line_start = line_end + 1;
- line_end = line_start;
+ /* If there's a line in the buffer, return it immediately. */
+ while (lr->line_end < lr->buff_end) {
+ if (*lr->line_end == lr->separator) {
+ *lr->line_end = '\0';
+ line_start = lr->line_start;
+ lr->line_start = lr->line_end + 1;
+ lr->line_end = lr->line_start;
+ return (line_start);
} else
- line_end++;
+ lr->line_end++;
+ }
+
+ /* If we're at end-of-file, process the final data. */
+ if (lr->f == NULL) {
+ /* If there's more text, return one last line. */
+ if (lr->line_end > lr->line_start) {
+ *lr->line_end = '\0';
+ line_start = lr->line_start;
+ lr->line_start = lr->line_end + 1;
+ lr->line_end = lr->line_start;
+ return (line_start);
+ }
+ /* Otherwise, we're done. */
+ return (NULL);
}
- if (feof(f))
- break;
- if (ferror(f))
- cpio_errc(1, errno, "Can't read %s", pathname);
- if (line_start > buff) {
+
+ /* Buffer only has part of a line. */
+ if (lr->line_start > lr->buff) {
/* Move a leftover fractional line to the beginning. */
- memmove(buff, line_start, buff_end - line_start);
- buff_end -= line_start - buff;
- line_end -= line_start - buff;
- line_start = buff;
+ memmove(lr->buff, lr->line_start,
+ lr->buff_end - lr->line_start);
+ lr->buff_end -= lr->line_start - lr->buff;
+ lr->line_end -= lr->line_start - lr->buff;
+ lr->line_start = lr->buff;
} else {
/* Line is too big; enlarge the buffer. */
- p = realloc(buff, buff_length *= 2);
+ new_buff_size = lr->buff_length * 2;
+ if (new_buff_size <= lr->buff_length)
+ cpio_errc(1, ENOMEM,
+ "Line too long in %s", lr->pathname);
+ lr->buff_length = new_buff_size;
+ p = realloc(lr->buff, new_buff_size);
if (p == NULL)
cpio_errc(1, ENOMEM,
- "Line too long in %s", pathname);
- buff_end = p + (buff_end - buff);
- line_end = p + (line_end - buff);
- line_start = buff = p;
+ "Line too long in %s", lr->pathname);
+ lr->buff_end = p + (lr->buff_end - lr->buff);
+ lr->line_end = p + (lr->line_end - lr->buff);
+ lr->line_start = lr->buff = p;
+ }
+
+ /* Get some more data into the buffer. */
+ bytes_wanted = lr->buff + lr->buff_length - lr->buff_end;
+ bytes_read = fread(lr->buff_end, 1, bytes_wanted, lr->f);
+ lr->buff_end += bytes_read;
+
+ if (ferror(lr->f))
+ cpio_errc(1, errno, "Can't read %s", lr->pathname);
+ if (feof(lr->f)) {
+ if (lr->f != stdin)
+ fclose(lr->f);
+ lr->f = NULL;
}
}
- /* At end-of-file, handle the final line. */
- if (line_end > line_start) {
- *line_end = '\0';
- if ((*process)(cpio, line_start) != 0)
- ret = -1;
- }
- free(buff);
- if (f != stdin)
- fclose(f);
- return (ret);
+}
+
+void
+process_lines_free(struct line_reader *lr)
+{
+ free(lr->buff);
+ free(lr->pathname);
+ free(lr);
}
==== //depot/projects/soc2008/strauss_libarchive/cpio/cpio.h#2 (text+ko) ====
@@ -53,12 +53,12 @@
int extract_flags; /* Flags for extract operation */
char symlink_mode; /* H or L, per BSD conventions */
const char *compress_program;
+ char line_separator; /* --null ? '\0' : '\n' */
int option_append; /* -A, only relevant for -o */
int option_atime_restore; /* -a */
int option_follow_links; /* -L */
int option_link; /* -l */
int option_list; /* -t */
- int option_null; /* -0 --null */
int option_rename; /* -r */
char *destdir;
size_t pass_destpath_alloc;
@@ -98,9 +98,13 @@
OPTION_VERSION
};
+struct line_reader;
+
+struct line_reader *process_lines_init(const char *, char separator);
+const char *process_lines_next(struct line_reader *);
+void process_lines_free(struct line_reader *);
+
int cpio_getopt(struct cpio *cpio);
-int process_lines(struct cpio *cpio, const char *pathname,
- int (*process)(struct cpio *, const char *));
int include_from_file(struct cpio *, const char *);
#endif
==== //depot/projects/soc2008/strauss_libarchive/cpio/cpio_platform.h#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/err.c#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/matching.c#2 (text+ko) ====
@@ -107,7 +107,16 @@
int
include_from_file(struct cpio *cpio, const char *pathname)
{
- return (process_lines(cpio, pathname, &include));
+ struct line_reader *lr;
+ const char *p;
+ int ret = 0;
+
+ lr = process_lines_init(pathname, '\n');
+ while ((p = process_lines_next(lr)) != NULL)
+ if (include(cpio, p) != 0)
+ ret = -1;
+ process_lines_free(lr);
+ return (ret);
}
static void
==== //depot/projects/soc2008/strauss_libarchive/cpio/matching.h#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/pathmatch.c#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/pathmatch.h#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/test/Makefile#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/test/main.c#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/test/test.h#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/test/test_0.c#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/test/test_basic.c#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/test/test_format_newc.c#2 (text+ko) ====
@@ -66,7 +66,7 @@
int fd, list;
int r;
int devmajor, devminor, ino, gid;
- time_t t, now;
+ time_t t, t2, now;
char *p, *e;
size_t s;
mode_t oldmask;
@@ -159,7 +159,9 @@
assertEqualInt(from_hex(e + 22, 8), getuid()); /* uid */
assertEqualInt(gid, from_hex(e + 30, 8)); /* gid */
assertEqualMem(e + 38, "00000001", 8); /* nlink */
- assertEqualInt(t, from_hex(e + 46, 8)); /* mtime */
+ t2 = from_hex(e + 46, 8); /* mtime */
+ failure("First entry created at t=0x%08x this entry created at t2=0x%08x", t, t2);
+ assert(t2 == t || t2 == t + 1); /* Almost same as first entry. */
assertEqualMem(e + 54, "00000005", 8); /* File size */
assertEqualInt(devmajor, from_hex(e + 62, 8)); /* devmajor */
assertEqualInt(devminor, from_hex(e + 70, 8)); /* devminor */
@@ -179,7 +181,9 @@
assertEqualInt(from_hex(e + 22, 8), getuid()); /* uid */
assertEqualInt(gid, from_hex(e + 30, 8)); /* gid */
assertEqualMem(e + 38, "00000002", 8); /* nlink */
- assertEqualInt(t, from_hex(e + 46, 8)); /* mtime */
+ t2 = from_hex(e + 46, 8); /* mtime */
+ failure("First entry created at t=0x%08x this entry created at t2=0x%08x", t, t2);
+ assert(t2 == t || t2 == t + 1); /* Almost same as first entry. */
assertEqualMem(e + 54, "00000000", 8); /* File size */
assertEqualInt(devmajor, from_hex(e + 62, 8)); /* devmajor */
assertEqualInt(devminor, from_hex(e + 70, 8)); /* devminor */
@@ -203,7 +207,9 @@
assertEqualInt(from_hex(e + 22, 8), getuid()); /* uid */
assertEqualInt(gid, from_hex(e + 30, 8)); /* gid */
assertEqualMem(e + 38, "00000003", 8); /* nlink */
- assertEqualInt(t, from_hex(e + 46, 8)); /* mtime */
+ t2 = from_hex(e + 46, 8); /* mtime */
+ failure("First entry created at t=0x%08x this entry created at t2=0x%08x", t, t2);
+ assert(t2 == t || t2 == t + 1); /* Almost same as first entry. */
assertEqualInt(10, from_hex(e + 54, 8)); /* File size */
assertEqualInt(devmajor, from_hex(e + 62, 8)); /* devmajor */
assertEqualInt(devminor, from_hex(e + 70, 8)); /* devminor */
==== //depot/projects/soc2008/strauss_libarchive/cpio/test/test_gcpio_compat.c#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/test/test_gcpio_compat_ref.bin.uu#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/test/test_gcpio_compat_ref.crc.uu#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/test/test_gcpio_compat_ref.newc.uu#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/test/test_gcpio_compat_ref.ustar.uu#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_B.c#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_L.c#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_a.c#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_c.c#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_d.c#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_ell.c#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_f.c#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_f.cpio.uu#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_help.c#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_m.c#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_m.cpio.uu#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_t.c#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_t.cpio.uu#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_t.stdout.uu#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_tv.stdout.uu#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_u.c#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_version.c#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_y.c#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/test/test_option_z.c#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/test/test_owner_parse.c#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/cpio/test/test_pathmatch.c#2 (text+ko) ====
==== //depot/projects/soc2008/strauss_libarchive/libarchive/Makefile#3 (text+ko) ====
@@ -1,22 +1,11 @@
-# $FreeBSD: src/lib/libarchive/Makefile,v 1.83 2008/03/21 11:10:20 kaiw Exp $
+# $FreeBSD: src/lib/libarchive/Makefile,v 1.84 2008/05/26 17:00:22 kientzle Exp $
LIB= archive
DPADD= ${LIBBZ2} ${LIBZ}
LDADD= -lbz2 -lz
-# The libarchive version stamp.
-# Version is three numbers:
-# Major: Bumped ONLY when API/ABI breakage happens (see SHLIB_MAJOR)
-# Minor: Bumped when significant new features are added
-# Revision: Bumped frequently.
-
-# The useful version number (one integer, easy to compare)
-LIBARCHIVE_VERSION_NUMBER=2005001
-# The pretty version string
-LIBARCHIVE_VERSION_STRING=2.5.1b
-
# FreeBSD SHLIB_MAJOR value is managed as part of the FreeBSD system.
-# It has no real relation to the version number above.
+# It has no real relation to the libarchive version number.
SHLIB_MAJOR= 4
CFLAGS+= -DPLATFORM_CONFIG_H=\"config_freebsd.h\"
@@ -27,20 +16,8 @@
# Headers to be installed in /usr/include
INCS= archive.h archive_entry.h
-# Build archive.h from archive.h.in by substituting version information.
-# Note: FreeBSD has inttypes.h, so enable that include in archive.h.in
-archive.h: archive.h.in Makefile
- cat ${.CURDIR}/archive.h.in | sed \
- -e 's/@LIBARCHIVE_VERSION_NUMBER@/${LIBARCHIVE_VERSION_NUMBER}/g' \
- -e 's/@LIBARCHIVE_VERSION_STRING@/${LIBARCHIVE_VERSION_STRING}/g' \
- > archive.h
-
-# archive.h needs to be cleaned
-CLEANFILES+= archive.h
-
# Sources to be compiled.
-SRCS= archive.h \
- archive_check_magic.c \
+SRCS= archive_check_magic.c \
archive_entry.c \
archive_entry_copy_stat.c \
archive_entry_stat.c \
@@ -115,6 +92,7 @@
MLINKS+= archive_entry.3 archive_entry_acl_text_w.3
MLINKS+= archive_entry.3 archive_entry_clear.3
MLINKS+= archive_entry.3 archive_entry_clone.3
+MLINKS+= archive_entry.3 archive_entry_copy_fflags_text.3
MLINKS+= archive_entry.3 archive_entry_copy_fflags_text_w.3
MLINKS+= archive_entry.3 archive_entry_copy_gname.3
MLINKS+= archive_entry.3 archive_entry_copy_gname_w.3
@@ -230,6 +208,7 @@
MLINKS+= archive_write.3 archive_write_set_bytes_per_block.3
MLINKS+= archive_write.3 archive_write_set_callbacks.3
MLINKS+= archive_write.3 archive_write_set_compression_bzip2.3
+MLINKS+= archive_write.3 archive_write_set_compression_compress.3
MLINKS+= archive_write.3 archive_write_set_compression_gzip.3
MLINKS+= archive_write.3 archive_write_set_compression_none.3
MLINKS+= archive_write.3 archive_write_set_compression_program.3
==== //depot/projects/soc2008/strauss_libarchive/libarchive/archive_endian.h#2 (text+ko) ====
@@ -23,14 +23,28 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $FreeBSD: src/lib/libarchive/archive_endian.h,v 1.2 2008/02/26 07:17:47 kientzle Exp $
+ * $FreeBSD: src/lib/libarchive/archive_endian.h,v 1.3 2008/05/26 17:00:22 kientzle Exp $
*
* Borrowed from FreeBSD's
*/
+/* Note: This is a purely internal header! */
+/* Do not use this outside of libarchive internal code! */
+
#ifndef ARCHIVE_ENDIAN_H_INCLUDED
#define ARCHIVE_ENDIAN_H_INCLUDED
+
+/* Watcom C++ doesn't support 'inline' in C code. (For any version?) */
+#if defined( __WATCOMC__ )
+ #define inline
+#endif
+
+/* Visual C++ 6.0 doesn't support 'inline' in C code. (Does VC7? VC8?) */
+#if defined(_MSC_VER)
+ #define inline
+#endif
+
/* Alignment-agnostic encode/decode bytestream to/from little/big endian. */
static inline uint16_t
==== //depot/projects/soc2008/strauss_libarchive/libarchive/archive_entry.3#3 (text+ko) ====
>>> TRUNCATED FOR MAIL (1000 lines) <<<
From owner-p4-projects@FreeBSD.ORG Sun Jun 1 15:58:23 2008
Return-Path:
Delivered-To: p4-projects@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 32767)
id 5CF4C1065687; Sun, 1 Jun 2008 15:58:23 +0000 (UTC)
Delivered-To: perforce@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
by hub.freebsd.org (Postfix) with ESMTP id 1DF34106564A
for ; Sun, 1 Jun 2008 15:58:23 +0000 (UTC)
(envelope-from remko@freebsd.org)
Received: from repoman.freebsd.org (repoman.freebsd.org
[IPv6:2001:4f8:fff6::29])
by mx1.freebsd.org (Postfix) with ESMTP id B6EAC8FC19
for ; Sun, 1 Jun 2008 15:58:21 +0000 (UTC)
(envelope-from remko@freebsd.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m51FwLHU033351
for ; Sun, 1 Jun 2008 15:58:21 GMT
(envelope-from remko@freebsd.org)
Received: (from perforce@localhost)
by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m51FwLcS033349
for perforce@freebsd.org; Sun, 1 Jun 2008 15:58:21 GMT
(envelope-from remko@freebsd.org)
Date: Sun, 1 Jun 2008 15:58:21 GMT
Message-Id: <200806011558.m51FwLcS033349@repoman.freebsd.org>
X-Authentication-Warning: repoman.freebsd.org: perforce set sender to
remko@freebsd.org using -f
From: Remko Lodder
To: Perforce Change Reviews
Cc:
Subject: PERFORCE change 142711 for review
X-BeenThere: p4-projects@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: p4 projects tree changes
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 01 Jun 2008 15:58:23 -0000
http://perforce.freebsd.org/chv.cgi?CH=142711
Change 142711 by remko@remko_nakur on 2008/06/01 15:57:48
Fix some spelling errors.
Spotted by: Florian Smeets
Affected files ...
.. //depot/projects/docproj_nl/nl_NL.ISO8859-1/books/handbook/mail/chapter.sgml#4 edit
Differences ...
==== //depot/projects/docproj_nl/nl_NL.ISO8859-1/books/handbook/mail/chapter.sgml#4 (text+ko) ====
@@ -19,7 +19,7 @@
JimMock
- Hershreven door
+ Herschreven door
@@ -236,7 +236,7 @@
Oudere versies van sendmail
hebben serieuze beveiligingslekken welke kunnen leiden tot een
situatie waarbij een aanvaller lokale of toegang van afstand
- tot de machine kan verkijgen. Draai een actuele versie om
+ tot de machine kan verkrijgen. Draai een actuele versie om
deze problemen te voorkomen. Optioneel kan een alternatieve
MTA van de &os;
Portscollectie geïnstalleerd worden.
@@ -268,7 +268,7 @@
mail direct bij de host worden afgeleverd, mits er een A-regel
is die deze hostnaam aan dit IP-adres koppelt.
- De MX-regels van een willekeurig domein kunnen wordeni
+ De MX-regels van een willekeurig domein kunnen worden
bekeken door gebruik te maken van het commando &man.host.1;,
zoals te zien is in het onderstaande voorbeeld:
From owner-p4-projects@FreeBSD.ORG Sun Jun 1 20:55:36 2008
Return-Path:
Delivered-To: p4-projects@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 32767)
id 19F861065674; Sun, 1 Jun 2008 20:55:36 +0000 (UTC)
Delivered-To: perforce@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
by hub.freebsd.org (Postfix) with ESMTP id D07DC106564A
for ; Sun, 1 Jun 2008 20:55:35 +0000 (UTC)
(envelope-from sam@freebsd.org)
Received: from repoman.freebsd.org (repoman.freebsd.org
[IPv6:2001:4f8:fff6::29])
by mx1.freebsd.org (Postfix) with ESMTP id B09BA8FC16
for ; Sun, 1 Jun 2008 20:55:35 +0000 (UTC)
(envelope-from sam@freebsd.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m51KtZS0008694
for ; Sun, 1 Jun 2008 20:55:35 GMT
(envelope-from sam@freebsd.org)
Received: (from perforce@localhost)
by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m51KtZZH008692
for perforce@freebsd.org; Sun, 1 Jun 2008 20:55:35 GMT
(envelope-from sam@freebsd.org)
Date: Sun, 1 Jun 2008 20:55:35 GMT
Message-Id: <200806012055.m51KtZZH008692@repoman.freebsd.org>
X-Authentication-Warning: repoman.freebsd.org: perforce set sender to
sam@freebsd.org using -f
From: Sam Leffler
To: Perforce Change Reviews
Cc:
Subject: PERFORCE change 142720 for review
X-BeenThere: p4-projects@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: p4 projects tree changes
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 01 Jun 2008 20:55:36 -0000
http://perforce.freebsd.org/chv.cgi?CH=142720
Change 142720 by sam@sam_ebb on 2008/06/01 20:55:27
Fix node cleanup issues when the last reference is held by
the driver (e.g. in the tx q); ni_vap may not be valid, we
must carefully check before using it.
Affected files ...
.. //depot/projects/vap/sys/net80211/ieee80211_node.c#37 edit
Differences ...
==== //depot/projects/vap/sys/net80211/ieee80211_node.c#37 (text+ko) ====
@@ -1482,21 +1482,30 @@
static void
_ieee80211_free_node(struct ieee80211_node *ni)
{
- struct ieee80211vap *vap = ni->ni_vap;
struct ieee80211_node_table *nt = ni->ni_table;
+ /*
+ * NB: careful about referencing the vap as it may be
+ * gone if the last reference was held by a driver.
+ * We know the com will always be present so it's safe
+ * to use ni_ic below to reclaim resources.
+ */
+#if 0
IEEE80211_DPRINTF(vap, IEEE80211_MSG_NODE,
"%s %p<%s> in %s table\n", __func__, ni,
ether_sprintf(ni->ni_macaddr),
nt != NULL ? nt->nt_name : "");
-
- if (vap->iv_aid_bitmap != NULL)
- IEEE80211_AID_CLR(vap, ni->ni_associd);
+#endif
+ if (ni->ni_associd != 0) {
+ struct ieee80211vap *vap = ni->ni_vap;
+ if (vap->iv_aid_bitmap != NULL)
+ IEEE80211_AID_CLR(vap, ni->ni_associd);
+ }
if (nt != NULL) {
TAILQ_REMOVE(&nt->nt_node, ni, ni_list);
LIST_REMOVE(ni, ni_hash);
}
- vap->iv_ic->ic_node_free(ni);
+ ni->ni_ic->ic_node_free(ni);
}
void
@@ -1551,9 +1560,8 @@
int
ieee80211_node_delucastkey(struct ieee80211_node *ni)
{
- struct ieee80211vap *vap = ni->ni_vap;
- /* XXX is ni_table safe? */
- struct ieee80211_node_table *nt = &ni->ni_ic->ic_sta;
+ struct ieee80211com *ic = ni->ni_ic;
+ struct ieee80211_node_table *nt = &ic->ic_sta;
struct ieee80211_node *nikey;
ieee80211_keyix keyix;
int isowned, status;
@@ -1573,20 +1581,23 @@
isowned = IEEE80211_NODE_IS_LOCKED(nt);
if (!isowned)
IEEE80211_NODE_LOCK(nt);
- keyix = ni->ni_ucastkey.wk_rxkeyix;
- status = ieee80211_crypto_delkey(vap, &ni->ni_ucastkey);
- if (nt->nt_keyixmap != NULL && keyix < nt->nt_keyixmax) {
- nikey = nt->nt_keyixmap[keyix];
- nt->nt_keyixmap[keyix] = NULL;;
- } else
- nikey = NULL;
+ nikey = NULL;
+ status = 1; /* NB: success */
+ if (!IEEE80211_KEY_UNDEFINED(&ni->ni_ucastkey)) {
+ keyix = ni->ni_ucastkey.wk_rxkeyix;
+ status = ieee80211_crypto_delkey(ni->ni_vap, &ni->ni_ucastkey);
+ if (nt->nt_keyixmap != NULL && keyix < nt->nt_keyixmax) {
+ nikey = nt->nt_keyixmap[keyix];
+ nt->nt_keyixmap[keyix] = NULL;;
+ }
+ }
if (!isowned)
IEEE80211_NODE_UNLOCK(nt);
if (nikey != NULL) {
KASSERT(nikey == ni,
("key map out of sync, ni %p nikey %p", ni, nikey));
- IEEE80211_DPRINTF(vap, IEEE80211_MSG_NODE,
+ IEEE80211_DPRINTF(ni->ni_vap, IEEE80211_MSG_NODE,
"%s: delete key map entry %p<%s> refcnt %d\n",
__func__, ni, ether_sprintf(ni->ni_macaddr),
ieee80211_node_refcnt(ni)-1);
From owner-p4-projects@FreeBSD.ORG Sun Jun 1 23:43:26 2008
Return-Path:
Delivered-To: p4-projects@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 32767)
id 4982C106566C; Sun, 1 Jun 2008 23:43:26 +0000 (UTC)
Delivered-To: perforce@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
by hub.freebsd.org (Postfix) with ESMTP id 092CC1065674
for ; Sun, 1 Jun 2008 23:43:26 +0000 (UTC)
(envelope-from julian@freebsd.org)
Received: from repoman.freebsd.org (repoman.freebsd.org
[IPv6:2001:4f8:fff6::29])
by mx1.freebsd.org (Postfix) with ESMTP id D9FB48FC1E
for ; Sun, 1 Jun 2008 23:43:25 +0000 (UTC)
(envelope-from julian@freebsd.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m51NhP0f025628
for ; Sun, 1 Jun 2008 23:43:25 GMT
(envelope-from julian@freebsd.org)
Received: (from perforce@localhost)
by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m51NhPu3025622
for perforce@freebsd.org; Sun, 1 Jun 2008 23:43:25 GMT
(envelope-from julian@freebsd.org)
Date: Sun, 1 Jun 2008 23:43:25 GMT
Message-Id: <200806012343.m51NhPu3025622@repoman.freebsd.org>
X-Authentication-Warning: repoman.freebsd.org: perforce set sender to
julian@freebsd.org using -f
From: Julian Elischer
To: Perforce Change Reviews
Cc:
Subject: PERFORCE change 142723 for review
X-BeenThere: p4-projects@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: p4 projects tree changes
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 01 Jun 2008 23:43:26 -0000
http://perforce.freebsd.org/chv.cgi?CH=142723
Change 142723 by julian@julian_trafmon1 on 2008/06/01 23:42:30
IFC@142722
Affected files ...
.. //depot/projects/vimage/src/sys/Makefile#8 integrate
.. //depot/projects/vimage/src/sys/amd64/amd64/exception.S#5 integrate
.. //depot/projects/vimage/src/sys/amd64/amd64/genassym.c#8 integrate
.. //depot/projects/vimage/src/sys/amd64/amd64/identcpu.c#8 integrate
.. //depot/projects/vimage/src/sys/amd64/amd64/local_apic.c#10 integrate
.. //depot/projects/vimage/src/sys/amd64/amd64/pmap.c#15 integrate
.. //depot/projects/vimage/src/sys/amd64/amd64/trap.c#9 integrate
.. //depot/projects/vimage/src/sys/amd64/conf/GENERIC#15 integrate
.. //depot/projects/vimage/src/sys/amd64/conf/NOTES#11 integrate
.. //depot/projects/vimage/src/sys/arm/arm/identcpu.c#4 integrate
.. //depot/projects/vimage/src/sys/arm/arm/pmap.c#13 integrate
.. //depot/projects/vimage/src/sys/arm/at91/at91_twi.c#3 integrate
.. //depot/projects/vimage/src/sys/boot/forth/loader.conf#9 integrate
.. //depot/projects/vimage/src/sys/cddl/compat/opensolaris/kern/opensolaris.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/compat/opensolaris/kern/opensolaris_cmn_err.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/compat/opensolaris/kern/opensolaris_kmem.c#2 integrate
.. //depot/projects/vimage/src/sys/cddl/compat/opensolaris/machine/endian.h#2 delete
.. //depot/projects/vimage/src/sys/cddl/compat/opensolaris/sys/atomic.h#2 integrate
.. //depot/projects/vimage/src/sys/cddl/compat/opensolaris/sys/cmn_err.h#2 integrate
.. //depot/projects/vimage/src/sys/cddl/compat/opensolaris/sys/cpuvar.h#2 integrate
.. //depot/projects/vimage/src/sys/cddl/compat/opensolaris/sys/cpuvar_defs.h#1 branch
.. //depot/projects/vimage/src/sys/cddl/compat/opensolaris/sys/cyclic.h#2 integrate
.. //depot/projects/vimage/src/sys/cddl/compat/opensolaris/sys/cyclic_impl.h#1 branch
.. //depot/projects/vimage/src/sys/cddl/compat/opensolaris/sys/feature_tests.h#1 branch
.. //depot/projects/vimage/src/sys/cddl/compat/opensolaris/sys/kmem.h#2 integrate
.. //depot/projects/vimage/src/sys/cddl/compat/opensolaris/sys/pcpu.h#2 integrate
.. //depot/projects/vimage/src/sys/cddl/compat/opensolaris/sys/sema.h#1 branch
.. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/ctf/ctf_mod.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/ctf/ctf_subr.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/dtrace/fasttrap.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/dtrace/lockstat.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/dtrace/profile.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/dtrace/sdt_subr.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/dtrace/systrace.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/refcount.c#2 integrate
.. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c#2 integrate
.. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/refcount.h#2 integrate
.. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c#2 integrate
.. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/sys/cmn_err.h#1 branch
.. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/sys/cpupart.h#1 branch
.. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/sys/cpuvar.h#1 branch
.. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/sys/ctf.h#1 branch
.. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/sys/ctf_api.h#1 branch
.. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/sys/debug.h#2 integrate
.. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/sys/dtrace.h#1 branch
.. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/sys/dtrace_impl.h#1 branch
.. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/sys/fasttrap.h#1 branch
.. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/sys/isa_defs.h#2 integrate
.. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/sys/sdt.h#2 delete
.. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/sys/vmem.h#2 delete
.. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/intel/sys/fasttrap_isa.h#1 branch
.. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/sparc/sys/fasttrap_isa.h#1 branch
.. //depot/projects/vimage/src/sys/cddl/dev/cyclic/amd64/cyclic_machdep.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/dev/cyclic/cyclic.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/dev/cyclic/cyclic_test.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/dev/cyclic/i386/cyclic_machdep.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/dev/dtmalloc/dtmalloc.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/dev/dtrace/amd64/dis_tables.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/dev/dtrace/amd64/dis_tables.h#1 branch
.. //depot/projects/vimage/src/sys/cddl/dev/dtrace/amd64/dtrace_asm.S#1 branch
.. //depot/projects/vimage/src/sys/cddl/dev/dtrace/amd64/dtrace_isa.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/dev/dtrace/amd64/dtrace_subr.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/dev/dtrace/amd64/instr_size.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/dev/dtrace/dtrace_anon.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/dev/dtrace/dtrace_cddl.h#1 branch
.. //depot/projects/vimage/src/sys/cddl/dev/dtrace/dtrace_clone.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/dev/dtrace/dtrace_debug.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/dev/dtrace/dtrace_hacks.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/dev/dtrace/dtrace_ioctl.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/dev/dtrace/dtrace_load.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/dev/dtrace/dtrace_modevent.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/dev/dtrace/dtrace_sysctl.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/dev/dtrace/dtrace_test.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/dev/dtrace/dtrace_unload.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/dev/dtrace/dtrace_vtime.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/dev/dtrace/i386/dis_tables.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/dev/dtrace/i386/dis_tables.h#1 branch
.. //depot/projects/vimage/src/sys/cddl/dev/dtrace/i386/dtrace_asm.S#1 branch
.. //depot/projects/vimage/src/sys/cddl/dev/dtrace/i386/dtrace_isa.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/dev/dtrace/i386/dtrace_subr.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/dev/dtrace/i386/instr_size.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/dev/fbt/fbt.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/dev/profile/profile.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/dev/prototype.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/dev/sdt/sdt.c#1 branch
.. //depot/projects/vimage/src/sys/cddl/dev/systrace/systrace.c#1 branch
.. //depot/projects/vimage/src/sys/compat/ndis/subr_ntoskrnl.c#7 integrate
.. //depot/projects/vimage/src/sys/conf/Makefile.amd64#4 integrate
.. //depot/projects/vimage/src/sys/conf/NOTES#23 integrate
.. //depot/projects/vimage/src/sys/conf/files#25 integrate
.. //depot/projects/vimage/src/sys/conf/files.i386#12 integrate
.. //depot/projects/vimage/src/sys/conf/files.pc98#9 integrate
.. //depot/projects/vimage/src/sys/conf/kern.post.mk#5 integrate
.. //depot/projects/vimage/src/sys/conf/kern.pre.mk#9 integrate
.. //depot/projects/vimage/src/sys/conf/options#25 integrate
.. //depot/projects/vimage/src/sys/conf/options.amd64#5 integrate
.. //depot/projects/vimage/src/sys/conf/options.i386#5 integrate
.. //depot/projects/vimage/src/sys/conf/options.pc98#4 integrate
.. //depot/projects/vimage/src/sys/dev/acpi_support/acpi_ibm.c#6 integrate
.. //depot/projects/vimage/src/sys/dev/acpi_support/acpi_sony.c#2 integrate
.. //depot/projects/vimage/src/sys/dev/age/if_age.c#1 branch
.. //depot/projects/vimage/src/sys/dev/age/if_agereg.h#1 branch
.. //depot/projects/vimage/src/sys/dev/age/if_agevar.h#1 branch
.. //depot/projects/vimage/src/sys/dev/ata/ata-all.c#6 integrate
.. //depot/projects/vimage/src/sys/dev/ath/ah_osdep.h#4 integrate
.. //depot/projects/vimage/src/sys/dev/ath/if_ath.c#17 integrate
.. //depot/projects/vimage/src/sys/dev/ath/if_athvar.h#8 integrate
.. //depot/projects/vimage/src/sys/dev/atkbdc/psm.c#7 integrate
.. //depot/projects/vimage/src/sys/dev/bce/if_bce.c#13 integrate
.. //depot/projects/vimage/src/sys/dev/cnw/if_cnw.c#3 integrate
.. //depot/projects/vimage/src/sys/dev/em/if_em.c#11 integrate
.. //depot/projects/vimage/src/sys/dev/harp/if_harp.c#2 delete
.. //depot/projects/vimage/src/sys/dev/hfa/fore.h#2 delete
.. //depot/projects/vimage/src/sys/dev/hfa/fore_aali.h#2 delete
.. //depot/projects/vimage/src/sys/dev/hfa/fore_buffer.c#2 delete
.. //depot/projects/vimage/src/sys/dev/hfa/fore_command.c#2 delete
.. //depot/projects/vimage/src/sys/dev/hfa/fore_globals.c#2 delete
.. //depot/projects/vimage/src/sys/dev/hfa/fore_if.c#2 delete
.. //depot/projects/vimage/src/sys/dev/hfa/fore_include.h#2 delete
.. //depot/projects/vimage/src/sys/dev/hfa/fore_init.c#2 delete
.. //depot/projects/vimage/src/sys/dev/hfa/fore_intr.c#2 delete
.. //depot/projects/vimage/src/sys/dev/hfa/fore_output.c#2 delete
.. //depot/projects/vimage/src/sys/dev/hfa/fore_receive.c#2 delete
.. //depot/projects/vimage/src/sys/dev/hfa/fore_slave.h#2 delete
.. //depot/projects/vimage/src/sys/dev/hfa/fore_stats.c#2 delete
.. //depot/projects/vimage/src/sys/dev/hfa/fore_stats.h#2 delete
.. //depot/projects/vimage/src/sys/dev/hfa/fore_timer.c#2 delete
.. //depot/projects/vimage/src/sys/dev/hfa/fore_transmit.c#2 delete
.. //depot/projects/vimage/src/sys/dev/hfa/fore_var.h#2 delete
.. //depot/projects/vimage/src/sys/dev/hfa/fore_vcm.c#2 delete
.. //depot/projects/vimage/src/sys/dev/hfa/hfa_eisa.c#2 delete
.. //depot/projects/vimage/src/sys/dev/hfa/hfa_freebsd.c#2 delete
.. //depot/projects/vimage/src/sys/dev/hfa/hfa_freebsd.h#2 delete
.. //depot/projects/vimage/src/sys/dev/hfa/hfa_pci.c#3 delete
.. //depot/projects/vimage/src/sys/dev/hfa/hfa_sbus.c#2 delete
.. //depot/projects/vimage/src/sys/dev/idt/idt.c#2 delete
.. //depot/projects/vimage/src/sys/dev/idt/idt_harp.c#2 delete
.. //depot/projects/vimage/src/sys/dev/idt/idt_pci.c#4 delete
.. //depot/projects/vimage/src/sys/dev/idt/idtreg.h#3 delete
.. //depot/projects/vimage/src/sys/dev/idt/idtvar.h#2 delete
.. //depot/projects/vimage/src/sys/dev/ie/if_ie.c#2 integrate
.. //depot/projects/vimage/src/sys/dev/ie/if_ievar.h#2 integrate
.. //depot/projects/vimage/src/sys/dev/ieee488/upd7210.c#2 integrate
.. //depot/projects/vimage/src/sys/dev/if_ndis/if_ndis.c#12 integrate
.. //depot/projects/vimage/src/sys/dev/iwn/if_iwn.c#3 integrate
.. //depot/projects/vimage/src/sys/dev/ixgbe/LICENSE#2 integrate
.. //depot/projects/vimage/src/sys/dev/ixgbe/README#1 branch
.. //depot/projects/vimage/src/sys/dev/ixgbe/ixgbe.c#3 integrate
.. //depot/projects/vimage/src/sys/dev/ixgbe/ixgbe.h#3 integrate
.. //depot/projects/vimage/src/sys/dev/ixgbe/ixgbe_82598.c#3 integrate
.. //depot/projects/vimage/src/sys/dev/ixgbe/ixgbe_api.c#3 integrate
.. //depot/projects/vimage/src/sys/dev/ixgbe/ixgbe_api.h#3 integrate
.. //depot/projects/vimage/src/sys/dev/ixgbe/ixgbe_common.c#3 integrate
.. //depot/projects/vimage/src/sys/dev/ixgbe/ixgbe_common.h#3 integrate
.. //depot/projects/vimage/src/sys/dev/ixgbe/ixgbe_osdep.h#3 integrate
.. //depot/projects/vimage/src/sys/dev/ixgbe/ixgbe_phy.c#3 integrate
.. //depot/projects/vimage/src/sys/dev/ixgbe/ixgbe_phy.h#3 integrate
.. //depot/projects/vimage/src/sys/dev/ixgbe/ixgbe_type.h#3 integrate
.. //depot/projects/vimage/src/sys/dev/ixgbe/tcp_lro.c#1 branch
.. //depot/projects/vimage/src/sys/dev/ixgbe/tcp_lro.h#1 branch
.. //depot/projects/vimage/src/sys/dev/jme/if_jme.c#1 branch
.. //depot/projects/vimage/src/sys/dev/jme/if_jmereg.h#1 branch
.. //depot/projects/vimage/src/sys/dev/jme/if_jmevar.h#1 branch
.. //depot/projects/vimage/src/sys/dev/led/led.c#3 integrate
.. //depot/projects/vimage/src/sys/dev/md/md.c#7 integrate
.. //depot/projects/vimage/src/sys/dev/mfi/mfi.c#12 integrate
.. //depot/projects/vimage/src/sys/dev/mfi/mfi_ioctl.h#5 integrate
.. //depot/projects/vimage/src/sys/dev/mii/atphy.c#1 branch
.. //depot/projects/vimage/src/sys/dev/mii/atphyreg.h#1 branch
.. //depot/projects/vimage/src/sys/dev/mii/jmphy.c#1 branch
.. //depot/projects/vimage/src/sys/dev/mii/jmphyreg.h#1 branch
.. //depot/projects/vimage/src/sys/dev/mii/miidevs#11 integrate
.. //depot/projects/vimage/src/sys/dev/nve/if_nve.c#6 integrate
.. //depot/projects/vimage/src/sys/dev/nve/if_nvereg.h#3 integrate
.. //depot/projects/vimage/src/sys/dev/pccard/pccard_cis.c#3 integrate
.. //depot/projects/vimage/src/sys/dev/puc/pucdata.c#4 integrate
.. //depot/projects/vimage/src/sys/dev/snc/dp83932.c#2 integrate
.. //depot/projects/vimage/src/sys/dev/snc/dp83932subr.c#2 integrate
.. //depot/projects/vimage/src/sys/dev/snc/dp83932var.h#2 integrate
.. //depot/projects/vimage/src/sys/dev/snc/if_sncreg.h#2 integrate
.. //depot/projects/vimage/src/sys/dev/sound/midi/sequencer.c#4 integrate
.. //depot/projects/vimage/src/sys/dev/sound/pci/hda/hdac.c#17 integrate
.. //depot/projects/vimage/src/sys/dev/sound/pcm/dsp.c#7 integrate
.. //depot/projects/vimage/src/sys/dev/uart/uart_dev_ns8250.c#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/umass.c#9 integrate
.. //depot/projects/vimage/src/sys/dev/usb/usb.c#6 integrate
.. //depot/projects/vimage/src/sys/dev/usb/usbdevs#20 integrate
.. //depot/projects/vimage/src/sys/dev/usb/uscanner.c#7 integrate
.. //depot/projects/vimage/src/sys/dev/usb/uxb360gp_rdesc.h#2 integrate
.. //depot/projects/vimage/src/sys/fs/devfs/devfs_int.h#3 integrate
.. //depot/projects/vimage/src/sys/fs/devfs/devfs_vnops.c#12 integrate
.. //depot/projects/vimage/src/sys/fs/fdescfs/fdesc.h#2 integrate
.. //depot/projects/vimage/src/sys/fs/fdescfs/fdesc_vfsops.c#5 integrate
.. //depot/projects/vimage/src/sys/fs/fdescfs/fdesc_vnops.c#6 integrate
.. //depot/projects/vimage/src/sys/fs/udf/udf_vnops.c#7 integrate
.. //depot/projects/vimage/src/sys/geom/geom_dev.c#5 integrate
.. //depot/projects/vimage/src/sys/geom/geom_subr.c#4 integrate
.. //depot/projects/vimage/src/sys/geom/vinum/geom_vinum_share.c#3 integrate
.. //depot/projects/vimage/src/sys/i386/conf/GENERIC#17 integrate
.. //depot/projects/vimage/src/sys/i386/conf/NOTES#16 integrate
.. //depot/projects/vimage/src/sys/i386/cpufreq/est.c#3 integrate
.. //depot/projects/vimage/src/sys/i386/i386/exception.s#4 integrate
.. //depot/projects/vimage/src/sys/i386/i386/genassym.c#7 integrate
.. //depot/projects/vimage/src/sys/i386/i386/identcpu.c#8 integrate
.. //depot/projects/vimage/src/sys/i386/i386/local_apic.c#9 integrate
.. //depot/projects/vimage/src/sys/i386/i386/pmap.c#15 integrate
.. //depot/projects/vimage/src/sys/i386/i386/trap.c#10 integrate
.. //depot/projects/vimage/src/sys/i386/isa/clock.c#9 integrate
.. //depot/projects/vimage/src/sys/i4b/capi/README#2 delete
.. //depot/projects/vimage/src/sys/i4b/capi/capi.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/capi/capi_l4if.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/capi/capi_llif.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/capi/capi_msgs.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/capi/capi_msgs.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/capi/iavc/iavc.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/capi/iavc/iavc_card.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/capi/iavc/iavc_isa.c#4 delete
.. //depot/projects/vimage/src/sys/i4b/capi/iavc/iavc_lli.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/capi/iavc/iavc_pci.c#4 delete
.. //depot/projects/vimage/src/sys/i4b/driver/i4b_ctl.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/driver/i4b_ing.c#4 delete
.. //depot/projects/vimage/src/sys/i4b/driver/i4b_ipr.c#5 delete
.. //depot/projects/vimage/src/sys/i4b/driver/i4b_isppp.c#4 delete
.. //depot/projects/vimage/src/sys/i4b/driver/i4b_rbch.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/driver/i4b_tel.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/driver/i4b_trace.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/include/i4b_cause.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/include/i4b_debug.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/include/i4b_global.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/include/i4b_ioctl.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/include/i4b_isdnq931.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/include/i4b_l1l2.h#3 delete
.. //depot/projects/vimage/src/sys/i4b/include/i4b_l2l3.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/include/i4b_l3l4.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/include/i4b_mbuf.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/include/i4b_rbch_ioctl.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/include/i4b_tel_ioctl.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/include/i4b_trace.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/i4b_hdlc.c#2 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/i4b_hdlc.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/i4b_l1.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/i4b_l1dmux.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/i4b_l1lib.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/ifpi/i4b_ifpi_ext.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/ifpi/i4b_ifpi_isac.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/ifpi/i4b_ifpi_l1.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/ifpi/i4b_ifpi_l1fsm.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/ifpi/i4b_ifpi_pci.c#4 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/ifpi2/i4b_ifpi2_ext.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/ifpi2/i4b_ifpi2_isacsx.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/ifpi2/i4b_ifpi2_isacsx.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/ifpi2/i4b_ifpi2_l1.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/ifpi2/i4b_ifpi2_l1fsm.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/ifpi2/i4b_ifpi2_pci.c#4 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/ifpnp/i4b_ifpnp_avm.c#4 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/ifpnp/i4b_ifpnp_ext.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/ifpnp/i4b_ifpnp_isac.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/ifpnp/i4b_ifpnp_l1.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/ifpnp/i4b_ifpnp_l1fsm.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/ihfc/i4b_ihfc.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/ihfc/i4b_ihfc_drv.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/ihfc/i4b_ihfc_drv.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/ihfc/i4b_ihfc_ext.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/ihfc/i4b_ihfc_l1if.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/ihfc/i4b_ihfc_pnp.c#4 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/isic/i4b_asuscom_ipac.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/isic/i4b_avm_a1.c#5 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/isic/i4b_bchan.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/isic/i4b_ctx_s0P.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/isic/i4b_diva.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/isic/i4b_drn_ngo.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/isic/i4b_dynalink.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/isic/i4b_elsa_pcc16.c#5 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/isic/i4b_elsa_qs1i.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/isic/i4b_elsa_qs1p.c#4 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/isic/i4b_hscx.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/isic/i4b_hscx.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/isic/i4b_ipac.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/isic/i4b_isac.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/isic/i4b_isac.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/isic/i4b_isic.c#4 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/isic/i4b_isic.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/isic/i4b_isic_ext.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/isic/i4b_isic_isa.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/isic/i4b_isic_pnp.c#4 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/isic/i4b_itk_ix1.c#5 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/isic/i4b_l1.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/isic/i4b_l1fsm.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/isic/i4b_siemens_isurf.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/isic/i4b_sws.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/isic/i4b_tel_s016.c#5 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/isic/i4b_tel_s0163.c#5 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/isic/i4b_tel_s08.c#5 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/isic/i4b_usr_sti.c#4 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/itjc/i4b_hdlc.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/itjc/i4b_itjc_ext.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/itjc/i4b_itjc_isac.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/itjc/i4b_itjc_l1.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/itjc/i4b_itjc_l1fsm.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/itjc/i4b_itjc_pci.c#4 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/iwic/i4b_iwic.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/iwic/i4b_iwic_bchan.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/iwic/i4b_iwic_dchan.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/iwic/i4b_iwic_ext.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/iwic/i4b_iwic_fsm.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/iwic/i4b_iwic_l1if.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/iwic/i4b_iwic_pci.c#4 delete
.. //depot/projects/vimage/src/sys/i4b/layer1/iwic/i4b_w6692.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/layer2/i4b_iframe.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer2/i4b_l2.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer2/i4b_l2.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/layer2/i4b_l2fsm.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer2/i4b_l2fsm.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/layer2/i4b_l2timer.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer2/i4b_lme.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer2/i4b_mbuf.c#2 delete
.. //depot/projects/vimage/src/sys/i4b/layer2/i4b_sframe.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer2/i4b_tei.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer2/i4b_uframe.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer2/i4b_util.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer3/i4b_l2if.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer3/i4b_l3.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/layer3/i4b_l3fsm.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer3/i4b_l3fsm.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/layer3/i4b_l3timer.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer3/i4b_l4if.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer3/i4b_q931.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer3/i4b_q931.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/layer3/i4b_q932fac.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer3/i4b_q932fac.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/layer4/i4b_i4bdrv.c#4 delete
.. //depot/projects/vimage/src/sys/i4b/layer4/i4b_l4.c#4 delete
.. //depot/projects/vimage/src/sys/i4b/layer4/i4b_l4.h#2 delete
.. //depot/projects/vimage/src/sys/i4b/layer4/i4b_l4mgmt.c#3 delete
.. //depot/projects/vimage/src/sys/i4b/layer4/i4b_l4timer.c#3 delete
.. //depot/projects/vimage/src/sys/ia64/ia64/interrupt.c#8 integrate
.. //depot/projects/vimage/src/sys/ia64/ia64/machdep.c#13 integrate
.. //depot/projects/vimage/src/sys/ia64/ia64/pmap.c#11 integrate
.. //depot/projects/vimage/src/sys/ia64/include/atomic.h#5 integrate
.. //depot/projects/vimage/src/sys/kern/Make.tags.inc#6 integrate
.. //depot/projects/vimage/src/sys/kern/kern_conf.c#10 integrate
.. //depot/projects/vimage/src/sys/kern/kern_cpuset.c#2 integrate
.. //depot/projects/vimage/src/sys/kern/kern_ctf.c#1 branch
.. //depot/projects/vimage/src/sys/kern/kern_descrip.c#14 integrate
.. //depot/projects/vimage/src/sys/kern/kern_dtrace.c#1 branch
.. //depot/projects/vimage/src/sys/kern/kern_exec.c#11 integrate
.. //depot/projects/vimage/src/sys/kern/kern_exit.c#17 integrate
.. //depot/projects/vimage/src/sys/kern/kern_fork.c#16 integrate
.. //depot/projects/vimage/src/sys/kern/kern_linker.c#14 integrate
.. //depot/projects/vimage/src/sys/kern/kern_lock.c#8 integrate
.. //depot/projects/vimage/src/sys/kern/kern_malloc.c#7 integrate
.. //depot/projects/vimage/src/sys/kern/kern_proc.c#10 integrate
.. //depot/projects/vimage/src/sys/kern/kern_rwlock.c#12 integrate
.. //depot/projects/vimage/src/sys/kern/kern_sdt.c#1 branch
.. //depot/projects/vimage/src/sys/kern/kern_sig.c#11 integrate
.. //depot/projects/vimage/src/sys/kern/kern_umtx.c#9 integrate
.. //depot/projects/vimage/src/sys/kern/link_elf.c#7 integrate
.. //depot/projects/vimage/src/sys/kern/link_elf_obj.c#6 integrate
.. //depot/projects/vimage/src/sys/kern/linker_if.m#3 integrate
.. //depot/projects/vimage/src/sys/kern/sched_4bsd.c#20 integrate
.. //depot/projects/vimage/src/sys/kern/sched_ule.c#23 integrate
.. //depot/projects/vimage/src/sys/kern/subr_bus.c#9 integrate
.. //depot/projects/vimage/src/sys/kern/subr_clist.c#1 branch
.. //depot/projects/vimage/src/sys/kern/subr_smp.c#9 integrate
.. //depot/projects/vimage/src/sys/kern/sys_pipe.c#8 integrate
.. //depot/projects/vimage/src/sys/kern/tty.c#14 integrate
.. //depot/projects/vimage/src/sys/kern/tty_cons.c#6 integrate
.. //depot/projects/vimage/src/sys/kern/tty_subr.c#3 delete
.. //depot/projects/vimage/src/sys/kern/uipc_sem.c#5 integrate
.. //depot/projects/vimage/src/sys/kern/uipc_syscalls.c#18 integrate
.. //depot/projects/vimage/src/sys/kern/vfs_mount.c#15 integrate
.. //depot/projects/vimage/src/sys/kern/vfs_subr.c#12 integrate
.. //depot/projects/vimage/src/sys/mips/mips/pmap.c#2 integrate
.. //depot/projects/vimage/src/sys/modules/Makefile#18 integrate
.. //depot/projects/vimage/src/sys/modules/age/Makefile#1 branch
.. //depot/projects/vimage/src/sys/modules/ath_rate_onoe/Makefile#4 integrate
.. //depot/projects/vimage/src/sys/modules/ath_rate_sample/Makefile#4 integrate
.. //depot/projects/vimage/src/sys/modules/cnw/Makefile#1 branch
.. //depot/projects/vimage/src/sys/modules/cyclic/Makefile#1 branch
.. //depot/projects/vimage/src/sys/modules/dtrace/Makefile#1 branch
.. //depot/projects/vimage/src/sys/modules/dtrace/Makefile.inc#1 branch
.. //depot/projects/vimage/src/sys/modules/dtrace/dtmalloc/Makefile#1 branch
.. //depot/projects/vimage/src/sys/modules/dtrace/dtrace/Makefile#1 branch
.. //depot/projects/vimage/src/sys/modules/dtrace/dtrace_test/Makefile#1 branch
.. //depot/projects/vimage/src/sys/modules/dtrace/dtraceall/Makefile#1 branch
.. //depot/projects/vimage/src/sys/modules/dtrace/dtraceall/dtraceall.c#1 branch
.. //depot/projects/vimage/src/sys/modules/dtrace/fasttrap/Makefile#1 branch
.. //depot/projects/vimage/src/sys/modules/dtrace/fbt/Makefile#1 branch
.. //depot/projects/vimage/src/sys/modules/dtrace/lockstat/Makefile#1 branch
.. //depot/projects/vimage/src/sys/modules/dtrace/profile/Makefile#1 branch
.. //depot/projects/vimage/src/sys/modules/dtrace/prototype/Makefile#1 branch
.. //depot/projects/vimage/src/sys/modules/dtrace/sdt/Makefile#1 branch
.. //depot/projects/vimage/src/sys/modules/dtrace/systrace/Makefile#1 branch
.. //depot/projects/vimage/src/sys/modules/harp/Makefile#2 delete
.. //depot/projects/vimage/src/sys/modules/hfa/Makefile#3 delete
.. //depot/projects/vimage/src/sys/modules/hfa/Makefile.inc#2 delete
.. //depot/projects/vimage/src/sys/modules/hfa/eisa/Makefile#2 delete
.. //depot/projects/vimage/src/sys/modules/hfa/hfa/Makefile#2 delete
.. //depot/projects/vimage/src/sys/modules/hfa/pci/Makefile#2 delete
.. //depot/projects/vimage/src/sys/modules/hfa/sbus/Makefile#2 delete
.. //depot/projects/vimage/src/sys/modules/idt/Makefile#2 delete
.. //depot/projects/vimage/src/sys/modules/iwn/Makefile#2 integrate
.. //depot/projects/vimage/src/sys/modules/ixgbe/Makefile#3 integrate
.. //depot/projects/vimage/src/sys/modules/jme/Makefile#1 branch
.. //depot/projects/vimage/src/sys/modules/mii/Makefile#4 integrate
.. //depot/projects/vimage/src/sys/modules/netgraph/atm/Makefile#3 integrate
.. //depot/projects/vimage/src/sys/modules/netgraph/atm/atmpif/Makefile#2 delete
.. //depot/projects/vimage/src/sys/modules/opensolaris/Makefile#1 branch
.. //depot/projects/vimage/src/sys/net/if.c#25 integrate
.. //depot/projects/vimage/src/sys/net/radix_mpath.c#2 integrate
.. //depot/projects/vimage/src/sys/net/radix_mpath.h#2 integrate
.. //depot/projects/vimage/src/sys/net80211/ieee80211.c#14 integrate
.. //depot/projects/vimage/src/sys/net80211/ieee80211_adhoc.c#2 integrate
.. //depot/projects/vimage/src/sys/net80211/ieee80211_crypto.c#5 integrate
.. //depot/projects/vimage/src/sys/net80211/ieee80211_crypto.h#5 integrate
.. //depot/projects/vimage/src/sys/net80211/ieee80211_crypto_ccmp.c#4 integrate
.. //depot/projects/vimage/src/sys/net80211/ieee80211_crypto_tkip.c#4 integrate
.. //depot/projects/vimage/src/sys/net80211/ieee80211_crypto_wep.c#4 integrate
.. //depot/projects/vimage/src/sys/net80211/ieee80211_ddb.c#4 integrate
.. //depot/projects/vimage/src/sys/net80211/ieee80211_freebsd.h#9 integrate
.. //depot/projects/vimage/src/sys/net80211/ieee80211_ioctl.c#9 integrate
.. //depot/projects/vimage/src/sys/net80211/ieee80211_node.c#10 integrate
.. //depot/projects/vimage/src/sys/net80211/ieee80211_output.c#11 integrate
.. //depot/projects/vimage/src/sys/net80211/ieee80211_proto.c#10 integrate
.. //depot/projects/vimage/src/sys/net80211/ieee80211_proto.h#10 integrate
.. //depot/projects/vimage/src/sys/net80211/ieee80211_scan.c#5 integrate
.. //depot/projects/vimage/src/sys/net80211/ieee80211_var.h#12 integrate
.. //depot/projects/vimage/src/sys/net80211/ieee80211_wds.c#2 integrate
.. //depot/projects/vimage/src/sys/netatm/atm.h#2 delete
.. //depot/projects/vimage/src/sys/netatm/atm_aal5.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/atm_cm.c#3 delete
.. //depot/projects/vimage/src/sys/netatm/atm_cm.h#2 delete
.. //depot/projects/vimage/src/sys/netatm/atm_device.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/atm_if.c#3 delete
.. //depot/projects/vimage/src/sys/netatm/atm_if.h#2 delete
.. //depot/projects/vimage/src/sys/netatm/atm_ioctl.h#2 delete
.. //depot/projects/vimage/src/sys/netatm/atm_pcb.h#2 delete
.. //depot/projects/vimage/src/sys/netatm/atm_proto.c#3 delete
.. //depot/projects/vimage/src/sys/netatm/atm_sap.h#2 delete
.. //depot/projects/vimage/src/sys/netatm/atm_sigmgr.h#2 delete
.. //depot/projects/vimage/src/sys/netatm/atm_signal.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/atm_socket.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/atm_stack.h#2 delete
.. //depot/projects/vimage/src/sys/netatm/atm_subr.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/atm_sys.h#2 delete
.. //depot/projects/vimage/src/sys/netatm/atm_usrreq.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/atm_var.h#2 delete
.. //depot/projects/vimage/src/sys/netatm/atm_vc.h#2 delete
.. //depot/projects/vimage/src/sys/netatm/ipatm/ipatm.h#2 delete
.. //depot/projects/vimage/src/sys/netatm/ipatm/ipatm_event.c#3 delete
.. //depot/projects/vimage/src/sys/netatm/ipatm/ipatm_if.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/ipatm/ipatm_input.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/ipatm/ipatm_load.c#3 delete
.. //depot/projects/vimage/src/sys/netatm/ipatm/ipatm_output.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/ipatm/ipatm_serv.h#2 delete
.. //depot/projects/vimage/src/sys/netatm/ipatm/ipatm_usrreq.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/ipatm/ipatm_var.h#2 delete
.. //depot/projects/vimage/src/sys/netatm/ipatm/ipatm_vcm.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/port.h#3 delete
.. //depot/projects/vimage/src/sys/netatm/queue.h#2 delete
.. //depot/projects/vimage/src/sys/netatm/sigpvc/sigpvc_if.c#3 delete
.. //depot/projects/vimage/src/sys/netatm/sigpvc/sigpvc_subr.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/sigpvc/sigpvc_var.h#2 delete
.. //depot/projects/vimage/src/sys/netatm/spans/spans_arp.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/spans/spans_cls.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/spans/spans_cls.h#2 delete
.. //depot/projects/vimage/src/sys/netatm/spans/spans_if.c#3 delete
.. //depot/projects/vimage/src/sys/netatm/spans/spans_kxdr.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/spans/spans_kxdr.h#2 delete
.. //depot/projects/vimage/src/sys/netatm/spans/spans_msg.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/spans/spans_print.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/spans/spans_proto.c#3 delete
.. //depot/projects/vimage/src/sys/netatm/spans/spans_subr.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/spans/spans_util.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/spans/spans_var.h#2 delete
.. //depot/projects/vimage/src/sys/netatm/spans/spans_xdr.x#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/q2110_sigaa.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/q2110_sigcpcs.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/q2110_subr.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/qsaal1_sigaa.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/qsaal1_sigcpcs.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/qsaal1_subr.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/sscf_uni.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/sscf_uni.h#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/sscf_uni_lower.c#3 delete
.. //depot/projects/vimage/src/sys/netatm/uni/sscf_uni_upper.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/sscf_uni_var.h#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/sscop.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/sscop.h#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/sscop_lower.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/sscop_misc.h#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/sscop_pdu.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/sscop_pdu.h#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/sscop_sigaa.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/sscop_sigcpcs.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/sscop_subr.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/sscop_timer.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/sscop_upper.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/sscop_var.h#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/uni.h#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/uni_load.c#3 delete
.. //depot/projects/vimage/src/sys/netatm/uni/uniarp.c#3 delete
.. //depot/projects/vimage/src/sys/netatm/uni/uniarp_cache.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/uniarp_input.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/uniarp_output.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/uniarp_timer.c#3 delete
.. //depot/projects/vimage/src/sys/netatm/uni/uniarp_vcm.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/uniip.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/uniip_var.h#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/unisig.h#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/unisig_decode.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/unisig_decode.h#3 delete
.. //depot/projects/vimage/src/sys/netatm/uni/unisig_encode.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/unisig_if.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/unisig_mbuf.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/unisig_mbuf.h#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/unisig_msg.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/unisig_msg.h#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/unisig_print.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/unisig_print.h#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/unisig_proto.c#3 delete
.. //depot/projects/vimage/src/sys/netatm/uni/unisig_sigmgr_state.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/unisig_subr.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/unisig_util.c#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/unisig_var.h#2 delete
.. //depot/projects/vimage/src/sys/netatm/uni/unisig_vc_state.c#2 delete
.. //depot/projects/vimage/src/sys/netgraph/atm/atmpif/ng_atmpif.c#2 delete
.. //depot/projects/vimage/src/sys/netgraph/atm/atmpif/ng_atmpif_harp.c#2 delete
.. //depot/projects/vimage/src/sys/netgraph/atm/atmpif/ng_atmpif_var.h#2 delete
.. //depot/projects/vimage/src/sys/netgraph/atm/ng_atmpif.h#2 delete
.. //depot/projects/vimage/src/sys/netgraph/ng_nat.c#5 integrate
.. //depot/projects/vimage/src/sys/netinet/ip_dummynet.c#10 integrate
.. //depot/projects/vimage/src/sys/netinet/ip_fw_nat.c#3 integrate
.. //depot/projects/vimage/src/sys/netinet/libalias/alias.c#5 integrate
.. //depot/projects/vimage/src/sys/netinet/libalias/alias_db.c#5 integrate
.. //depot/projects/vimage/src/sys/netinet/libalias/alias_local.h#4 integrate
.. //depot/projects/vimage/src/sys/netinet/raw_ip.c#19 integrate
.. //depot/projects/vimage/src/sys/netinet/sctp.h#12 integrate
.. //depot/projects/vimage/src/sys/netinet/sctp_asconf.c#17 integrate
.. //depot/projects/vimage/src/sys/netinet/sctp_asconf.h#10 integrate
.. //depot/projects/vimage/src/sys/netinet/sctp_cc_functions.c#4 integrate
.. //depot/projects/vimage/src/sys/netinet/sctp_constants.h#21 integrate
.. //depot/projects/vimage/src/sys/netinet/sctp_indata.c#24 integrate
.. //depot/projects/vimage/src/sys/netinet/sctp_input.c#24 integrate
.. //depot/projects/vimage/src/sys/netinet/sctp_input.h#6 integrate
.. //depot/projects/vimage/src/sys/netinet/sctp_lock_bsd.h#9 integrate
.. //depot/projects/vimage/src/sys/netinet/sctp_os_bsd.h#17 integrate
.. //depot/projects/vimage/src/sys/netinet/sctp_output.c#25 integrate
.. //depot/projects/vimage/src/sys/netinet/sctp_output.h#11 integrate
.. //depot/projects/vimage/src/sys/netinet/sctp_pcb.c#24 integrate
.. //depot/projects/vimage/src/sys/netinet/sctp_pcb.h#16 integrate
.. //depot/projects/vimage/src/sys/netinet/sctp_structs.h#17 integrate
.. //depot/projects/vimage/src/sys/netinet/sctp_sysctl.c#9 integrate
.. //depot/projects/vimage/src/sys/netinet/sctp_sysctl.h#7 integrate
.. //depot/projects/vimage/src/sys/netinet/sctp_timer.c#17 integrate
.. //depot/projects/vimage/src/sys/netinet/sctp_uio.h#14 integrate
.. //depot/projects/vimage/src/sys/netinet/sctp_usrreq.c#25 integrate
.. //depot/projects/vimage/src/sys/netinet/sctp_var.h#16 integrate
.. //depot/projects/vimage/src/sys/netinet/sctputil.c#26 integrate
.. //depot/projects/vimage/src/sys/netinet/sctputil.h#16 integrate
.. //depot/projects/vimage/src/sys/netinet/tcp_subr.c#40 integrate
.. //depot/projects/vimage/src/sys/netinet/udp_usrreq.c#24 integrate
.. //depot/projects/vimage/src/sys/netinet6/ip6_input.c#27 integrate
.. //depot/projects/vimage/src/sys/netinet6/ip6_var.h#11 integrate
.. //depot/projects/vimage/src/sys/netinet6/sctp6_usrreq.c#22 integrate
.. //depot/projects/vimage/src/sys/netinet6/udp6_usrreq.c#23 integrate
.. //depot/projects/vimage/src/sys/netipsec/ipsec.c#20 integrate
.. //depot/projects/vimage/src/sys/netipsec/ipsec.h#7 integrate
.. //depot/projects/vimage/src/sys/netipsec/ipsec_input.c#12 integrate
.. //depot/projects/vimage/src/sys/netipsec/ipsec_osdep.h#4 delete
.. //depot/projects/vimage/src/sys/netipsec/ipsec_output.c#12 integrate
.. //depot/projects/vimage/src/sys/netipsec/xform_ah.c#11 integrate
.. //depot/projects/vimage/src/sys/netipsec/xform_esp.c#10 integrate
.. //depot/projects/vimage/src/sys/netipsec/xform_ipcomp.c#9 integrate
.. //depot/projects/vimage/src/sys/netipsec/xform_ipip.c#13 integrate
.. //depot/projects/vimage/src/sys/netipx/spx_usrreq.c#3 integrate
.. //depot/projects/vimage/src/sys/nfs4client/nfs4_vnops.c#6 integrate
.. //depot/projects/vimage/src/sys/nfsclient/nfs_vnops.c#12 integrate
.. //depot/projects/vimage/src/sys/nfsserver/nfs_serv.c#7 integrate
.. //depot/projects/vimage/src/sys/nlm/nlm_prot_impl.c#2 integrate
.. //depot/projects/vimage/src/sys/pc98/cbus/clock.c#7 integrate
.. //depot/projects/vimage/src/sys/pc98/conf/GENERIC#11 integrate
.. //depot/projects/vimage/src/sys/pc98/conf/NOTES#4 integrate
.. //depot/projects/vimage/src/sys/pci/if_xl.c#8 integrate
.. //depot/projects/vimage/src/sys/pci/if_xlreg.h#4 integrate
.. //depot/projects/vimage/src/sys/powerpc/aim/machdep.c#4 integrate
.. //depot/projects/vimage/src/sys/powerpc/aim/mmu_oea.c#3 integrate
.. //depot/projects/vimage/src/sys/powerpc/booke/machdep.c#2 integrate
.. //depot/projects/vimage/src/sys/powerpc/booke/pmap.c#2 integrate
.. //depot/projects/vimage/src/sys/powerpc/conf/GENERIC#10 integrate
.. //depot/projects/vimage/src/sys/powerpc/powerpc/genassym.c#5 integrate
.. //depot/projects/vimage/src/sys/powerpc/powerpc/mmu_if.m#4 integrate
.. //depot/projects/vimage/src/sys/powerpc/powerpc/pmap_dispatch.c#6 integrate
.. //depot/projects/vimage/src/sys/security/audit/audit_worker.c#7 integrate
.. //depot/projects/vimage/src/sys/security/mac/mac_inet.c#8 integrate
.. //depot/projects/vimage/src/sys/sparc64/conf/GENERIC#10 integrate
.. //depot/projects/vimage/src/sys/sparc64/sparc64/identcpu.c#3 integrate
.. //depot/projects/vimage/src/sys/sparc64/sparc64/pmap.c#9 integrate
.. //depot/projects/vimage/src/sys/sun4v/conf/GENERIC#10 integrate
.. //depot/projects/vimage/src/sys/sun4v/sun4v/pmap.c#10 integrate
.. //depot/projects/vimage/src/sys/sys/clist.h#2 integrate
.. //depot/projects/vimage/src/sys/sys/conf.h#7 integrate
.. //depot/projects/vimage/src/sys/sys/cons.h#2 integrate
.. //depot/projects/vimage/src/sys/sys/dtrace_bsd.h#1 branch
.. //depot/projects/vimage/src/sys/sys/file.h#5 integrate
.. //depot/projects/vimage/src/sys/sys/kdb.h#4 integrate
.. //depot/projects/vimage/src/sys/sys/kernel.h#11 integrate
.. //depot/projects/vimage/src/sys/sys/linker.h#3 integrate
.. //depot/projects/vimage/src/sys/sys/malloc.h#3 integrate
.. //depot/projects/vimage/src/sys/sys/param.h#18 integrate
.. //depot/projects/vimage/src/sys/sys/pipe.h#2 integrate
.. //depot/projects/vimage/src/sys/sys/proc.h#18 integrate
.. //depot/projects/vimage/src/sys/sys/queue.h#2 integrate
.. //depot/projects/vimage/src/sys/sys/sdt.h#1 branch
.. //depot/projects/vimage/src/sys/sys/smp.h#4 integrate
.. //depot/projects/vimage/src/sys/sys/systm.h#11 integrate
.. //depot/projects/vimage/src/sys/sys/time.h#5 integrate
.. //depot/projects/vimage/src/sys/sys/tty.h#3 integrate
.. //depot/projects/vimage/src/sys/ufs/ffs/ffs_vfsops.c#8 integrate
.. //depot/projects/vimage/src/sys/ufs/ffs/fs.h#2 integrate
.. //depot/projects/vimage/src/sys/ufs/ufs/ufs_lookup.c#6 integrate
.. //depot/projects/vimage/src/sys/vm/device_pager.c#4 integrate
.. //depot/projects/vimage/src/sys/vm/pmap.h#5 integrate
.. //depot/projects/vimage/src/sys/vm/vm_mmap.c#10 integrate
.. //depot/projects/vimage/src/sys/vm/vm_object.c#14 integrate
.. //depot/projects/vimage/src/sys/vm/vm_object.h#4 integrate
.. //depot/projects/vimage/src/sys/vm/vnode_pager.c#7 integrate
Differences ...
==== //depot/projects/vimage/src/sys/Makefile#8 (text+ko) ====
@@ -1,4 +1,4 @@
-# $FreeBSD: src/sys/Makefile,v 1.46 2008/01/23 08:50:34 maxim Exp $
+# $FreeBSD: src/sys/Makefile,v 1.49 2008/05/26 10:39:52 bz Exp $
.include
@@ -8,8 +8,8 @@
.endif
# Directories to include in cscope name file and TAGS.
-CSCOPEDIRS= boot bsm cam compat conf contrib crypto ddb dev fs gdb geom gnu \
- i4b isa kern libkern modules net net80211 netatalk netatm \
+CSCOPEDIRS= boot bsm cam compat conf contrib crypto ddb dev fs gdb geom \
+ gnu isa kern libkern modules net net80211 netatalk \
netgraph netinet netinet6 netipsec netipx netnatm netncp \
netsmb nfs nfs4client nfsclient nfsserver opencrypto pccard \
pci rpc security sys ufs vm ${ARCHDIR}
@@ -25,15 +25,20 @@
HTAGSFLAGS+= -at `awk -F= '/^RELEASE *=/{release=$2}; END {print "FreeBSD", release, "kernel"}' < conf/newvers.sh`
# You need the devel/cscope port for this.
-cscope: ${.CURDIR}/cscopenamefile
- cd ${.CURDIR}; cscope -k -p4 -i cscopenamefile
+cscope: cscope.out
+cscope.out: ${.CURDIR}/cscope.files
+ cd ${.CURDIR}; cscope -k -buq -p4
+
+${.CURDIR}/cscope.files: .PHONY
+ cd ${.CURDIR}; \
+ find ${CSCOPEDIRS} -name "*.[chSs]" -a -type f > ${.TARGET}
-${.CURDIR}/cscopenamefile:
- cd ${.CURDIR}; find ${CSCOPEDIRS} -name "*.[csh]" > ${.TARGET}
+cscope-clean:
+ rm -f cscope.files cscope.out cscope.in.out cscope.po.out
# You need the devel/global and one of editor/emacs* ports for that.
-TAGS ${.CURDIR}/TAGS: ${.CURDIR}/cscopenamefile
+TAGS ${.CURDIR}/TAGS: ${.CURDIR}/cscope.files
rm -f ${.CURDIR}/TAGS
- cd ${.CURDIR}; xargs etags -a < ${.CURDIR}/cscopenamefile
+ cd ${.CURDIR}; xargs etags -a < ${.CURDIR}/cscope.files
.include
==== //depot/projects/vimage/src/sys/amd64/amd64/exception.S#5 (text+ko) ====
@@ -31,12 +31,13 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $FreeBSD: src/sys/amd64/amd64/exception.S,v 1.131 2007/12/07 08:20:15 jkoshy Exp $
+ * $FreeBSD: src/sys/amd64/amd64/exception.S,v 1.132 2008/05/24 06:32:26 jb Exp $
*/
#include "opt_atpic.h"
#include "opt_compat.h"
#include "opt_hwpmc_hooks.h"
+#include "opt_kdtrace.h"
#include
#include
@@ -44,6 +45,21 @@
#include "assym.s"
+#ifdef KDTRACE_HOOKS
+ .bss
+ .globl dtrace_invop_jump_addr
+ .align 8
+ .type dtrace_invop_jump_addr, @object
+ .size dtrace_invop_jump_addr, 8
+dtrace_invop_jump_addr:
+ .zero 8
+ .globl dtrace_invop_calltrap_addr
+ .align 8
+ .type dtrace_invop_calltrap_addr, @object
+ .size dtrace_invop_calltrap_addr, 8
+dtrace_invop_calltrap_addr:
+ .zero 8
+#endif
.text
#ifdef HWPMC_HOOKS
ENTRY(start_exceptions)
@@ -170,6 +186,30 @@
movq %r14,TF_R14(%rsp)
movq %r15,TF_R15(%rsp)
FAKE_MCOUNT(TF_RIP(%rsp))
+#ifdef KDTRACE_HOOKS
+ /*
+ * DTrace Function Boundary Trace (fbt) probes are triggered
+ * by int3 (0xcc) which causes the #BP (T_BPTFLT) breakpoint
+ * interrupt. For all other trap types, just handle them in
+ * the usual way.
+ */
+ cmpq $T_BPTFLT,TF_TRAPNO(%rsp)
+ jne calltrap
+
+ /* Check if there is no DTrace hook registered. */
+ cmpq $0,dtrace_invop_jump_addr
+ je calltrap
+
+ /*
+ * Set our jump address for the jump back in the event that
+ * the breakpoint wasn't caused by DTrace at all.
+ */
+ movq $calltrap, dtrace_invop_calltrap_addr(%rip)
+
+ /* Jump to the code hooked in by DTrace. */
+ movq dtrace_invop_jump_addr, %rax
+ jmpq *dtrace_invop_jump_addr
+#endif
.globl calltrap
.type calltrap,@function
calltrap:
==== //depot/projects/vimage/src/sys/amd64/amd64/genassym.c#8 (text+ko) ====
@@ -33,7 +33,7 @@
*/
#include
-__FBSDID("$FreeBSD: src/sys/amd64/amd64/genassym.c,v 1.167 2008/03/23 22:46:37 peter Exp $");
+__FBSDID("$FreeBSD: src/sys/amd64/amd64/genassym.c,v 1.168 2008/05/16 13:23:47 attilio Exp $");
#include "opt_compat.h"
#include "opt_kstack_pages.h"
@@ -214,7 +214,4 @@
ASSYM(KUC32SEL, GSEL(GUCODE32_SEL, SEL_UPL));
ASSYM(SEL_RPL_MASK, SEL_RPL_MASK);
-ASSYM(MTX_LOCK, offsetof(struct mtx, mtx_lock));
-ASSYM(MTX_RECURSECNT, offsetof(struct mtx, mtx_recurse));
-
ASSYM(MSR_GSBASE, MSR_GSBASE);
==== //depot/projects/vimage/src/sys/amd64/amd64/identcpu.c#8 (text+ko) ====
@@ -39,7 +39,7 @@
*/
#include
-__FBSDID("$FreeBSD: src/sys/amd64/amd64/identcpu.c,v 1.158 2008/03/02 07:58:40 jeff Exp $");
+__FBSDID("$FreeBSD: src/sys/amd64/amd64/identcpu.c,v 1.159 2008/05/23 04:03:52 alc Exp $");
#include "opt_cpu.h"
@@ -71,8 +71,6 @@
static void print_AMD_info(void);
static void print_AMD_assoc(int i);
-void setPQL2(int *const size, int *const ways);
-static void setPQL2_AMD(int *const size, int *const ways);
int cpu_class;
char machine[] = "amd64";
@@ -550,30 +548,3 @@
print_AMD_l2_assoc((regs[2] >> 12) & 0x0f);
}
}
-
-static void
-setPQL2_AMD(int *const size, int *const ways)
-{
- if (cpu_exthigh >= 0x80000006) {
- u_int regs[4];
-
- do_cpuid(0x80000006, regs);
- *size = regs[2] >> 16;
- *ways = (regs[2] >> 12) & 0x0f;
- switch (*ways) {
- case 0: /* disabled/not present */
- case 15: /* fully associative */
- default: *ways = 1; break; /* reserved configuration */
- case 4: *ways = 4; break;
- case 6: *ways = 8; break;
- case 8: *ways = 16; break;
- }
- }
-}
-
-void
-setPQL2(int *const size, int *const ways)
-{
- if (strcmp(cpu_vendor, "AuthenticAMD") == 0)
- setPQL2_AMD(size, ways);
-}
==== //depot/projects/vimage/src/sys/amd64/amd64/local_apic.c#10 (text+ko) ====
@@ -32,9 +32,10 @@
*/
#include
-__FBSDID("$FreeBSD: src/sys/amd64/amd64/local_apic.c,v 1.44 2008/03/16 10:58:02 rwatson Exp $");
+__FBSDID("$FreeBSD: src/sys/amd64/amd64/local_apic.c,v 1.45 2008/05/24 06:32:26 jb Exp $");
#include "opt_hwpmc_hooks.h"
+#include "opt_kdtrace.h"
#include "opt_ddb.h"
@@ -65,6 +66,11 @@
#include
#endif
+#ifdef KDTRACE_HOOKS
+#include
+cyclic_clock_func_t lapic_cyclic_clock_func[MAXCPU];
+#endif
+
/* Sanity checks on IDT vectors. */
CTASSERT(APIC_IO_INTS + APIC_NUM_IOINTS == APIC_TIMER_INT);
CTASSERT(APIC_TIMER_INT < APIC_LOCAL_INTS);
@@ -668,6 +674,17 @@
(*la->la_timer_count)++;
critical_enter();
+#ifdef KDTRACE_HOOKS
+ /*
+ * If the DTrace hooks are configured and a callback function
+ * has been registered, then call it to process the high speed
+ * timers.
+ */
+ int cpu = PCPU_GET(cpuid);
+ if (lapic_cyclic_clock_func[cpu] != NULL)
+ (*lapic_cyclic_clock_func[cpu])(frame);
+#endif
+
/* Fire hardclock at hz. */
la->la_hard_ticks += hz;
if (la->la_hard_ticks >= lapic_timer_hz) {
==== //depot/projects/vimage/src/sys/amd64/amd64/pmap.c#15 (text+ko) ====
@@ -77,7 +77,7 @@
*/
#include
-__FBSDID("$FreeBSD: src/sys/amd64/amd64/pmap.c,v 1.617 2008/05/11 20:33:46 alc Exp $");
+__FBSDID("$FreeBSD: src/sys/amd64/amd64/pmap.c,v 1.619 2008/06/01 07:36:59 alc Exp $");
/*
* Manages physical address maps.
@@ -2775,22 +2775,20 @@
PMAP_LOCK_ASSERT(pmap, MA_OWNED);
firstpte = (pt_entry_t *)PHYS_TO_DMAP(*pde & PG_FRAME);
- KASSERT((*firstpte & PG_V) != 0,
- ("pmap_promote_pde: firstpte is missing PG_V"));
- if ((*firstpte & PG_A) == 0) {
+ newpde = *firstpte;
+ if ((newpde & (PG_A | PG_V)) != (PG_A | PG_V)) {
pmap_pde_p_failures++;
CTR2(KTR_PMAP, "pmap_promote_pde: failure for va %#lx"
" in pmap %p", va, pmap);
return;
}
- pa = *firstpte & PG_PS_FRAME;
- newpde = *firstpte;
if ((newpde & (PG_M | PG_RW)) == PG_RW)
newpde &= ~PG_RW;
/*
* Check all the ptes before promotion
*/
+ pa = newpde & PG_PS_FRAME;
for (pte = firstpte; pte < firstpte + NPTEPG; pte++) {
retry:
oldpte = *pte;
@@ -4458,18 +4456,6 @@
critical_exit();
}
-vm_offset_t
-pmap_addr_hint(vm_object_t obj, vm_offset_t addr, vm_size_t size)
-{
-
- if ((obj == NULL) || (size < NBPDR) || (obj->type != OBJT_DEVICE)) {
- return addr;
- }
-
- addr = (addr + (NBPDR - 1)) & ~(NBPDR - 1);
- return addr;
-}
-
/*
* Increase the starting virtual address of the given mapping if a
* different alignment might result in more superpage mappings.
==== //depot/projects/vimage/src/sys/amd64/amd64/trap.c#9 (text+ko) ====
@@ -38,7 +38,7 @@
*/
#include
-__FBSDID("$FreeBSD: src/sys/amd64/amd64/trap.c,v 1.325 2008/03/12 10:11:54 jeff Exp $");
+__FBSDID("$FreeBSD: src/sys/amd64/amd64/trap.c,v 1.326 2008/05/24 06:32:26 jb Exp $");
/*
* AMD64 Trap and System call handling
@@ -49,6 +49,7 @@
#include "opt_hwpmc_hooks.h"
#include "opt_isa.h"
#include "opt_kdb.h"
+#include "opt_kdtrace.h"
#include "opt_ktrace.h"
#include
@@ -94,6 +95,26 @@
#endif
#include
+#ifdef KDTRACE_HOOKS
+#include
+
+/*
+ * This is a hook which is initialised by the dtrace module
+ * to handle traps which might occur during DTrace probe
+ * execution.
+ */
+dtrace_trap_func_t dtrace_trap_func;
+
+dtrace_doubletrap_func_t dtrace_doubletrap_func;
+
+/*
+ * This is a hook which is initialised by the systrace module
+ * when it is loaded. This keeps the DTrace syscall provider
+ * implementation opaque.
+ */
+systrace_probe_func_t systrace_probe_func;
+#endif
+
extern void trap(struct trapframe *frame);
extern void syscall(struct trapframe *frame);
void dblfault_handler(struct trapframe *frame);
@@ -199,6 +220,24 @@
goto out;
#endif
+#ifdef KDTRACE_HOOKS
+ /*
+ * A trap can occur while DTrace executes a probe. Before
+ * executing the probe, DTrace blocks re-scheduling and sets
+ * a flag in it's per-cpu flags to indicate that it doesn't
+ * want to fault. On returning from the the probe, the no-fault
+ * flag is cleared and finally re-scheduling is enabled.
+ *
+ * If the DTrace kernel module has registered a trap handler,
+ * call it and if it returns non-zero, assume that it has
+ * handled the trap and modified the trap frame so that this
+ * function can return normally.
+ */
+ if (dtrace_trap_func != NULL)
+ if ((*dtrace_trap_func)(frame, type))
+ goto out;
+#endif
+
if ((frame->tf_rflags & PSL_I) == 0) {
/*
* Buggy application or kernel code has disabled
>>> TRUNCATED FOR MAIL (1000 lines) <<<
From owner-p4-projects@FreeBSD.ORG Sun Jun 1 23:49:33 2008
Return-Path:
Delivered-To: p4-projects@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 32767)
id D270E106567A; Sun, 1 Jun 2008 23:49:32 +0000 (UTC)
Delivered-To: perforce@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
by hub.freebsd.org (Postfix) with ESMTP id 9390D1065676
for ; Sun, 1 Jun 2008 23:49:32 +0000 (UTC)
(envelope-from jb@freebsd.org)
Received: from repoman.freebsd.org (repoman.freebsd.org
[IPv6:2001:4f8:fff6::29])
by mx1.freebsd.org (Postfix) with ESMTP id 70E218FC16
for ; Sun, 1 Jun 2008 23:49:32 +0000 (UTC)
(envelope-from jb@freebsd.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m51NnWMC026066
for ; Sun, 1 Jun 2008 23:49:32 GMT
(envelope-from jb@freebsd.org)
Received: (from perforce@localhost)
by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m51NnWNI026064
for perforce@freebsd.org; Sun, 1 Jun 2008 23:49:32 GMT
(envelope-from jb@freebsd.org)
Date: Sun, 1 Jun 2008 23:49:32 GMT
Message-Id: <200806012349.m51NnWNI026064@repoman.freebsd.org>
X-Authentication-Warning: repoman.freebsd.org: perforce set sender to
jb@freebsd.org using -f
From: John Birrell
To: Perforce Change Reviews
Cc:
Subject: PERFORCE change 142724 for review
X-BeenThere: p4-projects@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: p4 projects tree changes
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 01 Jun 2008 23:49:33 -0000
http://perforce.freebsd.org/chv.cgi?CH=142724
Change 142724 by jb@freebsd3 on 2008/06/01 23:49:00
IFC
Affected files ...
.. //depot/projects/dtrace/doc/en_US.ISO8859-1/articles/Makefile#10 integrate
.. //depot/projects/dtrace/doc/en_US.ISO8859-1/articles/contributors/contrib.additional.sgml#80 integrate
.. //depot/projects/dtrace/doc/en_US.ISO8859-1/articles/contributors/contrib.committers.sgml#45 integrate
.. //depot/projects/dtrace/doc/en_US.ISO8859-1/articles/contributors/contrib.develalumni.sgml#20 integrate
.. //depot/projects/dtrace/doc/en_US.ISO8859-1/articles/cups/Makefile#1 branch
.. //depot/projects/dtrace/doc/en_US.ISO8859-1/articles/cups/article.sgml#1 branch
.. //depot/projects/dtrace/doc/en_US.ISO8859-1/articles/ldap-auth/Makefile#1 branch
.. //depot/projects/dtrace/doc/en_US.ISO8859-1/articles/ldap-auth/article.sgml#1 branch
.. //depot/projects/dtrace/doc/en_US.ISO8859-1/books/faq/book.sgml#20 integrate
.. //depot/projects/dtrace/doc/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml#15 integrate
.. //depot/projects/dtrace/doc/en_US.ISO8859-1/books/handbook/config/chapter.sgml#12 integrate
.. //depot/projects/dtrace/doc/en_US.ISO8859-1/books/handbook/firewalls/chapter.sgml#16 integrate
.. //depot/projects/dtrace/doc/en_US.ISO8859-1/books/handbook/install/chapter.sgml#18 integrate
.. //depot/projects/dtrace/doc/en_US.ISO8859-1/books/handbook/kernelconfig/chapter.sgml#13 integrate
.. //depot/projects/dtrace/doc/en_US.ISO8859-1/books/handbook/mail/chapter.sgml#6 integrate
.. //depot/projects/dtrace/doc/en_US.ISO8859-1/books/handbook/ppp-and-slip/chapter.sgml#8 integrate
.. //depot/projects/dtrace/doc/en_US.ISO8859-1/books/handbook/serialcomms/chapter.sgml#10 integrate
.. //depot/projects/dtrace/doc/en_US.ISO8859-1/books/handbook/vinum/chapter.sgml#6 integrate
.. //depot/projects/dtrace/doc/share/sgml/man-refs.ent#33 integrate
.. //depot/projects/dtrace/ports/MOVED#94 integrate
.. //depot/projects/dtrace/ports/Tools/scripts/tindex#6 integrate
.. //depot/projects/dtrace/ports/UPDATING#76 integrate
.. //depot/projects/dtrace/src/MAINTAINERS#16 integrate
.. //depot/projects/dtrace/src/games/fortune/datfiles/freebsd-tips#7 integrate
.. //depot/projects/dtrace/src/release/doc/en_US.ISO8859-1/readme/article.sgml#6 integrate
.. //depot/projects/dtrace/src/release/doc/en_US.ISO8859-1/relnotes/article.sgml#23 integrate
.. //depot/projects/dtrace/src/release/doc/share/sgml/release.ent#9 integrate
.. //depot/projects/dtrace/src/share/sendmail/Makefile#4 integrate
.. //depot/projects/dtrace/src/sys/amd64/amd64/pmap.c#45 integrate
.. //depot/projects/dtrace/src/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c#9 integrate
.. //depot/projects/dtrace/src/sys/cddl/contrib/opensolaris/uts/common/sys/dtrace_impl.h#6 integrate
.. //depot/projects/dtrace/src/sys/dev/ath/ah_osdep.h#5 integrate
.. //depot/projects/dtrace/src/sys/dev/atkbdc/psm.c#10 integrate
.. //depot/projects/dtrace/src/sys/dev/nve/if_nve.c#8 integrate
.. //depot/projects/dtrace/src/sys/dev/nve/if_nvereg.h#5 integrate
.. //depot/projects/dtrace/src/sys/dev/pccard/pccard_cis.c#6 integrate
.. //depot/projects/dtrace/src/sys/fs/devfs/devfs_vnops.c#21 integrate
.. //depot/projects/dtrace/src/sys/modules/dtrace/Makefile#32 integrate
.. //depot/projects/dtrace/src/sys/netgraph/ng_nat.c#10 integrate
.. //depot/projects/dtrace/src/sys/netinet/ip_fw_nat.c#2 integrate
.. //depot/projects/dtrace/src/sys/netinet/libalias/alias.c#10 integrate
.. //depot/projects/dtrace/src/sys/netinet/libalias/alias_db.c#8 integrate
.. //depot/projects/dtrace/src/sys/netinet/libalias/alias_local.h#7 integrate
.. //depot/projects/dtrace/src/usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c#5 integrate
.. //depot/projects/dtrace/src/usr.sbin/sicontrol/sicontrol.c#4 integrate
.. //depot/projects/dtrace/www/en/docs/books.sgml#18 integrate
.. //depot/projects/dtrace/www/en/news/news.sgml#8 integrate
.. //depot/projects/dtrace/www/en/platforms/arm.sgml#6 integrate
.. //depot/projects/dtrace/www/en/platforms/mips.sgml#4 integrate
.. //depot/projects/dtrace/www/en/security/security.sgml#14 integrate
Differences ...
==== //depot/projects/dtrace/doc/en_US.ISO8859-1/articles/Makefile#10 (text+ko) ====
@@ -1,4 +1,4 @@
-# $FreeBSD: doc/en_US.ISO8859-1/articles/Makefile,v 1.58 2008/04/28 15:44:35 gabor Exp $
+# $FreeBSD: doc/en_US.ISO8859-1/articles/Makefile,v 1.60 2008/05/31 13:32:19 remko Exp $
SUBDIR =
SUBDIR+= 5-roadmap
@@ -12,6 +12,7 @@
SUBDIR+= contributing
SUBDIR+= contributing-ports
SUBDIR+= contributors
+SUBDIR+= cups
SUBDIR+= cvs-freebsd
SUBDIR+= cvsup-advanced
SUBDIR+= dialup-firewall
@@ -29,6 +30,7 @@
SUBDIR+= hubs
SUBDIR+= ipsec-must
SUBDIR+= laptop
+SUBDIR+= ldap-auth
SUBDIR+= linux-comparison
SUBDIR+= linux-emulation
SUBDIR+= linux-users
==== //depot/projects/dtrace/doc/en_US.ISO8859-1/articles/contributors/contrib.additional.sgml#80 (text+ko) ====
@@ -1,4 +1,4 @@
-
+
+
+
@@ -324,7 +324,7 @@
2003)
-
+
&a.amurai; (1995 - 2003)
@@ -705,8 +705,8 @@
Andrew L. Moore (1993 - 1995)
-
-
@@ -2165,11 +2165,6 @@
ubt0: Interface 1 (alt.config 5) endpoints: isoc-in=0x83, isoc-out=0x3,
wMaxPacketSize=49, nframes=6, buffer size=294
-
- The Bluetooth stack has to be started manually on &os; 6.0, and
- on &os; 5.X before 5.5. It is done automatically from &man.devd.8;
- on &os; 5.5, 6.1 and newer.
-
Copy
/usr/share/examples/netgraph/bluetooth/rc.bluetooth
into some convenient place, like /etc/rc.bluetooth.
@@ -2190,7 +2185,6 @@
Number of ACL packets: 8
Max. SCO packet size: 64 bytes
Number of SCO packets: 8
-
@@ -2509,12 +2503,6 @@
&prompt.root; /etc/rc.d/sdpd start
- On &os; 6.0, and on &os; 5.X before 5.5,
- sdpd is not integrated into the system
- startup scripts. It has to be started manually with:
-
- &prompt.root; sdpd
-
The local server application that wants to provide Bluetooth
service to the remote clients will register service with the local
SDP daemon. The example of such application is &man.rfcomm.pppd.8;.
==== //depot/projects/dtrace/doc/en_US.ISO8859-1/books/handbook/config/chapter.sgml#12 (text+ko) ====
@@ -1,7 +1,7 @@
@@ -367,13 +367,11 @@
While every script must meet some minimal requirements, most
of the time these requirements are &os; version
- agnostic. Each script must have a .sh
- extension appended to the end and every script must be
- executable by the system. The latter may be achieved by using
- the chmod command and setting the unique permissions
- of 755. There should also be, at minimal,
- an option to start the application and an
- option to stop the application.
+ agnostic. Each script must be executable by the system; this is
+ typically achieved by using the chmod command and
+ setting the unique permissions of 555. There should
+ also be, at minimal, options to start and stop
+ the application.The simplest start up script would probably look a little
bit like this one:
@@ -2171,7 +2169,7 @@
connected at once, the resources needed may be similar to a
high-scale web server.
- As of FreeBSD 4.5, kern.maxusers is
+ The variable kern.maxusers is
automatically sized at boot based on the amount of memory available
in the system, and may be determined at run-time by inspecting the
value of the read-only kern.maxusers sysctl.
@@ -2184,9 +2182,7 @@
boot-time or run-time in /boot/loader.conf (see
the &man.loader.conf.5; man page or the
/boot/defaults/loader.conf file for some hints)
- or as described elsewhere in this document. Systems older than
- FreeBSD 4.4 must set this value via the kernel &man.config.8;
- option instead.
+ or as described elsewhere in this document.In older releases, the system will auto-tune
maxusers for you if you explicitly set it to
@@ -2218,14 +2214,7 @@
limit the number of users which can log into your machine. It
simply sets various table sizes to reasonable values considering
the maximum number of users you will likely have on your system
- and how many processes each of them will be running. One keyword
- which does limit the number of simultaneous
- remote logins and X terminal windows is pseudo-device pty
- 16. With &os; 5.X, you do not have to
- worry about this number since the &man.pty.4; driver is
- auto-cloning; you simply use the line
- device pty in your configuration file.
+ and how many processes each of them will be running.
==== //depot/projects/dtrace/doc/en_US.ISO8859-1/books/handbook/firewalls/chapter.sgml#16 (text+ko) ====
@@ -1,7 +1,7 @@
@@ -393,9 +393,8 @@
When browsing the pf user's guide, please keep in mind that
different versions of &os; contain different versions of pf. The
- pf firewall in &os; 5.X is at the level
- of OpenBSD version 3.5 and in &os; 6.X is at the level of OpenBSD
- version 3.7.
+ pf firewall in &os; 6.X is at the level
+ of OpenBSD version 3.7.
The &a.pf; is a good place to ask questions about
==== //depot/projects/dtrace/doc/en_US.ISO8859-1/books/handbook/install/chapter.sgml#18 (text+ko) ====
@@ -1,7 +1,7 @@
@@ -2030,15 +2030,6 @@
G for gigabytes, or C for
cylinders.
- Beginning with FreeBSD 5.X, users can: select
- UFS2 (which is default on &os; 5.1 and
- above) using the Custom Newfs
- (Z) option, create labels with
- Auto Defaults and modify them with the Custom Newfs option or
- add during the regular creation period.
- Do not forget to add for SoftUpdates if you use the Custom Newfs
- option!
-
Free Space for Root Partition
@@ -2428,8 +2419,8 @@
installation. An option can be configured by re-entering the
configuration options before booting the new FreeBSD
system or after installation using
- sysinstall (/stand/sysinstall
- in &os; versions older than 5.2) and selecting
+ sysinstall
+ and selecting
Configure.
@@ -3472,8 +3463,8 @@
Groups can also be added at this time if specific needs
are known. Otherwise, this may be accessed through using
- sysinstall (/stand/sysinstall
- in &os; versions older than 5.2) after installation is
+ sysinstall
+ after installation is
completed.When you are finished adding users, select
@@ -3512,9 +3503,7 @@
If you need to configure additional network services or
any other configuration, you can do it at this point or
- after installation with sysinstall
- (/stand/sysinstall in &os; versions older
- than 5.2).
+ after installation with sysinstall. User Confirmation Requested
Visit the general configuration menu for a chance to set any last
@@ -4147,7 +4136,7 @@
drive is not probed.
- &os; 5.0 and above makes extensive use of the system
+ &os; makes extensive use of the system
ACPI service on the i386, amd64 and ia64 platforms to
aid in system configuration if it is detected during
boot. Unfortunately, some bugs still exist in both the
@@ -4417,9 +4406,6 @@
&prompt.root; cu -l /dev/cuad0
- On &os; 5.X, use
- /dev/cuaa0 instead of
- /dev/cuad0.
@@ -4497,7 +4483,7 @@
That directory will normally contain the following images:
- FreeBSD 5.X and 6.X
+ FreeBSD 6.X and 7.X
ISO Image Names and Meanings
@@ -4531,14 +4517,14 @@
version-RELEASE-arch-disc2.iso
- &os; documentation (prior to &os; 6.2) and as many
+ As many
third-party packages as would fit on the disc.version-RELEASE-arch-docs.iso
- &os; documentation (for &os; 6.2 and later).
+ &os; documentation.
==== //depot/projects/dtrace/doc/en_US.ISO8859-1/books/handbook/kernelconfig/chapter.sgml#13 (text+ko) ====
@@ -1,7 +1,7 @@
@@ -975,7 +975,7 @@
#device apm
Advanced Power Management support. Useful for laptops,
- although in &os; 5.X and above this is disabled in
+ although this is disabled in
GENERIC by default.# Add suspend/resume support for the i8254.
==== //depot/projects/dtrace/doc/en_US.ISO8859-1/books/handbook/mail/chapter.sgml#6 (text+ko) ====
@@ -1,7 +1,7 @@
@@ -702,12 +702,6 @@
Disable sendmail
- The procedure used to start
- sendmail changed significantly
- between 4.5-RELEASE, 4.6-RELEASE, and later releases.
- Therefore, the procedure used to disable it is subtly
- different.
-
If you disable sendmail's
outgoing mail service, it is important that you replace it
@@ -724,53 +718,10 @@
never be delivered.
-
- FreeBSD 4.5-STABLE before 2002/4/4 and Earlier
- (Including 4.5-RELEASE and Earlier)
-
- Enter:
-
- sendmail_enable="NO"
-
- into /etc/rc.conf. This will disable
- sendmail's incoming mail service,
- but if /etc/mail/mailer.conf (see below)
- is not changed, sendmail will
- still be used to send e-mail.
-
-
-
- FreeBSD 4.5-STABLE after 2002/4/4
- (Including 4.6-RELEASE and Later)
-
In order to completely disable
sendmail, including the outgoing
mail service, you must use
- sendmail_enable="NONE"
-
- in /etc/rc.conf.
-
- If you only want to disable
- sendmail's incoming mail service,
- you should set
-
- sendmail_enable="NO"
-
- in /etc/rc.conf. However, if
- incoming mail is disabled, local delivery will still
- function. More information on
- sendmail's startup options is
- available from the &man.rc.sendmail.8; manual page.
>>> TRUNCATED FOR MAIL (1000 lines) <<<
From owner-p4-projects@FreeBSD.ORG Sun Jun 1 23:53:37 2008
Return-Path:
Delivered-To: p4-projects@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 32767)
id 6878110656B5; Sun, 1 Jun 2008 23:53:37 +0000 (UTC)
Delivered-To: perforce@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
by hub.freebsd.org (Postfix) with ESMTP id 29C7B106568B
for ; Sun, 1 Jun 2008 23:53:37 +0000 (UTC)
(envelope-from jb@freebsd.org)
Received: from repoman.freebsd.org (repoman.freebsd.org
[IPv6:2001:4f8:fff6::29])
by mx1.freebsd.org (Postfix) with ESMTP id BD0FC8FC19
for ; Sun, 1 Jun 2008 23:53:36 +0000 (UTC)
(envelope-from jb@freebsd.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m51Nraps026376
for ; Sun, 1 Jun 2008 23:53:36 GMT
(envelope-from jb@freebsd.org)
Received: (from perforce@localhost)
by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m51Nravl026374
for perforce@freebsd.org; Sun, 1 Jun 2008 23:53:36 GMT
(envelope-from jb@freebsd.org)
Date: Sun, 1 Jun 2008 23:53:36 GMT
Message-Id: <200806012353.m51Nravl026374@repoman.freebsd.org>
X-Authentication-Warning: repoman.freebsd.org: perforce set sender to
jb@freebsd.org using -f
From: John Birrell
To: Perforce Change Reviews
Cc:
Subject: PERFORCE change 142725 for review
X-BeenThere: p4-projects@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: p4 projects tree changes
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 01 Jun 2008 23:53:37 -0000
http://perforce.freebsd.org/chv.cgi?CH=142725
Change 142725 by jb@freebsd3 on 2008/06/01 23:52:47
IF7
Affected files ...
.. //depot/projects/dtrace7/src/MAINTAINERS#2 integrate
.. //depot/projects/dtrace7/src/sys/conf/files.sparc64#4 integrate
.. //depot/projects/dtrace7/src/sys/conf/files.sun4v#4 integrate
.. //depot/projects/dtrace7/src/sys/dev/sym/sym_defs.h#2 integrate
.. //depot/projects/dtrace7/src/sys/dev/sym/sym_fw.h#2 integrate
.. //depot/projects/dtrace7/src/sys/dev/sym/sym_fw1.h#2 integrate
.. //depot/projects/dtrace7/src/sys/dev/sym/sym_fw2.h#2 integrate
.. //depot/projects/dtrace7/src/sys/dev/sym/sym_hipd.c#2 integrate
.. //depot/projects/dtrace7/src/sys/fs/devfs/devfs_vnops.c#3 integrate
.. //depot/projects/dtrace7/src/sys/ia64/ia64/machdep.c#7 integrate
.. //depot/projects/dtrace7/src/sys/kern/kern_conf.c#6 integrate
.. //depot/projects/dtrace7/src/sys/kern/tty.c#4 integrate
.. //depot/projects/dtrace7/src/sys/nfsserver/nfs_serv.c#3 integrate
.. //depot/projects/dtrace7/src/sys/sparc64/fhc/fhc.c#2 integrate
.. //depot/projects/dtrace7/src/sys/sparc64/include/bus_common.h#3 integrate
.. //depot/projects/dtrace7/src/sys/sparc64/include/intr_machdep.h#3 integrate
.. //depot/projects/dtrace7/src/sys/sparc64/isa/isa.c#2 integrate
.. //depot/projects/dtrace7/src/sys/sparc64/pci/ofw_pci.h#2 integrate
.. //depot/projects/dtrace7/src/sys/sparc64/pci/ofw_pci_if.m#3 delete
.. //depot/projects/dtrace7/src/sys/sparc64/pci/psycho.c#5 integrate
.. //depot/projects/dtrace7/src/sys/sparc64/sbus/sbus.c#3 integrate
.. //depot/projects/dtrace7/src/sys/sparc64/sparc64/intr_machdep.c#4 integrate
.. //depot/projects/dtrace7/src/sys/sparc64/sparc64/mp_machdep.c#4 integrate
.. //depot/projects/dtrace7/src/sys/sparc64/sparc64/upa.c#2 integrate
.. //depot/projects/dtrace7/src/sys/sun4v/sun4v/hv_pci.c#2 integrate
Differences ...
==== //depot/projects/dtrace7/src/MAINTAINERS#2 (text+ko) ====
@@ -1,4 +1,4 @@
-$FreeBSD: src/MAINTAINERS,v 1.145 2007/05/23 21:47:19 jfv Exp $
+$FreeBSD: src/MAINTAINERS,v 1.145.2.1 2008/05/31 22:25:43 peter Exp $
Please note that the content of this file is strictly advisory.
No locks listed here are valid. The only strict review requirements
@@ -72,7 +72,6 @@
ps gad I am working on a number of changes to this. Would
like advance notice of major changes planned to it.
cvs peter Heads-up appreciated, try not to break it.
-ncurses peter Heads-up appreciated, try not to break it.
nvi peter Try not to break it.
libz peter Try not to break it.
pppd/chat peter Try not to break it.
==== //depot/projects/dtrace7/src/sys/conf/files.sparc64#4 (text+ko) ====
@@ -1,7 +1,7 @@
# This file tells config what files go into building a kernel,
# files marked standard are always included.
#
-# $FreeBSD: src/sys/conf/files.sparc64,v 1.92.2.2 2008/04/10 22:09:22 rwatson Exp $
+# $FreeBSD: src/sys/conf/files.sparc64,v 1.92.2.3 2008/05/30 22:24:34 marius Exp $
#
# The long compile-with and dependency lines are required because of
# limitations in config: backslash-newline doesn't work in strings, and
@@ -83,7 +83,6 @@
sparc64/pci/ofw_pcib.c optional pci
sparc64/pci/ofw_pcib_subr.c optional pci
sparc64/pci/ofw_pcibus.c optional pci
-sparc64/pci/ofw_pci_if.m optional pci
sparc64/pci/psycho.c optional pci
sparc64/sbus/dma_sbus.c optional sbus
sparc64/sbus/sbus.c optional sbus
==== //depot/projects/dtrace7/src/sys/conf/files.sun4v#4 (text+ko) ====
@@ -1,7 +1,7 @@
# This file tells config what files go into building a kernel,
# files marked standard are always included.
#
-# $FreeBSD: src/sys/conf/files.sun4v,v 1.11.2.2 2008/05/07 21:19:34 marius Exp $
+# $FreeBSD: src/sys/conf/files.sun4v,v 1.11.2.3 2008/05/30 22:24:34 marius Exp $
#
# The long compile-with and dependency lines are required because of
# limitations in config: backslash-newline doesn't work in strings, and
@@ -48,7 +48,6 @@
sparc64/pci/ofw_pcib.c optional pci
sparc64/pci/ofw_pcib_subr.c optional pci
sparc64/pci/ofw_pcibus.c optional pci
-sparc64/pci/ofw_pci_if.m optional pci
# XXX hvcons should be optional
sun4v/sun4v/hvcons.c standard
==== //depot/projects/dtrace7/src/sys/dev/sym/sym_defs.h#2 (text+ko) ====
@@ -55,7 +55,7 @@
* SUCH DAMAGE.
*/
-/* $FreeBSD: src/sys/dev/sym/sym_defs.h,v 1.11 2005/01/06 01:43:24 imp Exp $ */
+/* $FreeBSD: src/sys/dev/sym/sym_defs.h,v 1.11.10.1 2008/05/30 22:00:02 marius Exp $ */
#ifndef SYM_DEFS_H
#define SYM_DEFS_H
@@ -90,7 +90,7 @@
struct sym_pci_chip {
u_short device_id;
unsigned short revision_id;
- char *name;
+ const char *name;
u_char burst_max; /* log-base-2 of max burst */
u_char offset_max;
u_char nr_divisor;
==== //depot/projects/dtrace7/src/sys/dev/sym/sym_fw.h#2 (text+ko) ====
@@ -55,7 +55,7 @@
* SUCH DAMAGE.
*/
-/* $FreeBSD: src/sys/dev/sym/sym_fw.h,v 1.5 2005/01/06 01:43:24 imp Exp $ */
+/* $FreeBSD: src/sys/dev/sym/sym_fw.h,v 1.5.10.1 2008/05/30 22:00:02 marius Exp $ */
#ifndef SYM_FW_H
#define SYM_FW_H
@@ -135,17 +135,17 @@
* Generic structure that defines a firmware.
*/
struct sym_fw {
- char *name; /* Name we want to print out */
- u32 *a_base; /* Pointer to script A template */
+ const char *name; /* Name we want to print out */
+ const u32 *a_base;/* Pointer to script A template */
int a_size; /* Size of script A */
- struct sym_fwa_ofs
+ const struct sym_fwa_ofs
*a_ofs; /* Useful offsets in script A */
- u32 *b_base; /* Pointer to script B template */
+ const u32 *b_base;/* Pointer to script B template */
int b_size; /* Size of script B */
- struct sym_fwb_ofs
+ const struct sym_fwb_ofs
*b_ofs; /* Useful offsets in script B */
/* Setup and patch methods for this firmware */
- void (*setup)(struct sym_hcb *, struct sym_fw *);
+ void (*setup)(struct sym_hcb *, const struct sym_fw *);
void (*patch)(struct sym_hcb *);
};
@@ -155,8 +155,8 @@
#define SYM_FW_ENTRY(fw, name) \
{ \
name, \
- (u32 *) &fw##a_scr, sizeof(fw##a_scr), &fw##a_ofs, \
- (u32 *) &fw##b_scr, sizeof(fw##b_scr), &fw##b_ofs, \
+ (const u32 *) &fw##a_scr, sizeof(fw##a_scr), &fw##a_ofs,\
+ (const u32 *) &fw##b_scr, sizeof(fw##b_scr), &fw##b_ofs,\
fw##_setup, fw##_patch \
}
==== //depot/projects/dtrace7/src/sys/dev/sym/sym_fw1.h#2 (text+ko) ====
@@ -55,7 +55,7 @@
* SUCH DAMAGE.
*/
-/* $FreeBSD: src/sys/dev/sym/sym_fw1.h,v 1.8 2006/08/04 07:56:34 yar Exp $ */
+/* $FreeBSD: src/sys/dev/sym/sym_fw1.h,v 1.8.2.1 2008/05/30 22:00:02 marius Exp $ */
/*
* Scripts for SYMBIOS-Processor
@@ -219,7 +219,7 @@
u32 snoopend [ 2];
};
-static struct SYM_FWA_SCR SYM_FWA_SCR = {
+static const struct SYM_FWA_SCR SYM_FWA_SCR = {
/*--------------------------< START >----------------------------*/ {
/*
* Switch the LED on.
@@ -1342,7 +1342,7 @@
}/*--------------------------<>----------------------------------*/
};
-static struct SYM_FWB_SCR SYM_FWB_SCR = {
+static const struct SYM_FWB_SCR SYM_FWB_SCR = {
/*-------------------------< NO_DATA >--------------------------*/ {
SCR_JUMP,
PADDR_B (data_ovrun),
==== //depot/projects/dtrace7/src/sys/dev/sym/sym_fw2.h#2 (text+ko) ====
@@ -55,7 +55,7 @@
* SUCH DAMAGE.
*/
-/* $FreeBSD: src/sys/dev/sym/sym_fw2.h,v 1.9 2006/08/04 07:56:34 yar Exp $ */
+/* $FreeBSD: src/sys/dev/sym/sym_fw2.h,v 1.9.2.1 2008/05/30 22:00:02 marius Exp $ */
/*
* Scripts for SYMBIOS-Processor
@@ -210,7 +210,7 @@
u32 snoopend [ 2];
};
-static struct SYM_FWA_SCR SYM_FWA_SCR = {
+static const struct SYM_FWA_SCR SYM_FWA_SCR = {
/*--------------------------< START >----------------------------*/ {
/*
* Switch the LED on.
@@ -1195,7 +1195,7 @@
}/*-------------------------<>-----------------------------------*/
};
-static struct SYM_FWB_SCR SYM_FWB_SCR = {
+static const struct SYM_FWB_SCR SYM_FWB_SCR = {
/*--------------------------< START64 >--------------------------*/ {
/*
* SCRIPT entry point for the 895A, 896 and 1010.
==== //depot/projects/dtrace7/src/sys/dev/sym/sym_hipd.c#2 (text+ko) ====
@@ -1,5 +1,5 @@
/*-
- * Device driver optimized for the Symbios/LSI 53C896/53C895A/53C1010
+ * Device driver optimized for the Symbios/LSI 53C896/53C895A/53C1010
* PCI-SCSI controllers.
*
* Copyright (C) 1999-2001 Gerard Roudier
@@ -8,11 +8,11 @@
* 53C810A, 53C825A, 53C860, 53C875, 53C876, 53C885, 53C895,
* 53C810, 53C815, 53C825 and the 53C1510D is 53C8XX mode.
*
- *
+ *
* This driver for FreeBSD-CAM is derived from the Linux sym53c8xx driver.
* Copyright (C) 1998-1999 Gerard Roudier
*
- * The sym53c8xx driver is derived from the ncr53c8xx driver that had been
+ * The sym53c8xx driver is derived from the ncr53c8xx driver that had been
* a port of the FreeBSD ncr driver to Linux-1.2.13.
*
* The original ncr driver has been written for 386bsd and FreeBSD by
@@ -20,8 +20,8 @@
* Stefan Esser
* Copyright (C) 1994 Wolfgang Stanglmeier
*
- * The initialisation code, and part of the code that addresses
- * FreeBSD-CAM services is based on the aic7xxx driver for FreeBSD-CAM
+ * The initialisation code, and part of the code that addresses
+ * FreeBSD-CAM services is based on the aic7xxx driver for FreeBSD-CAM
* written by Justin T. Gibbs.
*
* Other major contributions:
@@ -56,7 +56,7 @@
*/
#include
-__FBSDID("$FreeBSD: src/sys/dev/sym/sym_hipd.c,v 1.67 2007/07/20 23:02:01 se Exp $");
+__FBSDID("$FreeBSD: src/sys/dev/sym/sym_hipd.c,v 1.67.2.3 2008/05/30 22:00:02 marius Exp $");
#define SYM_DRIVER_NAME "sym-1.6.5-20000902"
@@ -118,12 +118,12 @@
/*
* IA32 architecture does not reorder STORES and prevents
- * LOADS from passing STORES. It is called `program order'
- * by Intel and allows device drivers to deal with memory
- * ordering by only ensuring that the code is not reordered
+ * LOADS from passing STORES. It is called `program order'
+ * by Intel and allows device drivers to deal with memory
+ * ordering by only ensuring that the code is not reordered
* by the compiler when ordering is required.
- * Other architectures implement a weaker ordering that
- * requires memory barriers (and also IO barriers when they
+ * Other architectures implement a weaker ordering that
+ * requires memory barriers (and also IO barriers when they
* make sense) to be used.
*/
@@ -154,12 +154,12 @@
static __inline struct sym_quehead *sym_que_first(struct sym_quehead *head)
{
- return (head->flink == head) ? 0 : head->flink;
+ return (head->flink == head) ? NULL : head->flink;
}
static __inline struct sym_quehead *sym_que_last(struct sym_quehead *head)
{
- return (head->blink == head) ? 0 : head->blink;
+ return (head->blink == head) ? NULL : head->blink;
}
static __inline void __sym_que_add(struct sym_quehead * new,
@@ -218,7 +218,7 @@
if (elem != head)
__sym_que_del(head, elem->flink);
else
- elem = 0;
+ elem = NULL;
return elem;
}
@@ -231,7 +231,7 @@
if (elem != head)
__sym_que_del(elem->blink, head);
else
- elem = 0;
+ elem = NULL;
return elem;
}
@@ -248,7 +248,7 @@
/*
* Simple bitmap operations.
- */
+ */
#define sym_set_bit(p, n) (((u32 *)(p))[(n)>>5] |= (1<<((n)&0x1f)))
#define sym_clr_bit(p, n) (((u32 *)(p))[(n)>>5] &= ~(1<<((n)&0x1f)))
#define sym_is_bit(p, n) (((u32 *)(p))[(n)>>5] & (1<<((n)&0x1f)))
@@ -292,7 +292,7 @@
#endif
/*
- * Asynchronous pre-scaler (ns). Shall be 40 for
+ * Asynchronous pre-scaler (ns). Shall be 40 for
* the SCSI timings to be compliant.
*/
#define SYM_CONF_MIN_ASYNC (40)
@@ -300,7 +300,7 @@
/*
* Number of entries in the START and DONE queues.
*
- * We limit to 1 PAGE in order to succeed allocation of
+ * We limit to 1 PAGE in order to succeed allocation of
* these queues. Each entry is 8 bytes long (2 DWORDS).
*/
#ifdef SYM_CONF_MAX_START
@@ -357,18 +357,18 @@
/*
* Simple power of two buddy-like allocator.
*
- * This simple code is not intended to be fast, but to
+ * This simple code is not intended to be fast, but to
* provide power of 2 aligned memory allocations.
- * Since the SCRIPTS processor only supplies 8 bit arithmetic,
- * this allocator allows simple and fast address calculations
- * from the SCRIPTS code. In addition, cache line alignment
+ * Since the SCRIPTS processor only supplies 8 bit arithmetic,
+ * this allocator allows simple and fast address calculations
+ * from the SCRIPTS code. In addition, cache line alignment
* is guaranteed for power of 2 cache line size.
*
- * This allocator has been developped for the Linux sym53c8xx
- * driver, since this O/S does not provide naturally aligned
+ * This allocator has been developped for the Linux sym53c8xx
+ * driver, since this O/S does not provide naturally aligned
* allocations.
- * It has the advantage of allowing the driver to use private
- * pages of memory that will be useful if we ever need to deal
+ * It has the advantage of allowing the driver to use private
+ * pages of memory that will be useful if we ever need to deal
* with IO MMUs for PCI.
*/
@@ -428,7 +428,7 @@
m_link_s *h = mp->h;
if (size > MEMO_CLUSTER_SIZE)
- return 0;
+ return NULL;
while (size > s) {
s <<= 1;
@@ -440,7 +440,7 @@
if (s == MEMO_CLUSTER_SIZE) {
h[j].next = (m_link_s *) M_GETP();
if (h[j].next)
- h[j].next->next = 0;
+ h[j].next->next = NULL;
break;
}
++j;
@@ -453,7 +453,7 @@
j -= 1;
s >>= 1;
h[j].next = (m_link_s *) (a+s);
- h[j].next->next = 0;
+ h[j].next->next = NULL;
}
}
#ifdef DEBUG
@@ -540,7 +540,7 @@
* Default memory pool we donnot need to involve in DMA.
*/
/*
- * With the `bus dma abstraction', we use a separate pool for
+ * With the `bus dma abstraction', we use a separate pool for
* memory we donnot need to involve in DMA.
*/
static m_addr_t ___mp0_getp(m_pool_s *mp)
@@ -592,11 +592,11 @@
* DMAable pools.
*/
/*
- * With `bus dma abstraction', we use a separate pool per parent
- * BUS handle. A reverse table (hashed) is maintained for virtual
+ * With `bus dma abstraction', we use a separate pool per parent
+ * BUS handle. A reverse table (hashed) is maintained for virtual
* to BUS address translation.
*/
-static void getbaddrcb(void *arg, bus_dma_segment_t *segs, int nseg, int error)
+static void getbaddrcb(void *arg, bus_dma_segment_t *segs, int nseg, int error)
{
bus_addr_t *baddr;
baddr = (bus_addr_t *)arg;
@@ -606,7 +606,7 @@
static m_addr_t ___dma_getp(m_pool_s *mp)
{
m_vtob_s *vbp;
- void *vaddr = 0;
+ void *vaddr = NULL;
bus_addr_t baddr = 0;
vbp = __sym_calloc(&mp0, sizeof(*vbp), "VTOB");
@@ -614,7 +614,7 @@
goto out_err;
if (bus_dmamem_alloc(mp->dmat, &vaddr,
- BUS_DMA_NOWAIT, &vbp->dmamap))
+ BUS_DMA_COHERENT | BUS_DMA_WAITOK, &vbp->dmamap))
goto out_err;
bus_dmamap_load(mp->dmat, vbp->dmamap, vaddr,
MEMO_CLUSTER_SIZE, getbaddrcb, &baddr, BUS_DMA_NOWAIT);
@@ -670,7 +670,7 @@
static m_pool_s *___cre_dma_pool(bus_dma_tag_t dev_dmat)
{
- m_pool_s *mp = 0;
+ m_pool_s *mp = NULL;
mp = __sym_calloc(&mp0, sizeof(*mp), "MPOOL");
if (mp) {
@@ -680,7 +680,7 @@
BUS_SPACE_MAXADDR,
NULL, NULL, MEMO_CLUSTER_SIZE, 1,
MEMO_CLUSTER_SIZE, 0,
- busdma_lock_mutex, &Giant, &mp->dmat)) {
+ NULL, NULL, &mp->dmat)) {
mp->getp = ___dma_getp;
#ifdef MEMO_FREE_UNUSED
mp->freep = ___dma_freep;
@@ -692,7 +692,7 @@
}
if (mp)
__sym_mfree(&mp0, mp, sizeof(*mp), "MPOOL");
- return 0;
+ return NULL;
}
#ifdef MEMO_FREE_UNUSED
@@ -713,7 +713,7 @@
static void *__sym_calloc_dma(bus_dma_tag_t dev_dmat, int size, char *name)
{
struct m_pool *mp;
- void *m = 0;
+ void *m = NULL;
/* Lock */
mp = ___get_dma_pool(dev_dmat);
@@ -730,7 +730,7 @@
return m;
}
-static void
+static void
__sym_mfree_dma(bus_dma_tag_t dev_dmat, void *m, int size, char *name)
{
struct m_pool *mp;
@@ -750,7 +750,7 @@
{
m_pool_s *mp;
int hc = VTOB_HASH_CODE(m);
- m_vtob_s *vp = 0;
+ m_vtob_s *vp = NULL;
m_addr_t a = ((m_addr_t) m) & ~MEMO_CLUSTER_MASK;
/* Lock */
@@ -769,7 +769,7 @@
/*
* Verbs for DMAable memory handling.
- * The _uvptv_ macro avoids a nasty warning about pointer to volatile
+ * The _uvptv_ macro avoids a nasty warning about pointer to volatile
* being discarded.
*/
#define _uvptv_(p) ((void *)((vm_offset_t)(p)))
@@ -804,7 +804,7 @@
/*
* Return a string for SCSI BUS mode.
*/
-static char *sym_scsi_bus_mode(int mode)
+static const char *sym_scsi_bus_mode(int mode)
{
switch(mode) {
case SMODE_HVD: return "HVD";
@@ -818,7 +818,7 @@
* Some poor and bogus sync table that refers to Tekram NVRAM layout.
*/
#ifdef SYM_CONF_NVRAM_SUPPORT
-static u_char Tekram_sync[16] =
+static const u_char Tekram_sync[16] =
{25,31,37,43, 50,62,75,125, 12,15,18,21, 6,7,9,10};
#endif
@@ -852,7 +852,7 @@
#endif
/*
- * Some provision for a possible big endian mode supported by
+ * Some provision for a possible big endian mode supported by
* Symbios chips (never seen, by the way).
* For now, this stuff does not deserve any comments. :)
*/
@@ -869,35 +869,35 @@
/*
* Access to the chip IO registers and on-chip RAM.
- * We use the `bus space' interface under FreeBSD-4 and
+ * We use the `bus space' interface under FreeBSD-4 and
* later kernel versions.
*/
#if defined(SYM_CONF_IOMAPPED)
-#define INB_OFF(o) bus_space_read_1(np->io_tag, np->io_bsh, o)
-#define INW_OFF(o) bus_space_read_2(np->io_tag, np->io_bsh, o)
-#define INL_OFF(o) bus_space_read_4(np->io_tag, np->io_bsh, o)
+#define INB_OFF(o) bus_read_1(np->io_res, (o))
+#define INW_OFF(o) bus_read_2(np->io_res, (o))
+#define INL_OFF(o) bus_read_4(np->io_res, (o))
-#define OUTB_OFF(o, v) bus_space_write_1(np->io_tag, np->io_bsh, o, (v))
-#define OUTW_OFF(o, v) bus_space_write_2(np->io_tag, np->io_bsh, o, (v))
-#define OUTL_OFF(o, v) bus_space_write_4(np->io_tag, np->io_bsh, o, (v))
+#define OUTB_OFF(o, v) bus_write_1(np->io_res, (o), (v))
+#define OUTW_OFF(o, v) bus_write_2(np->io_res, (o), (v))
+#define OUTL_OFF(o, v) bus_write_4(np->io_res, (o), (v))
#else /* Memory mapped IO */
-#define INB_OFF(o) bus_space_read_1(np->mmio_tag, np->mmio_bsh, o)
-#define INW_OFF(o) bus_space_read_2(np->mmio_tag, np->mmio_bsh, o)
-#define INL_OFF(o) bus_space_read_4(np->mmio_tag, np->mmio_bsh, o)
+#define INB_OFF(o) bus_read_1(np->mmio_res, (o))
+#define INW_OFF(o) bus_read_2(np->mmio_res, (o))
+#define INL_OFF(o) bus_read_4(np->mmio_res, (o))
-#define OUTB_OFF(o, v) bus_space_write_1(np->mmio_tag, np->mmio_bsh, o, (v))
-#define OUTW_OFF(o, v) bus_space_write_2(np->mmio_tag, np->mmio_bsh, o, (v))
-#define OUTL_OFF(o, v) bus_space_write_4(np->mmio_tag, np->mmio_bsh, o, (v))
+#define OUTB_OFF(o, v) bus_write_1(np->mmio_res, (o), (v))
+#define OUTW_OFF(o, v) bus_write_2(np->mmio_res, (o), (v))
+#define OUTL_OFF(o, v) bus_write_4(np->mmio_res, (o), (v))
#endif /* SYM_CONF_IOMAPPED */
#define OUTRAM_OFF(o, a, l) \
- bus_space_write_region_1(np->ram_tag, np->ram_bsh, o, (a), (l))
+ bus_write_region_1(np->ram_res, (o), (a), (l))
/*
@@ -996,7 +996,7 @@
#define NS_PPR (3)
/*
- * A CCB hashed table is used to retrieve CCB address
+ * A CCB hashed table is used to retrieve CCB address
* from DSA value.
*/
#define CCB_HASH_SHIFT 8
@@ -1020,12 +1020,12 @@
/*
* Device quirks.
- * Some devices, for example the CHEETAH 2 LVD, disconnects without
+ * Some devices, for example the CHEETAH 2 LVD, disconnects without
* saving the DATA POINTER then reselects and terminates the IO.
- * On reselection, the automatic RESTORE DATA POINTER makes the
+ * On reselection, the automatic RESTORE DATA POINTER makes the
* CURRENT DATA POINTER not point at the end of the IO.
* This behaviour just breaks our calculation of the residual.
- * For now, we just force an AUTO SAVE on disconnection and will
+ * For now, we just force an AUTO SAVE on disconnection and will
* fix that in a further driver version.
*/
#define SYM_QUIRK_AUTOSAVE 1
@@ -1033,6 +1033,13 @@
/*
* Misc.
*/
+#define SYM_LOCK() mtx_lock(&np->mtx)
+#define SYM_LOCK_ASSERT(_what) mtx_assert(&np->mtx, (_what))
+#define SYM_LOCK_DESTROY() mtx_destroy(&np->mtx)
+#define SYM_LOCK_INIT() mtx_init(&np->mtx, "sym_lock", NULL, MTX_DEF)
+#define SYM_LOCK_INITIALIZED() mtx_initialized(&np->mtx)
+#define SYM_UNLOCK() mtx_unlock(&np->mtx)
+
#define SYM_SNOOP_TIMEOUT (10000000)
#define SYM_PCI_IO PCIR_BAR(0)
#define SYM_PCI_MMIO PCIR_BAR(1)
@@ -1079,23 +1086,23 @@
* Global TCB HEADER.
*
* Due to lack of indirect addressing on earlier NCR chips,
- * this substructure is copied from the TCB to a global
+ * this substructure is copied from the TCB to a global
* address after selection.
- * For SYMBIOS chips that support LOAD/STORE this copy is
+ * For SYMBIOS chips that support LOAD/STORE this copy is
* not needed and thus not performed.
*/
struct sym_tcbh {
/*
* Scripts bus addresses of LUN table accessed from scripts.
- * LUN #0 is a special case, since multi-lun devices are rare,
- * and we we want to speed-up the general case and not waste
+ * LUN #0 is a special case, since multi-lun devices are rare,
+ * and we we want to speed-up the general case and not waste
* resources.
*/
u32 luntbl_sa; /* bus address of this table */
u32 lun0_sa; /* bus address of LCB #0 */
/*
* Actual SYNC/WIDE IO registers value for this target.
- * 'sval', 'wval' and 'uval' are read from SCRIPTS and
+ * 'sval', 'wval' and 'uval' are read from SCRIPTS and
* so have alignment constraints.
*/
/*0*/ u_char uval; /* -> SCNTL4 register */
@@ -1129,14 +1136,14 @@
#endif
/*
- * Bitmap that tells about LUNs that succeeded at least
+ * Bitmap that tells about LUNs that succeeded at least
* 1 IO and therefore assumed to be a real device.
* Avoid useless allocation of the LCB structure.
*/
u32 lun_map[(SYM_CONF_MAX_LUN+31)/32];
/*
- * Bitmap that tells about LUNs that haven't yet an LCB
+ * Bitmap that tells about LUNs that haven't yet an LCB
* allocated (not discovered or LCB allocation failed).
*/
u32 busy0_map[(SYM_CONF_MAX_LUN+31)/32];
@@ -1169,22 +1176,22 @@
* Global LCB HEADER.
*
* Due to lack of indirect addressing on earlier NCR chips,
- * this substructure is copied from the LCB to a global
+ * this substructure is copied from the LCB to a global
* address after selection.
- * For SYMBIOS chips that support LOAD/STORE this copy is
+ * For SYMBIOS chips that support LOAD/STORE this copy is
* not needed and thus not performed.
*/
struct sym_lcbh {
/*
* SCRIPTS address jumped by SCRIPTS on reselection.
- * For not probed logical units, this address points to
- * SCRIPTS that deal with bad LU handling (must be at
+ * For not probed logical units, this address points to
+ * SCRIPTS that deal with bad LU handling (must be at
* offset zero of the LCB for that reason).
*/
/*0*/ u32 resel_sa;
/*
- * Task (bus address of a CCB) read from SCRIPTS that points
+ * Task (bus address of a CCB) read from SCRIPTS that points
* to the unique ITL nexus allowed to be disconnected.
*/
u32 itl_task_sa;
@@ -1206,8 +1213,8 @@
/*0*/ struct sym_lcbh head;
/*
- * Task table read from SCRIPTS that contains pointers to
- * ITLQ nexuses. The bus address read from SCRIPTS is
+ * Task table read from SCRIPTS that contains pointers to
+ * ITLQ nexuses. The bus address read from SCRIPTS is
* inside the header.
*/
u32 *itlq_tbl; /* Kernel virtual address */
@@ -1239,7 +1246,7 @@
/*
* Action from SCRIPTS on a task.
- * Is part of the CCB, but is also used separately to plug
+ * Is part of the CCB, but is also used separately to plug
* error handling action to perform from SCRIPTS.
*/
struct sym_actscr {
@@ -1250,8 +1257,8 @@
/*
* Phase mismatch context.
*
- * It is part of the CCB and is used as parameters for the
- * DATA pointer. We need two contexts to handle correctly the
+ * It is part of the CCB and is used as parameters for the
+ * DATA pointer. We need two contexts to handle correctly the
* SAVED DATA POINTER.
*/
struct sym_pmc {
@@ -1261,8 +1268,8 @@
/*
* LUN control block lookup.
- * We use a direct pointer for LUN #0, and a table of
- * pointers which is only allocated for devices that support
+ * We use a direct pointer for LUN #0, and a table of
+ * pointers which is only allocated for devices that support
* LUN(s) > 0.
*/
#if SYM_CONF_MAX_LUN <= 1
@@ -1275,8 +1282,8 @@
/*
* Status are used by the host and the script processor.
*
- * The last four bytes (status[4]) are copied to the
- * scratchb register (declared as scr0..scr3) just after the
+ * The last four bytes (status[4]) are copied to the
+ * scratchb register (declared as scr0..scr3) just after the
* select/reselect, and copied back just after disconnecting.
* Inside the script the XX_REG are used.
*/
@@ -1318,10 +1325,10 @@
* Global CCB HEADER.
*
* Due to lack of indirect addressing on earlier NCR chips,
- * this substructure is copied from the ccb to a global
- * address after selection (or reselection) and copied back
+ * this substructure is copied from the ccb to a global
+ * address after selection (or reselection) and copied back
* before disconnect.
- * For SYMBIOS chips that support LOAD/STORE this copy is
+ * For SYMBIOS chips that support LOAD/STORE this copy is
* not needed and thus not performed.
*/
@@ -1333,7 +1340,7 @@
/*
* SCRIPTS jump address that deal with data pointers.
- * 'savep' points to the position in the script responsible
+ * 'savep' points to the position in the script responsible
* for the actual transfer of data.
* It's written on reception of a SAVE_DATA_POINTER message.
*/
@@ -1350,8 +1357,8 @@
/*
* Data Structure Block
*
- * During execution of a ccb by the script processor, the
- * DSA (data structure address) register points to this
+ * During execution of a ccb by the script processor, the
+ * DSA (data structure address) register points to this
* substructure of the ccb.
*/
struct sym_dsb {
@@ -1364,7 +1371,7 @@
/*
* Phase mismatch contexts.
* We need two to handle correctly the SAVED DATA POINTER.
- * MUST BOTH BE AT OFFSET < 256, due to using 8 bit arithmetic
+ * MUST BOTH BE AT OFFSET < 256, due to using 8 bit arithmetic
* for address calculation from SCRIPTS.
*/
struct sym_pmc pm0;
@@ -1387,7 +1394,7 @@
*/
struct sym_ccb {
/*
- * This is the data structure which is pointed by the DSA
+ * This is the data structure which is pointed by the DSA
* register when it is executed by the script processor.
* It must be the first entry.
*/
@@ -1396,6 +1403,7 @@
/*
* Pointer to CAM ccb and related stuff.
*/
+ struct callout ch; /* callout handle */
union ccb *cam_ccb; /* CAM scsiio ccb */
u8 cdb_buf[16]; /* Copy of CDB */
u8 *sns_bbuf; /* Bounce buffer for sense data */
@@ -1413,7 +1421,7 @@
/*
* Message areas.
* We prepare a message to be sent after selection.
- * We may use a second one if the command is rescheduled
+ * We may use a second one if the command is rescheduled
* due to CHECK_CONDITION or COMMAND TERMINATED.
* Contents are IDENTIFY and SIMPLE_TAG.
* While negotiating sync or wide transfer,
@@ -1462,10 +1470,12 @@
* Host Control Block
*/
struct sym_hcb {
+ struct mtx mtx;
+
/*
* Global headers.
- * Due to poorness of addressing capabilities, earlier
- * chips (810, 815, 825) copy part of the data structures
+ * Due to poorness of addressing capabilities, earlier
+ * chips (810, 815, 825) copy part of the data structures
* (CCB, TCB and LCB) in fixed areas.
*/
#ifdef SYM_CONF_GENERIC_SUPPORT
@@ -1474,14 +1484,14 @@
struct sym_lcbh lcb_head;
#endif
/*
- * Idle task and invalid task actions and
+ * Idle task and invalid task actions and
* their bus addresses.
*/
struct sym_actscr idletask, notask, bad_itl, bad_itlq;
vm_offset_t idletask_ba, notask_ba, bad_itl_ba, bad_itlq_ba;
/*
- * Dummy lun table to protect us against target
+ * Dummy lun table to protect us against target
* returning bad lun number on reselection.
*/
u32 *badluntbl; /* Table physical address */
@@ -1494,7 +1504,7 @@
/*
* Bit 32-63 of the on-chip RAM bus address in LE format.
- * The START_RAM64 script loads the MMRS and MMWS from this
+ * The START_RAM64 script loads the MMRS and MMWS from this
* field.
*/
u32 scr_ram_seg;
@@ -1503,12 +1513,10 @@
* Chip and controller indentification.
*/
device_t device;
- int unit;
- char inst_name[8];
/*
* Initial value of some IO register bits.
- * These values are assumed to have been set by BIOS, and may
+ * These values are assumed to have been set by BIOS, and may
* be used to probe adapter implementation differences.
*/
u_char sv_scntl0, sv_scntl3, sv_dmode, sv_dcntl, sv_ctest3, sv_ctest4,
@@ -1516,11 +1524,11 @@
sv_stest1;
/*
- * Actual initial value of IO register bits used by the
- * driver. They are loaded at initialisation according to
+ * Actual initial value of IO register bits used by the
+ * driver. They are loaded at initialisation according to
* features that are to be enabled/disabled.
*/
- u_char rv_scntl0, rv_scntl3, rv_dmode, rv_dcntl, rv_ctest3, rv_ctest4,
+ u_char rv_scntl0, rv_scntl3, rv_dmode, rv_dcntl, rv_ctest3, rv_ctest4,
rv_ctest5, rv_stest2, rv_ccntl0, rv_ccntl1, rv_scntl4;
/*
@@ -1533,7 +1541,7 @@
#endif
/*
- * Target control block bus address array used by the SCRIPT
+ * Target control block bus address array used by the SCRIPT
* on reselection.
*/
u32 *targtbl;
@@ -1558,20 +1566,14 @@
/*
* Bus stuff.
*
- * My understanding of PCI is that all agents must share the
+ * My understanding of PCI is that all agents must share the
* same addressing range and model.
- * But some hardware architecture guys provide complex and
+ * But some hardware architecture guys provide complex and
* brain-deaded stuff that makes shit.
- * This driver only support PCI compliant implementations and
- * deals with part of the BUS stuff complexity only to fit O/S
+ * This driver only support PCI compliant implementations and
+ * deals with part of the BUS stuff complexity only to fit O/S
* requirements.
*/
- bus_space_handle_t io_bsh;
- bus_space_tag_t io_tag;
- bus_space_handle_t mmio_bsh;
- bus_space_tag_t mmio_tag;
- bus_space_handle_t ram_bsh;
- bus_space_tag_t ram_tag;
/*
* DMA stuff.
@@ -1579,23 +1581,18 @@
bus_dma_tag_t bus_dmat; /* DMA tag from parent BUS */
bus_dma_tag_t data_dmat; /* DMA tag for user data */
/*
- * Virtual and physical bus addresses of the chip.
+ * BUS addresses of the chip
*/
- vm_offset_t mmio_va; /* MMIO kernel virtual address */
- vm_offset_t mmio_pa; /* MMIO CPU physical address */
vm_offset_t mmio_ba; /* MMIO BUS address */
int mmio_ws; /* MMIO Window size */
- vm_offset_t ram_va; /* RAM kernel virtual address */
- vm_offset_t ram_pa; /* RAM CPU physical address */
vm_offset_t ram_ba; /* RAM BUS address */
int ram_ws; /* RAM window size */
- u32 io_port; /* IO port address */
/*
* SCRIPTS virtual and physical bus addresses.
* 'script' is loaded in the on-chip RAM if present.
- * 'scripth' stays in main memory for all chips except the
+ * 'scripth' stays in main memory for all chips except the
* 53C895A, 53C896 and 53C1010 that provide 8K on-chip RAM.
*/
u_char *scripta0; /* Copies of script and scripth */
@@ -1607,14 +1604,14 @@
u_short scriptb_sz; /* Actual size of script B */
/*
- * Bus addresses, setup and patch methods for
+ * Bus addresses, setup and patch methods for
* the selected firmware.
*/
struct sym_fwa_ba fwa_bas; /* Useful SCRIPTA bus addresses */
struct sym_fwb_ba fwb_bas; /* Useful SCRIPTB bus addresses */
- void (*fw_setup)(hcb_p np, struct sym_fw *fw);
+ void (*fw_setup)(hcb_p np, const struct sym_fw *fw);
void (*fw_patch)(hcb_p np);
- char *fw_name;
+ const char *fw_name;
/*
* General controller parameters and configuration.
@@ -1637,7 +1634,7 @@
u32 pciclk_khz; /* Estimated PCI clock in KHz */
/*
* Start queue management.
- * It is filled up by the host processor and accessed by the
+ * It is filled up by the host processor and accessed by the
* SCRIPTS processor in order to start SCSI commands.
*/
volatile /* Prevent code optimizations */
@@ -1657,7 +1654,7 @@
/*
* Miscellaneous buffers accessed by the scripts-processor.
- * They shall be DWORD aligned, because they may be read or
+ * They shall be DWORD aligned, because they may be read or
* written with a script command.
*/
u_char msgout[8]; /* Buffer for MESSAGE OUT */
@@ -1682,7 +1679,7 @@
/*
* During error handling and/or recovery,
- * active CCBs that are to be completed with
+ * active CCBs that are to be completed with
* error or requeued are moved from the busy_ccbq
* to the comp_ccbq prior to completion.
*/
@@ -1696,12 +1693,12 @@
/*
* IMMEDIATE ARBITRATION (IARB) control.
*
- * We keep track in 'last_cp' of the last CCB that has been
- * queued to the SCRIPTS processor and clear 'last_cp' when
- * this CCB completes. If last_cp is not zero at the moment
- * we queue a new CCB, we set a flag in 'last_cp' that is
+ * We keep track in 'last_cp' of the last CCB that has been
+ * queued to the SCRIPTS processor and clear 'last_cp' when
+ * this CCB completes. If last_cp is not zero at the moment
+ * we queue a new CCB, we set a flag in 'last_cp' that is
* used by the SCRIPTS as a hint for setting IARB.
- * We donnot set more than 'iarb_max' consecutive hints for
>>> TRUNCATED FOR MAIL (1000 lines) <<<
From owner-p4-projects@FreeBSD.ORG Sun Jun 1 23:55:39 2008
Return-Path:
Delivered-To: p4-projects@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 32767)
id 631161065679; Sun, 1 Jun 2008 23:55:39 +0000 (UTC)
Delivered-To: perforce@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
by hub.freebsd.org (Postfix) with ESMTP id 23C66106567E
for ; Sun, 1 Jun 2008 23:55:39 +0000 (UTC)
(envelope-from jb@freebsd.org)
Received: from repoman.freebsd.org (repoman.freebsd.org
[IPv6:2001:4f8:fff6::29])
by mx1.freebsd.org (Postfix) with ESMTP id 017EE8FC0C
for ; Sun, 1 Jun 2008 23:55:39 +0000 (UTC)
(envelope-from jb@freebsd.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m51Ntdh0026588
for ; Sun, 1 Jun 2008 23:55:39 GMT
(envelope-from jb@freebsd.org)
Received: (from perforce@localhost)
by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m51NtcUe026586
for perforce@freebsd.org; Sun, 1 Jun 2008 23:55:38 GMT
(envelope-from jb@freebsd.org)
Date: Sun, 1 Jun 2008 23:55:38 GMT
Message-Id: <200806012355.m51NtcUe026586@repoman.freebsd.org>
X-Authentication-Warning: repoman.freebsd.org: perforce set sender to
jb@freebsd.org using -f
From: John Birrell
To: Perforce Change Reviews
Cc:
Subject: PERFORCE change 142726 for review
X-BeenThere: p4-projects@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: p4 projects tree changes
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 01 Jun 2008 23:55:39 -0000
http://perforce.freebsd.org/chv.cgi?CH=142726
Change 142726 by jb@freebsd3 on 2008/06/01 23:54:53
IF6
Affected files ...
.. //depot/projects/dtrace6/src/MAINTAINERS#2 integrate
.. //depot/projects/dtrace6/src/sys/dev/sym/sym_defs.h#2 integrate
.. //depot/projects/dtrace6/src/sys/dev/sym/sym_fw.h#2 integrate
.. //depot/projects/dtrace6/src/sys/dev/sym/sym_fw1.h#2 integrate
.. //depot/projects/dtrace6/src/sys/dev/sym/sym_fw2.h#2 integrate
.. //depot/projects/dtrace6/src/sys/dev/sym/sym_hipd.c#2 integrate
Differences ...
==== //depot/projects/dtrace6/src/MAINTAINERS#2 (text+ko) ====
@@ -1,4 +1,4 @@
-$FreeBSD: src/MAINTAINERS,v 1.121.2.3 2006/07/09 22:06:27 markm Exp $
+$FreeBSD: src/MAINTAINERS,v 1.121.2.4 2008/05/31 22:32:51 peter Exp $
Please note that the content of this file is strictly advisory.
No locks listed here are valid. The only strict review requirements
@@ -73,7 +73,6 @@
ps gad I am working on a number of changes to this. Would
like advance notice of major changes planned to it.
cvs peter Heads-up appreciated, try not to break it.
-ncurses peter Heads-up appreciated, try not to break it.
nvi peter Try not to break it.
libz peter Try not to break it.
pppd/chat peter Try not to break it.
==== //depot/projects/dtrace6/src/sys/dev/sym/sym_defs.h#2 (text+ko) ====
@@ -55,7 +55,7 @@
* SUCH DAMAGE.
*/
-/* $FreeBSD: src/sys/dev/sym/sym_defs.h,v 1.11 2005/01/06 01:43:24 imp Exp $ */
+/* $FreeBSD: src/sys/dev/sym/sym_defs.h,v 1.11.2.1 2008/05/30 22:00:45 marius Exp $ */
#ifndef SYM_DEFS_H
#define SYM_DEFS_H
@@ -90,7 +90,7 @@
struct sym_pci_chip {
u_short device_id;
unsigned short revision_id;
- char *name;
+ const char *name;
u_char burst_max; /* log-base-2 of max burst */
u_char offset_max;
u_char nr_divisor;
==== //depot/projects/dtrace6/src/sys/dev/sym/sym_fw.h#2 (text+ko) ====
@@ -55,7 +55,7 @@
* SUCH DAMAGE.
*/
-/* $FreeBSD: src/sys/dev/sym/sym_fw.h,v 1.5 2005/01/06 01:43:24 imp Exp $ */
+/* $FreeBSD: src/sys/dev/sym/sym_fw.h,v 1.5.2.1 2008/05/30 22:00:45 marius Exp $ */
#ifndef SYM_FW_H
#define SYM_FW_H
@@ -135,17 +135,17 @@
* Generic structure that defines a firmware.
*/
struct sym_fw {
- char *name; /* Name we want to print out */
- u32 *a_base; /* Pointer to script A template */
+ const char *name; /* Name we want to print out */
+ const u32 *a_base;/* Pointer to script A template */
int a_size; /* Size of script A */
- struct sym_fwa_ofs
+ const struct sym_fwa_ofs
*a_ofs; /* Useful offsets in script A */
- u32 *b_base; /* Pointer to script B template */
+ const u32 *b_base;/* Pointer to script B template */
int b_size; /* Size of script B */
- struct sym_fwb_ofs
+ const struct sym_fwb_ofs
*b_ofs; /* Useful offsets in script B */
/* Setup and patch methods for this firmware */
- void (*setup)(struct sym_hcb *, struct sym_fw *);
+ void (*setup)(struct sym_hcb *, const struct sym_fw *);
void (*patch)(struct sym_hcb *);
};
@@ -155,8 +155,8 @@
#define SYM_FW_ENTRY(fw, name) \
{ \
name, \
- (u32 *) &fw##a_scr, sizeof(fw##a_scr), &fw##a_ofs, \
- (u32 *) &fw##b_scr, sizeof(fw##b_scr), &fw##b_ofs, \
+ (const u32 *) &fw##a_scr, sizeof(fw##a_scr), &fw##a_ofs,\
+ (const u32 *) &fw##b_scr, sizeof(fw##b_scr), &fw##b_ofs,\
fw##_setup, fw##_patch \
}
==== //depot/projects/dtrace6/src/sys/dev/sym/sym_fw1.h#2 (text+ko) ====
@@ -55,7 +55,7 @@
* SUCH DAMAGE.
*/
-/* $FreeBSD: src/sys/dev/sym/sym_fw1.h,v 1.7 2005/01/06 01:43:24 imp Exp $ */
+/* $FreeBSD: src/sys/dev/sym/sym_fw1.h,v 1.7.2.1 2008/05/30 22:00:45 marius Exp $ */
/*
* Scripts for SYMBIOS-Processor
@@ -219,7 +219,7 @@
u32 snoopend [ 2];
};
-static struct SYM_FWA_SCR SYM_FWA_SCR = {
+static const struct SYM_FWA_SCR SYM_FWA_SCR = {
/*--------------------------< START >----------------------------*/ {
/*
* Switch the LED on.
@@ -1342,7 +1342,7 @@
}/*--------------------------<>----------------------------------*/
};
-static struct SYM_FWB_SCR SYM_FWB_SCR = {
+static const struct SYM_FWB_SCR SYM_FWB_SCR = {
/*-------------------------< NO_DATA >--------------------------*/ {
SCR_JUMP,
PADDR_B (data_ovrun),
==== //depot/projects/dtrace6/src/sys/dev/sym/sym_fw2.h#2 (text+ko) ====
@@ -55,7 +55,7 @@
* SUCH DAMAGE.
*/
-/* $FreeBSD: src/sys/dev/sym/sym_fw2.h,v 1.8 2005/01/06 01:43:24 imp Exp $ */
+/* $FreeBSD: src/sys/dev/sym/sym_fw2.h,v 1.8.2.1 2008/05/30 22:00:45 marius Exp $ */
/*
* Scripts for SYMBIOS-Processor
@@ -210,7 +210,7 @@
u32 snoopend [ 2];
};
-static struct SYM_FWA_SCR SYM_FWA_SCR = {
+static const struct SYM_FWA_SCR SYM_FWA_SCR = {
/*--------------------------< START >----------------------------*/ {
/*
* Switch the LED on.
@@ -1195,7 +1195,7 @@
}/*-------------------------<>-----------------------------------*/
};
-static struct SYM_FWB_SCR SYM_FWB_SCR = {
+static const struct SYM_FWB_SCR SYM_FWB_SCR = {
/*--------------------------< START64 >--------------------------*/ {
/*
* SCRIPT entry point for the 895A, 896 and 1010.
==== //depot/projects/dtrace6/src/sys/dev/sym/sym_hipd.c#2 (text+ko) ====
@@ -1,5 +1,5 @@
/*-
- * Device driver optimized for the Symbios/LSI 53C896/53C895A/53C1010
+ * Device driver optimized for the Symbios/LSI 53C896/53C895A/53C1010
* PCI-SCSI controllers.
*
* Copyright (C) 1999-2001 Gerard Roudier
@@ -8,11 +8,11 @@
* 53C810A, 53C825A, 53C860, 53C875, 53C876, 53C885, 53C895,
* 53C810, 53C815, 53C825 and the 53C1510D is 53C8XX mode.
*
- *
+ *
* This driver for FreeBSD-CAM is derived from the Linux sym53c8xx driver.
* Copyright (C) 1998-1999 Gerard Roudier
*
- * The sym53c8xx driver is derived from the ncr53c8xx driver that had been
+ * The sym53c8xx driver is derived from the ncr53c8xx driver that had been
* a port of the FreeBSD ncr driver to Linux-1.2.13.
*
* The original ncr driver has been written for 386bsd and FreeBSD by
@@ -20,8 +20,8 @@
* Stefan Esser
* Copyright (C) 1994 Wolfgang Stanglmeier
*
- * The initialisation code, and part of the code that addresses
- * FreeBSD-CAM services is based on the aic7xxx driver for FreeBSD-CAM
+ * The initialisation code, and part of the code that addresses
+ * FreeBSD-CAM services is based on the aic7xxx driver for FreeBSD-CAM
* written by Justin T. Gibbs.
*
* Other major contributions:
@@ -56,7 +56,7 @@
*/
#include
-__FBSDID("$FreeBSD: src/sys/dev/sym/sym_hipd.c,v 1.55.2.1 2007/08/19 10:51:03 se Exp $");
+__FBSDID("$FreeBSD: src/sys/dev/sym/sym_hipd.c,v 1.55.2.3 2008/05/30 22:00:45 marius Exp $");
#define SYM_DRIVER_NAME "sym-1.6.5-20000902"
@@ -126,12 +126,12 @@
/*
* IA32 architecture does not reorder STORES and prevents
- * LOADS from passing STORES. It is called `program order'
- * by Intel and allows device drivers to deal with memory
- * ordering by only ensuring that the code is not reordered
+ * LOADS from passing STORES. It is called `program order'
+ * by Intel and allows device drivers to deal with memory
+ * ordering by only ensuring that the code is not reordered
* by the compiler when ordering is required.
- * Other architectures implement a weaker ordering that
- * requires memory barriers (and also IO barriers when they
+ * Other architectures implement a weaker ordering that
+ * requires memory barriers (and also IO barriers when they
* make sense) to be used.
*/
@@ -150,44 +150,6 @@
#endif
/*
- * Portable but silly implemented byte order primitives.
- * We define the primitives we need, since FreeBSD doesn't
- * seem to have them yet.
- */
-#if BYTE_ORDER == BIG_ENDIAN
-
-#define __revb16(x) ( (((u16)(x) & (u16)0x00ffU) << 8) | \
- (((u16)(x) & (u16)0xff00U) >> 8) )
-#define __revb32(x) ( (((u32)(x) & 0x000000ffU) << 24) | \
- (((u32)(x) & 0x0000ff00U) << 8) | \
- (((u32)(x) & 0x00ff0000U) >> 8) | \
- (((u32)(x) & 0xff000000U) >> 24) )
-
-#define __htole16(v) __revb16(v)
-#define __htole32(v) __revb32(v)
-#define __le16toh(v) __htole16(v)
-#define __le32toh(v) __htole32(v)
-
-static __inline u16 _htole16(u16 v) { return __htole16(v); }
-static __inline u32 _htole32(u32 v) { return __htole32(v); }
-#define _le16toh _htole16
-#define _le32toh _htole32
-
-#else /* LITTLE ENDIAN */
-
-#define __htole16(v) (v)
-#define __htole32(v) (v)
-#define __le16toh(v) (v)
-#define __le32toh(v) (v)
-
-#define _htole16(v) (v)
-#define _htole32(v) (v)
-#define _le16toh(v) (v)
-#define _le32toh(v) (v)
-
-#endif /* BYTE_ORDER */
-
-/*
* A la VMS/CAM-3 queue management.
*/
@@ -202,12 +164,12 @@
static __inline struct sym_quehead *sym_que_first(struct sym_quehead *head)
{
- return (head->flink == head) ? 0 : head->flink;
+ return (head->flink == head) ? NULL : head->flink;
}
static __inline struct sym_quehead *sym_que_last(struct sym_quehead *head)
{
- return (head->blink == head) ? 0 : head->blink;
+ return (head->blink == head) ? NULL : head->blink;
}
static __inline void __sym_que_add(struct sym_quehead * new,
@@ -250,7 +212,7 @@
}
#define sym_que_entry(ptr, type, member) \
- ((type *)((char *)(ptr)-(unsigned int)(&((type *)0)->member)))
+ ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member)))
#define sym_insque(new, pos) __sym_que_add(new, pos, (pos)->flink)
@@ -266,7 +228,7 @@
if (elem != head)
__sym_que_del(head, elem->flink);
else
- elem = 0;
+ elem = NULL;
return elem;
}
@@ -279,7 +241,7 @@
if (elem != head)
__sym_que_del(elem->blink, head);
else
- elem = 0;
+ elem = NULL;
return elem;
}
@@ -296,7 +258,7 @@
/*
* Simple bitmap operations.
- */
+ */
#define sym_set_bit(p, n) (((u32 *)(p))[(n)>>5] |= (1<<((n)&0x1f)))
#define sym_clr_bit(p, n) (((u32 *)(p))[(n)>>5] &= ~(1<<((n)&0x1f)))
#define sym_is_bit(p, n) (((u32 *)(p))[(n)>>5] & (1<<((n)&0x1f)))
@@ -340,7 +302,7 @@
#endif
/*
- * Asynchronous pre-scaler (ns). Shall be 40 for
+ * Asynchronous pre-scaler (ns). Shall be 40 for
* the SCSI timings to be compliant.
*/
#define SYM_CONF_MIN_ASYNC (40)
@@ -348,7 +310,7 @@
/*
* Number of entries in the START and DONE queues.
*
- * We limit to 1 PAGE in order to succeed allocation of
+ * We limit to 1 PAGE in order to succeed allocation of
* these queues. Each entry is 8 bytes long (2 DWORDS).
*/
#ifdef SYM_CONF_MAX_START
@@ -405,18 +367,18 @@
/*
* Simple power of two buddy-like allocator.
*
- * This simple code is not intended to be fast, but to
+ * This simple code is not intended to be fast, but to
* provide power of 2 aligned memory allocations.
- * Since the SCRIPTS processor only supplies 8 bit arithmetic,
- * this allocator allows simple and fast address calculations
- * from the SCRIPTS code. In addition, cache line alignment
+ * Since the SCRIPTS processor only supplies 8 bit arithmetic,
+ * this allocator allows simple and fast address calculations
+ * from the SCRIPTS code. In addition, cache line alignment
* is guaranteed for power of 2 cache line size.
*
- * This allocator has been developped for the Linux sym53c8xx
- * driver, since this O/S does not provide naturally aligned
+ * This allocator has been developped for the Linux sym53c8xx
+ * driver, since this O/S does not provide naturally aligned
* allocations.
- * It has the advantage of allowing the driver to use private
- * pages of memory that will be useful if we ever need to deal
+ * It has the advantage of allowing the driver to use private
+ * pages of memory that will be useful if we ever need to deal
* with IO MMUs for PCI.
*/
@@ -476,7 +438,7 @@
m_link_s *h = mp->h;
if (size > MEMO_CLUSTER_SIZE)
- return 0;
+ return NULL;
while (size > s) {
s <<= 1;
@@ -488,7 +450,7 @@
if (s == MEMO_CLUSTER_SIZE) {
h[j].next = (m_link_s *) M_GETP();
if (h[j].next)
- h[j].next->next = 0;
+ h[j].next->next = NULL;
break;
}
++j;
@@ -501,7 +463,7 @@
j -= 1;
s >>= 1;
h[j].next = (m_link_s *) (a+s);
- h[j].next->next = 0;
+ h[j].next->next = NULL;
}
}
#ifdef DEBUG
@@ -588,7 +550,7 @@
* Default memory pool we donnot need to involve in DMA.
*/
/*
- * With the `bus dma abstraction', we use a separate pool for
+ * With the `bus dma abstraction', we use a separate pool for
* memory we donnot need to involve in DMA.
*/
static m_addr_t ___mp0_getp(m_pool_s *mp)
@@ -640,11 +602,11 @@
* DMAable pools.
*/
/*
- * With `bus dma abstraction', we use a separate pool per parent
- * BUS handle. A reverse table (hashed) is maintained for virtual
+ * With `bus dma abstraction', we use a separate pool per parent
+ * BUS handle. A reverse table (hashed) is maintained for virtual
* to BUS address translation.
*/
-static void getbaddrcb(void *arg, bus_dma_segment_t *segs, int nseg, int error)
+static void getbaddrcb(void *arg, bus_dma_segment_t *segs, int nseg, int error)
{
bus_addr_t *baddr;
baddr = (bus_addr_t *)arg;
@@ -654,7 +616,7 @@
static m_addr_t ___dma_getp(m_pool_s *mp)
{
m_vtob_s *vbp;
- void *vaddr = 0;
+ void *vaddr = NULL;
bus_addr_t baddr = 0;
vbp = __sym_calloc(&mp0, sizeof(*vbp), "VTOB");
@@ -718,7 +680,7 @@
static m_pool_s *___cre_dma_pool(bus_dma_tag_t dev_dmat)
{
- m_pool_s *mp = 0;
+ m_pool_s *mp = NULL;
mp = __sym_calloc(&mp0, sizeof(*mp), "MPOOL");
if (mp) {
@@ -740,7 +702,7 @@
}
if (mp)
__sym_mfree(&mp0, mp, sizeof(*mp), "MPOOL");
- return 0;
+ return NULL;
}
#ifdef MEMO_FREE_UNUSED
@@ -761,7 +723,7 @@
static void *__sym_calloc_dma(bus_dma_tag_t dev_dmat, int size, char *name)
{
struct m_pool *mp;
- void *m = 0;
+ void *m = NULL;
/* Lock */
mp = ___get_dma_pool(dev_dmat);
@@ -778,7 +740,7 @@
return m;
}
-static void
+static void
__sym_mfree_dma(bus_dma_tag_t dev_dmat, void *m, int size, char *name)
{
struct m_pool *mp;
@@ -798,7 +760,7 @@
{
m_pool_s *mp;
int hc = VTOB_HASH_CODE(m);
- m_vtob_s *vp = 0;
+ m_vtob_s *vp = NULL;
m_addr_t a = ((m_addr_t) m) & ~MEMO_CLUSTER_MASK;
/* Lock */
@@ -817,7 +779,7 @@
/*
* Verbs for DMAable memory handling.
- * The _uvptv_ macro avoids a nasty warning about pointer to volatile
+ * The _uvptv_ macro avoids a nasty warning about pointer to volatile
* being discarded.
*/
#define _uvptv_(p) ((void *)((vm_offset_t)(p)))
@@ -852,7 +814,7 @@
/*
* Return a string for SCSI BUS mode.
*/
-static char *sym_scsi_bus_mode(int mode)
+static const char *sym_scsi_bus_mode(int mode)
{
switch(mode) {
case SMODE_HVD: return "HVD";
@@ -866,7 +828,7 @@
* Some poor and bogus sync table that refers to Tekram NVRAM layout.
*/
#ifdef SYM_CONF_NVRAM_SUPPORT
-static u_char Tekram_sync[16] =
+static const u_char Tekram_sync[16] =
{25,31,37,43, 50,62,75,125, 12,15,18,21, 6,7,9,10};
#endif
@@ -900,7 +862,7 @@
#endif
/*
- * Some provision for a possible big endian mode supported by
+ * Some provision for a possible big endian mode supported by
* Symbios chips (never seen, by the way).
* For now, this stuff does not deserve any comments. :)
*/
@@ -910,20 +872,14 @@
/*
* Some provision for support for BIG ENDIAN CPU.
- * Btw, FreeBSD does not seem to be ready yet for big endian.
*/
-#if BYTE_ORDER == BIG_ENDIAN
-#define cpu_to_scr(dw) _htole32(dw)
-#define scr_to_cpu(dw) _le32toh(dw)
-#else
-#define cpu_to_scr(dw) (dw)
-#define scr_to_cpu(dw) (dw)
-#endif
+#define cpu_to_scr(dw) htole32(dw)
+#define scr_to_cpu(dw) le32toh(dw)
/*
* Access to the chip IO registers and on-chip RAM.
- * We use the `bus space' interface under FreeBSD-4 and
+ * We use the `bus space' interface under FreeBSD-4 and
* later kernel versions.
*/
@@ -1050,7 +1006,7 @@
#define NS_PPR (3)
/*
- * A CCB hashed table is used to retrieve CCB address
+ * A CCB hashed table is used to retrieve CCB address
* from DSA value.
*/
#define CCB_HASH_SHIFT 8
@@ -1074,12 +1030,12 @@
/*
* Device quirks.
- * Some devices, for example the CHEETAH 2 LVD, disconnects without
+ * Some devices, for example the CHEETAH 2 LVD, disconnects without
* saving the DATA POINTER then reselects and terminates the IO.
- * On reselection, the automatic RESTORE DATA POINTER makes the
+ * On reselection, the automatic RESTORE DATA POINTER makes the
* CURRENT DATA POINTER not point at the end of the IO.
* This behaviour just breaks our calculation of the residual.
- * For now, we just force an AUTO SAVE on disconnection and will
+ * For now, we just force an AUTO SAVE on disconnection and will
* fix that in a further driver version.
*/
#define SYM_QUIRK_AUTOSAVE 1
@@ -1135,23 +1091,23 @@
* Global TCB HEADER.
*
* Due to lack of indirect addressing on earlier NCR chips,
- * this substructure is copied from the TCB to a global
+ * this substructure is copied from the TCB to a global
* address after selection.
- * For SYMBIOS chips that support LOAD/STORE this copy is
+ * For SYMBIOS chips that support LOAD/STORE this copy is
* not needed and thus not performed.
*/
struct sym_tcbh {
/*
* Scripts bus addresses of LUN table accessed from scripts.
- * LUN #0 is a special case, since multi-lun devices are rare,
- * and we we want to speed-up the general case and not waste
+ * LUN #0 is a special case, since multi-lun devices are rare,
+ * and we we want to speed-up the general case and not waste
* resources.
*/
u32 luntbl_sa; /* bus address of this table */
u32 lun0_sa; /* bus address of LCB #0 */
/*
* Actual SYNC/WIDE IO registers value for this target.
- * 'sval', 'wval' and 'uval' are read from SCRIPTS and
+ * 'sval', 'wval' and 'uval' are read from SCRIPTS and
* so have alignment constraints.
*/
/*0*/ u_char uval; /* -> SCNTL4 register */
@@ -1185,14 +1141,14 @@
#endif
/*
- * Bitmap that tells about LUNs that succeeded at least
+ * Bitmap that tells about LUNs that succeeded at least
* 1 IO and therefore assumed to be a real device.
* Avoid useless allocation of the LCB structure.
*/
u32 lun_map[(SYM_CONF_MAX_LUN+31)/32];
/*
- * Bitmap that tells about LUNs that haven't yet an LCB
+ * Bitmap that tells about LUNs that haven't yet an LCB
* allocated (not discovered or LCB allocation failed).
*/
u32 busy0_map[(SYM_CONF_MAX_LUN+31)/32];
@@ -1225,22 +1181,22 @@
* Global LCB HEADER.
*
* Due to lack of indirect addressing on earlier NCR chips,
- * this substructure is copied from the LCB to a global
+ * this substructure is copied from the LCB to a global
* address after selection.
- * For SYMBIOS chips that support LOAD/STORE this copy is
+ * For SYMBIOS chips that support LOAD/STORE this copy is
* not needed and thus not performed.
*/
struct sym_lcbh {
/*
* SCRIPTS address jumped by SCRIPTS on reselection.
- * For not probed logical units, this address points to
- * SCRIPTS that deal with bad LU handling (must be at
+ * For not probed logical units, this address points to
+ * SCRIPTS that deal with bad LU handling (must be at
* offset zero of the LCB for that reason).
*/
/*0*/ u32 resel_sa;
/*
- * Task (bus address of a CCB) read from SCRIPTS that points
+ * Task (bus address of a CCB) read from SCRIPTS that points
* to the unique ITL nexus allowed to be disconnected.
*/
u32 itl_task_sa;
@@ -1262,8 +1218,8 @@
/*0*/ struct sym_lcbh head;
/*
- * Task table read from SCRIPTS that contains pointers to
- * ITLQ nexuses. The bus address read from SCRIPTS is
+ * Task table read from SCRIPTS that contains pointers to
+ * ITLQ nexuses. The bus address read from SCRIPTS is
* inside the header.
*/
u32 *itlq_tbl; /* Kernel virtual address */
@@ -1295,7 +1251,7 @@
/*
* Action from SCRIPTS on a task.
- * Is part of the CCB, but is also used separately to plug
+ * Is part of the CCB, but is also used separately to plug
* error handling action to perform from SCRIPTS.
*/
struct sym_actscr {
@@ -1306,8 +1262,8 @@
/*
* Phase mismatch context.
*
- * It is part of the CCB and is used as parameters for the
- * DATA pointer. We need two contexts to handle correctly the
+ * It is part of the CCB and is used as parameters for the
+ * DATA pointer. We need two contexts to handle correctly the
* SAVED DATA POINTER.
*/
struct sym_pmc {
@@ -1317,8 +1273,8 @@
/*
* LUN control block lookup.
- * We use a direct pointer for LUN #0, and a table of
- * pointers which is only allocated for devices that support
+ * We use a direct pointer for LUN #0, and a table of
+ * pointers which is only allocated for devices that support
* LUN(s) > 0.
*/
#if SYM_CONF_MAX_LUN <= 1
@@ -1331,8 +1287,8 @@
/*
* Status are used by the host and the script processor.
*
- * The last four bytes (status[4]) are copied to the
- * scratchb register (declared as scr0..scr3) just after the
+ * The last four bytes (status[4]) are copied to the
+ * scratchb register (declared as scr0..scr3) just after the
* select/reselect, and copied back just after disconnecting.
* Inside the script the XX_REG are used.
*/
@@ -1374,10 +1330,10 @@
* Global CCB HEADER.
*
* Due to lack of indirect addressing on earlier NCR chips,
- * this substructure is copied from the ccb to a global
- * address after selection (or reselection) and copied back
+ * this substructure is copied from the ccb to a global
+ * address after selection (or reselection) and copied back
* before disconnect.
- * For SYMBIOS chips that support LOAD/STORE this copy is
+ * For SYMBIOS chips that support LOAD/STORE this copy is
* not needed and thus not performed.
*/
@@ -1389,7 +1345,7 @@
/*
* SCRIPTS jump address that deal with data pointers.
- * 'savep' points to the position in the script responsible
+ * 'savep' points to the position in the script responsible
* for the actual transfer of data.
* It's written on reception of a SAVE_DATA_POINTER message.
*/
@@ -1406,8 +1362,8 @@
/*
* Data Structure Block
*
- * During execution of a ccb by the script processor, the
- * DSA (data structure address) register points to this
+ * During execution of a ccb by the script processor, the
+ * DSA (data structure address) register points to this
* substructure of the ccb.
*/
struct sym_dsb {
@@ -1420,7 +1376,7 @@
/*
* Phase mismatch contexts.
* We need two to handle correctly the SAVED DATA POINTER.
- * MUST BOTH BE AT OFFSET < 256, due to using 8 bit arithmetic
+ * MUST BOTH BE AT OFFSET < 256, due to using 8 bit arithmetic
* for address calculation from SCRIPTS.
*/
struct sym_pmc pm0;
@@ -1443,7 +1399,7 @@
*/
struct sym_ccb {
/*
- * This is the data structure which is pointed by the DSA
+ * This is the data structure which is pointed by the DSA
* register when it is executed by the script processor.
* It must be the first entry.
*/
@@ -1469,7 +1425,7 @@
/*
* Message areas.
* We prepare a message to be sent after selection.
- * We may use a second one if the command is rescheduled
+ * We may use a second one if the command is rescheduled
* due to CHECK_CONDITION or COMMAND TERMINATED.
* Contents are IDENTIFY and SIMPLE_TAG.
* While negotiating sync or wide transfer,
@@ -1520,8 +1476,8 @@
struct sym_hcb {
/*
* Global headers.
- * Due to poorness of addressing capabilities, earlier
- * chips (810, 815, 825) copy part of the data structures
+ * Due to poorness of addressing capabilities, earlier
+ * chips (810, 815, 825) copy part of the data structures
* (CCB, TCB and LCB) in fixed areas.
*/
#ifdef SYM_CONF_GENERIC_SUPPORT
@@ -1530,14 +1486,14 @@
struct sym_lcbh lcb_head;
#endif
/*
- * Idle task and invalid task actions and
+ * Idle task and invalid task actions and
* their bus addresses.
*/
struct sym_actscr idletask, notask, bad_itl, bad_itlq;
vm_offset_t idletask_ba, notask_ba, bad_itl_ba, bad_itlq_ba;
/*
- * Dummy lun table to protect us against target
+ * Dummy lun table to protect us against target
* returning bad lun number on reselection.
*/
u32 *badluntbl; /* Table physical address */
@@ -1550,7 +1506,7 @@
/*
* Bit 32-63 of the on-chip RAM bus address in LE format.
- * The START_RAM64 script loads the MMRS and MMWS from this
+ * The START_RAM64 script loads the MMRS and MMWS from this
* field.
*/
u32 scr_ram_seg;
@@ -1559,12 +1515,10 @@
* Chip and controller indentification.
*/
device_t device;
- int unit;
- char inst_name[8];
/*
* Initial value of some IO register bits.
- * These values are assumed to have been set by BIOS, and may
+ * These values are assumed to have been set by BIOS, and may
* be used to probe adapter implementation differences.
*/
u_char sv_scntl0, sv_scntl3, sv_dmode, sv_dcntl, sv_ctest3, sv_ctest4,
@@ -1572,11 +1526,11 @@
sv_stest1;
/*
- * Actual initial value of IO register bits used by the
- * driver. They are loaded at initialisation according to
+ * Actual initial value of IO register bits used by the
+ * driver. They are loaded at initialisation according to
* features that are to be enabled/disabled.
*/
- u_char rv_scntl0, rv_scntl3, rv_dmode, rv_dcntl, rv_ctest3, rv_ctest4,
+ u_char rv_scntl0, rv_scntl3, rv_dmode, rv_dcntl, rv_ctest3, rv_ctest4,
rv_ctest5, rv_stest2, rv_ccntl0, rv_ccntl1, rv_scntl4;
/*
@@ -1589,7 +1543,7 @@
#endif
/*
- * Target control block bus address array used by the SCRIPT
+ * Target control block bus address array used by the SCRIPT
* on reselection.
*/
u32 *targtbl;
@@ -1614,12 +1568,12 @@
/*
* Bus stuff.
*
- * My understanding of PCI is that all agents must share the
+ * My understanding of PCI is that all agents must share the
* same addressing range and model.
- * But some hardware architecture guys provide complex and
+ * But some hardware architecture guys provide complex and
* brain-deaded stuff that makes shit.
- * This driver only support PCI compliant implementations and
- * deals with part of the BUS stuff complexity only to fit O/S
+ * This driver only support PCI compliant implementations and
+ * deals with part of the BUS stuff complexity only to fit O/S
* requirements.
*/
bus_space_handle_t io_bsh;
@@ -1635,23 +1589,18 @@
bus_dma_tag_t bus_dmat; /* DMA tag from parent BUS */
bus_dma_tag_t data_dmat; /* DMA tag for user data */
/*
- * Virtual and physical bus addresses of the chip.
+ * BUS addresses of the chip
*/
- vm_offset_t mmio_va; /* MMIO kernel virtual address */
- vm_offset_t mmio_pa; /* MMIO CPU physical address */
vm_offset_t mmio_ba; /* MMIO BUS address */
int mmio_ws; /* MMIO Window size */
- vm_offset_t ram_va; /* RAM kernel virtual address */
- vm_offset_t ram_pa; /* RAM CPU physical address */
vm_offset_t ram_ba; /* RAM BUS address */
int ram_ws; /* RAM window size */
- u32 io_port; /* IO port address */
/*
* SCRIPTS virtual and physical bus addresses.
* 'script' is loaded in the on-chip RAM if present.
- * 'scripth' stays in main memory for all chips except the
+ * 'scripth' stays in main memory for all chips except the
* 53C895A, 53C896 and 53C1010 that provide 8K on-chip RAM.
*/
u_char *scripta0; /* Copies of script and scripth */
@@ -1663,14 +1612,14 @@
u_short scriptb_sz; /* Actual size of script B */
/*
- * Bus addresses, setup and patch methods for
+ * Bus addresses, setup and patch methods for
* the selected firmware.
*/
struct sym_fwa_ba fwa_bas; /* Useful SCRIPTA bus addresses */
struct sym_fwb_ba fwb_bas; /* Useful SCRIPTB bus addresses */
- void (*fw_setup)(hcb_p np, struct sym_fw *fw);
+ void (*fw_setup)(hcb_p np, const struct sym_fw *fw);
void (*fw_patch)(hcb_p np);
- char *fw_name;
+ const char *fw_name;
/*
* General controller parameters and configuration.
@@ -1693,7 +1642,7 @@
u32 pciclk_khz; /* Estimated PCI clock in KHz */
/*
* Start queue management.
- * It is filled up by the host processor and accessed by the
+ * It is filled up by the host processor and accessed by the
* SCRIPTS processor in order to start SCSI commands.
*/
volatile /* Prevent code optimizations */
@@ -1713,7 +1662,7 @@
/*
* Miscellaneous buffers accessed by the scripts-processor.
- * They shall be DWORD aligned, because they may be read or
+ * They shall be DWORD aligned, because they may be read or
* written with a script command.
*/
u_char msgout[8]; /* Buffer for MESSAGE OUT */
@@ -1738,7 +1687,7 @@
/*
* During error handling and/or recovery,
- * active CCBs that are to be completed with
+ * active CCBs that are to be completed with
* error or requeued are moved from the busy_ccbq
* to the comp_ccbq prior to completion.
*/
@@ -1752,12 +1701,12 @@
/*
* IMMEDIATE ARBITRATION (IARB) control.
*
- * We keep track in 'last_cp' of the last CCB that has been
- * queued to the SCRIPTS processor and clear 'last_cp' when
- * this CCB completes. If last_cp is not zero at the moment
- * we queue a new CCB, we set a flag in 'last_cp' that is
+ * We keep track in 'last_cp' of the last CCB that has been
+ * queued to the SCRIPTS processor and clear 'last_cp' when
+ * this CCB completes. If last_cp is not zero at the moment
+ * we queue a new CCB, we set a flag in 'last_cp' that is
* used by the SCRIPTS as a hint for setting IARB.
- * We donnot set more than 'iarb_max' consecutive hints for
+ * We donnot set more than 'iarb_max' consecutive hints for
* IARB in order to leave devices a chance to reselect.
* By the way, any non zero value of 'iarb_max' is unfair. :)
*/
@@ -1769,7 +1718,7 @@
/*
* Command abort handling.
- * We need to synchronize tightly with the SCRIPTS
+ * We need to synchronize tightly with the SCRIPTS
* processor in order to handle things correctly.
*/
u_char abrt_msg[4]; /* Message to send buffer */
@@ -1783,9 +1732,9 @@
/*
* Return the name of the controller.
*/
-static __inline char *sym_name(hcb_p np)
+static __inline const char *sym_name(hcb_p np)
{
- return np->inst_name;
+ return device_get_nameunit(np->device);
}
/*--------------------------------------------------------------------------*/
@@ -1813,10 +1762,10 @@
#define SYM_FWA_SCR sym_fw1a_scr
#define SYM_FWB_SCR sym_fw1b_scr
#include
-struct sym_fwa_ofs sym_fw1a_ofs = {
+static const struct sym_fwa_ofs sym_fw1a_ofs = {
SYM_GEN_FW_A(struct SYM_FWA_SCR)
};
-struct sym_fwb_ofs sym_fw1b_ofs = {
+static const struct sym_fwb_ofs sym_fw1b_ofs = {
SYM_GEN_FW_B(struct SYM_FWB_SCR)
};
#undef SYM_FWA_SCR
@@ -1829,10 +1778,10 @@
#define SYM_FWA_SCR sym_fw2a_scr
#define SYM_FWB_SCR sym_fw2b_scr
#include
-struct sym_fwa_ofs sym_fw2a_ofs = {
+static const struct sym_fwa_ofs sym_fw2a_ofs = {
SYM_GEN_FW_A(struct SYM_FWA_SCR)
};
-struct sym_fwb_ofs sym_fw2b_ofs = {
+static const struct sym_fwb_ofs sym_fw2b_ofs = {
SYM_GEN_FW_B(struct SYM_FWB_SCR)
SYM_GEN_B(struct SYM_FWB_SCR, start64)
SYM_GEN_B(struct SYM_FWB_SCR, pm_handle)
@@ -1935,7 +1884,7 @@
}
/*
- * Remove a couple of work-arounds specific to C1010 if
+ * Remove a couple of work-arounds specific to C1010 if
* they are not desirable. See `sym_fw2.h' for more details.
*/
if (!(np->device_id == PCI_ID_LSI53C1010_2 &&
@@ -1955,10 +1904,10 @@
* These ones are loaded by the SCRIPTS processor.
*/
scriptb0->pm0_data_addr[0] =
- cpu_to_scr(np->scripta_ba +
+ cpu_to_scr(np->scripta_ba +
offsetof(struct sym_fw2a_scr, pm0_data));
scriptb0->pm1_data_addr[0] =
- cpu_to_scr(np->scripta_ba +
+ cpu_to_scr(np->scripta_ba +
offsetof(struct sym_fw2a_scr, pm1_data));
}
@@ -1983,18 +1932,18 @@
* Setup useful script bus addresses.
* To be done for all firmwares.
*/
-static void
-sym_fw_setup_bus_addresses(hcb_p np, struct sym_fw *fw)
+static void
+sym_fw_setup_bus_addresses(hcb_p np, const struct sym_fw *fw)
{
u32 *pa;
>>> TRUNCATED FOR MAIL (1000 lines) <<<
From owner-p4-projects@FreeBSD.ORG Mon Jun 2 01:31:16 2008
Return-Path:
Delivered-To: p4-projects@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 32767)
id AD7B51065676; Mon, 2 Jun 2008 01:31:15 +0000 (UTC)
Delivered-To: perforce@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
by hub.freebsd.org (Postfix) with ESMTP id 6FC921065672
for ; Mon, 2 Jun 2008 01:31:15 +0000 (UTC)
(envelope-from sam@freebsd.org)
Received: from repoman.freebsd.org (repoman.freebsd.org
[IPv6:2001:4f8:fff6::29])
by mx1.freebsd.org (Postfix) with ESMTP id 4EE528FC16
for ; Mon, 2 Jun 2008 01:31:15 +0000 (UTC)
(envelope-from sam@freebsd.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m521VFAv048045
for ; Mon, 2 Jun 2008 01:31:15 GMT
(envelope-from sam@freebsd.org)
Received: (from perforce@localhost)
by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m521VFOU048043
for perforce@freebsd.org; Mon, 2 Jun 2008 01:31:15 GMT
(envelope-from sam@freebsd.org)
Date: Mon, 2 Jun 2008 01:31:15 GMT
Message-Id: <200806020131.m521VFOU048043@repoman.freebsd.org>
X-Authentication-Warning: repoman.freebsd.org: perforce set sender to
sam@freebsd.org using -f
From: Sam Leffler
To: Perforce Change Reviews
Cc:
Subject: PERFORCE change 142727 for review
X-BeenThere: p4-projects@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: p4 projects tree changes
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Mon, 02 Jun 2008 01:31:16 -0000
http://perforce.freebsd.org/chv.cgi?CH=142727
Change 142727 by sam@sam_ebb on 2008/06/02 01:31:13
IFC
Affected files ...
.. //depot/projects/vap/sys/dev/ath/if_ath.c#82 integrate
Differences ...
==== //depot/projects/vap/sys/dev/ath/if_ath.c#82 (text+ko) ====
@@ -28,7 +28,7 @@
*/
#include
-__FBSDID("$FreeBSD: src/sys/dev/ath/if_ath.c,v 1.186 2008/05/12 00:15:27 sam Exp $");
+__FBSDID("$FreeBSD: src/sys/dev/ath/if_ath.c,v 1.190 2008/05/29 00:14:35 sam Exp $");
/*
* Driver for the Atheros Wireless LAN controller.
@@ -3860,7 +3860,10 @@
ath_rx_tap(struct ifnet *ifp, struct mbuf *m,
const struct ath_rx_status *rs, u_int64_t tsf, int16_t nf)
{
-#define CHANNEL_HT (CHANNEL_HT20|CHANNEL_HT40PLUS|CHANNEL_HT40MINUS)
+#define CHAN_HT htole32(CHANNEL_HT20|CHANNEL_HT40PLUS|CHANNEL_HT40MINUS)
+#define CHAN_HT20 htole32(IEEE80211_CHAN_HT20)
+#define CHAN_HT40U htole32(IEEE80211_CHAN_HT40U)
+#define CHAN_HT40D htole32(IEEE80211_CHAN_HT40D)
struct ath_softc *sc = ifp->if_softc;
uint8_t rxrate;
@@ -3877,23 +3880,16 @@
sc->sc_rx_th.wr_rate = sc->sc_hwmap[rxrate].ieeerate;
sc->sc_rx_th.wr_flags = sc->sc_hwmap[rxrate].rxflags;
#if HAL_ABI_VERSION >= 0x07050400
- if (sc->sc_curchan.channelFlags & CHANNEL_HT) {
- /*
- * For HT operation we must specify the channel
- * attributes for each packet since they vary.
- * We deduce this by from HT40 bit in the rx
- * status and the MCS/legacy rate bit.
- */
- sc->sc_rx_th.wr_chan_flags &= ~IEEE80211_CHAN_HT;
- if (sc->sc_rx_th.wr_rate & 0x80) { /* HT rate */
- /* XXX 40U/40D */
- sc->sc_rx_th.wr_chan_flags |=
- (rs->rs_flags & HAL_RX_2040) ?
- IEEE80211_CHAN_HT40U : IEEE80211_CHAN_HT20;
- if ((rs->rs_flags & HAL_RX_GI) == 0)
- sc->sc_rx_th.wr_flags |=
- IEEE80211_RADIOTAP_F_SHORTGI;
- }
+ sc->sc_rx_th.wr_chan_flags &= ~CHAN_HT;
+ if (sc->sc_rx_th.wr_rate & 0x80) { /* HT rate */
+ if ((rs->rs_flags & HAL_RX_2040) == 0)
+ sc->sc_rx_th.wr_chan_flags |= CHAN_HT20;
+ else if (sc->sc_curchan.channelFlags & CHANNEL_HT40PLUS)
+ sc->sc_rx_th.wr_chan_flags |= CHAN_HT40U;
+ else
+ sc->sc_rx_th.wr_chan_flags |= CHAN_HT40D;
+ if ((rs->rs_flags & HAL_RX_GI) == 0)
+ sc->sc_rx_th.wr_flags |= IEEE80211_RADIOTAP_F_SHORTGI;
}
#endif
sc->sc_rx_th.wr_tsf = htole64(ath_extend_tsf(rs->rs_tstamp, tsf));
@@ -3907,7 +3903,10 @@
bpf_mtap2(ifp->if_bpf, &sc->sc_rx_th, sc->sc_rx_th_len, m);
return 1;
-#undef CHANNEL_HT
+#undef CHAN_HT20
+#undef CHAN_HT40U
+#undef CHAN_HT40D
+#undef CHAN_HT
}
static void
From owner-p4-projects@FreeBSD.ORG Mon Jun 2 04:18:03 2008
Return-Path:
Delivered-To: p4-projects@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 32767)
id 5A590106567A; Mon, 2 Jun 2008 04:18:03 +0000 (UTC)
Delivered-To: perforce@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
by hub.freebsd.org (Postfix) with ESMTP id 192291065677
for ; Mon, 2 Jun 2008 04:18:03 +0000 (UTC)
(envelope-from sam@freebsd.org)
Received: from repoman.freebsd.org (repoman.freebsd.org
[IPv6:2001:4f8:fff6::29])
by mx1.freebsd.org (Postfix) with ESMTP id EC9BE8FC12
for ; Mon, 2 Jun 2008 04:18:02 +0000 (UTC)
(envelope-from sam@freebsd.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m524I2nw064536
for ; Mon, 2 Jun 2008 04:18:02 GMT
(envelope-from sam@freebsd.org)
Received: (from perforce@localhost)
by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m524I2qo064534
for perforce@freebsd.org; Mon, 2 Jun 2008 04:18:02 GMT
(envelope-from sam@freebsd.org)
Date: Mon, 2 Jun 2008 04:18:02 GMT
Message-Id: <200806020418.m524I2qo064534@repoman.freebsd.org>
X-Authentication-Warning: repoman.freebsd.org: perforce set sender to
sam@freebsd.org using -f
From: Sam Leffler
To: Perforce Change Reviews
Cc:
Subject: PERFORCE change 142729 for review
X-BeenThere: p4-projects@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: p4 projects tree changes
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Mon, 02 Jun 2008 04:18:03 -0000
http://perforce.freebsd.org/chv.cgi?CH=142729
Change 142729 by sam@sam_ebb on 2008/06/02 04:17:52
prepare for ani change
Affected files ...
.. //depot/projects/vap/sys/dev/ath/if_ath.c#83 edit
Differences ...
==== //depot/projects/vap/sys/dev/ath/if_ath.c#83 (text+ko) ====
@@ -2519,10 +2519,10 @@
*
* o always accept unicast, broadcast, and multicast traffic
* o accept PHY error frames when hardware doesn't have MIB support
- * to count and we need them for ANI (sta mode only at the moment)
+ * to count and we need them for ANI (sta mode only until recently)
* and we are not scanning (ANI is disabled)
- * NB: only with recent hal's; older hal's add rx filter bits out
- * of sight and we need to blindly preserve them
+ * NB: older hal's add rx filter bits out of sight and we need to
+ * blindly preserve them
* o probe request frames are accepted only when operating in
* hostap, adhoc, or monitor modes
* o enable promiscuous mode
@@ -2549,15 +2549,17 @@
struct ieee80211com *ic = ifp->if_l2com;
u_int32_t rfilt;
+ rfilt = HAL_RX_FILTER_UCAST | HAL_RX_FILTER_BCAST | HAL_RX_FILTER_MCAST;
#if HAL_ABI_VERSION < 0x08011600
- rfilt = (ath_hal_getrxfilter(sc->sc_ah) &
- (HAL_RX_FILTER_PHYRADAR | HAL_RX_FILTER_PHYERR))
- | HAL_RX_FILTER_UCAST | HAL_RX_FILTER_BCAST | HAL_RX_FILTER_MCAST;
-#else
- rfilt = HAL_RX_FILTER_UCAST | HAL_RX_FILTER_BCAST | HAL_RX_FILTER_MCAST;
+ rfilt |= (ath_hal_getrxfilter(sc->sc_ah) &
+ (HAL_RX_FILTER_PHYRADAR | HAL_RX_FILTER_PHYERR));
+#elsif HAL_ABI_VERSION < 0x08060100
if (ic->ic_opmode == IEEE80211_M_STA &&
!sc->sc_needmib && !sc->sc_scanning)
rfilt |= HAL_RX_FILTER_PHYERR;
+#else
+ if (!sc->sc_needmib && !sc->sc_scanning)
+ rfilt |= HAL_RX_FILTER_PHYERR;
#endif
if (ic->ic_opmode != IEEE80211_M_STA)
rfilt |= HAL_RX_FILTER_PROBEREQ;
From owner-p4-projects@FreeBSD.ORG Mon Jun 2 05:20:05 2008
Return-Path:
Delivered-To: p4-projects@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 32767)
id 973B21065680; Mon, 2 Jun 2008 05:20:05 +0000 (UTC)
Delivered-To: perforce@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
by hub.freebsd.org (Postfix) with ESMTP id 572E3106567C
for ; Mon, 2 Jun 2008 05:20:05 +0000 (UTC)
(envelope-from bilouro@FreeBSD.org)
Received: from repoman.freebsd.org (repoman.freebsd.org
[IPv6:2001:4f8:fff6::29])
by mx1.freebsd.org (Postfix) with ESMTP id 3584C8FC13
for ; Mon, 2 Jun 2008 05:20:05 +0000 (UTC)
(envelope-from bilouro@FreeBSD.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m525K5U2079625
for ; Mon, 2 Jun 2008 05:20:05 GMT
(envelope-from bilouro@FreeBSD.org)
Received: (from perforce@localhost)
by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m525K5OH079623
for perforce@freebsd.org; Mon, 2 Jun 2008 05:20:05 GMT
(envelope-from bilouro@FreeBSD.org)
Date: Mon, 2 Jun 2008 05:20:05 GMT
Message-Id: <200806020520.m525K5OH079623@repoman.freebsd.org>
X-Authentication-Warning: repoman.freebsd.org: perforce set sender to
bilouro@FreeBSD.org using -f
From: Victor Hugo Bilouro
To: Perforce Change Reviews
Cc:
Subject: PERFORCE change 142730 for review
X-BeenThere: p4-projects@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: p4 projects tree changes
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Mon, 02 Jun 2008 05:20:06 -0000
http://perforce.freebsd.org/chv.cgi?CH=142730
Change 142730 by bilouro@bilouro_tcptest on 2008/06/02 05:19:30
pointed to discard
removed tcp source port. It's now a random number between 50000 and 60000
Affected files ...
.. //depot/projects/soc2008/bilouro_tcptest/src/scripts/fasteners/tcpconnect.sh#3 edit
Differences ...
==== //depot/projects/soc2008/bilouro_tcptest/src/scripts/fasteners/tcpconnect.sh#3 (text+ko) ====
@@ -1,2 +1,2 @@
#!/bin/sh
- python ../tcpconnect.py -i ed0 -s "192.168.1.10" -t "192.168.1.20" -e "00:1c:42:47:3f:cd" -d "00:1c:42:db:c5:22" -o 53639 -x 22022
+ python ../tcpconnect.py -i ed0 -s "192.168.1.10" -t "192.168.1.20" -e "00:1c:42:47:3f:cd" -d "00:1c:42:db:c5:22" -x 9
From owner-p4-projects@FreeBSD.ORG Mon Jun 2 05:25:10 2008
Return-Path:
Delivered-To: p4-projects@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 32767)
id B97F71065677; Mon, 2 Jun 2008 05:25:10 +0000 (UTC)
Delivered-To: perforce@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
by hub.freebsd.org (Postfix) with ESMTP id 7B18C1065673
for ; Mon, 2 Jun 2008 05:25:10 +0000 (UTC)
(envelope-from bilouro@FreeBSD.org)
Received: from repoman.freebsd.org (repoman.freebsd.org
[IPv6:2001:4f8:fff6::29])
by mx1.freebsd.org (Postfix) with ESMTP id 57E7F8FC24
for ; Mon, 2 Jun 2008 05:25:10 +0000 (UTC)
(envelope-from bilouro@FreeBSD.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m525PAG0080105
for ; Mon, 2 Jun 2008 05:25:10 GMT
(envelope-from bilouro@FreeBSD.org)
Received: (from perforce@localhost)
by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m525PAJw080103
for perforce@freebsd.org; Mon, 2 Jun 2008 05:25:10 GMT
(envelope-from bilouro@FreeBSD.org)
Date: Mon, 2 Jun 2008 05:25:10 GMT
Message-Id: <200806020525.m525PAJw080103@repoman.freebsd.org>
X-Authentication-Warning: repoman.freebsd.org: perforce set sender to
bilouro@FreeBSD.org using -f
From: Victor Hugo Bilouro
To: Perforce Change Reviews
Cc:
Subject: PERFORCE change 142731 for review
X-BeenThere: p4-projects@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: p4 projects tree changes
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Mon, 02 Jun 2008 05:25:11 -0000
http://perforce.freebsd.org/chv.cgi?CH=142731
Change 142731 by bilouro@bilouro_tcptest on 2008/06/02 05:24:27
added copyright
this version do complete connection establishment and finalization
completelly reorganized
Especial thanks for Anre Oppermann (andre at freebsd dot org)
Affected files ...
.. //depot/projects/soc2008/bilouro_tcptest/src/scripts/tcpconnect.py#4 edit
Differences ...
==== //depot/projects/soc2008/bilouro_tcptest/src/scripts/tcpconnect.py#4 (text+ko) ====
@@ -1,3 +1,38 @@
+# Copyright (c) 2008, Victor Hugo Bilouro
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are
+# met:
+#
+# Redistributions of source code must retain the above copyright notice,
+# this list of conditions and the following disclaimer.
+#
+# Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+#
+# Neither the name of Victor Hugo Bilouro nor the names of its
+# contributors may be used to endorse or promote products derived from
+# this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Author: Victor Hugo Bilouro
+#
+# Description: A simple test of three way handshake
+#
+
from pcs.packets import ipv4
from pcs.packets import tcp
from pcs.packets import ethernet
@@ -38,172 +73,304 @@
(options, args) = parser.parse_args()
- ##todo: create syn. test exately equals a tcp dump. DONE
- ##todo: wait with timer the answer possibilities (in this a simple ack-syn) DONE
- ##todo: send an acknoledgment establishing the connection
+ import random
+
+ ipid = random.randrange(1,(1<<16)-1)
+ tcpsport = random.randrange(50000,60000) #int(options.source_port )
+ tcpsequence = random.randrange(1,(1<<32)-1)
+ output = pcs.PcapConnector(options.interface)
+
+ replyip = None
+ replytcp = None
+ reply = None
+ packet = None
- #
- # creating a durty-code ether-ip-tcp-syn packet
- #
- import random
+ # SYN
+ what = "SYN"
- ip = ipv4.ipv4()
+ ip1 = ipv4.ipv4()
- ip.version = 4 # 0100 max 1111 15 *caution* :)
- ip.hlen = 5 # 0101 0 -> min 0101 (20 bytes)
- ip.tos = 0
- ip.id = random.randrange(1,(1<<16)-1)
- ip.flags = 0 #study on book
- ip.offset = 0
- ip.ttl = 64
- ip.protocol = pcs.IPPROTO_TCP #1 ICMP #6 TCP
- ip.src = pcs.inet_atol(options.ip_source)
- ip.dst = pcs.inet_atol(options.ip_target)
+ ip1.version = 4
+ ip1.hlen = 5
+ ip1.tos = 0
+ ip1.id = ++ipid
+ ip1.flags = 0
+ ip1.offset = 0
+ ip1.ttl = 64
+ ip1.protocol = pcs.IPPROTO_TCP
+ ip1.src = pcs.inet_atol(options.ip_source)
+ ip1.dst = pcs.inet_atol(options.ip_target)
+ tcp1 = tcp.tcp()
- tcppkt = tcp.tcp()
+ tcp1.sport = tcpsport
+ tcp1.dport = int(options.destination_port)
+ tcp1.sequence = tcpsequence
+ tcpsequence = tcpsequence + 1 # SYN consumes the sequence
+ tcp1.ack_number = 0
+ tcp1.offset = 5
+ tcp1.urgent = 0
+ tcp1.ack = 0
+ tcp1.push = 0
+ tcp1.reset = 0
+ tcp1.syn = 1
+ tcp1.fin = 0
+ tcp1.window = (1<<16)-1
+ tcp1.urg_point = 0
+ #tcp1.options
- tcppkt.sport = int(options.source_port )
- tcppkt.dport = int(options.destination_port)
- tcppkt.sequence = random.randrange(1,(1<<32)-1)
- tcppkt.ack_number = 0
- tcppkt.offset = 5 #header length
- tcppkt.urgent = 0
- tcppkt.ack = 0
- tcppkt.push = 0
- tcppkt.reset = 0
- tcppkt.syn = 1
- tcppkt.fin = 0
- tcppkt.window = (1<<16)-1
- tcppkt.urg_point = 0
- #tcppkt.options
+ tcp1.checksum = tcp_cksum(tcp1 , ip1)
- tcppkt.checksum = tcp_cksum(tcppkt , ip)
+ ip1.length = len(ip1.bytes) + len(tcp1.bytes)
- ip.length = len(ip.bytes) + len(tcppkt.bytes)
-
# important, only calcs the ip checksum after fill length field
- ip.checksum = ip_cksum(ip)
+ ip1.checksum = ip_cksum(ip1)
- ether = ethernet.ethernet()
- ether.src = ethernet.ether_atob(options.ether_source)
- ether.dst = ethernet.ether_atob(options.ether_destination)
- ether.type = 0x800
+ ether1 = ethernet.ethernet()
+ ether1.src = ethernet.ether_atob(options.ether_source)
+ ether1.dst = ethernet.ether_atob(options.ether_destination)
+ ether1.type = 0x800
- print "\n syn---------------------------------"
- print tcppkt
+ packet = pcs.Chain([ether1, ip1, tcp1])
+
+ print "\n%s---------------------------------" % what
+ print tcp1
print "---------------------------------"
- packet = pcs.Chain([ether, ip, tcppkt])
-
- output = pcs.PcapConnector(options.interface)
-
- # SYN SENT
out = output.write(packet.bytes, len(packet.bytes))
+## SYN
+ # SYN+ACK
+ what = "SYN+ACK"
+ while 1:
+ reply = output.read()
+ packet = ethernet.ethernet(reply)
+ try:
+ replyip = packet.data
+ replytcp = replyip.data
+ if (ip1.src==replyip.dst and \
+ ip1.dst==replyip.src and \
+ tcp1.sport==replytcp.dport and \
+ tcp1.dport==replytcp.sport):
+ break
+ except: #it cannot be a tcp packet (without sport:)
+ pass
+ print "\n%s---------------------------------" % what
+ print packet.data.data
+ print "---------------------------------"
+## SYN+ACK
+ # ACK 134,187
+ what = "ACK (SYN)"
- reply = output.read()
- reply = output.read()
+ ip3 = ipv4.ipv4()
+
+ ip3.version = 4
+ ip3.hlen = 5
+ ip3.tos = 0
+ ip3.id = ++ipid
+ ip3.flags = 0
+ ip3.offset = 0
+ ip3.ttl = 64
+ ip3.protocol = pcs.IPPROTO_TCP
+ ip3.src = pcs.inet_atol(options.ip_source)
+ ip3.dst = pcs.inet_atol(options.ip_target)
+
+ tcp3 = tcp.tcp()
- packet = ethernet.ethernet(reply)
- print "\n syn+ack-----------------------------"
- print packet.data.data
- print "---------------------------------"
+ tcp3.sport = tcpsport
+ tcp3.dport = int(options.destination_port)
+ tcp3.sequence = tcpsequence
+ ##tcpsequence = tcpsequence + 1 # SYN DOES NOT consumes the sequence
+ tcp3.ack_number = replytcp.sequence + 1
+ tcp3.offset = 5
+ tcp3.urgent = 0
+ tcp3.ack = 1
+ tcp3.push = 0
+ tcp3.reset = 0
+ tcp3.syn = 0
+ tcp3.fin = 0
+ tcp3.window = (1<<16)-1
+ tcp3.urg_point = 0
+ #tcp3.options
- #
- # this commented piece dont work.. don't ask me why. (now)
- #
+ tcp3.checksum = tcp_cksum(tcp3 , ip3)
- #tcpreply = packet.data.data
+ ip3.length = len(ip3.bytes) + len(tcp3.bytes)
- #import copy
- #ipack = copy.deepcopy(ip)
- #ipack.id = ip.id + 1
+ # important, only calcs the ip checksum after fill length field
+ ip3.checksum = ip_cksum(ip3)
- #tcpack = copy.deepcopy(tcppkt)
+ ether3 = ethernet.ethernet()
+ ether3.src = ethernet.ether_atob(options.ether_source)
+ ether3.dst = ethernet.ether_atob(options.ether_destination)
+ ether3.type = 0x800
- #tcpack.sequence = 0
- #tcpack.ack_number = tcpreply.sequence + 1
- #tcpack.ack = 1
- #tcpack.syn = 0
- #tcpack.checksum = tcp_cksum(tcpack , ipack)
+ packet = pcs.Chain([ether3, ip3, tcp3])
- # important, only calcs the ip checksum after fill length field
- #ipack.checksum = ip_cksum(ipack)
-
- #packetreply = pcs.Chain([ether, ipack, tcpack])
- #out = output.write(packetreply.bytes, len(packetreply.bytes))
+ print "\n%s---------------------------------" % what
+ print tcp3
+ print "---------------------------------"
- #
- # ANOTHER. this worked! (please don't pay attention in how it was wrote, it's a very durty test, ok?)
- #
+ out = output.write(packet.bytes, len(packet.bytes))
- ipack = ipv4.ipv4()
+## ACK
+ # FIN 188,241
+ what = "FIN"
- ipack.version = 4 # 0100 max 1111 15 *caution* :)
- ipack.hlen = 5 # 0101 0 -> min 0101 (20 bytes)
- ipack.tos = 0
- ipack.id = ip.id + 1
- ipack.flags = 0 #study on book
- ipack.offset = 0
- ipack.ttl = 64
- ipack.protocol = pcs.IPPROTO_TCP #1 ICMP #6 TCP
- ipack.src = pcs.inet_atol(options.ip_source)
- ipack.dst = pcs.inet_atol(options.ip_target)
+ ip4 = ipv4.ipv4()
- tcpreply = packet.data.data
- tcpack = tcp.tcp()
+ ip4.version = 4
+ ip4.hlen = 5
+ ip4.tos = 0
+ ip4.id = ++ipid
+ ip4.flags = 0
+ ip4.offset = 0
+ ip4.ttl = 64
+ ip4.protocol = pcs.IPPROTO_TCP
+ ip4.src = pcs.inet_atol(options.ip_source)
+ ip4.dst = pcs.inet_atol(options.ip_target)
+
+ tcp4 = tcp.tcp()
- tcpack.sport = int(options.source_port )
- tcpack.dport = int(options.destination_port)
- tcpack.sequence = 0
- tcpack.ack_number = tcpreply.sequence + 1
- tcpack.offset = 5 #header length
- tcpack.urgent = 0
- tcpack.ack = 1
- tcpack.push = 0
- tcpack.reset = 0
- tcpack.syn = 0
- tcpack.fin = 0
- tcpack.window = (1<<16)-1
- tcpack.urg_point = 0
- #tcpack.options
+ tcp4.sport = tcpsport
+ tcp4.dport = int(options.destination_port)
+ tcp4.sequence = tcpsequence
+ tcpsequence = tcpsequence + 1 # FIN consumes the sequence
+ tcp4.ack_number = replytcp.sequence + 1
+ tcp4.offset = 5
+ tcp4.urgent = 0
+ tcp4.ack = 1
+ tcp4.push = 0
+ tcp4.reset = 0
+ tcp4.syn = 0
+ tcp4.fin = 1
+ tcp4.window = (1<<16)-1
+ tcp4.urg_point = 0
+ #tcp4.options
- tcpack.checksum = tcp_cksum(tcpack , ipack)
+ tcp4.checksum = tcp_cksum(tcp4 , ip4)
- ipack.length = len(ipack.bytes) + len(tcpack.bytes)
+ ip4.length = len(ip4.bytes) + len(tcp4.bytes)
# important, only calcs the ip checksum after fill length field
- ipack.checksum = ip_cksum(ipack)
+ ip4.checksum = ip_cksum(ip4)
+
+ ether4 = ethernet.ethernet()
+ ether4.src = ethernet.ether_atob(options.ether_source)
+ ether4.dst = ethernet.ether_atob(options.ether_destination)
+ ether4.type = 0x800
+
+ packet = pcs.Chain([ether4, ip4, tcp4])
+
+ print "\n%s---------------------------------" % what
+ print tcp4
+ print "---------------------------------"
+
+ out = output.write(packet.bytes, len(packet.bytes))
- etherack = ethernet.ethernet()
- etherack.src = ethernet.ether_atob(options.ether_source)
- etherack.dst = ethernet.ether_atob(options.ether_destination)
- etherack.type = 0x800
+## FIN
+ # ACK (FIN)
+ what = "ACK (FIN)"
- packetack = pcs.Chain([etherack, ipack, tcpack])
- out = output.write(packetack.bytes, len(packetack.bytes))
+ while 1:
+ reply = output.read()
+ packet = ethernet.ethernet(reply)
+ try:
+ replyip = packet.data
+ replytcp = replyip.data
+ if (ip1.src==replyip.dst and \
+ ip1.dst==replyip.src and \
+ tcp1.sport==replytcp.dport and \
+ tcp1.dport==replytcp.sport):
+ break
+ except: #it cannot be a tcp packet (without sport:)
+ pass
- print "\n ack---------------------------------"
- print tcpack
+ print "\n%s---------------------------------" % what
+ print packet.data.data
print "---------------------------------"
- # /ANOTHER
+
+## ACK (FIN)
+ # FIN
+ what = "FIN"
- reply = output.read()
while 1:
- try:
- reply = output.read()
- packet = ethernet.ethernet(reply)
- if packet.data.data.sport == 22022:
- print "\n-----------------------------"
- print packet.data.data
- print "---------------------------------"
- except:
+ reply = output.read()
+ packet = ethernet.ethernet(reply)
+ try:
+ replyip = packet.data
+ replytcp = replyip.data
+ if (ip1.src==replyip.dst and \
+ ip1.dst==replyip.src and \
+ tcp1.sport==replytcp.dport and \
+ tcp1.dport==replytcp.sport):
+ break
+ except: #it cannot be a tcp packet (without sport:)
pass
+ print "\n%s---------------------------------" % what
+ print packet.data.data
+ print "---------------------------------"
+
+## FIN
+ # ACK (FIN) 288,341
+ what = "ACK (FIN)"
+
+ ip7 = ipv4.ipv4()
+
+ ip7.version = 4
+ ip7.hlen = 5
+ ip7.tos = 0
+ ip7.id = ++ipid
+ ip7.flags = 0
+ ip7.offset = 0
+ ip7.ttl = 64
+ ip7.protocol = pcs.IPPROTO_TCP
+ ip7.src = pcs.inet_atol(options.ip_source)
+ ip7.dst = pcs.inet_atol(options.ip_target)
+
+ tcp7 = tcp.tcp()
+
+ tcp7.sport = tcpsport
+ tcp7.dport = int(options.destination_port)
+ tcp7.sequence = tcpsequence
+ ##tcpsequence = tcpsequence + 1 # SYN DOES NOT consumes the sequence
+ tcp7.ack_number = replytcp.sequence + 1
+ tcp7.offset = 5
+ tcp7.urgent = 0
+ tcp7.ack = 1
+ tcp7.push = 0
+ tcp7.reset = 0
+ tcp7.syn = 0
+ tcp7.fin = 0
+ tcp7.window = (1<<16)-1
+ tcp7.urg_point = 0
+ #tcp7.options
+
+ tcp7.checksum = tcp_cksum(tcp7 , ip7)
+
+ ip7.length = len(ip7.bytes) + len(tcp7.bytes)
+
+ # important, only calcs the ip checksum after fill length field
+ ip7.checksum = ip_cksum(ip7)
+
+ ether7 = ethernet.ethernet()
+ ether7.src = ethernet.ether_atob(options.ether_source)
+ ether7.dst = ethernet.ether_atob(options.ether_destination)
+ ether7.type = 0x800
+
+ packet = pcs.Chain([ether7, ip7, tcp7])
+
+ print "\n%s---------------------------------" % what
+ print tcp7
+ print "---------------------------------"
+
+ out = output.write(packet.bytes, len(packet.bytes))
+
+## ACK (FIN)
def tcp_cksum(self, ip, data = ""): #TODO: add this method to pcs tcp.py
"""return tcpv4 checksum"""
From owner-p4-projects@FreeBSD.ORG Mon Jun 2 07:15:02 2008
Return-Path:
Delivered-To: p4-projects@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 32767)
id 320291065673; Mon, 2 Jun 2008 07:15:02 +0000 (UTC)
Delivered-To: perforce@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
by hub.freebsd.org (Postfix) with ESMTP id E875E1065670
for ; Mon, 2 Jun 2008 07:15:01 +0000 (UTC)
(envelope-from bilouro@FreeBSD.org)
Received: from repoman.freebsd.org (repoman.freebsd.org
[IPv6:2001:4f8:fff6::29])
by mx1.freebsd.org (Postfix) with ESMTP id CC3AD8FC0A
for ; Mon, 2 Jun 2008 07:15:01 +0000 (UTC)
(envelope-from bilouro@FreeBSD.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m527F1GT091720
for ; Mon, 2 Jun 2008 07:15:01 GMT
(envelope-from bilouro@FreeBSD.org)
Received: (from perforce@localhost)
by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m527F16Y091718
for perforce@freebsd.org; Mon, 2 Jun 2008 07:15:01 GMT
(envelope-from bilouro@FreeBSD.org)
Date: Mon, 2 Jun 2008 07:15:01 GMT
Message-Id: <200806020715.m527F16Y091718@repoman.freebsd.org>
X-Authentication-Warning: repoman.freebsd.org: perforce set sender to
bilouro@FreeBSD.org using -f
From: Victor Hugo Bilouro
To: Perforce Change Reviews
Cc:
Subject: PERFORCE change 142736 for review
X-BeenThere: p4-projects@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: p4 projects tree changes
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Mon, 02 Jun 2008 07:15:02 -0000
http://perforce.freebsd.org/chv.cgi?CH=142736
Change 142736 by bilouro@bilouro_tcptest on 2008/06/02 07:14:17
added some reminders
Affected files ...
.. //depot/projects/soc2008/bilouro_tcptest/TODO#2 edit
Differences ...
==== //depot/projects/soc2008/bilouro_tcptest/TODO#2 (text+ko) ====
@@ -1,1 +1,11 @@
-(1) manually establish a tcp connection using pcs
+use the last version of pcs
+rewrite connection establishment and finalization pcb-like oriented
+elicit with net@ some regression test suggested
+create connection establishment options test
+create some regression test scripts
+create some conformance test scripts
+choose the better method to create tests, programmatically or parsing
+oriented
+
+done:
+-manually establish a tcp connection using pcs
From owner-p4-projects@FreeBSD.ORG Mon Jun 2 08:11:31 2008
Return-Path:
Delivered-To: p4-projects@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 32767)
id B377B106567C; Mon, 2 Jun 2008 08:11:31 +0000 (UTC)
Delivered-To: perforce@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
by hub.freebsd.org (Postfix) with ESMTP id 752B81065675
for ; Mon, 2 Jun 2008 08:11:31 +0000 (UTC)
(envelope-from andre@freebsd.org)
Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2])
by mx1.freebsd.org (Postfix) with ESMTP id D6FEF8FC1B
for ; Mon, 2 Jun 2008 08:11:30 +0000 (UTC)
(envelope-from andre@freebsd.org)
Received: (qmail 64180 invoked from network); 2 Jun 2008 06:40:29 -0000
Received: from localhost (HELO [127.0.0.1]) ([127.0.0.1])
(envelope-sender )
by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP
for ; 2 Jun 2008 06:40:29 -0000
Message-ID: <4843A49F.1050306@freebsd.org>
Date: Mon, 02 Jun 2008 09:43:27 +0200
From: Andre Oppermann
User-Agent: Thunderbird 1.5.0.14 (Windows/20071210)
MIME-Version: 1.0
To: Victor Hugo Bilouro
References: <200806020715.m527F16Y091718@repoman.freebsd.org>
In-Reply-To: <200806020715.m527F16Y091718@repoman.freebsd.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Perforce Change Reviews
Subject: Re: PERFORCE change 142736 for review
X-BeenThere: p4-projects@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: p4 projects tree changes
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Mon, 02 Jun 2008 08:11:32 -0000
Victor Hugo Bilouro wrote:
> http://perforce.freebsd.org/chv.cgi?CH=142736
>
> Change 142736 by bilouro@bilouro_tcptest on 2008/06/02 07:14:17
>
> added some reminders
>
> Affected files ...
>
> .. //depot/projects/soc2008/bilouro_tcptest/TODO#2 edit
>
> Differences ...
>
> ==== //depot/projects/soc2008/bilouro_tcptest/TODO#2 (text+ko) ====
>
> @@ -1,1 +1,11 @@
> -(1) manually establish a tcp connection using pcs
> +use the last version of pcs
> +rewrite connection establishment and finalization pcb-like oriented
> +elicit with net@ some regression test suggested
This is a good start to test the basic working of TCP:
ftp://ftp.iol.unh.edu/pub/tcp/Core_TCP_Test_Suite_v0.3.pdf
It describes a number of tests you could implement. We can certainly
expand on it but so far it should keep you busy for a bit. ;-)
--
Andre
> +create connection establishment options test
> +create some regression test scripts
> +create some conformance test scripts
> +choose the better method to create tests, programmatically or parsing
> +oriented
> +
> +done:
> +-manually establish a tcp connection using pcs
>
>
From owner-p4-projects@FreeBSD.ORG Mon Jun 2 08:19:07 2008
Return-Path:
Delivered-To: p4-projects@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 32767)
id F12DF1065676; Mon, 2 Jun 2008 08:19:06 +0000 (UTC)
Delivered-To: perforce@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
by hub.freebsd.org (Postfix) with ESMTP id B1FAA1065674
for ; Mon, 2 Jun 2008 08:19:06 +0000 (UTC)
(envelope-from andrew@freebsd.org)
Received: from repoman.freebsd.org (repoman.freebsd.org
[IPv6:2001:4f8:fff6::29])
by mx1.freebsd.org (Postfix) with ESMTP id 9C4C18FC1C
for ; Mon, 2 Jun 2008 08:19:06 +0000 (UTC)
(envelope-from andrew@freebsd.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m528J6p3098020
for ; Mon, 2 Jun 2008 08:19:06 GMT
(envelope-from andrew@freebsd.org)
Received: (from perforce@localhost)
by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m528J6rZ098018
for perforce@freebsd.org; Mon, 2 Jun 2008 08:19:06 GMT
(envelope-from andrew@freebsd.org)
Date: Mon, 2 Jun 2008 08:19:06 GMT
Message-Id: <200806020819.m528J6rZ098018@repoman.freebsd.org>
X-Authentication-Warning: repoman.freebsd.org: perforce set sender to
andrew@freebsd.org using -f
From: Andrew Turner
To: Perforce Change Reviews
Cc:
Subject: PERFORCE change 142741 for review
X-BeenThere: p4-projects@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: p4 projects tree changes
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Mon, 02 Jun 2008 08:19:07 -0000
http://perforce.freebsd.org/chv.cgi?CH=142741
Change 142741 by andrew@andrew_bender on 2008/06/02 08:18:59
Add uart as a child of the s3c2410 cpu bus
Improve the bus code to allow IRQ's to be specified with bus_set_resource
Affected files ...
.. //depot/projects/arm/src/sys/arm/s3c2xx0/s3c2410.c#9 edit
Differences ...
==== //depot/projects/arm/src/sys/arm/s3c2xx0/s3c2410.c#9 (text+ko) ====
@@ -36,6 +36,7 @@
#include
#include
#include
+#include
#include
#include
@@ -54,25 +55,29 @@
u_int irqmasks[IPL_LEVELS];
/* prototypes */
+static device_t s3c2410_add_child(device_t, int, const char *, int);
+
static int s3c2410_probe(device_t);
static int s3c2410_attach(device_t);
static void s3c2410_identify(driver_t *, device_t);
-
+static int s3c2410_setup_intr(device_t, device_t, struct resource *, int,
+ driver_filter_t *, driver_intr_t *, void *, void **);
static struct resource *s3c2410_alloc_resource(device_t, device_t, int, int *,
u_long, u_long, u_long, u_int);
-
static int s3c2410_activate_resource(device_t, device_t, int, int,
struct resource *);
-static int s3c2410_setup_intr(device_t, device_t, struct resource *, int,
- driver_filter_t *, driver_intr_t *, void *, void **);
+static struct resource_list *s3c2410_get_resource_list(device_t, device_t);
static device_method_t s3c2410_methods[] = {
DEVMETHOD(device_probe, s3c2410_probe),
DEVMETHOD(device_attach, s3c2410_attach),
DEVMETHOD(device_identify, s3c2410_identify),
+ DEVMETHOD(bus_setup_intr, s3c2410_setup_intr),
DEVMETHOD(bus_alloc_resource, s3c2410_alloc_resource),
DEVMETHOD(bus_activate_resource, s3c2410_activate_resource),
- DEVMETHOD(bus_setup_intr, s3c2410_setup_intr),
+ DEVMETHOD(bus_get_resource_list,s3c2410_get_resource_list),
+ DEVMETHOD(bus_set_resource, bus_generic_rl_set_resource),
+ DEVMETHOD(bus_get_resource, bus_generic_rl_get_resource),
{0, 0},
};
@@ -87,35 +92,76 @@
struct s3c2xx0_softc *s3c2xx0_softc = NULL;
+static device_t
+s3c2410_add_child(device_t bus, int prio, const char *name, int unit)
+{
+ device_t child;
+ struct s3c2xx0_ivar *ivar;
+
+ child = device_add_child_ordered(bus, prio, name, unit);
+ if (child == NULL)
+ return (NULL);
+
+ ivar = malloc(sizeof(*ivar), M_DEVBUF, M_NOWAIT | M_ZERO);
+ if (ivar == NULL) {
+ device_delete_child(bus, child);
+ printf("Can't add alloc ivar\n");
+ return (NULL);
+ }
+ device_set_ivars(child, ivar);
+ resource_list_init(&ivar->resources);
+
+ return (child);
+}
+
static int
s3c2410_setup_intr(device_t dev, device_t child,
struct resource *ires, int flags, driver_filter_t *filt,
driver_intr_t *intr, void *arg, void **cookiep)
{
int saved_cpsr;
+ int error;
- if (flags & INTR_TYPE_TTY)
- rman_set_start(ires, 15);
- else if (flags & INTR_TYPE_CLK) {
+ if (flags & INTR_TYPE_CLK) {
if (rman_get_start(ires) == 0)
rman_set_start(ires, 26);
else
rman_set_start(ires, 27);
}
saved_cpsr = SetCPSR(I32_bit, I32_bit);
+ SetCPSR(I32_bit, saved_cpsr & I32_bit);
- SetCPSR(I32_bit, saved_cpsr & I32_bit);
- BUS_SETUP_INTR(device_get_parent(dev), child, ires, flags, filt,
+ error = BUS_SETUP_INTR(device_get_parent(dev), child, ires, flags, filt,
intr, arg, cookiep);
- return (0);
+ return (error);
}
static struct resource *
s3c2410_alloc_resource(device_t bus, device_t child, int type, int *rid,
u_long start, u_long end, u_long count, u_int flags)
{
+ struct resource_list_entry *rle;
+ struct s3c2xx0_ivar *ivar = device_get_ivars(child);
+ struct resource_list *rl = &ivar->resources;
struct resource *res = NULL;
+ if (device_get_parent(child) != bus)
+ return (BUS_ALLOC_RESOURCE(device_get_parent(bus), child,
+ type, rid, start, end, count, flags));
+
+ rle = resource_list_find(rl, type, *rid);
+ if (rle != NULL) {
+ /* There is a resource list. Use it */
+ if (rle->res)
+ panic("Resource rid %d type %d already in use", *rid,
+ type);
+ if (start == 0UL && end == ~0UL) {
+ start = rle->start;
+ count = ulmax(count, rle->count);
+ end = ulmax(rle->end, start + count - 1);
+ }
+ }
+
switch (type) {
case SYS_RES_IRQ:
res = rman_reserve_resource(
@@ -124,12 +170,31 @@
break;
}
- if (res != NULL)
+ if (res != NULL) {
rman_set_rid(res, *rid);
+ if (rle != NULL)
+ rle->res = res;
+ }
return (res);
}
+static int
+s3c2410_activate_resource(device_t bus, device_t child, int type, int rid,
+ struct resource *r)
+{
+ return (0);
+}
+
+static struct resource_list *
+s3c2410_get_resource_list(device_t dev, device_t child)
+{
+ struct s3c2xx0_ivar *ivar;
+
+ ivar = device_get_ivars(child);
+ return (&(ivar->resources));
+}
+
void
s3c2410_identify(driver_t *driver, device_t parent)
{
@@ -137,13 +202,6 @@
BUS_ADD_CHILD(parent, 0, "s3c2410", 0);
}
-static int
-s3c2410_activate_resource(device_t bus, device_t child, int type, int rid,
- struct resource *r)
-{
- return (0);
-}
-
int
s3c2410_probe(device_t dev)
{
@@ -155,6 +213,7 @@
{
struct s3c24x0_softc *sc = device_get_softc(dev);
bus_space_tag_t iot;
+ device_t child;
s3c2xx0_softc = &(sc->sc_sx);
sc->sc_sx.sc_iot = iot = &s3c2xx0_bs_tag;
@@ -207,6 +266,9 @@
panic("s3c2410_attach: failed to set up IRQ rman");
device_add_child(dev, "timer", 0);
device_add_child(dev, "nand", 0);
+
+ child = s3c2410_add_child(dev, 0, "uart", 0);
+
bus_generic_probe(dev);
bus_generic_attach(dev);
From owner-p4-projects@FreeBSD.ORG Mon Jun 2 09:45:34 2008
Return-Path:
Delivered-To: p4-projects@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 32767)
id 30F531065676; Mon, 2 Jun 2008 09:45:34 +0000 (UTC)
Delivered-To: perforce@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
by hub.freebsd.org (Postfix) with ESMTP id CF29C1065674
for ; Mon, 2 Jun 2008 09:45:33 +0000 (UTC)
(envelope-from andrew@freebsd.org)
Received: from repoman.freebsd.org (repoman.freebsd.org
[IPv6:2001:4f8:fff6::29])
by mx1.freebsd.org (Postfix) with ESMTP id C114E8FC15
for ; Mon, 2 Jun 2008 09:45:33 +0000 (UTC)
(envelope-from andrew@freebsd.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m529jXYt018678
for ; Mon, 2 Jun 2008 09:45:33 GMT
(envelope-from andrew@freebsd.org)
Received: (from perforce@localhost)
by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m529jXAr018676
for perforce@freebsd.org; Mon, 2 Jun 2008 09:45:33 GMT
(envelope-from andrew@freebsd.org)
Date: Mon, 2 Jun 2008 09:45:33 GMT
Message-Id: <200806020945.m529jXAr018676@repoman.freebsd.org>
X-Authentication-Warning: repoman.freebsd.org: perforce set sender to
andrew@freebsd.org using -f
From: Andrew Turner
To: Perforce Change Reviews
Cc:
Subject: PERFORCE change 142745 for review
X-BeenThere: p4-projects@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: p4 projects tree changes
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Mon, 02 Jun 2008 09:45:34 -0000
http://perforce.freebsd.org/chv.cgi?CH=142745
Change 142745 by andrew@andrew_bender on 2008/06/02 09:45:32
First cut at implementing arm_get_next_irq, arm_mask_irq and arm_unmask_irq
Affected files ...
.. //depot/projects/arm/src/sys/arm/s3c2xx0/s3c2410.c#10 edit
Differences ...
==== //depot/projects/arm/src/sys/arm/s3c2xx0/s3c2410.c#10 (text+ko) ====
@@ -332,15 +332,108 @@
int
arm_get_next_irq(void)
{
+ int irq;
+
+ if ((irq = bus_space_read_4(&s3c2xx0_bs_tag,
+ s3c2xx0_softc->sc_intctl_ioh, INTCTL_INTOFFSET)) != 0) {
+
+ /* Clear the pending bit */
+ bus_space_write_4(&s3c2xx0_bs_tag, s3c2xx0_softc->sc_intctl_ioh,
+ INTCTL_SRCPND, (1 << irq));
+ bus_space_write_4(&s3c2xx0_bs_tag, s3c2xx0_softc->sc_intctl_ioh,
+ INTCTL_INTPND, (1 << irq));
+
+ switch (irq) {
+ case S3C24X0_INT_ADCTC:
+ case S3C2410_INT_UART0:
+ case S3C2410_INT_UART1:
+ case S3C2410_INT_UART2:
+ /* Find the sub IRQ */
+ irq = 0x7ff;
+ irq &= bus_space_read_4(&s3c2xx0_bs_tag,
+ s3c2xx0_softc->sc_intctl_ioh, INTCTL_SUBSRCPND);
+ irq &= bus_space_read_4(&s3c2xx0_bs_tag,
+ s3c2xx0_softc->sc_intctl_ioh, INTCTL_INTSUBMSK);
+ if (irq == 0)
+ return (-1);
+
+ irq = ffs(irq);
+
+ /* Clear the sub irq pending bit */
+ bus_space_write_4(&s3c2xx0_bs_tag,
+ s3c2xx0_softc->sc_intctl_ioh, INTCTL_SUBSRCPND,
+ (1 << irq));
+
+ return (S3C2410_SUBIRQ_MIN + irq);
+ }
+
+ return (irq);
+ }
return (-1);
}
void
arm_mask_irq(uintptr_t irq)
{
+ u_int32_t mask;
+
+ if (irq < S3C2410_SUBIRQ_MIN) {
+ mask = bus_space_read_4(&s3c2xx0_bs_tag,
+ s3c2xx0_softc->sc_intctl_ioh, INTCTL_INTMSK);
+ mask |= (1 << irq);
+ bus_space_write_4(&s3c2xx0_bs_tag,
+ s3c2xx0_softc->sc_intctl_ioh, INTCTL_INTMSK, mask);
+ } else {
+ mask = bus_space_read_4(&s3c2xx0_bs_tag,
+ s3c2xx0_softc->sc_intctl_ioh, INTCTL_INTSUBMSK);
+ mask |= (1 << (irq - S3C2410_SUBIRQ_MIN));
+ bus_space_write_4(&s3c2xx0_bs_tag,
+ s3c2xx0_softc->sc_intctl_ioh, INTCTL_INTSUBMSK, mask);
+ }
}
void
arm_unmask_irq(uintptr_t irq)
{
+ u_int32_t mask;
+
+ if (irq >= S3C2410_SUBIRQ_MIN) {
+ mask = bus_space_read_4(&s3c2xx0_bs_tag,
+ s3c2xx0_softc->sc_intctl_ioh, INTCTL_INTSUBMSK);
+ mask &= ~(1 << (irq - S3C2410_SUBIRQ_MIN));
+ bus_space_write_4(&s3c2xx0_bs_tag,
+ s3c2xx0_softc->sc_intctl_ioh, INTCTL_INTSUBMSK, mask);
+
+ /* Find the other irq to unmask */
+ switch (irq) {
+ case S3C2410_INT_ADC:
+ case S3C2410_INT_TC:
+ irq = S3C24X0_INT_ADCTC;
+ break;
+ case S3C2410_INT_RXD0:
+ case S3C2410_INT_TXD0:
+ case S3C2410_INT_ERR0:
+ irq = S3C2410_INT_UART0;
+ break;
+ case S3C2410_INT_RXD1:
+ case S3C2410_INT_TXD1:
+ case S3C2410_INT_ERR1:
+ irq = S3C2410_INT_UART1;
+ break;
+
+ case S3C2410_INT_RXD2:
+ case S3C2410_INT_TXD2:
+ case S3C2410_INT_ERR2:
+ irq = S3C2410_INT_UART2;
+ break;
+ default:
+ /* We don't know which other IRQ to unmask */
+ return;
+ }
+ }
+ mask = bus_space_read_4(&s3c2xx0_bs_tag, s3c2xx0_softc->sc_intctl_ioh,
+ INTCTL_INTMSK);
+ mask &= ~(1 << irq);
+ bus_space_write_4(&s3c2xx0_bs_tag, s3c2xx0_softc->sc_intctl_ioh,
+ INTCTL_INTMSK, mask);
}
From owner-p4-projects@FreeBSD.ORG Mon Jun 2 10:41:30 2008
Return-Path:
Delivered-To: p4-projects@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 32767)
id 506B51065679; Mon, 2 Jun 2008 10:41:30 +0000 (UTC)
Delivered-To: perforce@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
by hub.freebsd.org (Postfix) with ESMTP id 1213B1065678
for ; Mon, 2 Jun 2008 10:41:30 +0000 (UTC)
(envelope-from andrew@freebsd.org)
Received: from repoman.freebsd.org (repoman.freebsd.org
[IPv6:2001:4f8:fff6::29])
by mx1.freebsd.org (Postfix) with ESMTP id E213E8FC1A
for ; Mon, 2 Jun 2008 10:41:29 +0000 (UTC)
(envelope-from andrew@freebsd.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m52AfTQi025023
for ; Mon, 2 Jun 2008 10:41:29 GMT
(envelope-from andrew@freebsd.org)
Received: (from perforce@localhost)
by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m52AfTxu025021
for perforce@freebsd.org; Mon, 2 Jun 2008 10:41:29 GMT
(envelope-from andrew@freebsd.org)
Date: Mon, 2 Jun 2008 10:41:29 GMT
Message-Id: <200806021041.m52AfTxu025021@repoman.freebsd.org>
X-Authentication-Warning: repoman.freebsd.org: perforce set sender to
andrew@freebsd.org using -f
From: Andrew Turner
To: Perforce Change Reviews
Cc:
Subject: PERFORCE change 142746 for review
X-BeenThere: p4-projects@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: p4 projects tree changes
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Mon, 02 Jun 2008 10:41:30 -0000
http://perforce.freebsd.org/chv.cgi?CH=142746
Change 142746 by andrew@andrew_bender on 2008/06/02 10:40:58
Fix an off by 1 error. The value returned by ffs starts at 1 not 0.
Affected files ...
.. //depot/projects/arm/src/sys/arm/s3c2xx0/s3c2410.c#11 edit
Differences ...
==== //depot/projects/arm/src/sys/arm/s3c2xx0/s3c2410.c#11 (text+ko) ====
@@ -357,7 +357,7 @@
if (irq == 0)
return (-1);
- irq = ffs(irq);
+ irq = ffs(irq) - 1;
/* Clear the sub irq pending bit */
bus_space_write_4(&s3c2xx0_bs_tag,
From owner-p4-projects@FreeBSD.ORG Mon Jun 2 12:51:42 2008
Return-Path:
Delivered-To: p4-projects@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 32767)
id F07C71065675; Mon, 2 Jun 2008 12:51:41 +0000 (UTC)
Delivered-To: perforce@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
by hub.freebsd.org (Postfix) with ESMTP id B29AF1065672
for ; Mon, 2 Jun 2008 12:51:41 +0000 (UTC)
(envelope-from zec@FreeBSD.org)
Received: from repoman.freebsd.org (repoman.freebsd.org
[IPv6:2001:4f8:fff6::29])
by mx1.freebsd.org (Postfix) with ESMTP id B021B8FC1E
for ; Mon, 2 Jun 2008 12:51:41 +0000 (UTC)
(envelope-from zec@FreeBSD.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m52CpfUu046639
for ; Mon, 2 Jun 2008 12:51:41 GMT
(envelope-from zec@FreeBSD.org)
Received: (from perforce@localhost)
by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m52CpftR046637
for perforce@freebsd.org; Mon, 2 Jun 2008 12:51:41 GMT
(envelope-from zec@FreeBSD.org)
Date: Mon, 2 Jun 2008 12:51:41 GMT
Message-Id: <200806021251.m52CpftR046637@repoman.freebsd.org>
X-Authentication-Warning: repoman.freebsd.org: perforce set sender to
zec@FreeBSD.org using -f
From: Marko Zec
To: Perforce Change Reviews
Cc:
Subject: PERFORCE change 142751 for review
X-BeenThere: p4-projects@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: p4 projects tree changes
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Mon, 02 Jun 2008 12:51:42 -0000
http://perforce.freebsd.org/chv.cgi?CH=142751
Change 142751 by zec@zec_tca51 on 2008/06/02 12:51:04
Unbreak netgraph compilation.
Affected files ...
.. //depot/projects/vimage/src/sys/netgraph/ng_base.c#27 edit
.. //depot/projects/vimage/src/sys/netgraph/vnetgraph.h#7 edit
Differences ...
==== //depot/projects/vimage/src/sys/netgraph/ng_base.c#27 (text+ko) ====
@@ -170,11 +170,12 @@
/* Hash related definitions */
/* XXX Don't need to initialise them because it's a LIST */
-#define NG_ID_HASH_SIZE 128 /* most systems wont need even this many */
#ifndef VIMAGE
static LIST_HEAD(, ng_node) ng_ID_hash[NG_ID_HASH_SIZE];
+static LIST_HEAD(, ng_node) ng_name_hash[NG_NAME_HASH_SIZE];
#endif
static struct mtx ng_idhash_mtx;
+static struct mtx ng_namehash_mtx;
/* Method to find a node.. used twice so do it here */
#define NG_IDHASH_FN(ID) ((ID) % (NG_ID_HASH_SIZE))
#define NG_IDHASH_FIND(ID, node) \
@@ -189,9 +190,6 @@
} \
} while (0)
-#define NG_NAME_HASH_SIZE 128 /* most systems wont need even this many */
-static LIST_HEAD(, ng_node) ng_name_hash[NG_NAME_HASH_SIZE];
-static struct mtx ng_namehash_mtx;
#define NG_NAMEHASH(NAME, HASH) \
do { \
u_char h = 0; \
@@ -838,6 +836,7 @@
int
ng_name_node(node_p node, const char *name)
{
+ INIT_VNET_NETGRAPH(curvnet);
int i, hash;
node_p node2;
@@ -869,7 +868,7 @@
NG_NAMEHASH(name, hash);
mtx_lock(&ng_namehash_mtx);
LIST_REMOVE(node, nd_nodes);
- LIST_INSERT_HEAD(&ng_name_hash[hash], node, nd_nodes);
+ LIST_INSERT_HEAD(&V_ng_name_hash[hash], node, nd_nodes);
mtx_unlock(&ng_namehash_mtx);
return (0);
@@ -3113,7 +3112,7 @@
{
INIT_VNET_NETGRAPH(curvnet);
- LIST_INIT(&V_ng_nodelist);
+ LIST_INIT(&V_ng_nodelist); /* XXX should go away */
V_nextID = 1;
return 0;
==== //depot/projects/vimage/src/sys/netgraph/vnetgraph.h#7 (text+ko) ====
@@ -42,10 +42,12 @@
#define VNET_NETGRAPH(sym) VSYM(vnet_netgraph, sym)
#define NG_ID_HASH_SIZE 32 /* most systems wont need even this many */
+#define NG_NAME_HASH_SIZE 128 /* most systems wont need even this many */
#ifdef VIMAGE
struct vnet_netgraph {
LIST_HEAD(, ng_node) _ng_ID_hash[NG_ID_HASH_SIZE];
+ LIST_HEAD(, ng_node) _ng_name_hash[NG_ID_HASH_SIZE];
LIST_HEAD(, ng_node) _ng_nodelist;
ng_ID_t _nextID;
struct unrhdr *_ng_iface_unit;
@@ -56,6 +58,7 @@
/* Symbol translation macros */
#define V_ng_ID_hash VNET_NETGRAPH(ng_ID_hash)
+#define V_ng_name_hash VNET_NETGRAPH(ng_name_hash)
#define V_ng_nodelist VNET_NETGRAPH(ng_nodelist)
#define V_nextID VNET_NETGRAPH(nextID)
#define V_ng_iface_unit VNET_NETGRAPH(ng_iface_unit)
From owner-p4-projects@FreeBSD.ORG Mon Jun 2 13:21:12 2008
Return-Path:
Delivered-To: p4-projects@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 32767)
id 01A741065671; Mon, 2 Jun 2008 13:21:12 +0000 (UTC)
Delivered-To: perforce@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
by hub.freebsd.org (Postfix) with ESMTP id B77F7106566B
for ; Mon, 2 Jun 2008 13:21:11 +0000 (UTC)
(envelope-from snagg@FreeBSD.org)
Received: from repoman.freebsd.org (repoman.freebsd.org
[IPv6:2001:4f8:fff6::29])
by mx1.freebsd.org (Postfix) with ESMTP id B5D408FC22
for ; Mon, 2 Jun 2008 13:21:11 +0000 (UTC)
(envelope-from snagg@FreeBSD.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m52DLBcw050141
for ; Mon, 2 Jun 2008 13:21:11 GMT
(envelope-from snagg@FreeBSD.org)
Received: (from perforce@localhost)
by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m52DLBh6050139
for perforce@freebsd.org; Mon, 2 Jun 2008 13:21:11 GMT
(envelope-from snagg@FreeBSD.org)
Date: Mon, 2 Jun 2008 13:21:11 GMT
Message-Id: <200806021321.m52DLBh6050139@repoman.freebsd.org>
X-Authentication-Warning: repoman.freebsd.org: perforce set sender to
snagg@FreeBSD.org using -f
From: Vincenzo Iozzo
To: Perforce Change Reviews
Cc:
Subject: PERFORCE change 142753 for review
X-BeenThere: p4-projects@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: p4 projects tree changes
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Mon, 02 Jun 2008 13:21:12 -0000
http://perforce.freebsd.org/chv.cgi?CH=142753
Change 142753 by snagg@snagg_macosx on 2008/06/02 13:20:53
A memory leak, an integer overflow and another bug are now fixed
Affected files ...
.. //depot/projects/soc2008/snagg-audit/sys/security/audit/audit_pipe.c#24 edit
Differences ...
==== //depot/projects/soc2008/snagg-audit/sys/security/audit/audit_pipe.c#24 (text) ====
@@ -270,7 +270,7 @@
audit_pipe_compare_preselect_event);
if(event != NULL) {
if(event_flag != -1)
- if (event->app_flag != event_flag)
+ if (!(event->app_flag & event_flag))
app = NULL;
} else
app = NULL;
@@ -356,7 +356,11 @@
* Pessimistically assume that the entry for this pid doesn't
* exist, and allocate. We will free it if it is unneeded.
*/
- KASSERT(num >= 0, ("Number of events is out of range"));
+ KASSERT(num >= 0, ("Number of events is out of range"));
+
+ /* Max number allowed */
+ KASSERT(num <= AUDIT_NEVENTS, ("Number of events is out of range"));
+
app_new = malloc(sizeof(*app_new), M_AUDIT_PIPE_PRESELECT, M_WAITOK);
if(num)
app_new->app_auevents= malloc(sizeof(struct audit_pipe_preselect_event) *
@@ -370,6 +374,8 @@
app = audit_pipe_preselect_find_event(ap, -1, app_pid, -1);
found = (app != NULL) ? 1: 0;
if(found) {
+ if(app->app_event_len)
+ free(app->app_auevents, M_AUDIT_PIPE_PRESELECT_EVENT);
app->app_auevents = app_new->app_auevents;
app_new = NULL;
app->app_event_len = num;
From owner-p4-projects@FreeBSD.ORG Mon Jun 2 13:23:19 2008
Return-Path:
Delivered-To: p4-projects@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 32767)
id EB6561065678; Mon, 2 Jun 2008 13:23:18 +0000 (UTC)
Delivered-To: perforce@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
by hub.freebsd.org (Postfix) with ESMTP id ABF081065670
for ; Mon, 2 Jun 2008 13:23:18 +0000 (UTC)
(envelope-from snagg@FreeBSD.org)
Received: from repoman.freebsd.org (repoman.freebsd.org
[IPv6:2001:4f8:fff6::29])
by mx1.freebsd.org (Postfix) with ESMTP id A95A78FC3E
for ; Mon, 2 Jun 2008 13:23:18 +0000 (UTC)
(envelope-from snagg@FreeBSD.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m52DNDRZ050289
for ; Mon, 2 Jun 2008 13:23:13 GMT
(envelope-from snagg@FreeBSD.org)
Received: (from perforce@localhost)
by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m52DNDU7050287
for perforce@freebsd.org; Mon, 2 Jun 2008 13:23:13 GMT
(envelope-from snagg@FreeBSD.org)
Date: Mon, 2 Jun 2008 13:23:13 GMT
Message-Id: <200806021323.m52DNDU7050287@repoman.freebsd.org>
X-Authentication-Warning: repoman.freebsd.org: perforce set sender to
snagg@FreeBSD.org using -f
From: Vincenzo Iozzo
To: Perforce Change Reviews
Cc:
Subject: PERFORCE change 142754 for review
X-BeenThere: p4-projects@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: p4 projects tree changes
List-Unsubscribe: ,