From pgj at FreeBSD.org Fri May 1 07:06:55 2009 From: pgj at FreeBSD.org (Gabor Pali) Date: Fri May 1 07:07:01 2009 Subject: PERFORCE change 161416 for review Message-ID: <200905010706.n4176sqA075900@repoman.freebsd.org> http://perforce.freebsd.org/chv.cgi?CH=161416 Change 161416 by pgj@petymeg on 2009/05/01 07:05:55 MFen (www): 1.23 -> 1.24 hu/administration.sgml Affected files ... .. //depot/projects/docproj_hu/www/hu/administration.sgml#16 edit Differences ... ==== //depot/projects/docproj_hu/www/hu/administration.sgml#16 (text+ko) ==== @@ -9,7 +9,7 @@ From pgj at FreeBSD.org Fri May 1 07:07:56 2009 From: pgj at FreeBSD.org (Gabor Pali) Date: Fri May 1 07:08:02 2009 Subject: PERFORCE change 161417 for review Message-ID: <200905010707.n4177tCs075965@repoman.freebsd.org> http://perforce.freebsd.org/chv.cgi?CH=161417 Change 161417 by pgj@petymeg on 2009/05/01 07:06:54 IFC Affected files ... .. //depot/projects/docproj_hu/doc/share/sgml/man-refs.ent#17 integrate .. //depot/projects/docproj_hu/www/en/administration.sgml#6 integrate .. //depot/projects/docproj_hu/www/en/releases/7.2R/Makefile#3 integrate .. //depot/projects/docproj_hu/www/en/releases/7.2R/announce.sgml#1 branch .. //depot/projects/docproj_hu/www/en/releases/7.2R/errata.html#1 branch .. //depot/projects/docproj_hu/www/en/releases/7.2R/hardware.html#1 branch .. //depot/projects/docproj_hu/www/en/releases/7.2R/readme.html#1 branch .. //depot/projects/docproj_hu/www/en/releases/7.2R/relnotes-detailed.html#1 branch .. //depot/projects/docproj_hu/www/en/releases/7.2R/relnotes.sgml#1 branch .. //depot/projects/docproj_hu/www/hu/platforms/sparc.sgml#13 integrate .. //depot/projects/docproj_hu/www/hu/share/sgml/news.xml#19 integrate .. //depot/projects/docproj_hu/www/share/sgml/commercial.isp.xml#11 integrate .. //depot/projects/docproj_hu/www/share/sgml/usergroups.xml#7 integrate Differences ... ==== //depot/projects/docproj_hu/doc/share/sgml/man-refs.ent#17 (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.484 2009/04/27 21:45:44 hrs Exp $ + $FreeBSD: doc/share/sgml/man-refs.ent,v 1.485 2009/04/29 15:13:21 hrs Exp $ --> @@ -3753,6 +3753,7 @@ + ==== //depot/projects/docproj_hu/www/en/administration.sgml#6 (text+ko) ==== @@ -1,5 +1,5 @@ + %developers; @@ -440,7 +440,7 @@ distributed work and communication to be synchronised. It consists mainly of those people who have physical access to the servers. Issues concerning the projects infrastructure or setting up new - machines should be directed to the cluster admnistrators.

+ machines should be directed to the cluster administrators.

==== //depot/projects/docproj_nl/www/en/gnome/docs/develfaq.sgml#4 (text+ko) ==== @@ -1,6 +1,6 @@ - + @@ -158,9 +158,8 @@
  • What is the current state of development GNOME on FreeBSD?

    -

    Because of the long ports tree freeze, we have not yet - started work on GNOME &gnomedevelver;. Stay tuned for more - updates.

    +

    GNOME &gnomedevelver; is underway. We have ported + &gnomedevelver;.2 to FreeBSD. Start testing now!

  • &footer; ==== //depot/projects/docproj_nl/www/en/gnome/images/Makefile#3 (text+ko) ==== @@ -1,4 +1,4 @@ -# $FreeBSD: www/en/gnome/images/Makefile,v 1.54 2009/01/18 23:52:33 marcus Exp $ +# $FreeBSD: www/en/gnome/images/Makefile,v 1.55 2009/05/30 19:39:32 marcus Exp $ .if exists(../Makefile.conf) .include "../Makefile.conf" @@ -34,6 +34,5 @@ DATA+= kwm.jpg DATA+= marcus.jpg DATA+= mezz.jpg -DATA+= pav.jpg .include "${WEB_PREFIX}/share/mk/web.site.mk" ==== //depot/projects/docproj_nl/www/en/platforms/amd64/motherboards.sgml#5 (text+ko) ==== @@ -1,6 +1,6 @@ - + @@ -1079,6 +1079,14 @@ Supermicro + X7DBE+ + Intel 5000P / 2x LGA 771 + Alexander Lunyov (dmesg, pciconf) + 7.2-RELEASE + Works fine. Onboard RAID untested. + + + Supermicro X7SBA Intel 3210 + ICH9R / LGA 775 Brad Davis ==== //depot/projects/docproj_nl/www/share/sgml/news.xml#42 (text+ko) ==== @@ -25,7 +25,7 @@ - $FreeBSD: www/share/sgml/news.xml,v 1.256 2009/05/22 22:08:41 jilles Exp $ + $FreeBSD: www/share/sgml/news.xml,v 1.259 2009/05/29 16:18:46 bcr Exp $ @@ -36,6 +36,34 @@ 5 + 28 + + +

    New committer: Alexander + Logvinov + (ports)

    +
    +
    + + + 27 + + +

    New committer: Kris + Moore (ports)

    +
    +
    + + + 23 + + +

    New committer: Benedict + Reuschling (doc/de_DE, www/de)

    +
    +
    + + 22 From rene at FreeBSD.org Sun May 31 16:01:04 2009 From: rene at FreeBSD.org (Rene Ladan) Date: Sun May 31 16:01:11 2009 Subject: PERFORCE change 163174 for review Message-ID: <200905311601.n4VG12cv094781@repoman.freebsd.org> http://perforce.freebsd.org/chv.cgi?CH=163174 Change 163174 by rene@rene_self on 2009/05/31 16:00:19 Fix location of my entity name. Submitted by: avl Affected files ... .. //depot/projects/docproj_nl/en_US.ISO8859-1/articles/contributors/contrib.committers.sgml#23 edit Differences ... ==== //depot/projects/docproj_nl/en_US.ISO8859-1/articles/contributors/contrib.committers.sgml#23 (text+ko) ==== @@ -703,6 +703,10 @@ + &a.rene; + + + &a.clement; @@ -823,10 +827,6 @@ - &a.rene; - - - &a.zml; From rene at FreeBSD.org Sun May 31 16:13:17 2009 From: rene at FreeBSD.org (Rene Ladan) Date: Sun May 31 16:13:23 2009 Subject: PERFORCE change 163175 for review Message-ID: <200905311613.n4VGDFwk096686@repoman.freebsd.org> http://perforce.freebsd.org/chv.cgi?CH=163175 Change 163175 by rene@rene_self on 2009/05/31 16:12:47 MFen articles/explaining-bsd 1.22 -> 1.23 Affected files ... .. //depot/projects/docproj_nl/nl_NL.ISO8859-1/articles/explaining-bsd/article.sgml#13 edit Differences ... ==== //depot/projects/docproj_nl/nl_NL.ISO8859-1/articles/explaining-bsd/article.sgml#13 (text+ko) ==== @@ -2,7 +2,7 @@ - + @@ -111,8 +111,9 @@ het X.Org project. Linux gebruikt dezelfde code. BSD specificeert normaliter geen - grafisch bureaublad zoals GNOME of KDE, deze - zijn wel beschikbaar. + grafisch bureaublad zoals + GNOME of + KDE, deze zijn wel beschikbaar. @@ -134,7 +135,7 @@ betreft copyright is BSD zeer zeker niet &unix;, maar van de andere kant heeft AT&T bronnen geïmporteerd van andere projecten, nota bene de Computer - Science Research Group van de University of California in + Science Research Group (CSRG) van de University of California in Berkeley, CA. In 1976 is de CSRG begonnen met het uitgeven van tapes van hun software, die ze Berkeley Software Distribution of BSD From zec at FreeBSD.org Sun May 31 16:53:59 2009 From: zec at FreeBSD.org (Marko Zec) Date: Sun May 31 16:54:07 2009 Subject: PERFORCE change 163177 for review Message-ID: <200905311653.n4VGrvAx009828@repoman.freebsd.org> http://perforce.freebsd.org/chv.cgi?CH=163177 Change 163177 by zec@zec_tpx32 on 2009/05/31 16:53:29 IFC @ 163176 Affected files ... .. //depot/projects/vimage-commit2/src/sys/amd64/amd64/dump_machdep.c#11 integrate .. //depot/projects/vimage-commit2/src/sys/amd64/amd64/minidump_machdep.c#13 integrate .. //depot/projects/vimage-commit2/src/sys/arm/arm/dump_machdep.c#12 integrate .. //depot/projects/vimage-commit2/src/sys/arm/xscale/ixp425/if_npe.c#6 integrate .. //depot/projects/vimage-commit2/src/sys/arm/xscale/ixp425/ixp425_qmgr.c#4 integrate .. //depot/projects/vimage-commit2/src/sys/arm/xscale/ixp425/ixp425_qmgr.h#2 integrate .. //depot/projects/vimage-commit2/src/sys/boot/uboot/lib/net.c#5 integrate .. //depot/projects/vimage-commit2/src/sys/cddl/compat/opensolaris/kern/opensolaris.c#4 integrate .. //depot/projects/vimage-commit2/src/sys/cddl/compat/opensolaris/kern/opensolaris_misc.c#5 integrate .. //depot/projects/vimage-commit2/src/sys/cddl/compat/opensolaris/sys/mutex.h#3 integrate .. //depot/projects/vimage-commit2/src/sys/cddl/compat/opensolaris/sys/rwlock.h#3 integrate .. //depot/projects/vimage-commit2/src/sys/cddl/contrib/opensolaris/uts/common/fs/gfs.c#4 integrate .. //depot/projects/vimage-commit2/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev.c#3 integrate .. //depot/projects/vimage-commit2/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c#5 integrate .. //depot/projects/vimage-commit2/src/sys/compat/linux/linux_misc.c#19 integrate .. //depot/projects/vimage-commit2/src/sys/compat/linux/linux_socket.c#19 integrate .. //depot/projects/vimage-commit2/src/sys/compat/ndis/subr_usbd.c#7 integrate .. //depot/projects/vimage-commit2/src/sys/compat/svr4/svr4_fcntl.c#3 integrate .. //depot/projects/vimage-commit2/src/sys/compat/svr4/svr4_ioctl.c#3 integrate .. //depot/projects/vimage-commit2/src/sys/compat/svr4/svr4_misc.c#4 integrate .. //depot/projects/vimage-commit2/src/sys/compat/svr4/svr4_resource.c#2 integrate .. //depot/projects/vimage-commit2/src/sys/compat/svr4/svr4_signal.c#2 integrate .. //depot/projects/vimage-commit2/src/sys/compat/svr4/svr4_socket.c#2 integrate .. //depot/projects/vimage-commit2/src/sys/compat/svr4/svr4_stat.c#9 integrate .. //depot/projects/vimage-commit2/src/sys/compat/svr4/svr4_stream.c#3 integrate .. //depot/projects/vimage-commit2/src/sys/compat/svr4/svr4_sysconfig.h#2 integrate .. //depot/projects/vimage-commit2/src/sys/conf/NOTES#26 integrate .. //depot/projects/vimage-commit2/src/sys/conf/files#38 integrate .. //depot/projects/vimage-commit2/src/sys/conf/files.i386#19 integrate .. //depot/projects/vimage-commit2/src/sys/conf/files.powerpc#13 integrate .. //depot/projects/vimage-commit2/src/sys/conf/options#28 integrate .. //depot/projects/vimage-commit2/src/sys/ddb/db_textdump.c#9 integrate .. //depot/projects/vimage-commit2/src/sys/dev/ata/ata-usb.c#6 integrate .. //depot/projects/vimage-commit2/src/sys/dev/bge/if_bge.c#10 integrate .. //depot/projects/vimage-commit2/src/sys/dev/bwi/if_bwi.c#3 integrate .. //depot/projects/vimage-commit2/src/sys/dev/cfe/cfe_console.c#4 integrate .. //depot/projects/vimage-commit2/src/sys/dev/dc/if_dc.c#6 integrate .. //depot/projects/vimage-commit2/src/sys/dev/dcons/dcons_os.c#7 integrate .. //depot/projects/vimage-commit2/src/sys/dev/e1000/if_em.c#11 integrate .. //depot/projects/vimage-commit2/src/sys/dev/firewire/firewire.c#12 integrate .. //depot/projects/vimage-commit2/src/sys/dev/firewire/if_fwe.c#3 integrate .. //depot/projects/vimage-commit2/src/sys/dev/firewire/if_fwip.c#3 integrate .. //depot/projects/vimage-commit2/src/sys/dev/fxp/if_fxp.c#10 integrate .. //depot/projects/vimage-commit2/src/sys/dev/if_ndis/if_ndis_usb.c#6 integrate .. //depot/projects/vimage-commit2/src/sys/dev/if_ndis/if_ndisvar.h#8 integrate .. //depot/projects/vimage-commit2/src/sys/dev/iwn/if_iwn.c#8 integrate .. //depot/projects/vimage-commit2/src/sys/dev/ixgb/if_ixgb.c#3 integrate .. //depot/projects/vimage-commit2/src/sys/dev/lmc/if_lmc.c#10 integrate .. //depot/projects/vimage-commit2/src/sys/dev/lmc/if_lmc.h#5 integrate .. //depot/projects/vimage-commit2/src/sys/dev/mge/if_mge.c#4 integrate .. //depot/projects/vimage-commit2/src/sys/dev/nfe/if_nfe.c#6 integrate .. //depot/projects/vimage-commit2/src/sys/dev/nge/if_nge.c#3 integrate .. //depot/projects/vimage-commit2/src/sys/dev/nmdm/nmdm.c#5 integrate .. //depot/projects/vimage-commit2/src/sys/dev/ofw/ofw_console.c#4 integrate .. //depot/projects/vimage-commit2/src/sys/dev/ral/rt2560.c#5 integrate .. //depot/projects/vimage-commit2/src/sys/dev/re/if_re.c#13 integrate .. //depot/projects/vimage-commit2/src/sys/dev/rp/rp.c#3 integrate .. //depot/projects/vimage-commit2/src/sys/dev/sf/if_sf.c#2 integrate .. //depot/projects/vimage-commit2/src/sys/dev/si/si.c#4 integrate .. //depot/projects/vimage-commit2/src/sys/dev/sis/if_sis.c#5 integrate .. //depot/projects/vimage-commit2/src/sys/dev/smc/if_smc.c#6 integrate .. //depot/projects/vimage-commit2/src/sys/dev/sound/usb/uaudio.c#8 integrate .. //depot/projects/vimage-commit2/src/sys/dev/sound/usb/uaudioreg.h#5 integrate .. //depot/projects/vimage-commit2/src/sys/dev/ste/if_ste.c#2 integrate .. //depot/projects/vimage-commit2/src/sys/dev/stge/if_stge.c#2 integrate .. //depot/projects/vimage-commit2/src/sys/dev/syscons/daemon/daemon_saver.c#5 integrate .. //depot/projects/vimage-commit2/src/sys/dev/syscons/syscons.c#10 integrate .. //depot/projects/vimage-commit2/src/sys/dev/syscons/sysmouse.c#4 integrate .. //depot/projects/vimage-commit2/src/sys/dev/tsec/if_tsec.c#4 integrate .. //depot/projects/vimage-commit2/src/sys/dev/uart/uart_tty.c#5 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/controller/at91dci.c#7 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/controller/at91dci.h#6 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/controller/atmegadci.c#8 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/controller/atmegadci.h#6 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/controller/atmegadci_atmelarm.c#5 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/controller/avr32dci.c#2 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/controller/avr32dci.h#2 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/controller/ehci.c#10 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/controller/ehci.h#6 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/controller/musb_otg.c#7 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/controller/musb_otg.h#4 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/controller/ohci.c#9 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/controller/ohci.h#5 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/controller/uhci.c#9 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/controller/uhci.h#5 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/controller/usb_controller.c#9 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/controller/uss820dci.c#7 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/controller/uss820dci.h#6 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/input/uhid.c#6 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/input/ukbd.c#6 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/input/ums.c#7 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/misc/udbp.c#6 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/misc/ufm.c#4 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/net/if_aue.c#6 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/net/if_auereg.h#2 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/net/if_axe.c#7 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/net/if_axereg.h#2 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/net/if_cdce.c#8 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/net/if_cdcereg.h#3 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/net/if_cue.c#6 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/net/if_cuereg.h#2 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/net/if_kue.c#6 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/net/if_kuereg.h#2 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/net/if_rue.c#6 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/net/if_ruereg.h#2 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/net/if_udav.c#6 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/net/if_udavreg.h#2 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/net/usb_ethernet.c#4 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/net/usb_ethernet.h#4 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/quirk/usb_quirk.c#3 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/serial/u3g.c#8 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/serial/uark.c#5 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/serial/ubsa.c#5 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/serial/ubser.c#6 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/serial/uchcom.c#5 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/serial/ucycom.c#6 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/serial/ufoma.c#6 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/serial/uftdi.c#7 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/serial/ugensa.c#6 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/serial/uipaq.c#5 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/serial/ulpt.c#6 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/serial/umct.c#6 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/serial/umodem.c#7 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/serial/umoscom.c#5 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/serial/uplcom.c#7 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/serial/usb_serial.c#5 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/serial/usb_serial.h#4 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/serial/uslcom.c#5 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/serial/uvisor.c#6 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/serial/uvscom.c#5 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/storage/umass.c#6 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/storage/urio.c#6 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/storage/ustorage_fs.c#7 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/template/usb_template.c#5 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/template/usb_template.h#3 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/template/usb_template_cdce.c#3 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/template/usb_template_msc.c#3 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/template/usb_template_mtp.c#3 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb.h#6 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_bus.h#7 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_busdma.c#5 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_busdma.h#4 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_cdc.h#2 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_compat_linux.c#7 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_compat_linux.h#4 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_controller.h#7 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_core.h#11 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_debug.c#4 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_debug.h#4 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_dev.c#7 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_dev.h#4 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_device.c#11 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_device.h#10 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_dynamic.c#4 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_dynamic.h#3 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_error.c#2 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_generic.c#9 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_generic.h#2 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_handle_request.c#6 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_hid.c#7 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_hid.h#6 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_hub.c#11 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_hub.h#5 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_ioctl.h#3 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_lookup.c#3 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_lookup.h#3 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_mbuf.c#3 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_mbuf.h#3 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_msctest.c#4 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_msctest.h#2 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_parse.c#3 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_parse.h#3 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_process.c#4 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_process.h#3 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_request.c#8 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_request.h#6 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_transfer.c#9 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_transfer.h#5 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usb_util.c#4 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usbdevs#25 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/usbhid.h#5 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/wlan/if_rum.c#7 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/wlan/if_rumvar.h#6 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/wlan/if_uath.c#5 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/wlan/if_uathvar.h#4 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/wlan/if_upgt.c#3 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/wlan/if_upgtvar.h#2 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/wlan/if_ural.c#8 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/wlan/if_uralvar.h#6 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/wlan/if_urtw.c#2 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/wlan/if_urtwvar.h#2 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/wlan/if_zyd.c#8 integrate .. //depot/projects/vimage-commit2/src/sys/dev/usb/wlan/if_zydreg.h#4 integrate .. //depot/projects/vimage-commit2/src/sys/dev/vge/if_vge.c#5 integrate .. //depot/projects/vimage-commit2/src/sys/dev/vr/if_vr.c#5 integrate .. //depot/projects/vimage-commit2/src/sys/dev/xen/console/console.c#10 integrate .. //depot/projects/vimage-commit2/src/sys/dev/xl/if_xl.c#5 integrate .. //depot/projects/vimage-commit2/src/sys/fs/cd9660/cd9660_rrip.c#12 integrate .. //depot/projects/vimage-commit2/src/sys/fs/nfs/nfsport.h#5 integrate .. //depot/projects/vimage-commit2/src/sys/fs/nfsclient/nfs_clbio.c#3 integrate .. //depot/projects/vimage-commit2/src/sys/fs/nfsclient/nfs_clnode.c#4 integrate .. //depot/projects/vimage-commit2/src/sys/fs/nfsclient/nfs_clstate.c#3 integrate .. //depot/projects/vimage-commit2/src/sys/fs/nfsclient/nfs_clvfsops.c#5 integrate .. //depot/projects/vimage-commit2/src/sys/fs/nfsclient/nfs_clvnops.c#3 integrate .. //depot/projects/vimage-commit2/src/sys/fs/nfsserver/nfs_nfsdport.c#5 integrate .. //depot/projects/vimage-commit2/src/sys/fs/nullfs/null_subr.c#3 integrate .. //depot/projects/vimage-commit2/src/sys/fs/nullfs/null_vnops.c#8 integrate .. //depot/projects/vimage-commit2/src/sys/fs/pseudofs/pseudofs_vnops.c#8 integrate .. //depot/projects/vimage-commit2/src/sys/fs/smbfs/smbfs_io.c#6 integrate .. //depot/projects/vimage-commit2/src/sys/geom/label/g_label.c#3 integrate .. //depot/projects/vimage-commit2/src/sys/geom/vinum/geom_vinum_create.c#2 integrate .. //depot/projects/vimage-commit2/src/sys/geom/vinum/geom_vinum_drive.c#11 integrate .. //depot/projects/vimage-commit2/src/sys/i386/i386/dump_machdep.c#11 integrate .. //depot/projects/vimage-commit2/src/sys/i386/i386/minidump_machdep.c#11 integrate .. //depot/projects/vimage-commit2/src/sys/i386/ibcs2/ibcs2_socksys.c#10 integrate .. //depot/projects/vimage-commit2/src/sys/i386/include/apicvar.h#6 integrate .. //depot/projects/vimage-commit2/src/sys/i386/include/xen/xen_clock_util.h#1 branch .. //depot/projects/vimage-commit2/src/sys/i386/xen/clock.c#5 integrate .. //depot/projects/vimage-commit2/src/sys/i386/xen/mp_machdep.c#10 integrate .. //depot/projects/vimage-commit2/src/sys/i386/xen/xen_clock_util.c#1 branch .. //depot/projects/vimage-commit2/src/sys/i386/xen/xen_rtc.c#2 integrate .. //depot/projects/vimage-commit2/src/sys/ia64/ia64/dump_machdep.c#10 integrate .. //depot/projects/vimage-commit2/src/sys/ia64/ia64/ssc.c#3 integrate .. //depot/projects/vimage-commit2/src/sys/kern/kern_cpu.c#3 integrate .. //depot/projects/vimage-commit2/src/sys/kern/kern_jail.c#23 integrate .. //depot/projects/vimage-commit2/src/sys/kern/kern_mib.c#17 integrate .. //depot/projects/vimage-commit2/src/sys/kern/kern_mutex.c#6 integrate .. //depot/projects/vimage-commit2/src/sys/kern/kern_osd.c#6 integrate .. //depot/projects/vimage-commit2/src/sys/kern/kern_prot.c#12 integrate .. //depot/projects/vimage-commit2/src/sys/kern/kern_rmlock.c#5 integrate .. //depot/projects/vimage-commit2/src/sys/kern/kern_rwlock.c#7 integrate .. //depot/projects/vimage-commit2/src/sys/kern/kern_shutdown.c#6 integrate .. //depot/projects/vimage-commit2/src/sys/kern/kern_sx.c#6 integrate .. //depot/projects/vimage-commit2/src/sys/kern/kern_vimage.c#48 integrate .. //depot/projects/vimage-commit2/src/sys/kern/kern_xxx.c#13 integrate .. //depot/projects/vimage-commit2/src/sys/kern/tty.c#23 integrate .. //depot/projects/vimage-commit2/src/sys/kern/tty_pts.c#11 integrate .. //depot/projects/vimage-commit2/src/sys/kern/uipc_syscalls.c#9 integrate .. //depot/projects/vimage-commit2/src/sys/kern/vfs_bio.c#14 integrate .. //depot/projects/vimage-commit2/src/sys/kern/vfs_cache.c#18 integrate .. //depot/projects/vimage-commit2/src/sys/kern/vfs_default.c#7 integrate .. //depot/projects/vimage-commit2/src/sys/kern/vfs_lookup.c#12 integrate .. //depot/projects/vimage-commit2/src/sys/kern/vfs_subr.c#16 integrate .. //depot/projects/vimage-commit2/src/sys/kern/vnode_if.src#8 integrate .. //depot/projects/vimage-commit2/src/sys/kgssapi/gsstest.c#4 integrate .. //depot/projects/vimage-commit2/src/sys/modules/Makefile#23 integrate .. //depot/projects/vimage-commit2/src/sys/modules/cpufreq/Makefile#3 integrate .. //depot/projects/vimage-commit2/src/sys/modules/geom/geom_part/geom_part_ebr/Makefile#2 integrate .. //depot/projects/vimage-commit2/src/sys/modules/nfscl/Makefile#1 branch .. //depot/projects/vimage-commit2/src/sys/modules/nfscommon/Makefile#1 branch .. //depot/projects/vimage-commit2/src/sys/modules/nfsd/Makefile#1 branch .. //depot/projects/vimage-commit2/src/sys/modules/zfs/Makefile#6 integrate .. //depot/projects/vimage-commit2/src/sys/net/if.c#69 integrate .. //depot/projects/vimage-commit2/src/sys/net/if.h#8 integrate .. //depot/projects/vimage-commit2/src/sys/net/if_var.h#28 integrate .. //depot/projects/vimage-commit2/src/sys/net/pfil.h#3 integrate .. //depot/projects/vimage-commit2/src/sys/net80211/ieee80211_dfs.c#3 integrate .. //depot/projects/vimage-commit2/src/sys/net80211/ieee80211_freebsd.c#11 integrate .. //depot/projects/vimage-commit2/src/sys/net80211/ieee80211_ht.c#9 integrate .. //depot/projects/vimage-commit2/src/sys/net80211/ieee80211_phy.h#2 integrate .. //depot/projects/vimage-commit2/src/sys/net80211/ieee80211_superg.c#6 integrate .. //depot/projects/vimage-commit2/src/sys/net80211/ieee80211_tdma.c#5 integrate .. //depot/projects/vimage-commit2/src/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c#8 integrate .. //depot/projects/vimage-commit2/src/sys/netgraph/bluetooth/drivers/ubt/ng_ubt_var.h#7 integrate .. //depot/projects/vimage-commit2/src/sys/netgraph/bluetooth/drivers/ubtbcmfw/ubtbcmfw.c#8 integrate .. //depot/projects/vimage-commit2/src/sys/netinet/sctp_pcb.c#20 integrate .. //depot/projects/vimage-commit2/src/sys/netinet/sctp_sysctl.c#10 integrate .. //depot/projects/vimage-commit2/src/sys/netinet/sctp_sysctl.h#7 integrate .. //depot/projects/vimage-commit2/src/sys/netinet/sctp_uio.h#10 integrate .. //depot/projects/vimage-commit2/src/sys/netinet/sctputil.c#14 integrate .. //depot/projects/vimage-commit2/src/sys/netinet6/icmp6.c#28 integrate .. //depot/projects/vimage-commit2/src/sys/netinet6/in6_ifattach.c#27 integrate .. //depot/projects/vimage-commit2/src/sys/nfsclient/bootp_subr.c#11 integrate .. //depot/projects/vimage-commit2/src/sys/nfsclient/nfs_bio.c#7 integrate .. //depot/projects/vimage-commit2/src/sys/nfsclient/nfs_vfsops.c#19 integrate .. //depot/projects/vimage-commit2/src/sys/nfsserver/nfs_srvkrpc.c#6 integrate .. //depot/projects/vimage-commit2/src/sys/nlm/nlm_advlock.c#7 integrate .. //depot/projects/vimage-commit2/src/sys/pci/if_rl.c#7 integrate .. //depot/projects/vimage-commit2/src/sys/powerpc/aim/machdep.c#10 integrate .. //depot/projects/vimage-commit2/src/sys/powerpc/booke/machdep.c#9 integrate .. //depot/projects/vimage-commit2/src/sys/powerpc/conf/GENERIC#10 integrate .. //depot/projects/vimage-commit2/src/sys/powerpc/conf/NOTES#5 integrate .. //depot/projects/vimage-commit2/src/sys/powerpc/cpufreq/dfs.c#1 branch .. //depot/projects/vimage-commit2/src/sys/powerpc/mpc85xx/atpic.c#2 integrate .. //depot/projects/vimage-commit2/src/sys/powerpc/ofw/ofw_cpu.c#1 branch .. //depot/projects/vimage-commit2/src/sys/powerpc/powermac/pmu.c#4 integrate .. //depot/projects/vimage-commit2/src/sys/powerpc/powermac/vcoregpio.c#1 branch .. //depot/projects/vimage-commit2/src/sys/powerpc/powerpc/cpu.c#7 integrate .. //depot/projects/vimage-commit2/src/sys/rpc/authunix_prot.c#12 integrate .. //depot/projects/vimage-commit2/src/sys/rpc/xdr.h#4 integrate .. //depot/projects/vimage-commit2/src/sys/security/mac/mac_framework.c#7 integrate .. //depot/projects/vimage-commit2/src/sys/sparc64/sparc64/dump_machdep.c#10 integrate .. //depot/projects/vimage-commit2/src/sys/sun4v/sun4v/dump_machdep.c#10 integrate .. //depot/projects/vimage-commit2/src/sys/sun4v/sun4v/hvcons.c#3 integrate .. //depot/projects/vimage-commit2/src/sys/sys/cpu.h#2 integrate .. //depot/projects/vimage-commit2/src/sys/sys/jail.h#11 integrate .. //depot/projects/vimage-commit2/src/sys/sys/kernel.h#11 integrate .. //depot/projects/vimage-commit2/src/sys/sys/mount.h#12 integrate .. //depot/projects/vimage-commit2/src/sys/sys/namei.h#4 integrate .. //depot/projects/vimage-commit2/src/sys/sys/param.h#40 integrate .. //depot/projects/vimage-commit2/src/sys/sys/priv.h#9 integrate .. //depot/projects/vimage-commit2/src/sys/sys/rmlock.h#2 integrate .. //depot/projects/vimage-commit2/src/sys/sys/sockio.h#4 integrate .. //depot/projects/vimage-commit2/src/sys/sys/sx.h#4 integrate .. //depot/projects/vimage-commit2/src/sys/sys/syscallsubr.h#7 integrate .. //depot/projects/vimage-commit2/src/sys/sys/tty.h#8 integrate .. //depot/projects/vimage-commit2/src/sys/sys/vimage.h#69 integrate .. //depot/projects/vimage-commit2/src/sys/sys/vnode.h#13 integrate .. //depot/projects/vimage-commit2/src/sys/vm/vm_page.c#7 integrate .. //depot/projects/vimage-commit2/src/sys/vm/vm_page.h#5 integrate .. //depot/projects/vimage-commit2/src/sys/xen/evtchn/evtchn.c#8 integrate Differences ... ==== //depot/projects/vimage-commit2/src/sys/amd64/amd64/dump_machdep.c#11 (text+ko) ==== @@ -25,7 +25,7 @@ */ #include -__FBSDID("$FreeBSD: src/sys/amd64/amd64/dump_machdep.c,v 1.17 2008/10/31 10:11:35 kib Exp $"); +__FBSDID("$FreeBSD: src/sys/amd64/amd64/dump_machdep.c,v 1.18 2009/05/29 21:27:12 jamie Exp $"); #include #include @@ -34,7 +34,6 @@ #include #include #include -#include #include #include #include ==== //depot/projects/vimage-commit2/src/sys/amd64/amd64/minidump_machdep.c#13 (text) ==== @@ -25,7 +25,7 @@ */ #include -__FBSDID("$FreeBSD: src/sys/amd64/amd64/minidump_machdep.c,v 1.9 2008/10/31 10:11:35 kib Exp $"); +__FBSDID("$FreeBSD: src/sys/amd64/amd64/minidump_machdep.c,v 1.10 2009/05/29 21:27:12 jamie Exp $"); #include #include @@ -34,7 +34,6 @@ #include #include #include -#include #include #include #include ==== //depot/projects/vimage-commit2/src/sys/arm/arm/dump_machdep.c#12 (text+ko) ==== @@ -25,7 +25,7 @@ */ #include -__FBSDID("$FreeBSD: src/sys/arm/arm/dump_machdep.c,v 1.7 2009/02/02 20:09:14 cognet Exp $"); +__FBSDID("$FreeBSD: src/sys/arm/arm/dump_machdep.c,v 1.8 2009/05/29 21:27:12 jamie Exp $"); #include #include @@ -35,7 +35,6 @@ #include #include #include -#include #include #include #include ==== //depot/projects/vimage-commit2/src/sys/arm/xscale/ixp425/if_npe.c#6 (text+ko) ==== @@ -23,7 +23,7 @@ */ #include -__FBSDID("$FreeBSD: src/sys/arm/xscale/ixp425/if_npe.c,v 1.15 2009/05/23 19:14:20 sam Exp $"); +__FBSDID("$FreeBSD: src/sys/arm/xscale/ixp425/if_npe.c,v 1.17 2009/05/30 18:23:55 sam Exp $"); /* * Intel XScale NPE Ethernet driver. @@ -229,7 +229,7 @@ static void npe_txdone(int qid, void *arg); static int npe_rxbuf_init(struct npe_softc *, struct npebuf *, struct mbuf *); -static void npe_rxdone(int qid, void *arg); +static int npe_rxdone(int qid, void *arg); static void npeinit(void *); static void npestart_locked(struct ifnet *); static void npestart(struct ifnet *); @@ -777,7 +777,7 @@ */ sc->rx_qid = npeconfig[sc->sc_npeid].rx_qid; ixpqmgr_qconfig(sc->rx_qid, npe_rxbuf, 0, 1, - IX_QMGR_Q_SOURCE_ID_NOT_E, npe_rxdone, sc); + IX_QMGR_Q_SOURCE_ID_NOT_E, (qconfig_hand_t *)npe_rxdone, sc); sc->rx_freeqid = npeconfig[sc->sc_npeid].rx_freeqid; ixpqmgr_qconfig(sc->rx_freeqid, npe_rxbuf, 0, npe_rxbuf/2, 0, NULL, sc); /* @@ -1091,7 +1091,7 @@ * from the hardware queue and pass the frames up the * stack. Pass the rx buffers to the free list. */ -static void +static int npe_rxdone(int qid, void *arg) { #define P2V(a, dma) \ @@ -1099,6 +1099,7 @@ struct npe_softc *sc = arg; struct npedma *dma = &sc->rxdma; uint32_t entry; + int rx_npkts = 0; while (ixpqmgr_qread(qid, &entry) == 0) { struct npebuf *npe = P2V(NPE_QM_Q_ADDR(entry), dma); @@ -1132,6 +1133,7 @@ ifp->if_ipackets++; ifp->if_input(ifp, mrx); + rx_npkts++; } else { /* discard frame and re-use mbuf */ m = npe->ix_m; @@ -1143,19 +1145,22 @@ /* XXX should not happen */ } } + return rx_npkts; #undef P2V } #ifdef DEVICE_POLLING -static void +static int npe_poll(struct ifnet *ifp, enum poll_cmd cmd, int count) { struct npe_softc *sc = ifp->if_softc; + int rx_npkts = 0; if (ifp->if_drv_flags & IFF_DRV_RUNNING) { - npe_rxdone(sc->rx_qid, sc); + rx_npkts = npe_rxdone(sc->rx_qid, sc); npe_txdone(sc->tx_doneqid, sc); /* XXX polls both NPE's */ } + return rx_npkts; } #endif /* DEVICE_POLLING */ ==== //depot/projects/vimage-commit2/src/sys/arm/xscale/ixp425/ixp425_qmgr.c#4 (text+ko) ==== @@ -57,7 +57,7 @@ * SUCH DAMAGE. */ #include -__FBSDID("$FreeBSD: src/sys/arm/xscale/ixp425/ixp425_qmgr.c,v 1.5 2008/12/20 03:26:09 sam Exp $"); +__FBSDID("$FreeBSD: src/sys/arm/xscale/ixp425/ixp425_qmgr.c,v 1.6 2009/05/30 15:14:44 attilio Exp $"); /* * Intel XScale Queue Manager support. @@ -338,7 +338,7 @@ int ixpqmgr_qconfig(int qId, int qEntries, int ne, int nf, int srcSel, - void (*cb)(int, void *), void *cbarg) + qconfig_hand_t *cb, void *cbarg) { struct ixpqmgr_softc *sc = ixpqmgr_sc; struct qmgrInfo *qi = &sc->qinfo[qId]; ==== //depot/projects/vimage-commit2/src/sys/arm/xscale/ixp425/ixp425_qmgr.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/arm/xscale/ixp425/ixp425_qmgr.h,v 1.1 2006/11/19 23:55:23 sam Exp $ + * $FreeBSD: src/sys/arm/xscale/ixp425/ixp425_qmgr.h,v 1.2 2009/05/30 15:14:44 attilio Exp $ */ /*- @@ -229,8 +229,10 @@ #define IX_QMGR_ENTRY2_OFFSET 1 #define IX_QMGR_ENTRY4_OFFSET 3 +typedef void qconfig_hand_t(int, void *); + int ixpqmgr_qconfig(int qId, int qSizeInWords, int ne, int nf, int srcSel, - void (*cb)(int, void *), void *cbarg); + qconfig_hand_t *cb, void *cbarg); int ixpqmgr_qwrite(int qId, uint32_t entry); int ixpqmgr_qread(int qId, uint32_t *entry); int ixpqmgr_qreadm(int qId, uint32_t n, uint32_t *p); ==== //depot/projects/vimage-commit2/src/sys/boot/uboot/lib/net.c#5 (text+ko) ==== @@ -26,7 +26,7 @@ */ #include -__FBSDID("$FreeBSD: src/sys/boot/uboot/lib/net.c,v 1.7 2008/11/19 17:34:28 raj Exp $"); +__FBSDID("$FreeBSD: src/sys/boot/uboot/lib/net.c,v 1.8 2009/05/30 19:28:38 marcel Exp $"); #include #include @@ -46,12 +46,6 @@ #include "glue.h" #include "libuboot.h" -#define NETIF_DEBUG -#define NETIF_VERBOSE_DEBUG -#undef NETIF_DEBUG -#undef NETIF_VERBOSE_DEBUG - - static int net_probe(struct netif *, void *); static int net_match(struct netif *, void *); static void net_init(struct iodesc *, void *); @@ -138,7 +132,7 @@ #if defined(NETIF_DEBUG) struct ether_header *eh; - printf("net_put: desc 0x%x, pkt 0x%x, len %d\n", desc, pkt, len); + printf("net_put: desc %p, pkt %p, len %d\n", desc, pkt, len); eh = pkt; printf("dst: %s ", ether_sprintf(eh->ether_dhost)); printf("src: %s ", ether_sprintf(eh->ether_shost)); @@ -175,7 +169,7 @@ int err, rlen; #if defined(NETIF_DEBUG) - printf("net_get: pkt %x, len %d, timeout %d\n", pkt, len, timeout); + printf("net_get: pkt %p, len %d, timeout %d\n", pkt, len, timeout); #endif t = getsecs(); do { ==== //depot/projects/vimage-commit2/src/sys/cddl/compat/opensolaris/kern/opensolaris.c#4 (text+ko) ==== @@ -22,7 +22,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD: src/sys/cddl/compat/opensolaris/kern/opensolaris.c,v 1.2 2009/05/08 14:11:06 zec Exp $ + * $FreeBSD: src/sys/cddl/compat/opensolaris/kern/opensolaris.c,v 1.3 2009/05/29 21:27:12 jamie Exp $ * */ @@ -31,11 +31,11 @@ #include #include #include +#include #include #include #include #include -#include cpu_core_t cpu_core[MAXCPU]; kmutex_t cpu_lock; @@ -83,7 +83,7 @@ switch (type) { case MOD_LOAD: - utsname.nodename = G_hostname; + utsname.nodename = prison0.pr_host; break; case MOD_UNLOAD: ==== //depot/projects/vimage-commit2/src/sys/cddl/compat/opensolaris/kern/opensolaris_misc.c#5 (text+ko) ==== @@ -25,9 +25,10 @@ */ #include -__FBSDID("$FreeBSD: src/sys/cddl/compat/opensolaris/kern/opensolaris_misc.c,v 1.5 2009/05/08 14:11:06 zec Exp $"); +__FBSDID("$FreeBSD: src/sys/cddl/compat/opensolaris/kern/opensolaris_misc.c,v 1.6 2009/05/29 21:27:12 jamie Exp $"); #include +#include #include #include #include @@ -57,7 +58,7 @@ { if (str == hw_serial) { - *result = hostid; + *result = prison0.pr_hostid; return (0); } ==== //depot/projects/vimage-commit2/src/sys/cddl/compat/opensolaris/sys/mutex.h#3 (text+ko) ==== @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD: src/sys/cddl/compat/opensolaris/sys/mutex.h,v 1.6 2009/05/16 23:56:45 kmacy Exp $ + * $FreeBSD: src/sys/cddl/compat/opensolaris/sys/mutex.h,v 1.7 2009/05/29 01:49:27 attilio Exp $ */ #ifndef _OPENSOLARIS_SYS_MUTEX_H_ @@ -47,9 +47,9 @@ typedef struct sx kmutex_t; #ifndef DEBUG -#define MUTEX_FLAGS (SX_DUPOK | SX_NOWITNESS | SX_ADAPTIVESPIN) +#define MUTEX_FLAGS (SX_DUPOK | SX_NOWITNESS) #else -#define MUTEX_FLAGS (SX_DUPOK | SX_ADAPTIVESPIN) +#define MUTEX_FLAGS (SX_DUPOK) #endif #define mutex_init(lock, desc, type, arg) do { \ ==== //depot/projects/vimage-commit2/src/sys/cddl/compat/opensolaris/sys/rwlock.h#3 (text+ko) ==== @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD: src/sys/cddl/compat/opensolaris/sys/rwlock.h,v 1.6 2009/05/16 23:56:45 kmacy Exp $ + * $FreeBSD: src/sys/cddl/compat/opensolaris/sys/rwlock.h,v 1.7 2009/05/29 01:49:27 attilio Exp $ */ #ifndef _OPENSOLARIS_SYS_RWLOCK_H_ @@ -49,9 +49,9 @@ typedef struct sx krwlock_t; #ifndef DEBUG -#define RW_FLAGS (SX_DUPOK | SX_NOWITNESS | SX_ADAPTIVESPIN) +#define RW_FLAGS (SX_DUPOK | SX_NOWITNESS) #else -#define RW_FLAGS (SX_DUPOK | SX_ADAPTIVESPIN) +#define RW_FLAGS (SX_DUPOK) #endif #define RW_READ_HELD(x) (rw_read_held((x))) ==== //depot/projects/vimage-commit2/src/sys/cddl/contrib/opensolaris/uts/common/fs/gfs.c#4 (text+ko) ==== @@ -564,8 +564,13 @@ if (fp->gfs_parent == NULL || (vp->v_flag & V_XATTRDIR)) goto found; - dp = fp->gfs_parent->v_data; - + /* + * XXX cope with a FreeBSD-specific race wherein the parent's + * snapshot data can be freed before the parent is + */ + if ((dp = fp->gfs_parent->v_data) == NULL) + return (NULL); + /* * First, see if this vnode is cached in the parent. */ ==== //depot/projects/vimage-commit2/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev.c#3 (text+ko) ==== @@ -2392,13 +2392,23 @@ /* * Check the vdev configuration to ensure that it's capable of supporting - * a root pool. Currently, we do not support RAID-Z or partial configuration. - * In addition, only a single top-level vdev is allowed and none of the leaves - * can be wholedisks. + * a root pool. + * + * On Solaris, we do not support RAID-Z or partial configuration. In + * addition, only a single top-level vdev is allowed and none of the + * leaves can be wholedisks. + * + * For FreeBSD, we can boot from any configuration. There is a + * limitation that the boot filesystem must be either uncompressed or + * compresses with lzjb compression but I'm not sure how to enforce + * that here. */ boolean_t vdev_is_bootable(vdev_t *vd) { +#ifdef __FreeBSD_version + return (B_TRUE); +#else int c; if (!vd->vdev_ops->vdev_op_leaf) { @@ -2420,4 +2430,5 @@ return (B_FALSE); } return (B_TRUE); +#endif } ==== //depot/projects/vimage-commit2/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c#5 (text+ko) ==== @@ -3121,3 +3121,4 @@ }; DECLARE_MODULE(zfsctrl, zfs_mod, SI_SUB_VFS, SI_ORDER_ANY); MODULE_DEPEND(zfsctrl, opensolaris, 1, 1, 1); +MODULE_DEPEND(zfsctrl, krpc, 1, 1, 1); ==== //depot/projects/vimage-commit2/src/sys/compat/linux/linux_misc.c#19 (text+ko) ==== @@ -28,7 +28,7 @@ */ #include -__FBSDID("$FreeBSD: src/sys/compat/linux/linux_misc.c,v 1.236 2009/05/10 18:43:43 dchagin Exp $"); +__FBSDID("$FreeBSD: src/sys/compat/linux/linux_misc.c,v 1.237 2009/05/29 21:27:12 jamie Exp $"); #include "opt_compat.h" #include "opt_mac.h" @@ -64,7 +64,6 @@ #include #include #include -#include #include @@ -715,10 +714,10 @@ int linux_newuname(struct thread *td, struct linux_newuname_args *args) { - INIT_VPROCG(TD_TO_VPROCG(td)); struct l_new_utsname utsname; char osname[LINUX_MAX_UTSNAME]; char osrelease[LINUX_MAX_UTSNAME]; + struct prison *pr; char *p; #ifdef DEBUG @@ -741,9 +740,10 @@ } strlcpy(utsname.machine, linux_platform, LINUX_MAX_UTSNAME); - mtx_lock(&hostname_mtx); - strlcpy(utsname.domainname, V_domainname, LINUX_MAX_UTSNAME); - mtx_unlock(&hostname_mtx); + pr = td->td_ucred->cr_prison; + mtx_lock(&pr->pr_mtx); + strlcpy(utsname.domainname, pr->pr_domain, LINUX_MAX_UTSNAME); + mtx_unlock(&pr->pr_mtx); return (copyout(&utsname, args->buf, sizeof(utsname))); } ==== //depot/projects/vimage-commit2/src/sys/compat/linux/linux_socket.c#19 (text+ko) ==== @@ -27,7 +27,7 @@ */ #include -__FBSDID("$FreeBSD: src/sys/compat/linux/linux_socket.c,v 1.92 2009/05/19 09:10:53 dchagin Exp $"); +__FBSDID("$FreeBSD: src/sys/compat/linux/linux_socket.c,v 1.95 2009/05/31 12:16:31 dchagin Exp $"); /* XXX we use functions that might not exist. */ #include "opt_compat.h" @@ -445,8 +445,6 @@ return (-1); } - - static int linux_to_bsd_msghdr(struct msghdr *bhdr, const struct l_msghdr *lhdr) { @@ -477,6 +475,24 @@ } static int +linux_set_socket_flags(struct thread *td, int s, int flags) +{ + int error; + + if (flags & LINUX_SOCK_NONBLOCK) { + error = kern_fcntl(td, s, F_SETFL, O_NONBLOCK); + if (error) + return (error); + } + if (flags & LINUX_SOCK_CLOEXEC) { + error = kern_fcntl(td, s, F_SETFD, FD_CLOEXEC); + if (error) + return (error); + } + return (0); +} + +static int linux_sendit(struct thread *td, int s, struct msghdr *mp, int flags, struct mbuf *control, enum uio_seg segflg) { @@ -610,21 +626,11 @@ if (retval_socket) return (retval_socket); - if (socket_flags & LINUX_SOCK_NONBLOCK) { - retval_socket = kern_fcntl(td, td->td_retval[0], - F_SETFL, O_NONBLOCK); - if (retval_socket) { - (void)kern_close(td, td->td_retval[0]); - goto out; - } - } - if (socket_flags & LINUX_SOCK_CLOEXEC) { - retval_socket = kern_fcntl(td, td->td_retval[0], - F_SETFD, FD_CLOEXEC); - if (retval_socket) { - (void)kern_close(td, td->td_retval[0]); - goto out; - } + retval_socket = linux_set_socket_flags(td, td->td_retval[0], + socket_flags); + if (retval_socket) { + (void)kern_close(td, td->td_retval[0]); + goto out; } if (bsd_args.type == SOCK_RAW @@ -878,12 +884,20 @@ int protocol; int *rsv; } */ bsd_args; + int error, socket_flags; + int sv[2]; bsd_args.domain = linux_to_bsd_domain(args->domain); if (bsd_args.domain != PF_LOCAL) return (EAFNOSUPPORT); - bsd_args.type = args->type; + socket_flags = args->type & ~LINUX_SOCK_TYPE_MASK; + if (socket_flags & ~(LINUX_SOCK_CLOEXEC | LINUX_SOCK_NONBLOCK)) + return (EINVAL); + bsd_args.type = args->type & LINUX_SOCK_TYPE_MASK; + if (bsd_args.type < 0 || bsd_args.type > LINUX_SOCK_MAX) + return (EINVAL); + if (args->protocol != 0 && args->protocol != PF_UNIX) /* @@ -896,7 +910,25 @@ else bsd_args.protocol = 0; bsd_args.rsv = (int *)PTRIN(args->rsv); - return (socketpair(td, &bsd_args)); + error = kern_socketpair(td, bsd_args.domain, bsd_args.type, + bsd_args.protocol, sv); + if (error) + return (error); + error = linux_set_socket_flags(td, sv[0], socket_flags); + if (error) + goto out; + error = linux_set_socket_flags(td, sv[1], socket_flags); + if (error) + goto out; + + error = copyout(sv, bsd_args.rsv, 2 * sizeof(int)); + +out: + if (error) { + (void)kern_close(td, sv[0]); + (void)kern_close(td, sv[1]); + } + return (error); } struct linux_send_args { ==== //depot/projects/vimage-commit2/src/sys/compat/ndis/subr_usbd.c#7 (text+ko) ==== @@ -31,7 +31,7 @@ */ #include -__FBSDID("$FreeBSD: src/sys/compat/ndis/subr_usbd.c,v 1.12 2009/04/05 18:20:38 thompsa Exp $"); +__FBSDID("$FreeBSD: src/sys/compat/ndis/subr_usbd.c,v 1.14 2009/05/29 18:46:57 thompsa Exp $"); #include #include @@ -76,18 +76,18 @@ #include static driver_object usbd_driver; -static usb2_callback_t usbd_non_isoc_callback; -static usb2_callback_t usbd_ctrl_callback; +static usb_callback_t usbd_non_isoc_callback; +static usb_callback_t usbd_ctrl_callback; #define USBD_CTRL_READ_PIPE 0 #define USBD_CTRL_WRITE_PIPE 1 #define USBD_CTRL_MAX_PIPE 2 #define USBD_CTRL_READ_BUFFER_SP 256 #define USBD_CTRL_READ_BUFFER_SIZE \ - (sizeof(struct usb2_device_request) + USBD_CTRL_READ_BUFFER_SP) + (sizeof(struct usb_device_request) + USBD_CTRL_READ_BUFFER_SP) #define USBD_CTRL_WRITE_BUFFER_SIZE \ - (sizeof(struct usb2_device_request)) -static struct usb2_config usbd_default_epconfig[USBD_CTRL_MAX_PIPE] = { + (sizeof(struct usb_device_request)) +static struct usb_config usbd_default_epconfig[USBD_CTRL_MAX_PIPE] = { [USBD_CTRL_READ_PIPE] = { .type = UE_CONTROL, .endpoint = 0x00, /* control pipe */ @@ -114,11 +114,11 @@ static int32_t usbd_func_vendorclass(irp *); static int32_t usbd_func_selconf(irp *); static int32_t usbd_func_abort_pipe(irp *); -static usb2_error_t usbd_setup_endpoint(irp *, uint8_t, - struct usb2_endpoint_descriptor *); -static usb2_error_t usbd_setup_endpoint_default(irp *, uint8_t); -static usb2_error_t usbd_setup_endpoint_one(irp *, uint8_t, - struct ndisusb_ep *, struct usb2_config *); +static usb_error_t usbd_setup_endpoint(irp *, uint8_t, + struct usb_endpoint_descriptor *); +static usb_error_t usbd_setup_endpoint_default(irp *, uint8_t); +static usb_error_t usbd_setup_endpoint_one(irp *, uint8_t, + struct ndisusb_ep *, struct usb_config *); static int32_t usbd_func_getdesc(irp *); static union usbd_urb *usbd_geturb(irp *); static struct ndisusb_ep*usbd_get_ndisep(irp *, usb_endpoint_descriptor_t *); @@ -353,7 +353,7 @@ return (STATUS_FAILURE); } -/* Convert FreeBSD's usb2_error_t to USBD_STATUS */ +/* Convert FreeBSD's usb_error_t to USBD_STATUS */ static int32_t usbd_usb2urb(int status) { @@ -463,7 +463,7 @@ uint32_t len; union usbd_urb *urb; usb_config_descriptor_t *cdp; - usb2_error_t status; + usb_error_t status; urb = usbd_geturb(ip); ctldesc = &urb->uu_ctldesc; @@ -519,15 +519,15 @@ device_t dev = IRP_NDIS_DEV(ip); int i, j; struct ndis_softc *sc = device_get_softc(dev); - struct usb2_device *udev = sc->ndisusb_dev; - struct usb2_pipe *p = NULL; + struct usb_device *udev = sc->ndisusb_dev; + struct usb_pipe *p = NULL; struct usbd_interface_information *intf; struct usbd_pipe_information *pipe; struct usbd_urb_select_configuration *selconf; union usbd_urb *urb; usb_config_descriptor_t *conf; usb_endpoint_descriptor_t *edesc; - usb2_error_t ret; + usb_error_t ret; urb = usbd_geturb(ip); @@ -592,17 +592,17 @@ return USBD_STATUS_SUCCESS; } -static usb2_error_t +static usb_error_t usbd_setup_endpoint_one(ip, ifidx, ne, epconf) irp *ip; uint8_t ifidx; struct ndisusb_ep *ne; - struct usb2_config *epconf; + struct usb_config *epconf; { device_t dev = IRP_NDIS_DEV(ip); struct ndis_softc *sc = device_get_softc(dev); - struct usb2_xfer *xfer; - usb2_error_t status; + struct usb_xfer *xfer; + usb_error_t status; InitializeListHead(&ne->ne_active); InitializeListHead(&ne->ne_pending); @@ -621,14 +621,14 @@ return (status); } >>> TRUNCATED FOR MAIL (1000 lines) <<< From rene at FreeBSD.org Sun May 31 16:56:02 2009 From: rene at FreeBSD.org (Rene Ladan) Date: Sun May 31 16:56:09 2009 Subject: PERFORCE change 163178 for review Message-ID: <200905311656.n4VGu0fW010028@repoman.freebsd.org> http://perforce.freebsd.org/chv.cgi?CH=163178 Change 163178 by rene@rene_self on 2009/05/31 16:55:37 MFen handbook/config 1.237 -> 1.238 Add myself as translator Affected files ... .. //depot/projects/docproj_nl/nl_NL.ISO8859-1/books/handbook/config/chapter.sgml#13 edit Differences ... ==== //depot/projects/docproj_nl/nl_NL.ISO8859-1/books/handbook/config/chapter.sgml#13 (text+ko) ==== @@ -4,7 +4,7 @@ $FreeBSD: doc/nl_NL.ISO8859-1/books/handbook/config/chapter.sgml,v 1.18 2009/05/06 20:50:59 rene Exp $ %SOURCE% en_US.ISO8859-1/books/handbook/config/chapter.sgml - %SRCID% 1.237 + %SRCID% 1.238 --> @@ -36,6 +36,10 @@ Pansters Vertaald door + + René + Ladan + @@ -402,68 +406,6 @@ opstartinstellingen verwerkt kunnen worden door simpele opstartscripts. - Voor de komst van rc.d zetten - applicaties simpelweg een opstartscript in de map /usr/local/etc/rc.d dat dan - uitgelezen werd door de opstartscripts van het systeem. Deze - scripts werden dan uitgevoerd tijdens de laatste stappen van een - systeemstart. - - Terwijl veel individuen bezig waren om de oude stijl van - instellen naar de nieuwe stijl over te zetten, bleef sommige - software nog steeds een script nodig hebben in de genoemde map. - De subtiele verschillen in de scripts hangen af van het wel of - niet gebruiken van rc.d. - - Vóór &os; 5.1 werden scripts oude - stijl gebruikt en in bijna alle gevallen voldoet een - script nieuwe stijl. - - Elk script moet uitvoerbaar zijn door het systeem; dit wordt - meestal bereikt door gebruik te maken van het commando - chmod en het instellen van de unieke - permissies 555. Op zijn minst moeten ook de - start en stop opties - aanwezig zijn om de applicatie te starten en te stoppen. - - Het simpelste opstartscript ziet er waarschijnlijk als volgt - uit: - - #!/bin/sh -echo -n ' utility' - -case "$1" in -start) - /usr/local/bin/utility - ;; -stop) - kill -9 `cat /var/run/utility.pid` - ;; -*) - echo "Usage: `basename $0` {start|stop}" >&2 - exit 64 - ;; -esac - -exit 0 - - Dit script levert de opties stop en - start voor de applicatie met de naam - utility. - - Dit kan handmatig gestart worden met: - - &prompt.root; /usr/local/etc/rc.d/utility start - - Hoewel niet alle software van derden een regel nodig heeft - in /etc/rc.conf, wordt er bijna elke dag - een wel een port veranderd om deze instellingen te ondersteunen. - De meldingen tijdens de installatie van de port bevatten vaak - meer informatie. Sommige software van derden levert - opstartscripts die de applicatie kunnen laten werken met - rc.d. Dit wordt in de volgende paragraaf - behandeld. - Uitgebreide applicatieinstellingen @@ -484,14 +426,6 @@ # REQUIRE: DAEMON # KEYWORD: shutdown -# -# WIJZIG DEZE WAARDEN NIET HIER -# MAAR IN HET BESTAND /etc/rc.conf -# -utility_enable=${utility_enable-"NO"} -utility_flags=${utility_flags-""} -utility_pidfile=${utility_pidfile-"/var/run/utility.pid"} - . /etc/rc.subr name="utility" @@ -500,15 +434,20 @@ load_rc_config $name +# +# VERANDER DE STANDAARDWAARDEN HIER NIET +# STEL ZE IN IN HET BESTAND /etc/rc.conf +# +utility_enable=${utility_enable-"NO"} +utility_pidfile=${utility_pidfile-"/var/run/utility.pid"} + pidfile="${utility_pidfile}" -start_cmd="echo \"Starting ${name}.\"; /usr/bin/nice -5 ${command} ${utility_flags} ${command_args}" - run_rc_command "$1" Dit script zorgt ervoor dat - utility wordt gestart na de dienst - daemon. Het biedt ook de mogelijkheid voor + utility wordt gestart na de pseudodienst + DAEMON. Het biedt ook de mogelijkheid voor het instellingen en volgen van het PID of het proces-ID bestand. @@ -534,7 +473,7 @@ voorafgegaan dat die dienst uit de Portscollectie is geïstalleerd en dat er een regel met instellingen is toegevoegd aan /etc/inetd.conf of - één van de bestaande niet actieve regels is + één van de bestaande niet-actieve regels is geactiveerd. Werken met inetd en zijn instellingen wordt uitgebreid toegelicht in de paragraaf over inetd. From zec at FreeBSD.org Sun May 31 17:08:15 2009 From: zec at FreeBSD.org (Marko Zec) Date: Sun May 31 17:08:23 2009 Subject: PERFORCE change 163180 for review Message-ID: <200905311708.n4VH8D58011891@repoman.freebsd.org> http://perforce.freebsd.org/chv.cgi?CH=163180 Change 163180 by zec@zec_tpx32 on 2009/05/31 17:07:19 IFC @ 163176 Affected files ... .. //depot/projects/vimage/src/share/man/man3/Makefile#2 integrate .. //depot/projects/vimage/src/share/man/man3/queue.3#2 integrate .. //depot/projects/vimage/src/share/man/man4/Makefile#10 integrate .. //depot/projects/vimage/src/share/man/man4/audit.4#2 integrate .. //depot/projects/vimage/src/share/man/man4/ksyms.4#1 branch .. //depot/projects/vimage/src/share/man/man4/mld.4#1 branch .. //depot/projects/vimage/src/share/man/man4/msk.4#2 integrate .. //depot/projects/vimage/src/share/man/man4/multicast.4#3 integrate .. //depot/projects/vimage/src/share/man/man9/Makefile#6 integrate .. //depot/projects/vimage/src/share/man/man9/VFS_MOUNT.9#2 integrate .. //depot/projects/vimage/src/share/man/man9/VFS_QUOTACTL.9#2 integrate .. //depot/projects/vimage/src/share/man/man9/VFS_ROOT.9#2 integrate .. //depot/projects/vimage/src/share/man/man9/VFS_STATFS.9#2 integrate .. //depot/projects/vimage/src/share/man/man9/VFS_SYNC.9#2 integrate .. //depot/projects/vimage/src/share/man/man9/VFS_UNMOUNT.9#2 integrate .. //depot/projects/vimage/src/share/man/man9/VOP_ACCESS.9#3 integrate .. //depot/projects/vimage/src/share/man/man9/acl.9#3 integrate .. //depot/projects/vimage/src/share/man/man9/fail.9#1 branch .. //depot/projects/vimage/src/share/man/man9/rmlock.9#2 integrate .. //depot/projects/vimage/src/share/man/man9/sx.9#2 integrate .. //depot/projects/vimage/src/sys/amd64/amd64/dump_machdep.c#12 integrate .. //depot/projects/vimage/src/sys/amd64/amd64/minidump_machdep.c#14 integrate .. //depot/projects/vimage/src/sys/arm/arm/dump_machdep.c#12 integrate .. //depot/projects/vimage/src/sys/arm/at91/ohci_atmelarm.c#6 delete .. //depot/projects/vimage/src/sys/arm/conf/AVILA#17 integrate .. //depot/projects/vimage/src/sys/arm/xscale/ixp425/files.ixp425#9 integrate .. //depot/projects/vimage/src/sys/arm/xscale/ixp425/if_npe.c#12 integrate .. //depot/projects/vimage/src/sys/arm/xscale/ixp425/ixp425_qmgr.c#6 integrate .. //depot/projects/vimage/src/sys/arm/xscale/ixp425/ixp425_qmgr.h#2 integrate .. //depot/projects/vimage/src/sys/boot/common/ufsread.c#4 integrate .. //depot/projects/vimage/src/sys/boot/pc98/boot2/sys.c#2 integrate .. //depot/projects/vimage/src/sys/boot/uboot/lib/net.c#6 integrate .. //depot/projects/vimage/src/sys/cddl/compat/opensolaris/kern/opensolaris.c#3 integrate .. //depot/projects/vimage/src/sys/cddl/compat/opensolaris/kern/opensolaris_acl.c#1 branch .. //depot/projects/vimage/src/sys/cddl/compat/opensolaris/kern/opensolaris_misc.c#5 integrate .. //depot/projects/vimage/src/sys/cddl/compat/opensolaris/kern/opensolaris_policy.c#5 integrate .. //depot/projects/vimage/src/sys/cddl/compat/opensolaris/sys/mutex.h#3 integrate .. //depot/projects/vimage/src/sys/cddl/compat/opensolaris/sys/rwlock.h#3 integrate .. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/common/acl/acl_common.c#4 integrate .. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/common/acl/acl_common.h#3 integrate .. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c#6 integrate .. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/fs/gfs.c#4 integrate .. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_acl.h#3 integrate .. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev.c#3 integrate .. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_acl.c#3 integrate .. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c#6 integrate .. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c#11 integrate .. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/rpc/xdr.h#3 integrate .. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/sys/acl.h#2 integrate .. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/sys/acl_impl.h#2 integrate .. //depot/projects/vimage/src/sys/cddl/dev/lockstat/lockstat.c#1 branch .. //depot/projects/vimage/src/sys/compat/freebsd32/freebsd32_misc.c#21 integrate .. //depot/projects/vimage/src/sys/compat/linux/linux_ioctl.c#21 integrate .. //depot/projects/vimage/src/sys/compat/linux/linux_mib.c#8 integrate .. //depot/projects/vimage/src/sys/compat/linux/linux_misc.c#32 integrate .. //depot/projects/vimage/src/sys/compat/linux/linux_socket.c#22 integrate .. //depot/projects/vimage/src/sys/compat/ndis/kern_ndis.c#11 integrate .. //depot/projects/vimage/src/sys/compat/ndis/subr_usbd.c#8 integrate .. //depot/projects/vimage/src/sys/compat/svr4/svr4_fcntl.c#7 integrate .. //depot/projects/vimage/src/sys/compat/svr4/svr4_ioctl.c#3 integrate .. //depot/projects/vimage/src/sys/compat/svr4/svr4_misc.c#9 integrate .. //depot/projects/vimage/src/sys/compat/svr4/svr4_resource.c#2 integrate .. //depot/projects/vimage/src/sys/compat/svr4/svr4_signal.c#2 integrate .. //depot/projects/vimage/src/sys/compat/svr4/svr4_socket.c#2 integrate .. //depot/projects/vimage/src/sys/compat/svr4/svr4_stat.c#8 integrate .. //depot/projects/vimage/src/sys/compat/svr4/svr4_stream.c#4 integrate .. //depot/projects/vimage/src/sys/compat/svr4/svr4_sysconfig.h#2 integrate .. //depot/projects/vimage/src/sys/conf/NOTES#51 integrate .. //depot/projects/vimage/src/sys/conf/files#69 integrate .. //depot/projects/vimage/src/sys/conf/files.i386#32 integrate .. //depot/projects/vimage/src/sys/conf/files.powerpc#23 integrate .. //depot/projects/vimage/src/sys/conf/kern.pre.mk#16 integrate .. //depot/projects/vimage/src/sys/conf/options#50 integrate .. //depot/projects/vimage/src/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c#20 integrate .. //depot/projects/vimage/src/sys/contrib/ipfilter/netinet/ip_nat.c#7 integrate .. //depot/projects/vimage/src/sys/crypto/via/padlock_hash.c#3 integrate .. //depot/projects/vimage/src/sys/ddb/db_textdump.c#8 integrate .. //depot/projects/vimage/src/sys/dev/ata/ata-usb.c#12 integrate .. //depot/projects/vimage/src/sys/dev/bge/if_bge.c#22 integrate .. //depot/projects/vimage/src/sys/dev/bktr/bktr_os.c#4 integrate .. //depot/projects/vimage/src/sys/dev/bwi/if_bwi.c#3 integrate .. //depot/projects/vimage/src/sys/dev/cfe/cfe_console.c#4 integrate .. //depot/projects/vimage/src/sys/dev/cxgb/cxgb_main.c#27 integrate .. //depot/projects/vimage/src/sys/dev/dc/if_dc.c#13 integrate .. //depot/projects/vimage/src/sys/dev/dcons/dcons_os.c#11 integrate .. //depot/projects/vimage/src/sys/dev/e1000/if_em.c#11 integrate .. //depot/projects/vimage/src/sys/dev/firewire/firewire.c#22 integrate .. //depot/projects/vimage/src/sys/dev/firewire/if_fwe.c#6 integrate .. //depot/projects/vimage/src/sys/dev/firewire/if_fwip.c#8 integrate .. //depot/projects/vimage/src/sys/dev/fxp/if_fxp.c#15 integrate .. //depot/projects/vimage/src/sys/dev/if_ndis/if_ndis_usb.c#8 integrate .. //depot/projects/vimage/src/sys/dev/if_ndis/if_ndisvar.h#12 integrate .. //depot/projects/vimage/src/sys/dev/iwn/if_iwn.c#11 integrate .. //depot/projects/vimage/src/sys/dev/ixgb/if_ixgb.c#4 integrate .. //depot/projects/vimage/src/sys/dev/ksyms/ksyms.c#1 branch .. //depot/projects/vimage/src/sys/dev/lmc/if_lmc.c#11 integrate .. //depot/projects/vimage/src/sys/dev/lmc/if_lmc.h#5 integrate .. //depot/projects/vimage/src/sys/dev/mge/if_mge.c#4 integrate .. //depot/projects/vimage/src/sys/dev/mii/e1000phy.c#7 integrate .. //depot/projects/vimage/src/sys/dev/mii/e1000phyreg.h#4 integrate .. //depot/projects/vimage/src/sys/dev/mii/miidevs#19 integrate .. //depot/projects/vimage/src/sys/dev/msk/if_msk.c#18 integrate .. //depot/projects/vimage/src/sys/dev/msk/if_mskreg.h#10 integrate .. //depot/projects/vimage/src/sys/dev/nfe/if_nfe.c#12 integrate .. //depot/projects/vimage/src/sys/dev/nge/if_nge.c#5 integrate .. //depot/projects/vimage/src/sys/dev/nmdm/nmdm.c#6 integrate .. //depot/projects/vimage/src/sys/dev/ofw/ofw_console.c#6 integrate .. //depot/projects/vimage/src/sys/dev/ral/rt2560.c#19 integrate .. //depot/projects/vimage/src/sys/dev/random/nehemiah.c#2 integrate .. //depot/projects/vimage/src/sys/dev/random/randomdev_soft.c#6 integrate .. //depot/projects/vimage/src/sys/dev/re/if_re.c#26 integrate .. //depot/projects/vimage/src/sys/dev/rp/rp.c#5 integrate .. //depot/projects/vimage/src/sys/dev/sf/if_sf.c#2 integrate .. //depot/projects/vimage/src/sys/dev/si/si.c#7 integrate .. //depot/projects/vimage/src/sys/dev/sis/if_sis.c#5 integrate .. //depot/projects/vimage/src/sys/dev/smc/if_smc.c#6 integrate .. //depot/projects/vimage/src/sys/dev/sound/pci/cmi.c#6 integrate .. //depot/projects/vimage/src/sys/dev/sound/pci/cs4281.c#5 integrate .. //depot/projects/vimage/src/sys/dev/sound/pci/vibes.c#5 integrate .. //depot/projects/vimage/src/sys/dev/sound/pcm/sound.c#5 integrate .. //depot/projects/vimage/src/sys/dev/sound/pcm/sound.h#8 integrate .. //depot/projects/vimage/src/sys/dev/sound/usb/uaudio.c#13 integrate .. //depot/projects/vimage/src/sys/dev/sound/usb/uaudioreg.h#8 integrate .. //depot/projects/vimage/src/sys/dev/ste/if_ste.c#2 integrate .. //depot/projects/vimage/src/sys/dev/stge/if_stge.c#7 integrate .. //depot/projects/vimage/src/sys/dev/syscons/daemon/daemon_saver.c#8 integrate .. //depot/projects/vimage/src/sys/dev/syscons/syscons.c#16 integrate .. //depot/projects/vimage/src/sys/dev/syscons/sysmouse.c#5 integrate .. //depot/projects/vimage/src/sys/dev/tsec/if_tsec.c#4 integrate .. //depot/projects/vimage/src/sys/dev/uart/uart_tty.c#5 integrate .. //depot/projects/vimage/src/sys/dev/usb/bluetooth/TODO.TXT#3 delete .. //depot/projects/vimage/src/sys/dev/usb/bluetooth/ng_ubt.c#7 delete .. //depot/projects/vimage/src/sys/dev/usb/bluetooth/ng_ubt_var.h#3 delete .. //depot/projects/vimage/src/sys/dev/usb/bluetooth/ubtbcmfw.c#6 delete .. //depot/projects/vimage/src/sys/dev/usb/controller/at91dci.c#8 integrate .. //depot/projects/vimage/src/sys/dev/usb/controller/at91dci.h#7 integrate .. //depot/projects/vimage/src/sys/dev/usb/controller/atmegadci.c#9 integrate .. //depot/projects/vimage/src/sys/dev/usb/controller/atmegadci.h#7 integrate .. //depot/projects/vimage/src/sys/dev/usb/controller/atmegadci_atmelarm.c#6 integrate .. //depot/projects/vimage/src/sys/dev/usb/controller/avr32dci.c#2 integrate .. //depot/projects/vimage/src/sys/dev/usb/controller/avr32dci.h#2 integrate .. //depot/projects/vimage/src/sys/dev/usb/controller/ehci.c#11 integrate .. //depot/projects/vimage/src/sys/dev/usb/controller/ehci.h#7 integrate .. //depot/projects/vimage/src/sys/dev/usb/controller/musb_otg.c#8 integrate .. //depot/projects/vimage/src/sys/dev/usb/controller/musb_otg.h#5 integrate .. //depot/projects/vimage/src/sys/dev/usb/controller/ohci.c#10 integrate .. //depot/projects/vimage/src/sys/dev/usb/controller/ohci.h#6 integrate .. //depot/projects/vimage/src/sys/dev/usb/controller/uhci.c#10 integrate .. //depot/projects/vimage/src/sys/dev/usb/controller/uhci.h#6 integrate .. //depot/projects/vimage/src/sys/dev/usb/controller/usb_controller.c#9 integrate .. //depot/projects/vimage/src/sys/dev/usb/controller/uss820dci.c#8 integrate .. //depot/projects/vimage/src/sys/dev/usb/controller/uss820dci.h#7 integrate .. //depot/projects/vimage/src/sys/dev/usb/input/uhid.c#7 integrate .. //depot/projects/vimage/src/sys/dev/usb/input/ukbd.c#6 integrate .. //depot/projects/vimage/src/sys/dev/usb/input/ums.c#9 integrate .. //depot/projects/vimage/src/sys/dev/usb/misc/udbp.c#7 integrate .. //depot/projects/vimage/src/sys/dev/usb/misc/ufm.c#5 integrate .. //depot/projects/vimage/src/sys/dev/usb/net/if_aue.c#8 integrate .. //depot/projects/vimage/src/sys/dev/usb/net/if_auereg.h#3 integrate .. //depot/projects/vimage/src/sys/dev/usb/net/if_axe.c#8 integrate .. //depot/projects/vimage/src/sys/dev/usb/net/if_axereg.h#3 integrate .. //depot/projects/vimage/src/sys/dev/usb/net/if_cdce.c#9 integrate .. //depot/projects/vimage/src/sys/dev/usb/net/if_cdcereg.h#4 integrate .. //depot/projects/vimage/src/sys/dev/usb/net/if_cue.c#7 integrate .. //depot/projects/vimage/src/sys/dev/usb/net/if_cuereg.h#3 integrate .. //depot/projects/vimage/src/sys/dev/usb/net/if_kue.c#7 integrate .. //depot/projects/vimage/src/sys/dev/usb/net/if_kuereg.h#3 integrate .. //depot/projects/vimage/src/sys/dev/usb/net/if_rue.c#7 integrate .. //depot/projects/vimage/src/sys/dev/usb/net/if_ruereg.h#3 integrate .. //depot/projects/vimage/src/sys/dev/usb/net/if_udav.c#7 integrate .. //depot/projects/vimage/src/sys/dev/usb/net/if_udavreg.h#3 integrate .. //depot/projects/vimage/src/sys/dev/usb/net/usb_ethernet.c#5 integrate .. //depot/projects/vimage/src/sys/dev/usb/net/usb_ethernet.h#5 integrate .. //depot/projects/vimage/src/sys/dev/usb/quirk/usb_quirk.c#4 integrate .. //depot/projects/vimage/src/sys/dev/usb/serial/u3g.c#10 integrate .. //depot/projects/vimage/src/sys/dev/usb/serial/uark.c#6 integrate .. //depot/projects/vimage/src/sys/dev/usb/serial/ubsa.c#6 integrate .. //depot/projects/vimage/src/sys/dev/usb/serial/ubser.c#8 integrate .. //depot/projects/vimage/src/sys/dev/usb/serial/uchcom.c#6 integrate .. //depot/projects/vimage/src/sys/dev/usb/serial/ucycom.c#7 integrate .. //depot/projects/vimage/src/sys/dev/usb/serial/ufoma.c#8 integrate .. //depot/projects/vimage/src/sys/dev/usb/serial/uftdi.c#8 integrate .. //depot/projects/vimage/src/sys/dev/usb/serial/ugensa.c#7 integrate .. //depot/projects/vimage/src/sys/dev/usb/serial/uipaq.c#6 integrate .. //depot/projects/vimage/src/sys/dev/usb/serial/ulpt.c#7 integrate .. //depot/projects/vimage/src/sys/dev/usb/serial/umct.c#8 integrate .. //depot/projects/vimage/src/sys/dev/usb/serial/umodem.c#9 integrate .. //depot/projects/vimage/src/sys/dev/usb/serial/umoscom.c#6 integrate .. //depot/projects/vimage/src/sys/dev/usb/serial/uplcom.c#8 integrate .. //depot/projects/vimage/src/sys/dev/usb/serial/usb_serial.c#5 integrate .. //depot/projects/vimage/src/sys/dev/usb/serial/usb_serial.h#4 integrate .. //depot/projects/vimage/src/sys/dev/usb/serial/uslcom.c#6 integrate .. //depot/projects/vimage/src/sys/dev/usb/serial/uvisor.c#7 integrate .. //depot/projects/vimage/src/sys/dev/usb/serial/uvscom.c#6 integrate .. //depot/projects/vimage/src/sys/dev/usb/storage/umass.c#8 integrate .. //depot/projects/vimage/src/sys/dev/usb/storage/urio.c#7 integrate .. //depot/projects/vimage/src/sys/dev/usb/storage/ustorage_fs.c#8 integrate .. //depot/projects/vimage/src/sys/dev/usb/template/usb_template.c#6 integrate .. //depot/projects/vimage/src/sys/dev/usb/template/usb_template.h#4 integrate .. //depot/projects/vimage/src/sys/dev/usb/template/usb_template_cdce.c#4 integrate .. //depot/projects/vimage/src/sys/dev/usb/template/usb_template_msc.c#4 integrate .. //depot/projects/vimage/src/sys/dev/usb/template/usb_template_mtp.c#4 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb.h#9 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_bus.h#8 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_busdma.c#5 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_busdma.h#4 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_cdc.h#3 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_compat_linux.c#8 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_compat_linux.h#5 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_controller.h#8 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_core.h#12 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_debug.c#5 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_debug.h#5 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_dev.c#9 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_dev.h#5 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_device.c#12 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_device.h#11 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_dynamic.c#5 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_dynamic.h#4 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_error.c#3 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_generic.c#10 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_generic.h#3 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_handle_request.c#7 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_hid.c#8 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_hid.h#7 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_hub.c#12 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_hub.h#6 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_ioctl.h#5 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_lookup.c#4 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_lookup.h#4 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_mbuf.c#4 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_mbuf.h#4 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_msctest.c#5 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_msctest.h#3 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_parse.c#4 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_parse.h#4 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_process.c#5 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_process.h#4 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_request.c#9 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_request.h#7 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_transfer.c#10 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_transfer.h#6 integrate .. //depot/projects/vimage/src/sys/dev/usb/usb_util.c#4 integrate .. //depot/projects/vimage/src/sys/dev/usb/usbdevs#50 integrate .. //depot/projects/vimage/src/sys/dev/usb/usbhid.h#7 integrate .. //depot/projects/vimage/src/sys/dev/usb/wlan/if_rum.c#9 integrate .. //depot/projects/vimage/src/sys/dev/usb/wlan/if_rumvar.h#8 integrate .. //depot/projects/vimage/src/sys/dev/usb/wlan/if_uath.c#4 integrate .. //depot/projects/vimage/src/sys/dev/usb/wlan/if_uathvar.h#4 integrate .. //depot/projects/vimage/src/sys/dev/usb/wlan/if_upgt.c#3 integrate .. //depot/projects/vimage/src/sys/dev/usb/wlan/if_upgtvar.h#2 integrate .. //depot/projects/vimage/src/sys/dev/usb/wlan/if_ural.c#10 integrate .. //depot/projects/vimage/src/sys/dev/usb/wlan/if_uralvar.h#8 integrate .. //depot/projects/vimage/src/sys/dev/usb/wlan/if_urtw.c#1 branch .. //depot/projects/vimage/src/sys/dev/usb/wlan/if_urtwreg.h#1 branch .. //depot/projects/vimage/src/sys/dev/usb/wlan/if_urtwvar.h#1 branch .. //depot/projects/vimage/src/sys/dev/usb/wlan/if_zyd.c#9 integrate .. //depot/projects/vimage/src/sys/dev/usb/wlan/if_zydreg.h#5 integrate .. //depot/projects/vimage/src/sys/dev/vge/if_vge.c#7 integrate .. //depot/projects/vimage/src/sys/dev/vr/if_vr.c#5 integrate .. //depot/projects/vimage/src/sys/dev/xen/console/console.c#10 integrate .. //depot/projects/vimage/src/sys/dev/xen/netfront/netfront.c#12 integrate .. //depot/projects/vimage/src/sys/dev/xl/if_xl.c#5 integrate .. //depot/projects/vimage/src/sys/fs/cd9660/cd9660_rrip.c#13 integrate .. //depot/projects/vimage/src/sys/fs/nfs/nfs_commonacl.c#2 integrate .. //depot/projects/vimage/src/sys/fs/nfs/nfs_commonkrpc.c#3 integrate .. //depot/projects/vimage/src/sys/fs/nfs/nfs_commonport.c#2 integrate .. //depot/projects/vimage/src/sys/fs/nfs/nfs_commonsubs.c#3 integrate .. //depot/projects/vimage/src/sys/fs/nfs/nfsport.h#4 integrate .. //depot/projects/vimage/src/sys/fs/nfsclient/nfs_clbio.c#3 integrate .. //depot/projects/vimage/src/sys/fs/nfsclient/nfs_clnode.c#3 integrate .. //depot/projects/vimage/src/sys/fs/nfsclient/nfs_clstate.c#3 integrate .. //depot/projects/vimage/src/sys/fs/nfsclient/nfs_clvfsops.c#4 integrate .. //depot/projects/vimage/src/sys/fs/nfsclient/nfs_clvnops.c#3 integrate .. //depot/projects/vimage/src/sys/fs/nfsserver/nfs_nfsdkrpc.c#3 integrate .. //depot/projects/vimage/src/sys/fs/nfsserver/nfs_nfsdport.c#4 integrate .. //depot/projects/vimage/src/sys/fs/nfsserver/nfs_nfsdserv.c#4 integrate .. //depot/projects/vimage/src/sys/fs/nfsserver/nfs_nfsdsocket.c#4 integrate .. //depot/projects/vimage/src/sys/fs/nullfs/null_subr.c#7 integrate .. //depot/projects/vimage/src/sys/fs/nullfs/null_vnops.c#13 integrate .. //depot/projects/vimage/src/sys/fs/procfs/procfs_status.c#6 integrate .. //depot/projects/vimage/src/sys/fs/pseudofs/pseudofs_vnops.c#12 integrate .. //depot/projects/vimage/src/sys/fs/smbfs/smbfs_io.c#9 integrate .. //depot/projects/vimage/src/sys/fs/tmpfs/tmpfs_vnops.c#19 integrate .. //depot/projects/vimage/src/sys/geom/geom_subr.c#10 integrate .. //depot/projects/vimage/src/sys/geom/label/g_label.c#3 integrate .. //depot/projects/vimage/src/sys/geom/vinum/geom_vinum_create.c#2 integrate .. //depot/projects/vimage/src/sys/geom/vinum/geom_vinum_drive.c#10 integrate .. //depot/projects/vimage/src/sys/i386/i386/dump_machdep.c#14 integrate .. //depot/projects/vimage/src/sys/i386/i386/minidump_machdep.c#14 integrate .. //depot/projects/vimage/src/sys/i386/ibcs2/ibcs2_socksys.c#8 integrate .. //depot/projects/vimage/src/sys/i386/include/apicvar.h#10 integrate .. //depot/projects/vimage/src/sys/i386/include/xen/xen_clock_util.h#1 branch .. //depot/projects/vimage/src/sys/i386/xen/clock.c#7 integrate .. //depot/projects/vimage/src/sys/i386/xen/mp_machdep.c#12 integrate .. //depot/projects/vimage/src/sys/i386/xen/xen_clock_util.c#1 branch .. //depot/projects/vimage/src/sys/i386/xen/xen_rtc.c#1 branch .. //depot/projects/vimage/src/sys/ia64/ia64/dump_machdep.c#10 integrate .. //depot/projects/vimage/src/sys/ia64/ia64/mp_machdep.c#9 integrate .. //depot/projects/vimage/src/sys/ia64/ia64/ssc.c#3 integrate .. //depot/projects/vimage/src/sys/kern/init_main.c#27 integrate .. //depot/projects/vimage/src/sys/kern/kern_cpu.c#9 integrate .. //depot/projects/vimage/src/sys/kern/kern_cpuset.c#8 integrate .. //depot/projects/vimage/src/sys/kern/kern_descrip.c#26 integrate .. //depot/projects/vimage/src/sys/kern/kern_exit.c#31 integrate .. //depot/projects/vimage/src/sys/kern/kern_fail.c#1 branch .. //depot/projects/vimage/src/sys/kern/kern_fork.c#26 integrate .. //depot/projects/vimage/src/sys/kern/kern_jail.c#28 integrate .. //depot/projects/vimage/src/sys/kern/kern_linker.c#28 integrate .. //depot/projects/vimage/src/sys/kern/kern_lock.c#17 integrate .. //depot/projects/vimage/src/sys/kern/kern_lockf.c#9 integrate .. //depot/projects/vimage/src/sys/kern/kern_lockstat.c#1 branch .. //depot/projects/vimage/src/sys/kern/kern_mib.c#20 integrate .. //depot/projects/vimage/src/sys/kern/kern_mutex.c#16 integrate .. //depot/projects/vimage/src/sys/kern/kern_osd.c#6 integrate .. //depot/projects/vimage/src/sys/kern/kern_proc.c#24 integrate .. //depot/projects/vimage/src/sys/kern/kern_prot.c#16 integrate .. //depot/projects/vimage/src/sys/kern/kern_rmlock.c#4 integrate .. //depot/projects/vimage/src/sys/kern/kern_rwlock.c#17 integrate .. //depot/projects/vimage/src/sys/kern/kern_shutdown.c#12 integrate .. //depot/projects/vimage/src/sys/kern/kern_sx.c#16 integrate .. //depot/projects/vimage/src/sys/kern/kern_vimage.c#91 integrate .. //depot/projects/vimage/src/sys/kern/kern_xxx.c#15 integrate .. //depot/projects/vimage/src/sys/kern/link_elf.c#11 integrate .. //depot/projects/vimage/src/sys/kern/link_elf_obj.c#11 integrate .. //depot/projects/vimage/src/sys/kern/linker_if.m#4 integrate .. //depot/projects/vimage/src/sys/kern/sysv_msg.c#6 integrate .. //depot/projects/vimage/src/sys/kern/sysv_sem.c#8 integrate .. //depot/projects/vimage/src/sys/kern/sysv_shm.c#7 integrate .. //depot/projects/vimage/src/sys/kern/tty.c#36 integrate .. //depot/projects/vimage/src/sys/kern/tty_pts.c#15 integrate .. //depot/projects/vimage/src/sys/kern/uipc_debug.c#7 integrate .. //depot/projects/vimage/src/sys/kern/uipc_syscalls.c#27 integrate .. //depot/projects/vimage/src/sys/kern/vfs_bio.c#24 integrate .. //depot/projects/vimage/src/sys/kern/vfs_cache.c#26 integrate .. //depot/projects/vimage/src/sys/kern/vfs_default.c#11 integrate .. //depot/projects/vimage/src/sys/kern/vfs_lookup.c#23 integrate .. //depot/projects/vimage/src/sys/kern/vfs_mount.c#33 integrate .. //depot/projects/vimage/src/sys/kern/vfs_subr.c#29 integrate .. //depot/projects/vimage/src/sys/kern/vfs_syscalls.c#27 integrate .. //depot/projects/vimage/src/sys/kern/vnode_if.src#13 integrate .. //depot/projects/vimage/src/sys/kgssapi/gsstest.c#3 integrate .. //depot/projects/vimage/src/sys/legacy/dev/ata/ata-usb.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/sound/usb/uaudio.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/sound/usb/uaudio.h#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/sound/usb/uaudio_pcm.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/sound/usb/uaudioreg.h#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/FILES#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/dsbr100io.h#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/ehci.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/ehci_ddb.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/ehci_ixp4xx.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/ehci_mbus.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/ehci_pci.c#3 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/ehcireg.h#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/ehcivar.h#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/hid.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/hid.h#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/if_urtw.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/if_urtwreg.h#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/if_urtwvar.h#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/ohci.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/ohci_pci.c#3 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/ohcireg.h#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/ohcivar.h#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/rio500_usb.h#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/rt2573_ucode.h#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/sl811hs.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/sl811hsreg.h#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/sl811hsvar.h#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/slhci_pccard.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/u3g.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/uark.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/ubsa.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/ubser.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/ubser.h#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/uchcom.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/ucom.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/ucomvar.h#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/ucycom.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/udbp.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/udbp.h#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/ufm.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/ufoma.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/uftdi.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/uftdireg.h#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/ugen.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/ugraphire_rdesc.h#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/uhci.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/uhci_pci.c#3 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/uhcireg.h#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/uhcivar.h#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/uhid.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/uhub.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/uipaq.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/ukbd.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/ulpt.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/umass.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/umct.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/umodem.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/ums.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/uplcom.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/urio.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/usb.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/usb.h#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/usb_if.m#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/usb_mem.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/usb_mem.h#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/usb_port.h#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/usb_quirks.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/usb_quirks.h#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/usb_subr.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/usbcdc.h#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/usbdi.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/usbdi.h#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/usbdi_util.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/usbdi_util.h#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/usbdivar.h#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/usbhid.h#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/uscanner.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/uslcom.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/uvisor.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/uvscom.c#2 delete .. //depot/projects/vimage/src/sys/legacy/dev/usb/uxb360gp_rdesc.h#2 delete .. //depot/projects/vimage/src/sys/mips/mips/pmap.c#13 integrate .. //depot/projects/vimage/src/sys/modules/Makefile#47 integrate .. //depot/projects/vimage/src/sys/modules/cpufreq/Makefile#3 integrate .. //depot/projects/vimage/src/sys/modules/dtrace/Makefile#3 integrate .. //depot/projects/vimage/src/sys/modules/dtrace/dtraceall/dtraceall.c#3 integrate .. //depot/projects/vimage/src/sys/modules/geom/geom_part/geom_part_ebr/Makefile#2 integrate .. //depot/projects/vimage/src/sys/modules/ksyms/Makefile#1 branch .. //depot/projects/vimage/src/sys/modules/linux/Makefile#7 integrate .. //depot/projects/vimage/src/sys/modules/netgraph/bluetooth/ubt/Makefile#3 integrate .. //depot/projects/vimage/src/sys/modules/netgraph/bluetooth/ubtbcmfw/Makefile#3 integrate .. //depot/projects/vimage/src/sys/modules/nfscl/Makefile#1 branch .. //depot/projects/vimage/src/sys/modules/nfscommon/Makefile#1 branch .. //depot/projects/vimage/src/sys/modules/nfsd/Makefile#1 branch .. //depot/projects/vimage/src/sys/modules/usb/Makefile#11 integrate .. //depot/projects/vimage/src/sys/modules/usb/urtw/Makefile#1 branch .. //depot/projects/vimage/src/sys/modules/zfs/Makefile#10 integrate .. //depot/projects/vimage/src/sys/net/bpf.c#36 integrate .. //depot/projects/vimage/src/sys/net/if.c#83 integrate .. //depot/projects/vimage/src/sys/net/if.h#12 integrate .. //depot/projects/vimage/src/sys/net/if_var.h#38 integrate .. //depot/projects/vimage/src/sys/net/pfil.h#5 integrate .. //depot/projects/vimage/src/sys/net/rtsock.c#35 integrate .. //depot/projects/vimage/src/sys/net80211/ieee80211_adhoc.c#12 integrate .. //depot/projects/vimage/src/sys/net80211/ieee80211_dfs.c#3 integrate .. //depot/projects/vimage/src/sys/net80211/ieee80211_freebsd.c#22 integrate .. //depot/projects/vimage/src/sys/net80211/ieee80211_hostap.c#12 integrate .. //depot/projects/vimage/src/sys/net80211/ieee80211_ht.c#15 integrate .. //depot/projects/vimage/src/sys/net80211/ieee80211_monitor.c#3 integrate .. //depot/projects/vimage/src/sys/net80211/ieee80211_phy.h#3 integrate .. //depot/projects/vimage/src/sys/net80211/ieee80211_radiotap.c#2 integrate .. //depot/projects/vimage/src/sys/net80211/ieee80211_sta.c#12 integrate .. //depot/projects/vimage/src/sys/net80211/ieee80211_superg.c#6 integrate .. //depot/projects/vimage/src/sys/net80211/ieee80211_tdma.c#8 integrate .. //depot/projects/vimage/src/sys/net80211/ieee80211_wds.c#11 integrate .. //depot/projects/vimage/src/sys/netgraph/bluetooth/drivers/ubt/TODO#3 delete .. //depot/projects/vimage/src/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c#7 integrate .. //depot/projects/vimage/src/sys/netgraph/bluetooth/drivers/ubt/ng_ubt_var.h#3 integrate .. //depot/projects/vimage/src/sys/netgraph/bluetooth/drivers/ubtbcmfw/ubtbcmfw.c#6 integrate .. //depot/projects/vimage/src/sys/netinet/accf_dns.c#2 integrate .. //depot/projects/vimage/src/sys/netinet/in_pcb.c#57 integrate .. //depot/projects/vimage/src/sys/netinet/ip_input.c#57 integrate .. //depot/projects/vimage/src/sys/netinet/sctp_pcb.c#39 integrate .. //depot/projects/vimage/src/sys/netinet/sctp_sysctl.c#18 integrate .. //depot/projects/vimage/src/sys/netinet/sctp_sysctl.h#13 integrate .. //depot/projects/vimage/src/sys/netinet/sctp_uio.h#25 integrate .. //depot/projects/vimage/src/sys/netinet/sctputil.c#39 integrate .. //depot/projects/vimage/src/sys/netinet/tcp_input.c#52 integrate .. //depot/projects/vimage/src/sys/netinet/tcp_reass.c#15 integrate .. //depot/projects/vimage/src/sys/netinet/udp_usrreq.c#55 integrate .. //depot/projects/vimage/src/sys/netinet6/icmp6.c#44 integrate .. //depot/projects/vimage/src/sys/netinet6/in6.c#35 integrate .. //depot/projects/vimage/src/sys/netinet6/in6.h#11 integrate .. //depot/projects/vimage/src/sys/netinet6/in6_ifattach.c#39 integrate .. //depot/projects/vimage/src/sys/netinet6/in6_mcast.c#3 integrate .. //depot/projects/vimage/src/sys/netinet6/in6_pcb.c#34 integrate .. //depot/projects/vimage/src/sys/netinet6/ip6_input.c#56 integrate .. //depot/projects/vimage/src/sys/netinet6/mld6.c#27 integrate .. //depot/projects/vimage/src/sys/netipsec/key.c#41 integrate .. //depot/projects/vimage/src/sys/netipx/spx.h#3 integrate .. //depot/projects/vimage/src/sys/netipx/spx_reass.c#1 branch .. //depot/projects/vimage/src/sys/netipx/spx_usrreq.c#6 integrate .. //depot/projects/vimage/src/sys/netipx/spx_var.h#3 integrate .. //depot/projects/vimage/src/sys/nfsclient/bootp_subr.c#17 integrate .. //depot/projects/vimage/src/sys/nfsclient/nfs_bio.c#13 integrate .. //depot/projects/vimage/src/sys/nfsclient/nfs_krpc.c#6 integrate .. //depot/projects/vimage/src/sys/nfsclient/nfs_vfsops.c#28 integrate .. //depot/projects/vimage/src/sys/nfsserver/nfs_srvkrpc.c#5 integrate .. //depot/projects/vimage/src/sys/nfsserver/nfs_srvsock.c#10 integrate .. //depot/projects/vimage/src/sys/nlm/nlm_advlock.c#8 integrate .. //depot/projects/vimage/src/sys/pci/if_rl.c#15 integrate .. //depot/projects/vimage/src/sys/powerpc/aim/machdep.c#13 integrate .. //depot/projects/vimage/src/sys/powerpc/booke/machdep.c#10 integrate .. //depot/projects/vimage/src/sys/powerpc/booke/pmap.c#11 integrate .. //depot/projects/vimage/src/sys/powerpc/conf/GENERIC#22 integrate .. //depot/projects/vimage/src/sys/powerpc/conf/NOTES#13 integrate .. //depot/projects/vimage/src/sys/powerpc/cpufreq/dfs.c#1 branch .. //depot/projects/vimage/src/sys/powerpc/mpc85xx/atpic.c#2 integrate .. //depot/projects/vimage/src/sys/powerpc/ofw/ofw_cpu.c#1 branch .. //depot/projects/vimage/src/sys/powerpc/powermac/pmu.c#4 integrate .. //depot/projects/vimage/src/sys/powerpc/powermac/vcoregpio.c#1 branch .. //depot/projects/vimage/src/sys/powerpc/powerpc/cpu.c#11 integrate .. //depot/projects/vimage/src/sys/rpc/authunix_prot.c#10 integrate .. //depot/projects/vimage/src/sys/rpc/xdr.h#3 integrate .. //depot/projects/vimage/src/sys/security/mac/mac_framework.c#7 integrate .. //depot/projects/vimage/src/sys/security/mac/mac_internal.h#11 integrate .. //depot/projects/vimage/src/sys/security/mac_bsdextended/mac_bsdextended.c#19 integrate .. //depot/projects/vimage/src/sys/sparc64/sparc64/dump_machdep.c#10 integrate .. //depot/projects/vimage/src/sys/sun4v/sun4v/dump_machdep.c#10 integrate .. //depot/projects/vimage/src/sys/sun4v/sun4v/hvcons.c#6 integrate .. //depot/projects/vimage/src/sys/sys/cpu.h#3 integrate .. //depot/projects/vimage/src/sys/sys/cpuset.h#3 integrate .. //depot/projects/vimage/src/sys/sys/eventhandler.h#8 integrate .. //depot/projects/vimage/src/sys/sys/fail.h#1 branch .. //depot/projects/vimage/src/sys/sys/jail.h#14 integrate .. //depot/projects/vimage/src/sys/sys/kernel.h#19 integrate .. //depot/projects/vimage/src/sys/sys/ksyms.h#1 branch .. //depot/projects/vimage/src/sys/sys/lock.h#11 integrate .. //depot/projects/vimage/src/sys/sys/lockf.h#5 integrate .. //depot/projects/vimage/src/sys/sys/lockstat.h#1 branch .. //depot/projects/vimage/src/sys/sys/mount.h#21 integrate .. //depot/projects/vimage/src/sys/sys/mutex.h#11 integrate .. //depot/projects/vimage/src/sys/sys/namei.h#4 integrate .. //depot/projects/vimage/src/sys/sys/param.h#54 integrate .. //depot/projects/vimage/src/sys/sys/priv.h#16 integrate .. //depot/projects/vimage/src/sys/sys/queue.h#4 integrate .. //depot/projects/vimage/src/sys/sys/rmlock.h#2 integrate .. //depot/projects/vimage/src/sys/sys/rwlock.h#10 integrate .. //depot/projects/vimage/src/sys/sys/sockio.h#5 integrate .. //depot/projects/vimage/src/sys/sys/sx.h#10 integrate .. //depot/projects/vimage/src/sys/sys/syscallsubr.h#10 integrate .. //depot/projects/vimage/src/sys/sys/systm.h#21 integrate .. //depot/projects/vimage/src/sys/sys/tty.h#10 integrate .. //depot/projects/vimage/src/sys/sys/vimage.h#96 integrate .. //depot/projects/vimage/src/sys/sys/vnode.h#22 integrate .. //depot/projects/vimage/src/sys/ufs/ufs/ufs_vnops.c#16 integrate .. //depot/projects/vimage/src/sys/vm/vm_object.c#22 integrate .. //depot/projects/vimage/src/sys/vm/vm_page.c#22 integrate .. //depot/projects/vimage/src/sys/vm/vm_page.h#12 integrate .. //depot/projects/vimage/src/sys/vm/vm_pageout.c#17 integrate .. //depot/projects/vimage/src/sys/xdr/xdr_mem.c#3 integrate .. //depot/projects/vimage/src/sys/xen/evtchn/evtchn.c#9 integrate .. //depot/projects/vimage/src/sys/xen/xenbus/xenbus_xs.c#8 integrate .. //depot/projects/vimage/src/usr.bin/kdump/mkioctls#5 integrate Differences ... ==== //depot/projects/vimage/src/share/man/man3/Makefile#2 (text+ko) ==== @@ -1,5 +1,5 @@ # @(#)Makefile 8.2 (Berkeley) 12/13/93 -# $FreeBSD: src/share/man/man3/Makefile,v 1.49 2008/09/28 20:15:45 ed Exp $ +# $FreeBSD: src/share/man/man3/Makefile,v 1.50 2009/05/27 19:28:04 ed Exp $ .include @@ -65,8 +65,8 @@ queue.3 SLIST_INSERT_HEAD.3 \ queue.3 SLIST_NEXT.3 \ queue.3 SLIST_REMOVE.3 \ + queue.3 SLIST_REMOVE_AFTER.3 \ queue.3 SLIST_REMOVE_HEAD.3 \ - queue.3 SLIST_REMOVE_NEXT.3 \ queue.3 STAILQ_CONCAT.3 \ queue.3 STAILQ_EMPTY.3 \ queue.3 STAILQ_ENTRY.3 \ @@ -82,8 +82,8 @@ queue.3 STAILQ_LAST.3 \ queue.3 STAILQ_NEXT.3 \ queue.3 STAILQ_REMOVE.3 \ + queue.3 STAILQ_REMOVE_AFTER.3 \ queue.3 STAILQ_REMOVE_HEAD.3 \ - queue.3 STAILQ_REMOVE_NEXT.3 \ queue.3 TAILQ_CONCAT.3 \ queue.3 TAILQ_EMPTY.3 \ queue.3 TAILQ_ENTRY.3 \ ==== //depot/projects/vimage/src/share/man/man3/queue.3#2 (text+ko) ==== @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)queue.3 8.2 (Berkeley) 1/24/94 -.\" $FreeBSD: src/share/man/man3/queue.3,v 1.42 2008/05/22 14:40:03 ed Exp $ +.\" $FreeBSD: src/share/man/man3/queue.3,v 1.43 2009/05/27 19:28:04 ed Exp $ .\" .Dd March 24, 2006 .Dt QUEUE 3 @@ -47,8 +47,8 @@ .Nm SLIST_INSERT_AFTER , .Nm SLIST_INSERT_HEAD , .Nm SLIST_NEXT , +.Nm SLIST_REMOVE_AFTER , .Nm SLIST_REMOVE_HEAD , -.Nm SLIST_REMOVE_NEXT , .Nm SLIST_REMOVE , .Nm STAILQ_CONCAT , .Nm STAILQ_EMPTY , @@ -64,8 +64,8 @@ .Nm STAILQ_INSERT_TAIL , .Nm STAILQ_LAST , .Nm STAILQ_NEXT , +.Nm STAILQ_REMOVE_AFTER , .Nm STAILQ_REMOVE_HEAD , -.Nm STAILQ_REMOVE_NEXT , .Nm STAILQ_REMOVE , .Nm LIST_EMPTY , .Nm LIST_ENTRY , @@ -115,8 +115,8 @@ .Fn SLIST_INSERT_AFTER "TYPE *listelm" "TYPE *elm" "SLIST_ENTRY NAME" .Fn SLIST_INSERT_HEAD "SLIST_HEAD *head" "TYPE *elm" "SLIST_ENTRY NAME" .Fn SLIST_NEXT "TYPE *elm" "SLIST_ENTRY NAME" +.Fn SLIST_REMOVE_AFTER "TYPE *elm" "SLIST_ENTRY NAME" .Fn SLIST_REMOVE_HEAD "SLIST_HEAD *head" "SLIST_ENTRY NAME" -.Fn SLIST_REMOVE_NEXT "SLIST_HEAD *head" "TYPE *elm" "SLIST_ENTRY NAME" .Fn SLIST_REMOVE "SLIST_HEAD *head" "TYPE *elm" "TYPE" "SLIST_ENTRY NAME" .\" .Fn STAILQ_CONCAT "STAILQ_HEAD *head1" "STAILQ_HEAD *head2" @@ -133,8 +133,8 @@ .Fn STAILQ_INSERT_TAIL "STAILQ_HEAD *head" "TYPE *elm" "STAILQ_ENTRY NAME" .Fn STAILQ_LAST "STAILQ_HEAD *head" "TYPE" "STAILQ_ENTRY NAME" .Fn STAILQ_NEXT "TYPE *elm" "STAILQ_ENTRY NAME" +.Fn STAILQ_REMOVE_AFTER "STAILQ_HEAD *head" "TYPE *elm" "STAILQ_ENTRY NAME" .Fn STAILQ_REMOVE_HEAD "STAILQ_HEAD *head" "STAILQ_ENTRY NAME" -.Fn STAILQ_REMOVE_NEXT "STAILQ_HEAD *head" "TYPE *elm" "STAILQ_ENTRY NAME" .Fn STAILQ_REMOVE "STAILQ_HEAD *head" "TYPE *elm" "TYPE" "STAILQ_ENTRY NAME" .\" .Fn LIST_EMPTY "LIST_HEAD *head" @@ -380,6 +380,14 @@ returns the next element in the list. .Pp The macro +.Nm SLIST_REMOVE_AFTER +removes the element after +.Fa elm +from the list. Unlike +.Fa SLIST_REMOVE , +this macro does not traverse the entire list. +.Pp +The macro .Nm SLIST_REMOVE_HEAD removes the element .Fa elm @@ -391,14 +399,6 @@ macro. .Pp The macro -.Nm SLIST_REMOVE_NEXT -removes the element after -.Fa elm -from the list. Unlike -.Fa SLIST_REMOVE , -this macro does not traverse the entire list. -.Pp -The macro .Nm SLIST_REMOVE removes the element .Fa elm @@ -564,6 +564,14 @@ returns the next item on the tail queue, or NULL this item is the last. .Pp The macro +.Nm STAILQ_REMOVE_AFTER +removes the element after +.Fa elm +from the tail queue. Unlike +.Fa STAILQ_REMOVE , +this macro does not traverse the entire tail queue. +.Pp +The macro .Nm STAILQ_REMOVE_HEAD removes the element at the head of the tail queue. For optimum efficiency, @@ -573,14 +581,6 @@ macro. .Pp The macro -.Nm STAILQ_REMOVE_NEXT -removes the element after -.Fa elm -from the tail queue. Unlike -.Fa STAILQ_REMOVE , -this macro does not traverse the entire tail queue. -.Pp -The macro .Nm STAILQ_REMOVE removes the element .Fa elm ==== //depot/projects/vimage/src/share/man/man4/Makefile#10 (text+ko) ==== @@ -1,5 +1,5 @@ # @(#)Makefile 8.1 (Berkeley) 6/18/93 -# $FreeBSD: src/share/man/man4/Makefile,v 1.449 2009/05/16 10:42:00 brueffer Exp $ +# $FreeBSD: src/share/man/man4/Makefile,v 1.451 2009/05/27 18:57:13 bms Exp $ MAN= aac.4 \ acpi.4 \ @@ -161,6 +161,7 @@ kbdmux.4 \ keyboard.4 \ kld.4 \ + ksyms.4 \ ktr.4 \ kue.4 \ lagg.4 \ @@ -191,6 +192,7 @@ meteor.4 \ mfi.4 \ miibus.4 \ + mld.4 \ mlx.4 \ mly.4 \ mmc.4 \ ==== //depot/projects/vimage/src/share/man/man4/audit.4#2 (text+ko) ==== @@ -22,9 +22,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/share/man/man4/audit.4,v 1.10 2006/12/14 16:40:57 mpp Exp $ +.\" $FreeBSD: src/share/man/man4/audit.4,v 1.11 2009/05/31 09:03:14 rwatson Exp $ .\" -.Dd May 5, 2006 +.Dd May 31, 2009 .Os .Dt AUDIT 4 .Sh NAME @@ -125,13 +125,6 @@ .An Robert Watson Aq rwatson@FreeBSD.org . .Sh BUGS The -.Nm -facility in -.Fx -is considered experimental, and production deployment should occur only after -careful consideration of the risks of deploying experimental software. -.Pp -The .Fx kernel does not fully validate that audit records submitted by user applications are syntactically valid BSM; as submission of records is limited ==== //depot/projects/vimage/src/share/man/man4/msk.4#2 (text+ko) ==== @@ -22,9 +22,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/share/man/man4/msk.4,v 1.6 2007/12/05 09:41:58 remko Exp $ +.\" $FreeBSD: src/share/man/man4/msk.4,v 1.8 2009/05/25 08:27:52 yongari Exp $ .\" -.Dd December 5, 2007 +.Dd May 25, 2009 .Dt MSK 4 .Os .Sh NAME @@ -176,13 +176,19 @@ .It Marvell Yukon 88E8062 SX/LX Gigabit Ethernet .It -Marvell Yukon 88E8035 Gigabit Ethernet +Marvell Yukon 88E8035 Fast Ethernet +.It +Marvell Yukon 88E8036 Fast Ethernet +.It +Marvell Yukon 88E8038 Fast Ethernet +.It +Marvell Yukon 88E8039 Fast Ethernet .It -Marvell Yukon 88E8036 Gigabit Ethernet +Marvell Yukon 88E8040 Fast Ethernet .It -Marvell Yukon 88E8038 Gigabit Ethernet +Marvell Yukon 88E8040T Fast Ethernet .It -Marvell Yukon 88E8039 Gigabit Ethernet +Marvell Yukon 88E8048 Fast Ethernet .It Marvell Yukon 88E8050 Gigabit Ethernet .It @@ -196,6 +202,8 @@ .It Marvell Yukon 88E8058 Gigabit Ethernet .It +Marvell Yukon 88E8070 Fast Ethernet +.It SysKonnect SK-9Sxx Gigabit Ethernet .It SysKonnect SK-9Exx Gigabit Ethernet ==== //depot/projects/vimage/src/share/man/man4/multicast.4#3 (text+ko) ==== @@ -23,9 +23,9 @@ .\" FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER .\" DEALINGS IN THE SOFTWARE. .\" -.\" $FreeBSD: src/share/man/man4/multicast.4,v 1.8 2009/03/09 17:53:05 bms Exp $ +.\" $FreeBSD: src/share/man/man4/multicast.4,v 1.9 2009/05/27 18:57:13 bms Exp $ .\" -.Dd February 13, 2009 +.Dd May 27, 2009 .Dt MULTICAST 4 .Os .\" @@ -962,6 +962,7 @@ .Xr intro 4 , .Xr ip 4 , .Xr ip6 4 , +.Xr mld 4 , .Xr pim 4 .\" .Sh HISTORY @@ -1002,6 +1003,8 @@ in collaboration with .An Chris Brown (NextHop). +The IGMPv3 and MLDv2 multicast support was implemented by +.An Bruce Simpson . .Pp This manual page was written by .An Pavlin Radoslavov ==== //depot/projects/vimage/src/share/man/man9/Makefile#6 (text+ko) ==== @@ -1,4 +1,4 @@ -# $FreeBSD: src/share/man/man9/Makefile,v 1.349 2009/04/10 10:59:48 rwatson Exp $ +# $FreeBSD: src/share/man/man9/Makefile,v 1.351 2009/05/30 13:59:05 trasz Exp $ MAN= accept_filter.9 \ accf_data.9 \ @@ -99,6 +99,7 @@ DRIVER_MODULE.9 \ EVENTHANDLER.9 \ extattr.9 \ + fail.9 \ fetch.9 \ firmware.9 \ g_access.9 \ @@ -1287,6 +1288,7 @@ MLINKS+=vm_page_wakeup.9 vm_page_busy.9 \ vm_page_wakeup.9 vm_page_flash.9 MLINKS+=vm_page_wire.9 vm_page_unwire.9 +MLINKS+=VOP_ACCESS.9 VOP_ACCESSX.9 MLINKS+=VOP_ATTRIB.9 VOP_GETATTR.9 \ VOP_ATTRIB.9 VOP_SETATTR.9 MLINKS+=VOP_CREATE.9 VOP_MKDIR.9 \ ==== //depot/projects/vimage/src/share/man/man9/VFS_MOUNT.9#2 (text+ko) ==== @@ -26,9 +26,9 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $FreeBSD: src/share/man/man9/VFS_MOUNT.9,v 1.14 2005/01/07 10:57:33 keramida Exp $ +.\" $FreeBSD: src/share/man/man9/VFS_MOUNT.9,v 1.15 2009/05/24 18:34:54 tmclaugh Exp $ .\" -.Dd January 7, 2005 +.Dd May 23, 2009 .Os .Dt VFS_MOUNT 9 .Sh NAME @@ -39,7 +39,7 @@ .In sys/mount.h .In sys/vnode.h .Ft int -.Fn VFS_MOUNT "struct mount *mp" "struct thread *td" +.Fn VFS_MOUNT "struct mount *mp" .Sh DESCRIPTION The .Fn VFS_MOUNT @@ -50,8 +50,6 @@ .Bl -tag -width data .It Fa mp Structure representing the file system. -.It Fa td -Thread which is mounting the file system. .El .Pp The ==== //depot/projects/vimage/src/share/man/man9/VFS_QUOTACTL.9#2 (text+ko) ==== @@ -26,9 +26,9 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $FreeBSD: src/share/man/man9/VFS_QUOTACTL.9,v 1.10 2003/10/23 06:24:55 hmp Exp $ +.\" $FreeBSD: src/share/man/man9/VFS_QUOTACTL.9,v 1.11 2009/05/24 18:34:54 tmclaugh Exp $ .\" -.Dd July 24, 1996 +.Dd May 23, 2009 .Os .Dt VFS_QUOTACTL 9 .Sh NAME @@ -39,7 +39,7 @@ .In sys/mount.h .In sys/vnode.h .Ft int -.Fn VFS_QUOTACTL "struct mount *mp" "int cmds" "uid_t uid" "caddr_t arg" "struct thread *td" +.Fn VFS_QUOTACTL "struct mount *mp" "int cmds" "uid_t uid" "caddr_t arg" .Sh DESCRIPTION Implement file system quotas. See ==== //depot/projects/vimage/src/share/man/man9/VFS_ROOT.9#2 (text+ko) ==== @@ -26,9 +26,9 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $FreeBSD: src/share/man/man9/VFS_ROOT.9,v 1.12 2006/09/18 15:24:20 ru Exp $ +.\" $FreeBSD: src/share/man/man9/VFS_ROOT.9,v 1.13 2009/05/24 18:34:54 tmclaugh Exp $ .\" -.Dd August 26, 2006 +.Dd May 23, 2009 .Os .Dt VFS_ROOT 9 .Sh NAME @@ -39,7 +39,7 @@ .In sys/mount.h .In sys/vnode.h .Ft int -.Fn VFS_ROOT "struct mount *mp" "int flags" "struct vnode **vpp" "struct thread *td" +.Fn VFS_ROOT "struct mount *mp" "int flags" "struct vnode **vpp" .Sh DESCRIPTION Return a locked vnode for the root directory of the file system. .Pp @@ -58,8 +58,6 @@ argument and instead acquire an exclusive lock. .It Fa vpp Return parameter for the root vnode. -.It Fa td -The calling thread. .El .Sh SEE ALSO .Xr VFS 9 , ==== //depot/projects/vimage/src/share/man/man9/VFS_STATFS.9#2 (text+ko) ==== @@ -26,9 +26,9 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $FreeBSD: src/share/man/man9/VFS_STATFS.9,v 1.12 2005/01/13 09:33:06 ru Exp $ +.\" $FreeBSD: src/share/man/man9/VFS_STATFS.9,v 1.13 2009/05/24 18:34:54 tmclaugh Exp $ .\" -.Dd January 7, 2005 +.Dd May 23, 2009 .Os .Dt VFS_STATFS 9 .Sh NAME @@ -39,7 +39,7 @@ .In sys/mount.h .In sys/vnode.h .Ft int -.Fn VFS_STATFS "struct mount *mp" "struct statfs *sbp" "struct thread *td" +.Fn VFS_STATFS "struct mount *mp" "struct statfs *sbp" .Sh DESCRIPTION The .Fn VFS_STATFS @@ -56,8 +56,6 @@ structure, as defined by .In sys/mount.h , into which information is placed about the file system. -.It Fa td -The thread which is querying the file system. .El .Pp The fields of ==== //depot/projects/vimage/src/share/man/man9/VFS_SYNC.9#2 (text+ko) ==== @@ -26,9 +26,9 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $FreeBSD: src/share/man/man9/VFS_SYNC.9,v 1.16 2007/05/12 13:10:55 pav Exp $ +.\" $FreeBSD: src/share/man/man9/VFS_SYNC.9,v 1.17 2009/05/24 18:34:54 tmclaugh Exp $ .\" -.Dd January 7, 2005 +.Dd May 23, 2009 .Os .Dt VFS_SYNC 9 .Sh NAME @@ -39,7 +39,7 @@ .In sys/mount.h .In sys/vnode.h .Ft int -.Fn VFS_SYNC "struct mount *mp" "int waitfor" "struct thread *td" >>> TRUNCATED FOR MAIL (1000 lines) <<< From zec at FreeBSD.org Sun May 31 17:13:21 2009 From: zec at FreeBSD.org (Marko Zec) Date: Sun May 31 17:13:27 2009 Subject: PERFORCE change 163181 for review Message-ID: <200905311713.n4VHDJQP012407@repoman.freebsd.org> http://perforce.freebsd.org/chv.cgi?CH=163181 Change 163181 by zec@zec_tpx32 on 2009/05/31 17:12:56 Branch a missing file. Affected files ... .. //depot/projects/vimage/src/sys/cddl/compat/opensolaris/sys/acl.h#3 branch Differences ... From trasz at FreeBSD.org Sun May 31 18:01:15 2009 From: trasz at FreeBSD.org (Edward Tomasz Napierala) Date: Sun May 31 18:01:21 2009 Subject: PERFORCE change 163184 for review Message-ID: <200905311801.n4VI1DKm016109@repoman.freebsd.org> http://perforce.freebsd.org/chv.cgi?CH=163184 Change 163184 by trasz@trasz_victim on 2009/05/31 18:01:07 Put limits set via rlimit(2) into hrl. Affected files ... .. //depot/projects/soc2009/trasz_limits/sys/kern/kern_hrl.c#2 edit .. //depot/projects/soc2009/trasz_limits/sys/kern/kern_resource.c#2 edit .. //depot/projects/soc2009/trasz_limits/sys/sys/hrl.h#3 edit .. //depot/projects/soc2009/trasz_limits/usr.sbin/hrl/hrl.c#3 edit Differences ... ==== //depot/projects/soc2009/trasz_limits/sys/kern/kern_hrl.c#2 (text+ko) ==== @@ -32,22 +32,85 @@ #include #include #include +#include #include #include #include #include +#include +#include +#include MALLOC_DEFINE(M_HRL, "hrl", "Hierarchical Resource Limits"); /* - * XXX: Locking. + * XXX: Need a better way to store stuff; rbtree? */ -static struct hrl_limit **limits = NULL; +static struct hrl_limit *limits = NULL; static int nlimits = 0; +static struct mtx hrllock; + +static void hrl_init(void); +SYSINIT(hrl, SI_SUB_RUN_SCHEDULER, SI_ORDER_SECOND, hrl_init, NULL); + +int +hrl_alloc(int object, uint64_t amount) +{ + + KASSERT(amount > 0, ("invalid amount")); + + return (0); +} + +void +hrl_free(int object, uint64_t amount) +{ + + KASSERT(amount > 0, ("invalid amount")); +} + +void +hrl_adjust(int subject, id_t subject_id, int per, int object, int action, int64_t amount) +{ + mtx_lock(&hrllock); + + nlimits++; + /* + * XXX: Make it possible to remove and overwrite limits, not just add them. + */ + limits = realloc(limits, sizeof(struct hrl_limit) * nlimits, M_HRL, M_WAITOK); + + limits[nlimits - 1].hl_subject = subject; + limits[nlimits - 1].hl_subject_id = subject_id; + limits[nlimits - 1].hl_per = per; + limits[nlimits - 1].hl_object = object; + limits[nlimits - 1].hl_action = action; + limits[nlimits - 1].hl_amount = amount; + + mtx_unlock(&hrllock); +} + +/* + * System calls. + */ static int -hrl_check(struct hrl_limit **limits, int nlimits) +hrl_check(struct hrl_limit *limits, int nlimits) { + int i; + + for (i = 0; i < nlimits; i++) { + if (limits[i].hl_subject <= 0 || limits[i].hl_subject > HRL_SUBJECT_MAX) + return (EINVAL); + if (limits[i].hl_per <= 0 || limits[i].hl_per > HRL_SUBJECT_MAX) + return (EINVAL); + if (limits[i].hl_object <= 0 || limits[i].hl_object > HRL_OBJECT_MAX) + return (EINVAL); + if (limits[i].hl_action <= 0 || limits[i].hl_action > HRL_ACTION_MAX) + return (EINVAL); + if (limits[i].hl_amount <= 0) + return (EINVAL); + } return (0); } @@ -57,7 +120,7 @@ { int error; size_t buflen; - struct hrl_limit **newlimits; + struct hrl_limit *newlimits; error = priv_check(td, PRIV_HRL_GET); if (error) @@ -74,9 +137,11 @@ * Removing all the limits? */ if (uap->nentries == 0) { + mtx_lock(&hrllock); free(limits, M_HRL); limits = NULL; nlimits = 0; + mtx_unlock(&hrllock); return (0); } @@ -92,12 +157,16 @@ if (error) goto out; + mtx_lock(&hrllock); + if (limits != NULL) free(limits, M_HRL); limits = newlimits; nlimits = uap->nentries; + mtx_unlock(&hrllock); + return (0); out: @@ -119,17 +188,48 @@ * XXX: Check for being in jail? */ - if (suword(uap->required, nlimits) != 0) - return (EINVAL); + mtx_lock(&hrllock); + + if (suword(uap->required, nlimits) != 0) { + error = EINVAL; + goto out; + } + + if (uap->nentries == 0 && uap->bufp == NULL) { + error = 0; + goto out; + } - if (uap->nentries == 0 && uap->bufp == NULL) - return (0); + if (uap->nentries < nlimits) { + error = EFBIG; + goto out; + } - if (uap->nentries < nlimits) - return (EFBIG); + if (nlimits == 0) { + error = 0; + goto out; + } buflen = sizeof(struct hrl_limit) * nlimits; error = copyout(limits, uap->bufp, buflen); +out: + mtx_unlock(&hrllock); + return (error); } + +static void +hrl_proc_exit(void *arg __unused, struct proc *p) +{ + /* + * XXX: Remove per-process limits here. + */ +} + +static void +hrl_init(void) +{ + mtx_init(&hrllock, "hrl lock", NULL, MTX_DEF); + EVENTHANDLER_REGISTER(process_exit, hrl_proc_exit, NULL, EVENTHANDLER_PRI_ANY); +} ==== //depot/projects/soc2009/trasz_limits/sys/kern/kern_resource.c#2 (text+ko) ==== @@ -43,6 +43,7 @@ #include #include #include +#include #include #include #include @@ -642,6 +643,82 @@ callout_reset(&p->p_limco, hz, lim_cb, p); } +static void +hrl_handle_setrlimit(u_int which, struct rlimit *lim, struct thread *td) +{ + int object, subject, soft_action, hard_action; + id_t id; + + /* + * XXX: Locking. + */ + subject = HRL_SUBJECT_PROCESS; + id = td->td_proc->p_pid; + soft_action = HRL_ACTION_LOG; + hard_action = HRL_ACTION_DENY; + + switch (which) { + case RLIMIT_CPU: + object = HRL_OBJECT_CPUTIME; + soft_action = HRL_ACTION_SIGXCPU; + break; + case RLIMIT_FSIZE: + object = HRL_OBJECT_FILESIZE; + break; + case RLIMIT_DATA: + object = HRL_OBJECT_DATASIZE; + break; + case RLIMIT_STACK: + object = HRL_OBJECT_STACKSIZE; + soft_action = HRL_ACTION_SIGSEGV; + break; + case RLIMIT_CORE: + object = HRL_OBJECT_COREDUMPSIZE; + break; + case RLIMIT_RSS: + object = HRL_OBJECT_MEMORYUSE; + break; + case RLIMIT_MEMLOCK: + object = HRL_OBJECT_MEMORYLOCKED; + break; + case RLIMIT_NPROC: + object = HRL_OBJECT_MAXPROCESSES; + subject = HRL_SUBJECT_USER; + id = td->td_ucred->cr_uid; + break; + case RLIMIT_NOFILE: + object = HRL_OBJECT_OPENFILES; + soft_action = HRL_ACTION_SIGXFSZ; + break; + case RLIMIT_SBSIZE: + object = HRL_OBJECT_SBSIZE; + subject = HRL_SUBJECT_USER; + id = td->td_ucred->cr_uid; + break; + case RLIMIT_VMEM: + object = HRL_OBJECT_VMEMORYUSE; + break; + case RLIMIT_NPTS: + object = HRL_OBJECT_PTY; + subject = HRL_SUBJECT_USER; + id = td->td_ucred->cr_uid; + break; + default: + panic("hrl_handle_setrlimit: unknown limit"); + } + + if (lim->rlim_cur != RLIM_INFINITY) + hrl_adjust(subject, id, subject, object, soft_action, + lim->rlim_cur); + else + hrl_adjust(subject, id, subject, object, soft_action, 0); + if (lim->rlim_max != RLIM_INFINITY) + hrl_adjust(subject, id, subject, object, hard_action, + lim->rlim_max); + else + hrl_adjust(subject, id, subject, object, hard_action, 0); +} + int kern_setrlimit(td, which, limp) struct thread *td; @@ -763,6 +840,8 @@ } } + hrl_handle_setrlimit(which, alimp, td); + return (0); } ==== //depot/projects/soc2009/trasz_limits/sys/sys/hrl.h#3 (text+ko) ==== @@ -45,7 +45,6 @@ int64_t hl_amount; }; -#define HRL_SUBJECT_UNDEFINED 0x0000 #define HRL_SUBJECT_PROCESS 0x0001 #define HRL_SUBJECT_USER 0x0002 #define HRL_SUBJECT_GROUP 0x0003 @@ -57,7 +56,6 @@ * 'hl_per' takes the same flags as 'hl_subject'. */ -#define HRL_OBJECT_UNDEFINED 0x0000 #define HRL_OBJECT_CPUTIME 0x0001 #define HRL_OBJECT_FILESIZE 0x0002 #define HRL_OBJECT_DATASIZE 0x0003 @@ -72,27 +70,31 @@ #define HRL_OBJECT_PTY 0x000c #define HRL_OBJECT_MAX HRL_OBJECT_PTY -#define HRL_ACTION_UNDEFINED 0x0000 #define HRL_ACTION_DENY 0x0001 #define HRL_ACTION_DELAY 0x0002 #define HRL_ACTION_LOG 0x0003 #define HRL_ACTION_SIGHUP 0x0004 #define HRL_ACTION_SIGINT 0x0005 #define HRL_ACTION_SIGKILL 0x0006 -#define HRL_ACTION_SIGXCPU 0x0007 -#define HRL_ACTION_SIGXFSZ 0x0008 +#define HRL_ACTION_SIGSEGV 0x0007 +#define HRL_ACTION_SIGXCPU 0x0008 +#define HRL_ACTION_SIGXFSZ 0x0009 #define HRL_ACTION_MAX HRL_ACTION_SIGXFSZ #define HRL_MAX_LIMITS 128 -int hrl_alloc(int tag, int amount); -void hrl_free(int tag, int amount); +#ifdef _KERNEL + +int hrl_alloc(int object, uint64_t amount); +void hrl_free(int object, uint64_t amount); + +void hrl_adjust(int subject, id_t subject_id, int per, int object, int action, int64_t amount); -#ifndef _KERNEL +#else /* !_KERNEL */ __BEGIN_DECLS -int hrl_get(struct hrl_limit **bufp, int nentries, int *count); -int hrl_set(struct hrl_limit **bufp, int nentries); +int hrl_get(struct hrl_limit *bufp, int nentries, int *count); +int hrl_set(struct hrl_limit *bufp, int nentries); __END_DECLS #endif /* !_KERNEL */ ==== //depot/projects/soc2009/trasz_limits/usr.sbin/hrl/hrl.c#3 (text+ko) ==== @@ -30,21 +30,33 @@ #include #include #include +#include +#include #include static void print_subject(int subject, id_t id) { + struct passwd *pwd; + struct group *grp; switch (subject) { case HRL_SUBJECT_PROCESS: printf("process:%u", (unsigned int)id); break; case HRL_SUBJECT_USER: - printf("user:%u", (unsigned int)id); + pwd = getpwuid(id); + if (pwd != NULL) + printf("user:%s", pwd->pw_name); + else + printf("user:%u", (unsigned int)id); break; case HRL_SUBJECT_GROUP: - printf("group:%u", (unsigned int)id); + grp = getgrgid(id); + if (grp != NULL) + printf("group:%s", grp->gr_name); + else + printf("group:%u", (unsigned int)id); break; case HRL_SUBJECT_LOGINCLASS: printf("class:%u", (unsigned int)id); @@ -127,6 +139,9 @@ case HRL_ACTION_SIGKILL: printf("sigkill"); break; + case HRL_ACTION_SIGSEGV: + printf("sigsegv"); + break; case HRL_ACTION_SIGXCPU: printf("sigxcpu"); break; @@ -168,7 +183,7 @@ main(int argc __unused, char **argv __unused) { int error, nentries, i; - struct hrl_limit **limits; + struct hrl_limit *limits; error = hrl_get(NULL, 0, &nentries); if (error) @@ -190,16 +205,16 @@ printf("Defined resource limits:\n"); for (i = 0; i < nentries; i++) { - print_subject(limits[i]->hl_subject, limits[i]->hl_subject_id); + print_subject(limits[i].hl_subject, limits[i].hl_subject_id); printf(":"); - print_object(limits[i]->hl_object); + print_object(limits[i].hl_object); printf(":"); - print_action(limits[i]->hl_action); + print_action(limits[i].hl_action); printf(":"); - printf("%jd", limits[i]->hl_amount); - if (limits[i]->hl_subject != limits[i]->hl_per) { + printf("%jd", limits[i].hl_amount); + if (limits[i].hl_subject != limits[i].hl_per) { printf("/"); - print_per(limits[i]->hl_per); + print_per(limits[i].hl_per); } printf("\n"); } From trasz at FreeBSD.org Sun May 31 18:14:30 2009 From: trasz at FreeBSD.org (Edward Tomasz Napierala) Date: Sun May 31 18:14:47 2009 Subject: PERFORCE change 163186 for review Message-ID: <200905311814.n4VIERL1018163@repoman.freebsd.org> http://perforce.freebsd.org/chv.cgi?CH=163186 Change 163186 by trasz@trasz_victim on 2009/05/31 18:13:53 Don't store 0 limits. Affected files ... .. //depot/projects/soc2009/trasz_limits/sys/kern/kern_hrl.c#3 edit Differences ... ==== //depot/projects/soc2009/trasz_limits/sys/kern/kern_hrl.c#3 (text+ko) ==== @@ -72,6 +72,12 @@ void hrl_adjust(int subject, id_t subject_id, int per, int object, int action, int64_t amount) { + /* + * Limit removal? + */ + if (amount == 0) + return; + mtx_lock(&hrllock); nlimits++; From zec at FreeBSD.org Sun May 31 18:23:46 2009 From: zec at FreeBSD.org (Marko Zec) Date: Sun May 31 18:23:54 2009 Subject: PERFORCE change 163187 for review Message-ID: <200905311823.n4VINiv9018959@repoman.freebsd.org> http://perforce.freebsd.org/chv.cgi?CH=163187 Change 163187 by zec@zec_tpx32 on 2009/05/31 18:23:03 IFC @ 163176 Affected files ... .. //depot/projects/vimage-commit/src/sys/amd64/amd64/dump_machdep.c#10 integrate .. //depot/projects/vimage-commit/src/sys/amd64/amd64/minidump_machdep.c#12 integrate .. //depot/projects/vimage-commit/src/sys/arm/arm/dump_machdep.c#11 integrate .. //depot/projects/vimage-commit/src/sys/arm/xscale/ixp425/if_npe.c#6 integrate .. //depot/projects/vimage-commit/src/sys/arm/xscale/ixp425/ixp425_qmgr.c#5 integrate .. //depot/projects/vimage-commit/src/sys/arm/xscale/ixp425/ixp425_qmgr.h#3 integrate .. //depot/projects/vimage-commit/src/sys/boot/uboot/lib/net.c#4 integrate .. //depot/projects/vimage-commit/src/sys/cddl/compat/opensolaris/kern/opensolaris.c#5 integrate .. //depot/projects/vimage-commit/src/sys/cddl/compat/opensolaris/kern/opensolaris_misc.c#8 integrate .. //depot/projects/vimage-commit/src/sys/cddl/compat/opensolaris/sys/mutex.h#4 integrate .. //depot/projects/vimage-commit/src/sys/cddl/compat/opensolaris/sys/rwlock.h#4 integrate .. //depot/projects/vimage-commit/src/sys/cddl/contrib/opensolaris/uts/common/fs/gfs.c#4 integrate .. //depot/projects/vimage-commit/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev.c#4 integrate .. //depot/projects/vimage-commit/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c#6 integrate .. //depot/projects/vimage-commit/src/sys/compat/linux/linux_misc.c#15 integrate .. //depot/projects/vimage-commit/src/sys/compat/linux/linux_socket.c#14 integrate .. //depot/projects/vimage-commit/src/sys/compat/ndis/subr_usbd.c#6 integrate .. //depot/projects/vimage-commit/src/sys/compat/svr4/svr4_fcntl.c#3 integrate .. //depot/projects/vimage-commit/src/sys/compat/svr4/svr4_ioctl.c#4 integrate .. //depot/projects/vimage-commit/src/sys/compat/svr4/svr4_misc.c#5 integrate .. //depot/projects/vimage-commit/src/sys/compat/svr4/svr4_resource.c#3 integrate .. //depot/projects/vimage-commit/src/sys/compat/svr4/svr4_signal.c#3 integrate .. //depot/projects/vimage-commit/src/sys/compat/svr4/svr4_socket.c#3 integrate .. //depot/projects/vimage-commit/src/sys/compat/svr4/svr4_stat.c#10 integrate .. //depot/projects/vimage-commit/src/sys/compat/svr4/svr4_stream.c#4 integrate .. //depot/projects/vimage-commit/src/sys/compat/svr4/svr4_sysconfig.h#3 integrate .. //depot/projects/vimage-commit/src/sys/conf/NOTES#20 integrate .. //depot/projects/vimage-commit/src/sys/conf/files#28 integrate .. //depot/projects/vimage-commit/src/sys/conf/files.i386#15 integrate .. //depot/projects/vimage-commit/src/sys/conf/files.powerpc#10 integrate .. //depot/projects/vimage-commit/src/sys/conf/options#17 integrate .. //depot/projects/vimage-commit/src/sys/ddb/db_textdump.c#8 integrate .. //depot/projects/vimage-commit/src/sys/dev/ata/ata-usb.c#7 integrate .. //depot/projects/vimage-commit/src/sys/dev/bge/if_bge.c#7 integrate .. //depot/projects/vimage-commit/src/sys/dev/bwi/if_bwi.c#3 integrate .. //depot/projects/vimage-commit/src/sys/dev/cfe/cfe_console.c#3 integrate .. //depot/projects/vimage-commit/src/sys/dev/dc/if_dc.c#6 integrate .. //depot/projects/vimage-commit/src/sys/dev/dcons/dcons_os.c#7 integrate .. //depot/projects/vimage-commit/src/sys/dev/e1000/if_em.c#12 integrate .. //depot/projects/vimage-commit/src/sys/dev/firewire/firewire.c#12 integrate .. //depot/projects/vimage-commit/src/sys/dev/firewire/if_fwe.c#4 integrate .. //depot/projects/vimage-commit/src/sys/dev/firewire/if_fwip.c#4 integrate .. //depot/projects/vimage-commit/src/sys/dev/fxp/if_fxp.c#7 integrate .. //depot/projects/vimage-commit/src/sys/dev/if_ndis/if_ndis_usb.c#6 integrate .. //depot/projects/vimage-commit/src/sys/dev/if_ndis/if_ndisvar.h#9 integrate .. //depot/projects/vimage-commit/src/sys/dev/iwn/if_iwn.c#10 integrate .. //depot/projects/vimage-commit/src/sys/dev/ixgb/if_ixgb.c#4 integrate .. //depot/projects/vimage-commit/src/sys/dev/lmc/if_lmc.c#10 integrate .. //depot/projects/vimage-commit/src/sys/dev/lmc/if_lmc.h#6 integrate .. //depot/projects/vimage-commit/src/sys/dev/mge/if_mge.c#4 integrate .. //depot/projects/vimage-commit/src/sys/dev/nfe/if_nfe.c#6 integrate .. //depot/projects/vimage-commit/src/sys/dev/nge/if_nge.c#4 integrate .. //depot/projects/vimage-commit/src/sys/dev/nmdm/nmdm.c#6 integrate .. //depot/projects/vimage-commit/src/sys/dev/ofw/ofw_console.c#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/ral/rt2560.c#7 integrate .. //depot/projects/vimage-commit/src/sys/dev/re/if_re.c#9 integrate .. //depot/projects/vimage-commit/src/sys/dev/rp/rp.c#4 integrate .. //depot/projects/vimage-commit/src/sys/dev/sf/if_sf.c#3 integrate .. //depot/projects/vimage-commit/src/sys/dev/si/si.c#7 integrate .. //depot/projects/vimage-commit/src/sys/dev/sis/if_sis.c#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/smc/if_smc.c#7 integrate .. //depot/projects/vimage-commit/src/sys/dev/sound/usb/uaudio.c#8 integrate .. //depot/projects/vimage-commit/src/sys/dev/sound/usb/uaudioreg.h#7 integrate .. //depot/projects/vimage-commit/src/sys/dev/ste/if_ste.c#3 integrate .. //depot/projects/vimage-commit/src/sys/dev/stge/if_stge.c#3 integrate .. //depot/projects/vimage-commit/src/sys/dev/syscons/daemon/daemon_saver.c#7 integrate .. //depot/projects/vimage-commit/src/sys/dev/syscons/syscons.c#9 integrate .. //depot/projects/vimage-commit/src/sys/dev/syscons/sysmouse.c#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/tsec/if_tsec.c#4 integrate .. //depot/projects/vimage-commit/src/sys/dev/uart/uart_tty.c#6 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/controller/at91dci.c#6 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/controller/at91dci.h#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/controller/atmegadci.c#6 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/controller/atmegadci.h#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/controller/atmegadci_atmelarm.c#4 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/controller/avr32dci.c#2 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/controller/avr32dci.h#2 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/controller/ehci.c#8 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/controller/ehci.h#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/controller/musb_otg.c#6 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/controller/musb_otg.h#4 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/controller/ohci.c#8 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/controller/ohci.h#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/controller/uhci.c#8 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/controller/uhci.h#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/controller/usb_controller.c#8 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/controller/uss820dci.c#6 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/controller/uss820dci.h#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/input/uhid.c#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/input/ukbd.c#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/input/ums.c#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/misc/udbp.c#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/misc/ufm.c#3 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/net/if_aue.c#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/net/if_auereg.h#2 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/net/if_axe.c#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/net/if_axereg.h#2 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/net/if_cdce.c#6 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/net/if_cdcereg.h#3 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/net/if_cue.c#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/net/if_cuereg.h#2 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/net/if_kue.c#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/net/if_kuereg.h#2 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/net/if_rue.c#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/net/if_ruereg.h#2 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/net/if_udav.c#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/net/if_udavreg.h#2 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/net/usb_ethernet.c#3 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/net/usb_ethernet.h#3 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/quirk/usb_quirk.c#2 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/serial/u3g.c#6 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/serial/uark.c#4 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/serial/ubsa.c#4 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/serial/ubser.c#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/serial/uchcom.c#4 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/serial/ucycom.c#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/serial/ufoma.c#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/serial/uftdi.c#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/serial/ugensa.c#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/serial/uipaq.c#4 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/serial/ulpt.c#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/serial/umct.c#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/serial/umodem.c#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/serial/umoscom.c#4 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/serial/uplcom.c#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/serial/usb_serial.c#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/serial/usb_serial.h#4 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/serial/uslcom.c#4 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/serial/uvisor.c#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/serial/uvscom.c#4 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/storage/umass.c#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/storage/urio.c#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/storage/ustorage_fs.c#6 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/template/usb_template.c#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/template/usb_template.h#2 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/template/usb_template_cdce.c#2 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/template/usb_template_msc.c#2 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/template/usb_template_mtp.c#2 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb.h#7 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_bus.h#6 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_busdma.c#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_busdma.h#4 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_cdc.h#2 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_compat_linux.c#6 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_compat_linux.h#4 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_controller.h#6 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_core.h#9 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_debug.c#4 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_debug.h#4 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_dev.c#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_dev.h#3 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_device.c#9 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_device.h#9 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_dynamic.c#4 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_dynamic.h#3 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_error.c#2 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_generic.c#8 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_generic.h#2 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_handle_request.c#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_hid.c#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_hid.h#4 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_hub.c#9 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_hub.h#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_ioctl.h#2 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_lookup.c#3 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_lookup.h#3 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_mbuf.c#3 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_mbuf.h#3 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_msctest.c#4 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_msctest.h#2 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_parse.c#3 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_parse.h#3 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_process.c#4 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_process.h#3 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_request.c#7 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_request.h#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_transfer.c#8 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_transfer.h#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usb_util.c#4 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usbdevs#16 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/usbhid.h#7 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/wlan/if_rum.c#6 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/wlan/if_rumvar.h#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/wlan/if_uath.c#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/wlan/if_uathvar.h#4 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/wlan/if_upgt.c#3 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/wlan/if_upgtvar.h#2 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/wlan/if_ural.c#7 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/wlan/if_uralvar.h#5 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/wlan/if_urtw.c#2 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/wlan/if_urtwvar.h#2 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/wlan/if_zyd.c#6 integrate .. //depot/projects/vimage-commit/src/sys/dev/usb/wlan/if_zydreg.h#3 integrate .. //depot/projects/vimage-commit/src/sys/dev/vge/if_vge.c#6 integrate .. //depot/projects/vimage-commit/src/sys/dev/vr/if_vr.c#6 integrate .. //depot/projects/vimage-commit/src/sys/dev/xen/console/console.c#9 integrate .. //depot/projects/vimage-commit/src/sys/dev/xl/if_xl.c#6 integrate .. //depot/projects/vimage-commit/src/sys/fs/cd9660/cd9660_rrip.c#11 integrate .. //depot/projects/vimage-commit/src/sys/fs/nfs/nfsport.h#5 integrate .. //depot/projects/vimage-commit/src/sys/fs/nfsclient/nfs_clbio.c#3 integrate .. //depot/projects/vimage-commit/src/sys/fs/nfsclient/nfs_clnode.c#4 integrate .. //depot/projects/vimage-commit/src/sys/fs/nfsclient/nfs_clstate.c#3 integrate .. //depot/projects/vimage-commit/src/sys/fs/nfsclient/nfs_clvfsops.c#5 integrate .. //depot/projects/vimage-commit/src/sys/fs/nfsclient/nfs_clvnops.c#3 integrate .. //depot/projects/vimage-commit/src/sys/fs/nfsserver/nfs_nfsdport.c#5 integrate .. //depot/projects/vimage-commit/src/sys/fs/nullfs/null_subr.c#4 integrate .. //depot/projects/vimage-commit/src/sys/fs/nullfs/null_vnops.c#6 integrate .. //depot/projects/vimage-commit/src/sys/fs/pseudofs/pseudofs_vnops.c#7 integrate .. //depot/projects/vimage-commit/src/sys/fs/smbfs/smbfs_io.c#6 integrate .. //depot/projects/vimage-commit/src/sys/geom/label/g_label.c#4 integrate .. //depot/projects/vimage-commit/src/sys/geom/vinum/geom_vinum_create.c#2 integrate .. //depot/projects/vimage-commit/src/sys/geom/vinum/geom_vinum_drive.c#7 integrate .. //depot/projects/vimage-commit/src/sys/i386/i386/dump_machdep.c#10 integrate .. //depot/projects/vimage-commit/src/sys/i386/i386/minidump_machdep.c#10 integrate .. //depot/projects/vimage-commit/src/sys/i386/ibcs2/ibcs2_socksys.c#9 integrate .. //depot/projects/vimage-commit/src/sys/i386/include/apicvar.h#6 integrate .. //depot/projects/vimage-commit/src/sys/i386/include/xen/xen_clock_util.h#1 branch .. //depot/projects/vimage-commit/src/sys/i386/xen/clock.c#6 integrate .. //depot/projects/vimage-commit/src/sys/i386/xen/mp_machdep.c#5 integrate .. //depot/projects/vimage-commit/src/sys/i386/xen/xen_clock_util.c#1 branch .. //depot/projects/vimage-commit/src/sys/i386/xen/xen_rtc.c#2 integrate .. //depot/projects/vimage-commit/src/sys/ia64/ia64/dump_machdep.c#10 integrate .. //depot/projects/vimage-commit/src/sys/ia64/ia64/ssc.c#4 integrate .. //depot/projects/vimage-commit/src/sys/kern/kern_cpu.c#4 integrate .. //depot/projects/vimage-commit/src/sys/kern/kern_jail.c#17 integrate .. //depot/projects/vimage-commit/src/sys/kern/kern_mib.c#15 integrate .. //depot/projects/vimage-commit/src/sys/kern/kern_mutex.c#7 integrate .. //depot/projects/vimage-commit/src/sys/kern/kern_osd.c#6 integrate .. //depot/projects/vimage-commit/src/sys/kern/kern_prot.c#12 integrate .. //depot/projects/vimage-commit/src/sys/kern/kern_rmlock.c#6 integrate .. //depot/projects/vimage-commit/src/sys/kern/kern_rwlock.c#6 integrate .. //depot/projects/vimage-commit/src/sys/kern/kern_shutdown.c#5 integrate .. //depot/projects/vimage-commit/src/sys/kern/kern_sx.c#7 integrate .. //depot/projects/vimage-commit/src/sys/kern/kern_vimage.c#19 integrate .. //depot/projects/vimage-commit/src/sys/kern/kern_xxx.c#11 integrate .. //depot/projects/vimage-commit/src/sys/kern/tty.c#16 integrate .. //depot/projects/vimage-commit/src/sys/kern/tty_pts.c#8 integrate .. //depot/projects/vimage-commit/src/sys/kern/uipc_syscalls.c#10 integrate .. //depot/projects/vimage-commit/src/sys/kern/vfs_bio.c#13 integrate .. //depot/projects/vimage-commit/src/sys/kern/vfs_cache.c#14 integrate .. //depot/projects/vimage-commit/src/sys/kern/vfs_default.c#6 integrate .. //depot/projects/vimage-commit/src/sys/kern/vfs_lookup.c#11 integrate .. //depot/projects/vimage-commit/src/sys/kern/vfs_subr.c#11 integrate .. //depot/projects/vimage-commit/src/sys/kern/vnode_if.src#6 integrate .. //depot/projects/vimage-commit/src/sys/kgssapi/gsstest.c#3 integrate .. //depot/projects/vimage-commit/src/sys/modules/Makefile#19 integrate .. //depot/projects/vimage-commit/src/sys/modules/cpufreq/Makefile#4 integrate .. //depot/projects/vimage-commit/src/sys/modules/geom/geom_part/geom_part_ebr/Makefile#2 integrate .. //depot/projects/vimage-commit/src/sys/modules/nfscl/Makefile#1 branch .. //depot/projects/vimage-commit/src/sys/modules/nfscommon/Makefile#1 branch .. //depot/projects/vimage-commit/src/sys/modules/nfsd/Makefile#1 branch .. //depot/projects/vimage-commit/src/sys/modules/zfs/Makefile#6 integrate .. //depot/projects/vimage-commit/src/sys/net/if.c#25 integrate .. //depot/projects/vimage-commit/src/sys/net/if.h#7 integrate .. //depot/projects/vimage-commit/src/sys/net/if_var.h#17 integrate .. //depot/projects/vimage-commit/src/sys/net/pfil.h#4 integrate .. //depot/projects/vimage-commit/src/sys/net80211/ieee80211_dfs.c#4 integrate .. //depot/projects/vimage-commit/src/sys/net80211/ieee80211_freebsd.c#13 integrate .. //depot/projects/vimage-commit/src/sys/net80211/ieee80211_ht.c#8 integrate .. //depot/projects/vimage-commit/src/sys/net80211/ieee80211_phy.h#3 integrate .. //depot/projects/vimage-commit/src/sys/net80211/ieee80211_superg.c#6 integrate .. //depot/projects/vimage-commit/src/sys/net80211/ieee80211_tdma.c#5 integrate .. //depot/projects/vimage-commit/src/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c#7 integrate .. //depot/projects/vimage-commit/src/sys/netgraph/bluetooth/drivers/ubt/ng_ubt_var.h#8 integrate .. //depot/projects/vimage-commit/src/sys/netgraph/bluetooth/drivers/ubtbcmfw/ubtbcmfw.c#9 integrate .. //depot/projects/vimage-commit/src/sys/netinet/sctp_pcb.c#12 integrate .. //depot/projects/vimage-commit/src/sys/netinet/sctp_sysctl.c#8 integrate .. //depot/projects/vimage-commit/src/sys/netinet/sctp_sysctl.h#7 integrate .. //depot/projects/vimage-commit/src/sys/netinet/sctp_uio.h#10 integrate .. //depot/projects/vimage-commit/src/sys/netinet/sctputil.c#9 integrate .. //depot/projects/vimage-commit/src/sys/netinet6/icmp6.c#17 integrate .. //depot/projects/vimage-commit/src/sys/netinet6/in6_ifattach.c#15 integrate .. //depot/projects/vimage-commit/src/sys/nfsclient/bootp_subr.c#8 integrate .. //depot/projects/vimage-commit/src/sys/nfsclient/nfs_bio.c#7 integrate .. //depot/projects/vimage-commit/src/sys/nfsclient/nfs_vfsops.c#15 integrate .. //depot/projects/vimage-commit/src/sys/nfsserver/nfs_srvkrpc.c#5 integrate .. //depot/projects/vimage-commit/src/sys/nlm/nlm_advlock.c#9 integrate .. //depot/projects/vimage-commit/src/sys/pci/if_rl.c#6 integrate .. //depot/projects/vimage-commit/src/sys/powerpc/aim/machdep.c#10 integrate .. //depot/projects/vimage-commit/src/sys/powerpc/booke/machdep.c#8 integrate .. //depot/projects/vimage-commit/src/sys/powerpc/conf/GENERIC#11 integrate .. //depot/projects/vimage-commit/src/sys/powerpc/conf/NOTES#6 integrate .. //depot/projects/vimage-commit/src/sys/powerpc/cpufreq/dfs.c#1 branch .. //depot/projects/vimage-commit/src/sys/powerpc/mpc85xx/atpic.c#2 integrate .. //depot/projects/vimage-commit/src/sys/powerpc/ofw/ofw_cpu.c#1 branch .. //depot/projects/vimage-commit/src/sys/powerpc/powermac/pmu.c#3 integrate .. //depot/projects/vimage-commit/src/sys/powerpc/powermac/vcoregpio.c#1 branch .. //depot/projects/vimage-commit/src/sys/powerpc/powerpc/cpu.c#6 integrate .. //depot/projects/vimage-commit/src/sys/rpc/authunix_prot.c#11 integrate .. //depot/projects/vimage-commit/src/sys/rpc/xdr.h#5 integrate .. //depot/projects/vimage-commit/src/sys/security/mac/mac_framework.c#6 integrate .. //depot/projects/vimage-commit/src/sys/sparc64/sparc64/dump_machdep.c#10 integrate .. //depot/projects/vimage-commit/src/sys/sun4v/sun4v/dump_machdep.c#10 integrate .. //depot/projects/vimage-commit/src/sys/sun4v/sun4v/hvcons.c#4 integrate .. //depot/projects/vimage-commit/src/sys/sys/cpu.h#3 integrate .. //depot/projects/vimage-commit/src/sys/sys/jail.h#11 integrate .. //depot/projects/vimage-commit/src/sys/sys/kernel.h#11 integrate .. //depot/projects/vimage-commit/src/sys/sys/mount.h#7 integrate .. //depot/projects/vimage-commit/src/sys/sys/namei.h#5 integrate .. //depot/projects/vimage-commit/src/sys/sys/param.h#24 integrate .. //depot/projects/vimage-commit/src/sys/sys/priv.h#9 integrate .. //depot/projects/vimage-commit/src/sys/sys/rmlock.h#3 integrate .. //depot/projects/vimage-commit/src/sys/sys/sockio.h#5 integrate .. //depot/projects/vimage-commit/src/sys/sys/sx.h#5 integrate .. //depot/projects/vimage-commit/src/sys/sys/syscallsubr.h#7 integrate .. //depot/projects/vimage-commit/src/sys/sys/tty.h#6 integrate .. //depot/projects/vimage-commit/src/sys/sys/vimage.h#29 integrate .. //depot/projects/vimage-commit/src/sys/sys/vnode.h#8 integrate .. //depot/projects/vimage-commit/src/sys/vm/vm_page.c#8 integrate .. //depot/projects/vimage-commit/src/sys/vm/vm_page.h#6 integrate .. //depot/projects/vimage-commit/src/sys/xen/evtchn/evtchn.c#6 integrate Differences ... ==== //depot/projects/vimage-commit/src/sys/amd64/amd64/dump_machdep.c#10 (text+ko) ==== @@ -25,7 +25,7 @@ */ #include -__FBSDID("$FreeBSD: src/sys/amd64/amd64/dump_machdep.c,v 1.17 2008/10/31 10:11:35 kib Exp $"); +__FBSDID("$FreeBSD: src/sys/amd64/amd64/dump_machdep.c,v 1.18 2009/05/29 21:27:12 jamie Exp $"); #include #include @@ -34,7 +34,6 @@ #include #include #include -#include #include #include #include ==== //depot/projects/vimage-commit/src/sys/amd64/amd64/minidump_machdep.c#12 (text) ==== @@ -25,7 +25,7 @@ */ #include -__FBSDID("$FreeBSD: src/sys/amd64/amd64/minidump_machdep.c,v 1.9 2008/10/31 10:11:35 kib Exp $"); +__FBSDID("$FreeBSD: src/sys/amd64/amd64/minidump_machdep.c,v 1.10 2009/05/29 21:27:12 jamie Exp $"); #include #include @@ -34,7 +34,6 @@ #include #include #include -#include #include #include #include ==== //depot/projects/vimage-commit/src/sys/arm/arm/dump_machdep.c#11 (text+ko) ==== @@ -25,7 +25,7 @@ */ #include -__FBSDID("$FreeBSD: src/sys/arm/arm/dump_machdep.c,v 1.7 2009/02/02 20:09:14 cognet Exp $"); +__FBSDID("$FreeBSD: src/sys/arm/arm/dump_machdep.c,v 1.8 2009/05/29 21:27:12 jamie Exp $"); #include #include @@ -35,7 +35,6 @@ #include #include #include -#include #include #include #include ==== //depot/projects/vimage-commit/src/sys/arm/xscale/ixp425/if_npe.c#6 (text+ko) ==== @@ -23,7 +23,7 @@ */ #include -__FBSDID("$FreeBSD: src/sys/arm/xscale/ixp425/if_npe.c,v 1.15 2009/05/23 19:14:20 sam Exp $"); +__FBSDID("$FreeBSD: src/sys/arm/xscale/ixp425/if_npe.c,v 1.17 2009/05/30 18:23:55 sam Exp $"); /* * Intel XScale NPE Ethernet driver. @@ -229,7 +229,7 @@ static void npe_txdone(int qid, void *arg); static int npe_rxbuf_init(struct npe_softc *, struct npebuf *, struct mbuf *); -static void npe_rxdone(int qid, void *arg); +static int npe_rxdone(int qid, void *arg); static void npeinit(void *); static void npestart_locked(struct ifnet *); static void npestart(struct ifnet *); @@ -777,7 +777,7 @@ */ sc->rx_qid = npeconfig[sc->sc_npeid].rx_qid; ixpqmgr_qconfig(sc->rx_qid, npe_rxbuf, 0, 1, - IX_QMGR_Q_SOURCE_ID_NOT_E, npe_rxdone, sc); + IX_QMGR_Q_SOURCE_ID_NOT_E, (qconfig_hand_t *)npe_rxdone, sc); sc->rx_freeqid = npeconfig[sc->sc_npeid].rx_freeqid; ixpqmgr_qconfig(sc->rx_freeqid, npe_rxbuf, 0, npe_rxbuf/2, 0, NULL, sc); /* @@ -1091,7 +1091,7 @@ * from the hardware queue and pass the frames up the * stack. Pass the rx buffers to the free list. */ -static void +static int npe_rxdone(int qid, void *arg) { #define P2V(a, dma) \ @@ -1099,6 +1099,7 @@ struct npe_softc *sc = arg; struct npedma *dma = &sc->rxdma; uint32_t entry; + int rx_npkts = 0; while (ixpqmgr_qread(qid, &entry) == 0) { struct npebuf *npe = P2V(NPE_QM_Q_ADDR(entry), dma); @@ -1132,6 +1133,7 @@ ifp->if_ipackets++; ifp->if_input(ifp, mrx); + rx_npkts++; } else { /* discard frame and re-use mbuf */ m = npe->ix_m; @@ -1143,19 +1145,22 @@ /* XXX should not happen */ } } + return rx_npkts; #undef P2V } #ifdef DEVICE_POLLING -static void +static int npe_poll(struct ifnet *ifp, enum poll_cmd cmd, int count) { struct npe_softc *sc = ifp->if_softc; + int rx_npkts = 0; if (ifp->if_drv_flags & IFF_DRV_RUNNING) { - npe_rxdone(sc->rx_qid, sc); + rx_npkts = npe_rxdone(sc->rx_qid, sc); npe_txdone(sc->tx_doneqid, sc); /* XXX polls both NPE's */ } + return rx_npkts; } #endif /* DEVICE_POLLING */ ==== //depot/projects/vimage-commit/src/sys/arm/xscale/ixp425/ixp425_qmgr.c#5 (text+ko) ==== @@ -57,7 +57,7 @@ * SUCH DAMAGE. */ #include -__FBSDID("$FreeBSD: src/sys/arm/xscale/ixp425/ixp425_qmgr.c,v 1.5 2008/12/20 03:26:09 sam Exp $"); +__FBSDID("$FreeBSD: src/sys/arm/xscale/ixp425/ixp425_qmgr.c,v 1.6 2009/05/30 15:14:44 attilio Exp $"); /* * Intel XScale Queue Manager support. @@ -338,7 +338,7 @@ int ixpqmgr_qconfig(int qId, int qEntries, int ne, int nf, int srcSel, - void (*cb)(int, void *), void *cbarg) + qconfig_hand_t *cb, void *cbarg) { struct ixpqmgr_softc *sc = ixpqmgr_sc; struct qmgrInfo *qi = &sc->qinfo[qId]; ==== //depot/projects/vimage-commit/src/sys/arm/xscale/ixp425/ixp425_qmgr.h#3 (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/arm/xscale/ixp425/ixp425_qmgr.h,v 1.1 2006/11/19 23:55:23 sam Exp $ + * $FreeBSD: src/sys/arm/xscale/ixp425/ixp425_qmgr.h,v 1.2 2009/05/30 15:14:44 attilio Exp $ */ /*- @@ -229,8 +229,10 @@ #define IX_QMGR_ENTRY2_OFFSET 1 #define IX_QMGR_ENTRY4_OFFSET 3 +typedef void qconfig_hand_t(int, void *); + int ixpqmgr_qconfig(int qId, int qSizeInWords, int ne, int nf, int srcSel, - void (*cb)(int, void *), void *cbarg); + qconfig_hand_t *cb, void *cbarg); int ixpqmgr_qwrite(int qId, uint32_t entry); int ixpqmgr_qread(int qId, uint32_t *entry); int ixpqmgr_qreadm(int qId, uint32_t n, uint32_t *p); ==== //depot/projects/vimage-commit/src/sys/boot/uboot/lib/net.c#4 (text+ko) ==== @@ -26,7 +26,7 @@ */ #include -__FBSDID("$FreeBSD: src/sys/boot/uboot/lib/net.c,v 1.7 2008/11/19 17:34:28 raj Exp $"); +__FBSDID("$FreeBSD: src/sys/boot/uboot/lib/net.c,v 1.8 2009/05/30 19:28:38 marcel Exp $"); #include #include @@ -46,12 +46,6 @@ #include "glue.h" #include "libuboot.h" -#define NETIF_DEBUG -#define NETIF_VERBOSE_DEBUG -#undef NETIF_DEBUG -#undef NETIF_VERBOSE_DEBUG - - static int net_probe(struct netif *, void *); static int net_match(struct netif *, void *); static void net_init(struct iodesc *, void *); @@ -138,7 +132,7 @@ #if defined(NETIF_DEBUG) struct ether_header *eh; - printf("net_put: desc 0x%x, pkt 0x%x, len %d\n", desc, pkt, len); + printf("net_put: desc %p, pkt %p, len %d\n", desc, pkt, len); eh = pkt; printf("dst: %s ", ether_sprintf(eh->ether_dhost)); printf("src: %s ", ether_sprintf(eh->ether_shost)); @@ -175,7 +169,7 @@ int err, rlen; #if defined(NETIF_DEBUG) - printf("net_get: pkt %x, len %d, timeout %d\n", pkt, len, timeout); + printf("net_get: pkt %p, len %d, timeout %d\n", pkt, len, timeout); #endif t = getsecs(); do { ==== //depot/projects/vimage-commit/src/sys/cddl/compat/opensolaris/kern/opensolaris.c#5 (text+ko) ==== @@ -22,7 +22,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD: src/sys/cddl/compat/opensolaris/kern/opensolaris.c,v 1.2 2009/05/08 14:11:06 zec Exp $ + * $FreeBSD: src/sys/cddl/compat/opensolaris/kern/opensolaris.c,v 1.3 2009/05/29 21:27:12 jamie Exp $ * */ @@ -31,11 +31,11 @@ #include #include #include +#include #include #include #include #include -#include cpu_core_t cpu_core[MAXCPU]; kmutex_t cpu_lock; @@ -83,7 +83,7 @@ switch (type) { case MOD_LOAD: - utsname.nodename = G_hostname; + utsname.nodename = prison0.pr_host; break; case MOD_UNLOAD: ==== //depot/projects/vimage-commit/src/sys/cddl/compat/opensolaris/kern/opensolaris_misc.c#8 (text+ko) ==== @@ -25,9 +25,10 @@ */ #include -__FBSDID("$FreeBSD: src/sys/cddl/compat/opensolaris/kern/opensolaris_misc.c,v 1.5 2009/05/08 14:11:06 zec Exp $"); +__FBSDID("$FreeBSD: src/sys/cddl/compat/opensolaris/kern/opensolaris_misc.c,v 1.6 2009/05/29 21:27:12 jamie Exp $"); #include +#include #include #include #include @@ -57,7 +58,7 @@ { if (str == hw_serial) { - *result = hostid; + *result = prison0.pr_hostid; return (0); } ==== //depot/projects/vimage-commit/src/sys/cddl/compat/opensolaris/sys/mutex.h#4 (text+ko) ==== @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD: src/sys/cddl/compat/opensolaris/sys/mutex.h,v 1.6 2009/05/16 23:56:45 kmacy Exp $ + * $FreeBSD: src/sys/cddl/compat/opensolaris/sys/mutex.h,v 1.7 2009/05/29 01:49:27 attilio Exp $ */ #ifndef _OPENSOLARIS_SYS_MUTEX_H_ @@ -47,9 +47,9 @@ typedef struct sx kmutex_t; #ifndef DEBUG -#define MUTEX_FLAGS (SX_DUPOK | SX_NOWITNESS | SX_ADAPTIVESPIN) +#define MUTEX_FLAGS (SX_DUPOK | SX_NOWITNESS) #else -#define MUTEX_FLAGS (SX_DUPOK | SX_ADAPTIVESPIN) +#define MUTEX_FLAGS (SX_DUPOK) #endif #define mutex_init(lock, desc, type, arg) do { \ ==== //depot/projects/vimage-commit/src/sys/cddl/compat/opensolaris/sys/rwlock.h#4 (text+ko) ==== @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD: src/sys/cddl/compat/opensolaris/sys/rwlock.h,v 1.6 2009/05/16 23:56:45 kmacy Exp $ + * $FreeBSD: src/sys/cddl/compat/opensolaris/sys/rwlock.h,v 1.7 2009/05/29 01:49:27 attilio Exp $ */ #ifndef _OPENSOLARIS_SYS_RWLOCK_H_ @@ -49,9 +49,9 @@ typedef struct sx krwlock_t; #ifndef DEBUG -#define RW_FLAGS (SX_DUPOK | SX_NOWITNESS | SX_ADAPTIVESPIN) +#define RW_FLAGS (SX_DUPOK | SX_NOWITNESS) #else -#define RW_FLAGS (SX_DUPOK | SX_ADAPTIVESPIN) +#define RW_FLAGS (SX_DUPOK) #endif #define RW_READ_HELD(x) (rw_read_held((x))) ==== //depot/projects/vimage-commit/src/sys/cddl/contrib/opensolaris/uts/common/fs/gfs.c#4 (text+ko) ==== @@ -564,8 +564,13 @@ if (fp->gfs_parent == NULL || (vp->v_flag & V_XATTRDIR)) goto found; - dp = fp->gfs_parent->v_data; - + /* + * XXX cope with a FreeBSD-specific race wherein the parent's + * snapshot data can be freed before the parent is + */ + if ((dp = fp->gfs_parent->v_data) == NULL) + return (NULL); + /* * First, see if this vnode is cached in the parent. */ ==== //depot/projects/vimage-commit/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev.c#4 (text+ko) ==== @@ -2392,13 +2392,23 @@ /* * Check the vdev configuration to ensure that it's capable of supporting - * a root pool. Currently, we do not support RAID-Z or partial configuration. - * In addition, only a single top-level vdev is allowed and none of the leaves - * can be wholedisks. + * a root pool. + * + * On Solaris, we do not support RAID-Z or partial configuration. In + * addition, only a single top-level vdev is allowed and none of the + * leaves can be wholedisks. + * + * For FreeBSD, we can boot from any configuration. There is a + * limitation that the boot filesystem must be either uncompressed or + * compresses with lzjb compression but I'm not sure how to enforce + * that here. */ boolean_t vdev_is_bootable(vdev_t *vd) { +#ifdef __FreeBSD_version + return (B_TRUE); +#else int c; if (!vd->vdev_ops->vdev_op_leaf) { @@ -2420,4 +2430,5 @@ return (B_FALSE); } return (B_TRUE); +#endif } ==== //depot/projects/vimage-commit/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c#6 (text+ko) ==== @@ -3121,3 +3121,4 @@ }; DECLARE_MODULE(zfsctrl, zfs_mod, SI_SUB_VFS, SI_ORDER_ANY); MODULE_DEPEND(zfsctrl, opensolaris, 1, 1, 1); +MODULE_DEPEND(zfsctrl, krpc, 1, 1, 1); ==== //depot/projects/vimage-commit/src/sys/compat/linux/linux_misc.c#15 (text+ko) ==== @@ -28,7 +28,7 @@ */ #include -__FBSDID("$FreeBSD: src/sys/compat/linux/linux_misc.c,v 1.236 2009/05/10 18:43:43 dchagin Exp $"); +__FBSDID("$FreeBSD: src/sys/compat/linux/linux_misc.c,v 1.237 2009/05/29 21:27:12 jamie Exp $"); #include "opt_compat.h" #include "opt_mac.h" @@ -64,7 +64,6 @@ #include #include #include -#include #include @@ -715,10 +714,10 @@ int linux_newuname(struct thread *td, struct linux_newuname_args *args) { - INIT_VPROCG(TD_TO_VPROCG(td)); struct l_new_utsname utsname; char osname[LINUX_MAX_UTSNAME]; char osrelease[LINUX_MAX_UTSNAME]; + struct prison *pr; char *p; #ifdef DEBUG @@ -741,9 +740,10 @@ } strlcpy(utsname.machine, linux_platform, LINUX_MAX_UTSNAME); - mtx_lock(&hostname_mtx); - strlcpy(utsname.domainname, V_domainname, LINUX_MAX_UTSNAME); - mtx_unlock(&hostname_mtx); + pr = td->td_ucred->cr_prison; + mtx_lock(&pr->pr_mtx); + strlcpy(utsname.domainname, pr->pr_domain, LINUX_MAX_UTSNAME); + mtx_unlock(&pr->pr_mtx); return (copyout(&utsname, args->buf, sizeof(utsname))); } ==== //depot/projects/vimage-commit/src/sys/compat/linux/linux_socket.c#14 (text+ko) ==== @@ -27,7 +27,7 @@ */ #include -__FBSDID("$FreeBSD: src/sys/compat/linux/linux_socket.c,v 1.92 2009/05/19 09:10:53 dchagin Exp $"); +__FBSDID("$FreeBSD: src/sys/compat/linux/linux_socket.c,v 1.95 2009/05/31 12:16:31 dchagin Exp $"); /* XXX we use functions that might not exist. */ #include "opt_compat.h" @@ -445,8 +445,6 @@ return (-1); } - - static int linux_to_bsd_msghdr(struct msghdr *bhdr, const struct l_msghdr *lhdr) { @@ -477,6 +475,24 @@ } static int +linux_set_socket_flags(struct thread *td, int s, int flags) +{ + int error; + + if (flags & LINUX_SOCK_NONBLOCK) { + error = kern_fcntl(td, s, F_SETFL, O_NONBLOCK); + if (error) + return (error); + } + if (flags & LINUX_SOCK_CLOEXEC) { + error = kern_fcntl(td, s, F_SETFD, FD_CLOEXEC); + if (error) + return (error); + } + return (0); +} + +static int linux_sendit(struct thread *td, int s, struct msghdr *mp, int flags, struct mbuf *control, enum uio_seg segflg) { @@ -610,21 +626,11 @@ if (retval_socket) return (retval_socket); - if (socket_flags & LINUX_SOCK_NONBLOCK) { - retval_socket = kern_fcntl(td, td->td_retval[0], - F_SETFL, O_NONBLOCK); - if (retval_socket) { - (void)kern_close(td, td->td_retval[0]); - goto out; - } - } - if (socket_flags & LINUX_SOCK_CLOEXEC) { - retval_socket = kern_fcntl(td, td->td_retval[0], - F_SETFD, FD_CLOEXEC); - if (retval_socket) { - (void)kern_close(td, td->td_retval[0]); - goto out; - } + retval_socket = linux_set_socket_flags(td, td->td_retval[0], + socket_flags); + if (retval_socket) { + (void)kern_close(td, td->td_retval[0]); + goto out; } if (bsd_args.type == SOCK_RAW @@ -878,12 +884,20 @@ int protocol; int *rsv; } */ bsd_args; + int error, socket_flags; + int sv[2]; bsd_args.domain = linux_to_bsd_domain(args->domain); if (bsd_args.domain != PF_LOCAL) return (EAFNOSUPPORT); - bsd_args.type = args->type; + socket_flags = args->type & ~LINUX_SOCK_TYPE_MASK; + if (socket_flags & ~(LINUX_SOCK_CLOEXEC | LINUX_SOCK_NONBLOCK)) + return (EINVAL); + bsd_args.type = args->type & LINUX_SOCK_TYPE_MASK; + if (bsd_args.type < 0 || bsd_args.type > LINUX_SOCK_MAX) + return (EINVAL); + if (args->protocol != 0 && args->protocol != PF_UNIX) /* @@ -896,7 +910,25 @@ else bsd_args.protocol = 0; bsd_args.rsv = (int *)PTRIN(args->rsv); - return (socketpair(td, &bsd_args)); + error = kern_socketpair(td, bsd_args.domain, bsd_args.type, + bsd_args.protocol, sv); + if (error) + return (error); + error = linux_set_socket_flags(td, sv[0], socket_flags); + if (error) + goto out; + error = linux_set_socket_flags(td, sv[1], socket_flags); + if (error) + goto out; + + error = copyout(sv, bsd_args.rsv, 2 * sizeof(int)); + +out: + if (error) { + (void)kern_close(td, sv[0]); + (void)kern_close(td, sv[1]); + } + return (error); } struct linux_send_args { ==== //depot/projects/vimage-commit/src/sys/compat/ndis/subr_usbd.c#6 (text+ko) ==== @@ -31,7 +31,7 @@ */ #include -__FBSDID("$FreeBSD: src/sys/compat/ndis/subr_usbd.c,v 1.12 2009/04/05 18:20:38 thompsa Exp $"); +__FBSDID("$FreeBSD: src/sys/compat/ndis/subr_usbd.c,v 1.14 2009/05/29 18:46:57 thompsa Exp $"); #include #include @@ -76,18 +76,18 @@ #include static driver_object usbd_driver; -static usb2_callback_t usbd_non_isoc_callback; -static usb2_callback_t usbd_ctrl_callback; +static usb_callback_t usbd_non_isoc_callback; +static usb_callback_t usbd_ctrl_callback; #define USBD_CTRL_READ_PIPE 0 #define USBD_CTRL_WRITE_PIPE 1 #define USBD_CTRL_MAX_PIPE 2 #define USBD_CTRL_READ_BUFFER_SP 256 #define USBD_CTRL_READ_BUFFER_SIZE \ - (sizeof(struct usb2_device_request) + USBD_CTRL_READ_BUFFER_SP) + (sizeof(struct usb_device_request) + USBD_CTRL_READ_BUFFER_SP) #define USBD_CTRL_WRITE_BUFFER_SIZE \ - (sizeof(struct usb2_device_request)) -static struct usb2_config usbd_default_epconfig[USBD_CTRL_MAX_PIPE] = { + (sizeof(struct usb_device_request)) +static struct usb_config usbd_default_epconfig[USBD_CTRL_MAX_PIPE] = { [USBD_CTRL_READ_PIPE] = { .type = UE_CONTROL, .endpoint = 0x00, /* control pipe */ @@ -114,11 +114,11 @@ static int32_t usbd_func_vendorclass(irp *); static int32_t usbd_func_selconf(irp *); static int32_t usbd_func_abort_pipe(irp *); -static usb2_error_t usbd_setup_endpoint(irp *, uint8_t, - struct usb2_endpoint_descriptor *); -static usb2_error_t usbd_setup_endpoint_default(irp *, uint8_t); -static usb2_error_t usbd_setup_endpoint_one(irp *, uint8_t, - struct ndisusb_ep *, struct usb2_config *); +static usb_error_t usbd_setup_endpoint(irp *, uint8_t, + struct usb_endpoint_descriptor *); +static usb_error_t usbd_setup_endpoint_default(irp *, uint8_t); +static usb_error_t usbd_setup_endpoint_one(irp *, uint8_t, + struct ndisusb_ep *, struct usb_config *); static int32_t usbd_func_getdesc(irp *); static union usbd_urb *usbd_geturb(irp *); static struct ndisusb_ep*usbd_get_ndisep(irp *, usb_endpoint_descriptor_t *); @@ -353,7 +353,7 @@ return (STATUS_FAILURE); } -/* Convert FreeBSD's usb2_error_t to USBD_STATUS */ +/* Convert FreeBSD's usb_error_t to USBD_STATUS */ static int32_t usbd_usb2urb(int status) { @@ -463,7 +463,7 @@ uint32_t len; union usbd_urb *urb; usb_config_descriptor_t *cdp; - usb2_error_t status; + usb_error_t status; urb = usbd_geturb(ip); ctldesc = &urb->uu_ctldesc; @@ -519,15 +519,15 @@ device_t dev = IRP_NDIS_DEV(ip); int i, j; struct ndis_softc *sc = device_get_softc(dev); - struct usb2_device *udev = sc->ndisusb_dev; - struct usb2_pipe *p = NULL; + struct usb_device *udev = sc->ndisusb_dev; + struct usb_pipe *p = NULL; struct usbd_interface_information *intf; struct usbd_pipe_information *pipe; struct usbd_urb_select_configuration *selconf; union usbd_urb *urb; usb_config_descriptor_t *conf; usb_endpoint_descriptor_t *edesc; - usb2_error_t ret; + usb_error_t ret; urb = usbd_geturb(ip); @@ -592,17 +592,17 @@ return USBD_STATUS_SUCCESS; } -static usb2_error_t +static usb_error_t usbd_setup_endpoint_one(ip, ifidx, ne, epconf) irp *ip; uint8_t ifidx; struct ndisusb_ep *ne; - struct usb2_config *epconf; + struct usb_config *epconf; { device_t dev = IRP_NDIS_DEV(ip); struct ndis_softc *sc = device_get_softc(dev); - struct usb2_xfer *xfer; - usb2_error_t status; + struct usb_xfer *xfer; + usb_error_t status; InitializeListHead(&ne->ne_active); InitializeListHead(&ne->ne_pending); @@ -621,14 +621,14 @@ return (status); } >>> TRUNCATED FOR MAIL (1000 lines) <<< From marinosi at FreeBSD.org Sun May 31 18:28:51 2009 From: marinosi at FreeBSD.org (Ilias Marinos) Date: Sun May 31 18:28:59 2009 Subject: PERFORCE change 163188 for review Message-ID: <200905311828.n4VISorE019427@repoman.freebsd.org> http://perforce.freebsd.org/chv.cgi?CH=163188 Change 163188 by marinosi@marinosi_redrum on 2009/05/31 18:27:53 -Towards a slice based audit system. The standard audit system is the base slice. -Slice's device skeleton moved in //sys/security/audit as rwatson suggested. NOT tested. Affected files ... .. //depot/projects/soc2009/marinosi_appaudit/src/sys/bsm/audit.h#2 edit .. //depot/projects/soc2009/marinosi_appaudit/src/sys/security/appaudit/audit_slice_dev.c#2 delete .. //depot/projects/soc2009/marinosi_appaudit/src/sys/security/appaudit/audit_slice_private.h#2 delete .. //depot/projects/soc2009/marinosi_appaudit/src/sys/security/audit/audit.c#2 edit .. //depot/projects/soc2009/marinosi_appaudit/src/sys/security/audit/audit.h#2 edit .. //depot/projects/soc2009/marinosi_appaudit/src/sys/security/audit/audit_arg.c#2 edit .. //depot/projects/soc2009/marinosi_appaudit/src/sys/security/audit/audit_private.h#2 edit .. //depot/projects/soc2009/marinosi_appaudit/src/sys/security/audit/audit_slice.c#1 add .. //depot/projects/soc2009/marinosi_appaudit/src/sys/security/audit/audit_slice.h#1 add .. //depot/projects/soc2009/marinosi_appaudit/src/sys/security/audit/audit_syscalls.c#2 edit .. //depot/projects/soc2009/marinosi_appaudit/src/sys/security/audit/audit_worker.c#2 edit Differences ... ==== //depot/projects/soc2009/marinosi_appaudit/src/sys/bsm/audit.h#2 (text) ==== @@ -126,6 +126,9 @@ #define A_SETQCTRL 36 #define A_GETCOND 37 #define A_SETCOND 38 +#define A_CREATESLICE 39 +#define A_UPDATESLICE 40 +#define A_REMOVESLICE 41 /* * Audit policy controls. ==== //depot/projects/soc2009/marinosi_appaudit/src/sys/security/audit/audit.c#2 (text) ==== @@ -70,6 +70,8 @@ #include #include +#include + #include static uma_zone_t audit_record_zone; @@ -81,83 +83,10 @@ SYSCTL_NODE(_security, OID_AUTO, audit, CTLFLAG_RW, 0, "TrustedBSD audit controls"); -/* - * Audit control settings that are set/read by system calls and are hence - * non-static. - * - * Define the audit control flags. - */ -int audit_enabled; -int audit_suspended; -/* - * Flags controlling behavior in low storage situations. Should we panic if - * a write fails? Should we fail stop if we're out of disk space? - */ -int audit_panic_on_write_fail; -int audit_fail_stop; -int audit_argv; -int audit_arge; - -/* - * Are we currently "failing stop" due to out of disk space? - */ -int audit_in_failure; - -/* - * Global audit statistics. - */ -struct audit_fstat audit_fstat; - -/* - * Preselection mask for non-attributable events. - */ -struct au_mask audit_nae_mask; - +struct audit_slice base_slice; +struct audit_slice *audit_base_slice = &base_slice; /* - * Mutex to protect global variables shared between various threads and - * processes. - */ -struct mtx audit_mtx; - -/* - * Queue of audit records ready for delivery to disk. We insert new records - * at the tail, and remove records from the head. Also, a count of the - * number of records used for checking queue depth. In addition, a counter - * of records that we have allocated but are not yet in the queue, which is - * needed to estimate the total size of the combined set of records - * outstanding in the system. - */ -struct kaudit_queue audit_q; -int audit_q_len; -int audit_pre_q_len; - -/* - * Audit queue control settings (minimum free, low/high water marks, etc.) - */ -struct au_qctrl audit_qctrl; - -/* - * Condition variable to signal to the worker that it has work to do: either - * new records are in the queue, or a log replacement is taking place. - */ -struct cv audit_worker_cv; - -/* - * Condition variable to flag when crossing the low watermark, meaning that - * threads blocked due to hitting the high watermark can wake up and continue - * to commit records. - */ -struct cv audit_watermark_cv; - -/* - * Condition variable for auditing threads wait on when in fail-stop mode. - * Threads wait on this CV forever (and ever), never seeing the light of day - * again. - */ -static struct cv audit_fail_cv; - -/* * Kernel audit information. This will store the current audit address * or host information that the kernel will use when it's generating * audit records. This data is modified by the A_GET{SET}KAUDIT auditon(2) @@ -261,38 +190,42 @@ * call into the BSM assembly code to initialize it. */ static void -audit_init(void) +audit_init(void *arg) { - audit_enabled = 0; - audit_suspended = 0; - audit_panic_on_write_fail = 0; - audit_fail_stop = 0; - audit_in_failure = 0; - audit_argv = 0; - audit_arge = 0; + struct audit_slice *as = (struct audit_slice *) arg; + + as->audit_enabled = 0; + as->audit_suspended = 0; + as->audit_panic_on_write_fail = 0; + as->audit_fail_stop = 0; + as->audit_in_failure = 0; + as->audit_argv = 0; + as->audit_arge = 0; + + - audit_fstat.af_filesz = 0; /* '0' means unset, unbounded. */ - audit_fstat.af_currsz = 0; - audit_nae_mask.am_success = 0; - audit_nae_mask.am_failure = 0; + as->audit_fstat.af_filesz = 0; /* '0' means unset, unbounded. */ + as->audit_fstat.af_currsz = 0; + as->audit_nae_mask.am_success = 0; + as->audit_nae_mask.am_failure = 0; - TAILQ_INIT(&audit_q); - audit_q_len = 0; - audit_pre_q_len = 0; - audit_qctrl.aq_hiwater = AQ_HIWATER; - audit_qctrl.aq_lowater = AQ_LOWATER; - audit_qctrl.aq_bufsz = AQ_BUFSZ; - audit_qctrl.aq_minfree = AU_FS_MINFREE; + TAILQ_INIT(&(as->audit_q)); + as->audit_q_len = 0; + as->audit_pre_q_len = 0; + as->audit_qctrl.aq_hiwater = AQ_HIWATER; + as->audit_qctrl.aq_lowater = AQ_LOWATER; + as->audit_qctrl.aq_bufsz = AQ_BUFSZ; + as->audit_qctrl.aq_minfree = AU_FS_MINFREE; audit_kinfo.ai_termid.at_type = AU_IPv4; audit_kinfo.ai_termid.at_addr[0] = INADDR_ANY; - mtx_init(&audit_mtx, "audit_mtx", NULL, MTX_DEF); + mtx_init(&(as->audit_mtx), "audit_mtx", NULL, MTX_DEF); KINFO_LOCK_INIT(); - cv_init(&audit_worker_cv, "audit_worker_cv"); - cv_init(&audit_watermark_cv, "audit_watermark_cv"); - cv_init(&audit_fail_cv, "audit_fail_cv"); + cv_init(&(as->audit_worker_cv), "audit_worker_cv"); + cv_init(&(as->audit_watermark_cv), "audit_watermark_cv"); + cv_init(&(as->audit_fail_cv), "audit_fail_cv"); audit_record_zone = uma_zcreate("audit_record", sizeof(struct kaudit_record), audit_record_ctor, @@ -308,10 +241,11 @@ SHUTDOWN_PRI_FIRST); /* Start audit worker thread. */ - audit_worker_init(); + audit_worker_init(as); } -SYSINIT(audit_init, SI_SUB_AUDIT, SI_ORDER_FIRST, audit_init, NULL); +/* Init the base slice */ +SYSINIT(audit_init, SI_SUB_AUDIT, SI_ORDER_FIRST, audit_init, &audit_base_slice); /* * Drain the audit queue and close the log at shutdown. Note that this can @@ -352,9 +286,10 @@ struct kaudit_record *ar; int no_record; - mtx_lock(&audit_mtx); - no_record = (audit_suspended || !audit_enabled); - mtx_unlock(&audit_mtx); + mtx_lock(&(audit_base_slice->audit_mtx)); + no_record = (&(audit_base_slice->audit_suspended) || + !(audit_base_slice->audit_enabled)); + mtx_unlock(&(audit_base_slice->audit_mtx)); if (no_record) return (NULL); @@ -366,9 +301,9 @@ ar = uma_zalloc_arg(audit_record_zone, td, M_WAITOK); ar->k_ar.ar_event = event; - mtx_lock(&audit_mtx); - audit_pre_q_len++; - mtx_unlock(&audit_mtx); + mtx_lock(&(audit_base_slice->audit_mtx)); + audit_base_slice->audit_pre_q_len++; + mtx_unlock(&(audit_base_slice->audit_mtx)); return (ar); } @@ -397,7 +332,7 @@ * value from the system call and using the appropriate audit mask. */ if (ar->k_ar.ar_subj_auid == AU_DEFAUDITID) - aumask = &audit_nae_mask; + aumask = &(audit_base_slice->audit_nae_mask); else aumask = &ar->k_ar.ar_subj_amask; @@ -440,9 +375,9 @@ ar->k_ar_commit |= AR_PRESELECT_PIPE; if ((ar->k_ar_commit & (AR_PRESELECT_TRAIL | AR_PRESELECT_PIPE | AR_PRESELECT_USER_TRAIL | AR_PRESELECT_USER_PIPE)) == 0) { - mtx_lock(&audit_mtx); - audit_pre_q_len--; - mtx_unlock(&audit_mtx); + mtx_lock(&(audit_base_slice->audit_mtx)); + audit_base_slice->audit_pre_q_len--; + mtx_unlock(&(audit_base_slice->audit_mtx)); audit_free(ar); return; } @@ -455,10 +390,11 @@ * Note: it could be that some records initiated while audit was * enabled should still be committed? */ - mtx_lock(&audit_mtx); - if (audit_suspended || !audit_enabled) { - audit_pre_q_len--; - mtx_unlock(&audit_mtx); + mtx_lock(&(audit_base_slice->audit_mtx)); + if (audit_base_slice->audit_suspended + || !audit_base_slice->audit_enabled) { + audit_base_slice->audit_pre_q_len--; + mtx_unlock(&(audit_base_slice->audit_mtx)); audit_free(ar); return; } @@ -467,14 +403,16 @@ * Constrain the number of committed audit records based on the * configurable parameter. */ - while (audit_q_len >= audit_qctrl.aq_hiwater) - cv_wait(&audit_watermark_cv, &audit_mtx); + while (audit_base_slice->audit_q_len >= + audit_base_slice->audit_qctrl.aq_hiwater) + cv_wait(&(audit_base_slice->audit_watermark_cv), + &(audit_base_slice->audit_mtx)); - TAILQ_INSERT_TAIL(&audit_q, ar, k_q); - audit_q_len++; - audit_pre_q_len--; - cv_signal(&audit_worker_cv); - mtx_unlock(&audit_mtx); + TAILQ_INSERT_TAIL(&(audit_base_slice->audit_q), ar, k_q); + audit_base_slice->audit_q_len++; + audit_base_slice->audit_pre_q_len--; + cv_signal(&(audit_base_slice->audit_worker_cv)); + mtx_unlock(&(audit_base_slice->audit_mtx)); } /* @@ -516,7 +454,7 @@ */ auid = td->td_ucred->cr_audit.ai_auid; if (auid == AU_DEFAUDITID) - aumask = &audit_nae_mask; + aumask = &(audit_base_slice->audit_nae_mask); else aumask = &td->td_ucred->cr_audit.ai_mask; @@ -538,9 +476,10 @@ * audit record is still required for this event by * re-calling au_preselect(). */ - if (audit_in_failure && + if (audit_base_slice->audit_in_failure && priv_check(td, PRIV_AUDIT_FAILSTOP) != 0) { - cv_wait(&audit_fail_cv, &audit_mtx); + cv_wait(&(audit_base_slice->audit_fail_cv), + &(audit_base_slice->audit_mtx)); panic("audit_failing_stop: thread continued"); } td->td_ar = audit_new(event, td); @@ -656,7 +595,7 @@ cred = td->td_ucred; auid = cred->cr_audit.ai_auid; if (auid == AU_DEFAUDITID) - aumask = &audit_nae_mask; + aumask = &(audit_base_slice->audit_nae_mask); else aumask = &cred->cr_audit.ai_mask; /* ==== //depot/projects/soc2009/marinosi_appaudit/src/sys/security/audit/audit.h#2 (text) ==== @@ -191,7 +191,7 @@ } while (0) #define AUDIT_SYSCALL_ENTER(code, td) do { \ - if (audit_enabled) { \ + if (audit_base_slice->audit_enabled) { \ audit_syscall_enter(code, td); \ } \ } while (0) ==== //depot/projects/soc2009/marinosi_appaudit/src/sys/security/audit/audit_arg.c#2 (text) ==== @@ -50,6 +50,8 @@ #include #include +#include + /* * Calls to manipulate elements of the audit record structure from system * call code. Macro wrappers will prevent this functions from being entered @@ -791,7 +793,7 @@ { struct kaudit_record *ar; - if (audit_argv == 0) + if (audit_base_slice->audit_argv == 0) return; ar = currecord(); @@ -812,7 +814,7 @@ { struct kaudit_record *ar; - if (audit_arge == 0) + if (audit_base_slice->audit_arge == 0) return; ar = currecord(); ==== //depot/projects/soc2009/marinosi_appaudit/src/sys/security/audit/audit_private.h#2 (text) ==== @@ -346,9 +346,6 @@ struct kaudit_record *currecord(void); void audit_free(struct kaudit_record *ar); void audit_shutdown(void *arg, int howto); -void audit_rotate_vnode(struct ucred *cred, - struct vnode *vp); -void audit_worker_init(void); /* * Audit pipe functions. ==== //depot/projects/soc2009/marinosi_appaudit/src/sys/security/audit/audit_syscalls.c#2 (text) ==== @@ -49,6 +49,8 @@ #include #include +#include + #ifdef AUDIT /* @@ -74,7 +76,8 @@ if (error) return (error); - if ((uap->length <= 0) || (uap->length > audit_qctrl.aq_bufsz)) + if ((uap->length <= 0) || (uap->length > + audit_base_slice->audit_qctrl.aq_bufsz)) return (EINVAL); ar = currecord(); @@ -218,25 +221,25 @@ case A_OLDGETPOLICY: case A_GETPOLICY: if (uap->length == sizeof(udata.au_policy64)) { - if (!audit_fail_stop) + if (!audit_base_slice->audit_fail_stop) udata.au_policy64 |= AUDIT_CNT; - if (audit_panic_on_write_fail) + if (audit_base_slice->audit_panic_on_write_fail) udata.au_policy64 |= AUDIT_AHLT; - if (audit_argv) + if (audit_base_slice->audit_argv) udata.au_policy64 |= AUDIT_ARGV; - if (audit_arge) + if (audit_base_slice->audit_arge) udata.au_policy64 |= AUDIT_ARGE; break; } if (uap->length != sizeof(udata.au_policy)) return (EINVAL); - if (!audit_fail_stop) + if (!audit_base_slice->audit_fail_stop) udata.au_policy |= AUDIT_CNT; - if (audit_panic_on_write_fail) + if (audit_base_slice->audit_panic_on_write_fail) udata.au_policy |= AUDIT_AHLT; - if (audit_argv) + if (audit_base_slice->audit_argv) udata.au_policy |= AUDIT_ARGV; - if (audit_arge) + if (audit_base_slice->audit_arge) udata.au_policy |= AUDIT_ARGE; break; @@ -246,12 +249,14 @@ if (udata.au_policy & (~AUDIT_CNT|AUDIT_AHLT| AUDIT_ARGV|AUDIT_ARGE)) return (EINVAL); - audit_fail_stop = ((udata.au_policy64 & AUDIT_CNT) == - 0); - audit_panic_on_write_fail = (udata.au_policy64 & - AUDIT_AHLT); - audit_argv = (udata.au_policy64 & AUDIT_ARGV); - audit_arge = (udata.au_policy64 & AUDIT_ARGE); + audit_base_slice->audit_fail_stop = ((udata.au_policy64 + & AUDIT_CNT) == 0); + audit_base_slice->audit_panic_on_write_fail = + (udata.au_policy64 & AUDIT_AHLT); + audit_base_slice->audit_argv = (udata.au_policy64 + & AUDIT_ARGV); + audit_base_slice->audit_arge = (udata.au_policy64 + & AUDIT_ARGE); break; } if (uap->length != sizeof(udata.au_policy)) @@ -262,40 +267,44 @@ /* * XXX - Need to wake up waiters if the policy relaxes? */ - audit_fail_stop = ((udata.au_policy & AUDIT_CNT) == 0); - audit_panic_on_write_fail = (udata.au_policy & AUDIT_AHLT); - audit_argv = (udata.au_policy & AUDIT_ARGV); - audit_arge = (udata.au_policy & AUDIT_ARGE); + audit_base_slice->audit_fail_stop = + ((udata.au_policy & AUDIT_CNT) == 0); + audit_base_slice->audit_panic_on_write_fail = + (udata.au_policy & AUDIT_AHLT); + audit_base_slice->audit_argv = + (udata.au_policy & AUDIT_ARGV); + audit_base_slice->audit_arge = + (udata.au_policy & AUDIT_ARGE); break; case A_GETKMASK: if (uap->length != sizeof(udata.au_mask)) return (EINVAL); - udata.au_mask = audit_nae_mask; + udata.au_mask = audit_base_slice->audit_nae_mask; break; case A_SETKMASK: if (uap->length != sizeof(udata.au_mask)) return (EINVAL); - audit_nae_mask = udata.au_mask; + audit_base_slice->audit_nae_mask = udata.au_mask; break; case A_OLDGETQCTRL: case A_GETQCTRL: if (uap->length == sizeof(udata.au_qctrl64)) { udata.au_qctrl64.aq64_hiwater = - (u_int64_t)audit_qctrl.aq_hiwater; + (u_int64_t)audit_base_slice->audit_qctrl.aq_hiwater; udata.au_qctrl64.aq64_lowater = - (u_int64_t)audit_qctrl.aq_lowater; + (u_int64_t)audit_base_slice->audit_qctrl.aq_lowater; udata.au_qctrl64.aq64_bufsz = - (u_int64_t)audit_qctrl.aq_bufsz; + (u_int64_t)audit_base_slice->audit_qctrl.aq_bufsz; udata.au_qctrl64.aq64_minfree = - (u_int64_t)audit_qctrl.aq_minfree; + (u_int64_t)audit_base_slice->audit_qctrl.aq_minfree; break; } if (uap->length != sizeof(udata.au_qctrl)) return (EINVAL); - udata.au_qctrl = audit_qctrl; + udata.au_qctrl = audit_base_slice->audit_qctrl; break; case A_OLDSETQCTRL: @@ -308,15 +317,16 @@ (udata.au_qctrl64.aq64_minfree < 0) || (udata.au_qctrl64.aq64_minfree > 100)) return (EINVAL); - audit_qctrl.aq_hiwater = + audit_base_slice->audit_qctrl.aq_hiwater = (int)udata.au_qctrl64.aq64_hiwater; - audit_qctrl.aq_lowater = + audit_base_slice->audit_qctrl.aq_lowater = (int)udata.au_qctrl64.aq64_lowater; - audit_qctrl.aq_bufsz = + audit_base_slice->audit_qctrl.aq_bufsz = (int)udata.au_qctrl64.aq64_bufsz; - audit_qctrl.aq_minfree = + audit_base_slice->audit_qctrl.aq_minfree = (int)udata.au_qctrl64.aq64_minfree; - audit_qctrl.aq_delay = -1; /* Not used. */ + /* Not used. */ + audit_base_slice->audit_qctrl.aq_delay = -1; break; } if (uap->length != sizeof(udata.au_qctrl)) @@ -328,9 +338,9 @@ (udata.au_qctrl.aq_minfree > 100)) return (EINVAL); - audit_qctrl = udata.au_qctrl; + audit_base_slice->audit_qctrl = udata.au_qctrl; /* XXX The queue delay value isn't used with the kernel. */ - audit_qctrl.aq_delay = -1; + audit_base_slice->audit_qctrl.aq_delay = -1; break; case A_GETCWD: @@ -360,7 +370,8 @@ case A_OLDGETCOND: case A_GETCOND: if (uap->length == sizeof(udata.au_cond64)) { - if (audit_enabled && !audit_suspended) + if (audit_base_slice->audit_enabled + && !audit_base_slice->audit_suspended) udata.au_cond64 = AUC_AUDITING; else udata.au_cond64 = AUC_NOAUDIT; @@ -368,7 +379,8 @@ } if (uap->length != sizeof(udata.au_cond)) return (EINVAL); - if (audit_enabled && !audit_suspended) + if (audit_base_slice->audit_enabled + && !audit_base_slice->audit_suspended) udata.au_cond = AUC_AUDITING; else udata.au_cond = AUC_NOAUDIT; @@ -378,11 +390,11 @@ case A_SETCOND: if (uap->length == sizeof(udata.au_cond64)) { if (udata.au_cond64 == AUC_NOAUDIT) - audit_suspended = 1; + audit_base_slice->audit_suspended = 1; if (udata.au_cond64 == AUC_AUDITING) - audit_suspended = 0; + audit_base_slice->audit_suspended = 0; if (udata.au_cond64 == AUC_DISABLED) { - audit_suspended = 1; + audit_base_slice->audit_suspended = 1; audit_shutdown(NULL, 0); } break; @@ -390,11 +402,11 @@ if (uap->length != sizeof(udata.au_cond)) return (EINVAL); if (udata.au_cond == AUC_NOAUDIT) - audit_suspended = 1; + audit_base_slice->audit_suspended = 1; if (udata.au_cond == AUC_AUDITING) - audit_suspended = 0; + audit_base_slice->audit_suspended = 0; if (udata.au_cond == AUC_DISABLED) { - audit_suspended = 1; + audit_base_slice->audit_suspended = 1; audit_shutdown(NULL, 0); } break; @@ -474,14 +486,17 @@ if ((udata.au_fstat.af_filesz != 0) && (udata.au_fstat.af_filesz < MIN_AUDIT_FILE_SIZE)) return (EINVAL); - audit_fstat.af_filesz = udata.au_fstat.af_filesz; + audit_base_slice->audit_fstat.af_filesz + = udata.au_fstat.af_filesz; break; case A_GETFSIZE: if (uap->length != sizeof(udata.au_fstat)) return (EINVAL); - udata.au_fstat.af_filesz = audit_fstat.af_filesz; - udata.au_fstat.af_currsz = audit_fstat.af_currsz; + udata.au_fstat.af_filesz + = audit_base_slice->audit_fstat.af_filesz; + udata.au_fstat.af_currsz + = audit_base_slice->audit_fstat.af_currsz; break; case A_GETPINFO_ADDR: @@ -525,6 +540,21 @@ return (EINVAL); return (audit_send_trigger(udata.au_trigger)); + case A_CREATESLICE: + //if (uap->length != sizeof(udata.au_slice)) + // return (EINVAL); + return (0); + + case A_UPDATESLICE: + //if (uap->length != sizeof(udata.au_slice)) + // return (EINVAL); + return (0); + + case A_REMOVESLICE: + //if (uap->length != sizeof(udata.au_slice)) + // return (EINVAL); + return (0); + default: return (EINVAL); } @@ -805,7 +835,7 @@ * XXXAUDIT: Should audit_suspended actually be cleared by * audit_worker? */ - audit_suspended = 0; + audit_base_slice->audit_suspended = 0; audit_rotate_vnode(cred, vp); ==== //depot/projects/soc2009/marinosi_appaudit/src/sys/security/audit/audit_worker.c#2 (text) ==== @@ -69,33 +69,20 @@ #include #include +#include + #include -/* - * Worker thread that will schedule disk I/O, etc. - */ -static struct proc *audit_thread; /* - * audit_cred and audit_vp are the stored credential and vnode to use for - * active audit trail. They are protected by the audit worker lock, which - * will be held across all I/O and all rotation to prevent them from being - * replaced (rotated) while in use. The audit_file_rotate_wait flag is set - * when the kernel has delivered a trigger to auditd to rotate the trail, and - * is cleared when the next rotation takes place. It is also protected by - * the audit worker lock. + * Slice-worker private mtx handling macros */ -static int audit_file_rotate_wait; -static struct ucred *audit_cred; -static struct vnode *audit_vp; -static struct sx audit_worker_lock; - -#define AUDIT_WORKER_LOCK_INIT() sx_init(&audit_worker_lock, \ +#define AUDIT_WORKER_LOCK_INIT() sx_init(&(as->audit_worker_lock), \ "audit_worker_lock"); -#define AUDIT_WORKER_LOCK_ASSERT() sx_assert(&audit_worker_lock, \ +#define AUDIT_WORKER_LOCK_ASSERT() sx_assert(&(as->audit_worker_lock), \ SA_XLOCKED) -#define AUDIT_WORKER_LOCK() sx_xlock(&audit_worker_lock) -#define AUDIT_WORKER_UNLOCK() sx_xunlock(&audit_worker_lock) +#define AUDIT_WORKER_LOCK() sx_xlock(&(as->audit_worker_lock)) +#define AUDIT_WORKER_UNLOCK() sx_xunlock(&(as->audit_worker_lock)) /* * Write an audit record to a file, performed as the last stage after both @@ -106,7 +93,7 @@ * the audit daemon, since the message is asynchronous anyway. */ static void -audit_record_write(struct vnode *vp, struct ucred *cred, void *data, +audit_record_write(struct audit_slice *as, void *data, size_t len) { static struct timeval last_lowspace_trigger; @@ -120,26 +107,26 @@ AUDIT_WORKER_LOCK_ASSERT(); - if (vp == NULL) + if (as->audit_vp == NULL) return; - mnt_stat = &vp->v_mount->mnt_stat; - vfslocked = VFS_LOCK_GIANT(vp->v_mount); + mnt_stat = &as->audit_vp->v_mount->mnt_stat; + vfslocked = VFS_LOCK_GIANT(as->audit_vp->v_mount); /* * First, gather statistics on the audit log file and file system so * that we know how we're doing on space. Consider failure of these * operations to indicate a future inability to write to the file. */ - error = VFS_STATFS(vp->v_mount, mnt_stat, curthread); + error = VFS_STATFS(as->audit_vp->v_mount, mnt_stat, curthread); if (error) goto fail; - vn_lock(vp, LK_EXCLUSIVE | LK_RETRY); - error = VOP_GETATTR(vp, &vattr, cred); - VOP_UNLOCK(vp, 0); + vn_lock(as->audit_vp, LK_EXCLUSIVE | LK_RETRY); + error = VOP_GETATTR(as->audit_vp, &vattr, as->audit_cred); + VOP_UNLOCK(as->audit_vp, 0); if (error) goto fail; - audit_fstat.af_currsz = vattr.va_size; + as->audit_fstat.af_currsz = vattr.va_size; /* * We handle four different space-related limits: @@ -177,16 +164,16 @@ * the daemon a trigger and continue processing the record. Triggers * are limited to 1/sec. */ - if (audit_qctrl.aq_minfree != 0) { - temp = mnt_stat->f_blocks / (100 / audit_qctrl.aq_minfree); + if (as->audit_qctrl.aq_minfree != 0) { + temp = mnt_stat->f_blocks / (100 / as->audit_qctrl.aq_minfree); if (mnt_stat->f_bfree < temp) { if (ppsratecheck(&last_lowspace_trigger, &cur_lowspace_trigger, 1)) { (void)audit_send_trigger( AUDIT_TRIGGER_LOW_SPACE); printf("Warning: disk space low (< %d%% free) " - "on audit log file-system\n", - audit_qctrl.aq_minfree); + "on audit log file-system for %s slice.\n", + as->audit_qctrl.aq_minfree, as->as_name); } } } @@ -196,11 +183,11 @@ * to the daemon. This is only approximate, which is fine as more * records may be generated before the daemon rotates the file. */ - if ((audit_fstat.af_filesz != 0) && (audit_file_rotate_wait == 0) && - (vattr.va_size >= audit_fstat.af_filesz)) { + if ((as->audit_fstat.af_filesz != 0) && (as->audit_file_rotate_wait == 0) && + (vattr.va_size >= as->audit_fstat.af_filesz)) { AUDIT_WORKER_LOCK_ASSERT(); - audit_file_rotate_wait = 1; + as->audit_file_rotate_wait = 1; (void)audit_send_trigger(AUDIT_TRIGGER_ROTATE_KERNEL); } @@ -215,16 +202,16 @@ * allow operation to continue, but this behavior is sufficient to * meet fail stop requirements in CAPP. */ - if (audit_fail_stop) { - if ((unsigned long)((audit_q_len + audit_pre_q_len + 1) * + if (as->audit_fail_stop) { + if ((unsigned long)((as->audit_q_len + as->audit_pre_q_len + 1) * MAX_AUDIT_RECORD_SIZE) / mnt_stat->f_bsize >= (unsigned long)(mnt_stat->f_bfree)) { if (ppsratecheck(&last_fail, &cur_fail, 1)) printf("audit_record_write: free space " - "below size of audit queue, failing " - "stop\n"); - audit_in_failure = 1; - } else if (audit_in_failure) { + "below size of audit queue, %s slice failing " + "stop\n", as->as_name); + as->audit_in_failure = 1; + } else if (as->audit_in_failure) { /* * Note: if we want to handle recovery, this is the * spot to do it: unset audit_in_failure, and issue a @@ -233,8 +220,8 @@ } } - error = vn_rdwr(UIO_WRITE, vp, data, len, (off_t)0, UIO_SYSSPACE, - IO_APPEND|IO_UNIT, cred, NULL, NULL, curthread); + error = vn_rdwr(UIO_WRITE, as->audit_vp, data, len, (off_t)0, UIO_SYSSPACE, + IO_APPEND|IO_UNIT, as->audit_cred, NULL, NULL, curthread); if (error == ENOSPC) goto fail_enospc; else if (error) @@ -249,11 +236,11 @@ * Note: if we handle recovery from audit_in_failure, then we need to * make panic here conditional. */ - if (audit_in_failure) { - if (audit_q_len == 0 && audit_pre_q_len == 0) { - VOP_LOCK(vp, LK_EXCLUSIVE | LK_RETRY); - (void)VOP_FSYNC(vp, MNT_WAIT, curthread); - VOP_UNLOCK(vp, 0); + if (as->audit_in_failure) { + if (as->audit_q_len == 0 && as->audit_pre_q_len == 0) { + VOP_LOCK(as->audit_vp, LK_EXCLUSIVE | LK_RETRY); + (void)VOP_FSYNC(as->audit_vp, MNT_WAIT, curthread); + VOP_UNLOCK(as->audit_vp, 0); panic("Audit store overflow; record queue drained."); } } @@ -267,14 +254,14 @@ * this can reflect either our preemptive detection of insufficient * space, or ENOSPC returned by the vnode write call. */ - if (audit_fail_stop) { - VOP_LOCK(vp, LK_EXCLUSIVE | LK_RETRY); - (void)VOP_FSYNC(vp, MNT_WAIT, curthread); - VOP_UNLOCK(vp, 0); + if (as->audit_fail_stop) { + VOP_LOCK(as->audit_vp, LK_EXCLUSIVE | LK_RETRY); + (void)VOP_FSYNC(as->audit_vp, MNT_WAIT, curthread); + VOP_UNLOCK(as->audit_vp, 0); panic("Audit log space exhausted and fail-stop set."); } (void)audit_send_trigger(AUDIT_TRIGGER_NO_SPACE); - audit_suspended = 1; + as->audit_suspended = 1; /* FALLTHROUGH */ fail: @@ -282,10 +269,10 @@ * We have failed to write to the file, so the current record is * lost, which may require an immediate system halt. */ - if (audit_panic_on_write_fail) { - VOP_LOCK(vp, LK_EXCLUSIVE | LK_RETRY); - (void)VOP_FSYNC(vp, MNT_WAIT, curthread); - VOP_UNLOCK(vp, 0); + if (as->audit_panic_on_write_fail) { + VOP_LOCK(as->audit_vp, LK_EXCLUSIVE | LK_RETRY); + (void)VOP_FSYNC(as->audit_vp, MNT_WAIT, curthread); + VOP_UNLOCK(as->audit_vp, 0); panic("audit_worker: write error %d\n", error); } else if (ppsratecheck(&last_fail, &cur_fail, 1)) printf("audit_worker: write error %d\n", error); @@ -300,7 +287,7 @@ * written to disk, and audit pipes. */ static void -audit_worker_process_record(struct kaudit_record *ar) +audit_worker_process_record(struct kaudit_record *ar, struct audit_slice *as) { struct au_record *bsm; au_class_t class; @@ -329,7 +316,7 @@ if ((ar->k_ar_commit & AR_COMMIT_USER) && (ar->k_ar_commit & AR_PRESELECT_USER_TRAIL)) { AUDIT_WORKER_LOCK_ASSERT(); - audit_record_write(audit_vp, audit_cred, ar->k_udata, + audit_record_write(as, ar->k_udata, ar->k_ulen); } @@ -368,7 +355,7 @@ if (ar->k_ar_commit & AR_PRESELECT_TRAIL) { AUDIT_WORKER_LOCK_ASSERT(); - audit_record_write(audit_vp, audit_cred, bsm->data, bsm->len); + audit_record_write(as, bsm->data, bsm->len); } if (ar->k_ar_commit & AR_PRESELECT_PIPE) @@ -398,16 +385,18 @@ struct kaudit_record *ar; int lowater_signal; + struct audit_slice *as = (struct audit_slice * ) arg; + TAILQ_INIT(&ar_worklist); - mtx_lock(&audit_mtx); + mtx_lock(&(as->audit_mtx)); while (1) { - mtx_assert(&audit_mtx, MA_OWNED); + mtx_assert(&(as->audit_mtx), MA_OWNED); /* * Wait for a record. */ - while (TAILQ_EMPTY(&audit_q)) - cv_wait(&audit_worker_cv, &audit_mtx); + while (TAILQ_EMPTY(&(as->audit_q))) + cv_wait(&(as->audit_worker_cv), &(as->audit_mtx)); /* * If there are records in the global audit record queue, @@ -417,23 +406,23 @@ * continue generating records. */ lowater_signal = 0; - while ((ar = TAILQ_FIRST(&audit_q))) { - TAILQ_REMOVE(&audit_q, ar, k_q); - audit_q_len--; - if (audit_q_len == audit_qctrl.aq_lowater) + while ((ar = TAILQ_FIRST(&(as->audit_q)))) { + TAILQ_REMOVE(&(as->audit_q), ar, k_q); + as->audit_q_len--; + if (as->audit_q_len == as->audit_qctrl.aq_lowater) lowater_signal++; TAILQ_INSERT_TAIL(&ar_worklist, ar, k_q); } if (lowater_signal) - cv_broadcast(&audit_watermark_cv); + cv_broadcast(&(as->audit_watermark_cv)); - mtx_unlock(&audit_mtx); + mtx_unlock(&(as->audit_mtx)); while ((ar = TAILQ_FIRST(&ar_worklist))) { TAILQ_REMOVE(&ar_worklist, ar, k_q); - audit_worker_process_record(ar); + audit_worker_process_record(ar, as); audit_free(ar); } - mtx_lock(&audit_mtx); + mtx_lock(&(as->audit_mtx)); } } @@ -451,8 +440,11 @@ { struct ucred *old_audit_cred; struct vnode *old_audit_vp; + struct audit_slice *as; int vfslocked; + as = audit_base_slice; + KASSERT((cred != NULL && vp != NULL) || (cred == NULL && vp == NULL), ("audit_rotate_vnode: cred %p vp %p", cred, vp)); @@ -461,12 +453,12 @@ * send a rotate trigger if the new file fills. */ AUDIT_WORKER_LOCK(); - old_audit_cred = audit_cred; - old_audit_vp = audit_vp; - audit_cred = cred; - audit_vp = vp; - audit_file_rotate_wait = 0; - audit_enabled = (audit_vp != NULL); + old_audit_cred = as->audit_cred; + old_audit_vp = as->audit_vp; + as->audit_cred = cred; + as->audit_vp = vp; + as->audit_file_rotate_wait = 0; + as->audit_enabled = (as->audit_vp != NULL); AUDIT_WORKER_UNLOCK(); /* @@ -482,13 +474,14 @@ } void -audit_worker_init(void) +audit_worker_init(void *arg) { int error; + struct audit_slice *as = (struct audit_slice * ) arg; AUDIT_WORKER_LOCK_INIT(); - error = kproc_create(audit_worker, NULL, &audit_thread, RFHIGHPID, - 0, "audit"); + error = kproc_create(audit_worker,(void *) as, &(as->audit_thread), RFHIGHPID, + 0, as->as_name); if (error) panic("audit_worker_init: kproc_create returned %d", error); } From thompsa at FreeBSD.org Sun May 31 18:43:06 2009 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Sun May 31 18:43:13 2009 Subject: PERFORCE change 163190 for review Message-ID: <200905311843.n4VIh5ne020829@repoman.freebsd.org> http://perforce.freebsd.org/chv.cgi?CH=163190 Change 163190 by thompsa@thompsa_burger on 2009/05/31 18:42:57 Rename usb pipes to endpoints as it better represents what they are. Affected files ... .. //depot/projects/usb_buf/src/sys/dev/usb/controller/at91dci.c#6 edit .. //depot/projects/usb_buf/src/sys/dev/usb/controller/atmegadci.c#6 edit .. //depot/projects/usb_buf/src/sys/dev/usb/controller/avr32dci.c#5 edit .. //depot/projects/usb_buf/src/sys/dev/usb/controller/ehci.c#6 edit .. //depot/projects/usb_buf/src/sys/dev/usb/controller/musb_otg.c#6 edit .. //depot/projects/usb_buf/src/sys/dev/usb/controller/ohci.c#6 edit .. //depot/projects/usb_buf/src/sys/dev/usb/controller/uhci.c#6 edit .. //depot/projects/usb_buf/src/sys/dev/usb/controller/uss820dci.c#6 edit .. //depot/projects/usb_buf/src/sys/dev/usb/serial/ugensa.c#6 edit .. //depot/projects/usb_buf/src/sys/dev/usb/serial/umct.c#6 edit .. //depot/projects/usb_buf/src/sys/dev/usb/storage/ustorage_fs.c#6 edit .. //depot/projects/usb_buf/src/sys/dev/usb/usb.h#3 edit .. //depot/projects/usb_buf/src/sys/dev/usb/usb_compat_linux.c#6 edit .. //depot/projects/usb_buf/src/sys/dev/usb/usb_compat_linux.h#5 edit .. //depot/projects/usb_buf/src/sys/dev/usb/usb_controller.h#5 edit .. //depot/projects/usb_buf/src/sys/dev/usb/usb_core.h#6 edit .. //depot/projects/usb_buf/src/sys/dev/usb/usb_debug.c#5 edit .. //depot/projects/usb_buf/src/sys/dev/usb/usb_debug.h#4 edit .. //depot/projects/usb_buf/src/sys/dev/usb/usb_dev.c#6 edit .. //depot/projects/usb_buf/src/sys/dev/usb/usb_device.c#6 edit .. //depot/projects/usb_buf/src/sys/dev/usb/usb_device.h#6 edit .. //depot/projects/usb_buf/src/sys/dev/usb/usb_generic.c#6 edit .. //depot/projects/usb_buf/src/sys/dev/usb/usb_handle_request.c#4 edit .. //depot/projects/usb_buf/src/sys/dev/usb/usb_hub.c#6 edit .. //depot/projects/usb_buf/src/sys/dev/usb/usb_request.c#6 edit .. //depot/projects/usb_buf/src/sys/dev/usb/usb_transfer.c#6 edit .. //depot/projects/usb_buf/src/sys/dev/usb/usb_transfer.h#5 edit Differences ... ==== //depot/projects/usb_buf/src/sys/dev/usb/controller/at91dci.c#6 (text+ko) ==== @@ -687,7 +687,7 @@ done: sc = AT9100_DCI_BUS2SC(xfer->xroot->bus); - temp = (xfer->endpoint & UE_ADDR); + temp = (xfer->endpointno & UE_ADDR); /* update FIFO bank flag and multi buffer */ if (td->fifo_bank) { @@ -864,7 +864,7 @@ uint8_t need_sync; DPRINTFN(9, "addr=%d endpt=%d sumlen=%d speed=%d\n", - xfer->address, UE_GET_ADDR(xfer->endpoint), + xfer->address, UE_GET_ADDR(xfer->endpointno), xfer->sumlen, usb2_get_speed(xfer->xroot->udev)); temp.max_frame_size = xfer->max_frame_size; @@ -882,7 +882,7 @@ temp.did_stall = !xfer->flags_int.control_stall; sc = AT9100_DCI_BUS2SC(xfer->xroot->bus); - ep_no = (xfer->endpoint & UE_ADDR); + ep_no = (xfer->endpointno & UE_ADDR); /* check if we should prepend a setup message */ @@ -908,7 +908,7 @@ } if (x != xfer->nframes) { - if (xfer->endpoint & UE_DIR_IN) { + if (xfer->endpointno & UE_DIR_IN) { temp.func = &at91dci_data_tx; need_sync = 1; } else { @@ -984,7 +984,7 @@ * Send a DATA1 message and invert the current * endpoint direction. */ - if (xfer->endpoint & UE_DIR_IN) { + if (xfer->endpointno & UE_DIR_IN) { temp.func = &at91dci_data_rx; need_sync = 0; } else { @@ -1034,7 +1034,7 @@ if (at91dci_xfer_do_fifo(xfer)) { struct at91dci_softc *sc = AT9100_DCI_BUS2SC(xfer->xroot->bus); - uint8_t ep_no = xfer->endpoint & UE_ADDR; + uint8_t ep_no = xfer->endpointno & UE_ADDR; /* * Only enable the endpoint interrupt when we are actually @@ -1139,8 +1139,8 @@ { usb_error_t err = 0; - DPRINTFN(13, "xfer=%p pipe=%p transfer done\n", - xfer, xfer->pipe); + DPRINTFN(13, "xfer=%p endpoint=%p transfer done\n", + xfer, xfer->endpoint); /* reset scanner */ @@ -1191,11 +1191,11 @@ USB_BUS_LOCK_ASSERT(&sc->sc_bus, MA_OWNED); - DPRINTFN(2, "xfer=%p, pipe=%p, error=%d\n", - xfer, xfer->pipe, error); + DPRINTFN(2, "xfer=%p, endpoint=%p, error=%d\n", + xfer, xfer->endpoint, error); if (xfer->flags_int.usb_mode == USB_MODE_DEVICE) { - ep_no = (xfer->endpoint & UE_ADDR); + ep_no = (xfer->endpointno & UE_ADDR); /* disable endpoint interrupt */ AT91_UDP_WRITE_4(sc, AT91_UDP_IDR, AT91_UDP_INT_EP(ep_no)); @@ -1208,7 +1208,7 @@ static void at91dci_set_stall(struct usb_device *udev, struct usb_xfer *xfer, - struct usb_pipe *pipe) + struct usb_endpoint *ep) { struct at91dci_softc *sc; uint32_t csr_val; @@ -1216,7 +1216,7 @@ USB_BUS_LOCK_ASSERT(udev->bus, MA_OWNED); - DPRINTFN(5, "pipe=%p\n", pipe); + DPRINTFN(5, "endpoint=%p\n", ep); if (xfer) { /* cancel any ongoing transfers */ @@ -1224,7 +1224,7 @@ } /* set FORCESTALL */ sc = AT9100_DCI_BUS2SC(udev->bus); - csr_reg = (pipe->edesc->bEndpointAddress & UE_ADDR); + csr_reg = (ep->edesc->bEndpointAddress & UE_ADDR); csr_reg = AT91_UDP_CSR(csr_reg); csr_val = AT91_UDP_READ_4(sc, csr_reg); AT91_CSR_ACK(csr_val, AT91_UDP_CSR_FORCESTALL); @@ -1328,12 +1328,12 @@ } static void -at91dci_clear_stall(struct usb_device *udev, struct usb_pipe *pipe) +at91dci_clear_stall(struct usb_device *udev, struct usb_endpoint *ep) { struct at91dci_softc *sc; struct usb_endpoint_descriptor *ed; - DPRINTFN(5, "pipe=%p\n", pipe); + DPRINTFN(5, "endpoint=%p\n", ep); USB_BUS_LOCK_ASSERT(udev->bus, MA_OWNED); @@ -1346,7 +1346,7 @@ sc = AT9100_DCI_BUS2SC(udev->bus); /* get endpoint descriptor */ - ed = pipe->edesc; + ed = ep->edesc; /* reset endpoint */ at91dci_clear_stall_sub(sc, @@ -1598,7 +1598,7 @@ uint32_t nframes; DPRINTFN(6, "xfer=%p next=%d nframes=%d\n", - xfer, xfer->pipe->isoc_next, xfer->nframes); + xfer, xfer->endpoint->isoc_next, xfer->nframes); /* get the current frame index */ @@ -1608,25 +1608,25 @@ * check if the frame index is within the window where the frames * will be inserted */ - temp = (nframes - xfer->pipe->isoc_next) & AT91_UDP_FRM_MASK; + temp = (nframes - xfer->endpoint->isoc_next) & AT91_UDP_FRM_MASK; - if ((xfer->pipe->is_synced == 0) || + if ((xfer->endpoint->is_synced == 0) || (temp < xfer->nframes)) { /* - * If there is data underflow or the pipe queue is + * If there is data underflow or the endpoint queue is * empty we schedule the transfer a few frames ahead * of the current frame position. Else two isochronous * transfers might overlap. */ - xfer->pipe->isoc_next = (nframes + 3) & AT91_UDP_FRM_MASK; - xfer->pipe->is_synced = 1; - DPRINTFN(3, "start next=%d\n", xfer->pipe->isoc_next); + xfer->endpoint->isoc_next = (nframes + 3) & AT91_UDP_FRM_MASK; + xfer->endpoint->is_synced = 1; + DPRINTFN(3, "start next=%d\n", xfer->endpoint->isoc_next); } /* * compute how many milliseconds the insertion is ahead of the * current frame position: */ - temp = (xfer->pipe->isoc_next - nframes) & AT91_UDP_FRM_MASK; + temp = (xfer->endpoint->isoc_next - nframes) & AT91_UDP_FRM_MASK; /* * pre-compute when the isochronous transfer will be finished: @@ -1636,7 +1636,7 @@ xfer->nframes; /* compute frame number for next insertion */ - xfer->pipe->isoc_next += xfer->nframes; + xfer->endpoint->isoc_next += xfer->nframes; /* setup TDs */ at91dci_setup_standard_chain(xfer); @@ -2208,7 +2208,7 @@ */ if (ntd) { - ep_no = xfer->endpoint & UE_ADDR; + ep_no = xfer->endpointno & UE_ADDR; at91dci_get_hw_ep_profile(parm->udev, &pf, ep_no); if (pf == NULL) { @@ -2259,12 +2259,12 @@ static void at91dci_pipe_init(struct usb_device *udev, struct usb_endpoint_descriptor *edesc, - struct usb_pipe *pipe) + struct usb_endpoint *ep) { struct at91dci_softc *sc = AT9100_DCI_BUS2SC(udev->bus); - DPRINTFN(2, "pipe=%p, addr=%d, endpt=%d, mode=%d (%d)\n", - pipe, udev->address, + DPRINTFN(2, "endpoint=%p, addr=%d, endpt=%d, mode=%d (%d)\n", + ep, udev->address, edesc->bEndpointAddress, udev->flags.usb_mode, sc->sc_rt_addr); @@ -2280,16 +2280,16 @@ } switch (edesc->bmAttributes & UE_XFERTYPE) { case UE_CONTROL: - pipe->methods = &at91dci_device_ctrl_methods; + ep->methods = &at91dci_device_ctrl_methods; break; case UE_INTERRUPT: - pipe->methods = &at91dci_device_intr_methods; + ep->methods = &at91dci_device_intr_methods; break; case UE_ISOCHRONOUS: - pipe->methods = &at91dci_device_isoc_fs_methods; + ep->methods = &at91dci_device_isoc_fs_methods; break; case UE_BULK: - pipe->methods = &at91dci_device_bulk_methods; + ep->methods = &at91dci_device_bulk_methods; break; default: /* do nothing */ ==== //depot/projects/usb_buf/src/sys/dev/usb/controller/atmegadci.c#6 (text+ko) ==== @@ -767,7 +767,7 @@ uint8_t need_sync; DPRINTFN(9, "addr=%d endpt=%d sumlen=%d speed=%d\n", - xfer->address, UE_GET_ADDR(xfer->endpoint), + xfer->address, UE_GET_ADDR(xfer->endpointno), xfer->sumlen, usb2_get_speed(xfer->xroot->udev)); temp.max_frame_size = xfer->max_frame_size; @@ -785,7 +785,7 @@ temp.did_stall = !xfer->flags_int.control_stall; sc = ATMEGA_BUS2SC(xfer->xroot->bus); - ep_no = (xfer->endpoint & UE_ADDR); + ep_no = (xfer->endpointno & UE_ADDR); /* check if we should prepend a setup message */ @@ -811,7 +811,7 @@ } if (x != xfer->nframes) { - if (xfer->endpoint & UE_DIR_IN) { + if (xfer->endpointno & UE_DIR_IN) { temp.func = &atmegadci_data_tx; need_sync = 1; } else { @@ -886,7 +886,7 @@ * Send a DATA1 message and invert the current * endpoint direction. */ - if (xfer->endpoint & UE_DIR_IN) { + if (xfer->endpointno & UE_DIR_IN) { temp.func = &atmegadci_data_rx; need_sync = 0; } else { @@ -1022,8 +1022,8 @@ { usb_error_t err = 0; - DPRINTFN(13, "xfer=%p pipe=%p transfer done\n", - xfer, xfer->pipe); + DPRINTFN(13, "xfer=%p endpoint=%p transfer done\n", + xfer, xfer->endpoint); /* reset scanner */ @@ -1074,11 +1074,11 @@ USB_BUS_LOCK_ASSERT(&sc->sc_bus, MA_OWNED); - DPRINTFN(9, "xfer=%p, pipe=%p, error=%d\n", - xfer, xfer->pipe, error); + DPRINTFN(9, "xfer=%p, endpoint=%p, error=%d\n", + xfer, xfer->endpoint, error); if (xfer->flags_int.usb_mode == USB_MODE_DEVICE) { - ep_no = (xfer->endpoint & UE_ADDR); + ep_no = (xfer->endpointno & UE_ADDR); /* select endpoint number */ ATMEGA_WRITE_1(sc, ATMEGA_UENUM, ep_no); @@ -1094,14 +1094,14 @@ static void atmegadci_set_stall(struct usb_device *udev, struct usb_xfer *xfer, - struct usb_pipe *pipe) + struct usb_endpoint *ep) { struct atmegadci_softc *sc; uint8_t ep_no; USB_BUS_LOCK_ASSERT(udev->bus, MA_OWNED); - DPRINTFN(5, "pipe=%p\n", pipe); + DPRINTFN(5, "endpoint=%p\n", ep); if (xfer) { /* cancel any ongoing transfers */ @@ -1109,7 +1109,7 @@ } sc = ATMEGA_BUS2SC(udev->bus); /* get endpoint number */ - ep_no = (pipe->edesc->bEndpointAddress & UE_ADDR); + ep_no = (ep->edesc->bEndpointAddress & UE_ADDR); /* select endpoint number */ ATMEGA_WRITE_1(sc, ATMEGA_UENUM, ep_no); /* set stall */ @@ -1178,12 +1178,12 @@ } static void -atmegadci_clear_stall(struct usb_device *udev, struct usb_pipe *pipe) +atmegadci_clear_stall(struct usb_device *udev, struct usb_endpoint *ep) { struct atmegadci_softc *sc; struct usb_endpoint_descriptor *ed; - DPRINTFN(5, "pipe=%p\n", pipe); + DPRINTFN(5, "endpoint=%p\n", ep); USB_BUS_LOCK_ASSERT(udev->bus, MA_OWNED); @@ -1196,7 +1196,7 @@ sc = ATMEGA_BUS2SC(udev->bus); /* get endpoint descriptor */ - ed = pipe->edesc; + ed = ep->edesc; /* reset endpoint */ atmegadci_clear_stall_sub(sc, @@ -1415,7 +1415,7 @@ uint32_t nframes; DPRINTFN(6, "xfer=%p next=%d nframes=%d\n", - xfer, xfer->pipe->isoc_next, xfer->nframes); + xfer, xfer->endpoint->isoc_next, xfer->nframes); /* get the current frame index */ @@ -1429,9 +1429,9 @@ * check if the frame index is within the window where the frames * will be inserted */ - temp = (nframes - xfer->pipe->isoc_next) & ATMEGA_FRAME_MASK; + temp = (nframes - xfer->endpoint->isoc_next) & ATMEGA_FRAME_MASK; - if ((xfer->pipe->is_synced == 0) || + if ((xfer->endpoint->is_synced == 0) || (temp < xfer->nframes)) { /* * If there is data underflow or the pipe queue is @@ -1439,15 +1439,15 @@ * of the current frame position. Else two isochronous * transfers might overlap. */ - xfer->pipe->isoc_next = (nframes + 3) & ATMEGA_FRAME_MASK; - xfer->pipe->is_synced = 1; - DPRINTFN(3, "start next=%d\n", xfer->pipe->isoc_next); + xfer->endpoint->isoc_next = (nframes + 3) & ATMEGA_FRAME_MASK; + xfer->endpoint->is_synced = 1; + DPRINTFN(3, "start next=%d\n", xfer->endpoint->isoc_next); } /* * compute how many milliseconds the insertion is ahead of the * current frame position: */ - temp = (xfer->pipe->isoc_next - nframes) & ATMEGA_FRAME_MASK; + temp = (xfer->endpoint->isoc_next - nframes) & ATMEGA_FRAME_MASK; /* * pre-compute when the isochronous transfer will be finished: @@ -1457,7 +1457,7 @@ xfer->nframes; /* compute frame number for next insertion */ - xfer->pipe->isoc_next += xfer->nframes; + xfer->endpoint->isoc_next += xfer->nframes; /* setup TDs */ atmegadci_setup_standard_chain(xfer); @@ -2022,7 +2022,7 @@ /* * compute maximum number of TDs */ - if ((xfer->pipe->edesc->bmAttributes & UE_XFERTYPE) == UE_CONTROL) { + if ((xfer->endpoint->edesc->bmAttributes & UE_XFERTYPE) == UE_CONTROL) { ntd = xfer->nframes + 1 /* STATUS */ + 1 /* SYNC 1 */ + 1 /* SYNC 2 */ ; @@ -2045,7 +2045,7 @@ /* * get profile stuff */ - ep_no = xfer->endpoint & UE_ADDR; + ep_no = xfer->endpointno & UE_ADDR; atmegadci_get_hw_ep_profile(parm->udev, &pf, ep_no); if (pf == NULL) { @@ -2089,12 +2089,12 @@ static void atmegadci_pipe_init(struct usb_device *udev, struct usb_endpoint_descriptor *edesc, - struct usb_pipe *pipe) + struct usb_endpoint *ep) { struct atmegadci_softc *sc = ATMEGA_BUS2SC(udev->bus); - DPRINTFN(2, "pipe=%p, addr=%d, endpt=%d, mode=%d (%d,%d)\n", - pipe, udev->address, + DPRINTFN(2, "endpoint=%p, addr=%d, endpt=%d, mode=%d (%d,%d)\n", + ep, udev->address, edesc->bEndpointAddress, udev->flags.usb_mode, sc->sc_rt_addr, udev->device_index); @@ -2109,9 +2109,9 @@ return; } if ((edesc->bmAttributes & UE_XFERTYPE) == UE_ISOCHRONOUS) - pipe->methods = &atmegadci_device_isoc_fs_methods; + ep->methods = &atmegadci_device_isoc_fs_methods; else - pipe->methods = &atmegadci_device_non_isoc_methods; + ep->methods = &atmegadci_device_non_isoc_methods; } } ==== //depot/projects/usb_buf/src/sys/dev/usb/controller/avr32dci.c#5 (text+ko) ==== @@ -1062,7 +1062,7 @@ static void avr32dci_set_stall(struct usb_device *udev, struct usb_xfer *xfer, - struct usb_pipe *pipe) + struct usb_endpoint *ep) { struct avr32dci_softc *sc; uint8_t ep_no; @@ -1148,7 +1148,7 @@ } static void -avr32dci_clear_stall(struct usb_device *udev, struct usb_pipe *pipe) +avr32dci_clear_stall(struct usb_device *udev, struct usb_endpoint *ep) { struct avr32dci_softc *sc; struct usb_endpoint_descriptor *ed; @@ -2026,7 +2026,7 @@ static void avr32dci_pipe_init(struct usb_device *udev, struct usb_endpoint_descriptor *edesc, - struct usb_pipe *pipe) + struct usb_endpoint *ep) { struct avr32dci_softc *sc = AVR32_BUS2SC(udev->bus); ==== //depot/projects/usb_buf/src/sys/dev/usb/controller/ehci.c#6 (text+ko) ==== @@ -1190,14 +1190,14 @@ /* update data toggle */ - xfer->pipe->toggle_next = + xfer->endpoint->toggle_next = (status & EHCI_QTD_TOGGLE_MASK) ? 1 : 0; #if USB_DEBUG if (status & EHCI_QTD_STATERRS) { DPRINTFN(11, "error, addr=%d, endpt=0x%02x, frame=0x%02x" "status=%s%s%s%s%s%s%s%s\n", - xfer->address, xfer->endpoint, xfer->aframes, + xfer->address, xfer->endpointno, xfer->aframes, (status & EHCI_QTD_ACTIVE) ? "[ACTIVE]" : "[NOT_ACTIVE]", (status & EHCI_QTD_HALTED) ? "[HALTED]" : "", (status & EHCI_QTD_BUFERR) ? "[BUFERR]" : "", @@ -1218,8 +1218,8 @@ { usb_error_t err = 0; - DPRINTFN(13, "xfer=%p pipe=%p transfer done\n", - xfer, xfer->pipe); + DPRINTFN(13, "xfer=%p endpoint=%p transfer done\n", + xfer, xfer->endpoint); #if USB_DEBUG if (ehcidebug > 10) { @@ -1274,7 +1274,7 @@ static uint8_t ehci_check_transfer(struct usb_xfer *xfer) { - struct usb_pipe_methods *methods = xfer->pipe->methods; + struct usb_pipe_methods *methods = xfer->endpoint->methods; ehci_softc_t *sc = EHCI_BUS2SC(xfer->xroot->bus); uint32_t status; @@ -1716,7 +1716,7 @@ uint32_t x; DPRINTFN(9, "addr=%d endpt=%d sumlen=%d speed=%d\n", - xfer->address, UE_GET_ADDR(xfer->endpoint), + xfer->address, UE_GET_ADDR(xfer->endpointno), xfer->sumlen, usb2_get_speed(xfer->xroot->udev)); temp.average = xfer->max_hc_frame_size; @@ -1739,7 +1739,7 @@ temp.setup_alt_next = xfer->flags_int.short_frames_ok; if (xfer->flags_int.control_xfr) { - if (xfer->pipe->toggle_next) { + if (xfer->endpoint->toggle_next) { /* DATA1 is next */ temp.qtd_status |= htohc32(temp.sc, EHCI_QTD_SET_TOGGLE(1)); @@ -1827,7 +1827,7 @@ /* set endpoint direction */ temp.qtd_status |= - (UE_GET_DIR(xfer->endpoint) == UE_DIR_IN) ? + (UE_GET_DIR(xfer->endpointno) == UE_DIR_IN) ? htohc32(temp.sc, EHCI_QTD_ACTIVE | EHCI_QTD_SET_PID(EHCI_QTD_PID_IN)) : htohc32(temp.sc, EHCI_QTD_ACTIVE | @@ -1849,7 +1849,7 @@ temp.qtd_status &= htohc32(temp.sc, EHCI_QTD_SET_CERR(3) | EHCI_QTD_SET_TOGGLE(1)); temp.qtd_status |= - (UE_GET_DIR(xfer->endpoint) == UE_DIR_OUT) ? + (UE_GET_DIR(xfer->endpointno) == UE_DIR_OUT) ? htohc32(temp.sc, EHCI_QTD_ACTIVE | EHCI_QTD_SET_PID(EHCI_QTD_PID_IN) | EHCI_QTD_SET_TOGGLE(1)) : @@ -1881,13 +1881,13 @@ #if USB_DEBUG if (ehcidebug > 8) { DPRINTF("nexttog=%d; data before transfer:\n", - xfer->pipe->toggle_next); + xfer->endpoint->toggle_next); ehci_dump_sqtds(temp.sc, xfer->td_transfer_first); } #endif - methods = xfer->pipe->methods; + methods = xfer->endpoint->methods; qh = xfer->qh_start[xfer->flags_int.curr_dma_set]; @@ -1895,7 +1895,7 @@ qh_endp = (EHCI_QH_SET_ADDR(xfer->address) | - EHCI_QH_SET_ENDPT(UE_GET_ADDR(xfer->endpoint)) | + EHCI_QH_SET_ENDPT(UE_GET_ADDR(xfer->endpointno)) | EHCI_QH_SET_MPL(xfer->max_packet_size)); if (usb2_get_speed(xfer->xroot->udev) == USB_SPEED_HIGH) { @@ -1943,7 +1943,7 @@ qh->qh_endp &= htohc32(temp.sc, ~EHCI_QH_DTC); - if (xfer->pipe->toggle_next) { + if (xfer->endpoint->toggle_next) { /* DATA1 is next */ qh->qh_qtd.qtd_status |= htohc32(temp.sc, EHCI_QTD_SET_TOGGLE(1)); @@ -1999,8 +1999,8 @@ ehci_sitd_t *td = xfer->td_transfer_first; ehci_sitd_t **pp_last = &sc->sc_isoc_fs_p_last[xfer->qh_pos]; - DPRINTFN(13, "xfer=%p pipe=%p transfer done\n", - xfer, xfer->pipe); + DPRINTFN(13, "xfer=%p endpoint=%p transfer done\n", + xfer, xfer->endpoint); while (nframes--) { if (td == NULL) { @@ -2053,8 +2053,8 @@ ehci_itd_t *td = xfer->td_transfer_first; ehci_itd_t **pp_last = &sc->sc_isoc_hs_p_last[xfer->qh_pos]; - DPRINTFN(13, "xfer=%p pipe=%p transfer done\n", - xfer, xfer->pipe); + DPRINTFN(13, "xfer=%p endpoint=%p transfer done\n", + xfer, xfer->endpoint); while (nframes--) { if (td == NULL) { @@ -2113,20 +2113,20 @@ static void ehci_device_done(struct usb_xfer *xfer, usb_error_t error) { - struct usb_pipe_methods *methods = xfer->pipe->methods; + struct usb_pipe_methods *methods = xfer->endpoint->methods; ehci_softc_t *sc = EHCI_BUS2SC(xfer->xroot->bus); USB_BUS_LOCK_ASSERT(&sc->sc_bus, MA_OWNED); - DPRINTFN(2, "xfer=%p, pipe=%p, error=%d\n", - xfer, xfer->pipe, error); + DPRINTFN(2, "xfer=%p, endpoint=%p, error=%d\n", + xfer, xfer->endpoint, error); if ((methods == &ehci_device_bulk_methods) || (methods == &ehci_device_ctrl_methods)) { #if USB_DEBUG if (ehcidebug > 8) { DPRINTF("nexttog=%d; data after transfer:\n", - xfer->pipe->toggle_next); + xfer->endpoint->toggle_next); ehci_dump_sqtds(sc, xfer->td_transfer_first); } @@ -2358,11 +2358,11 @@ sitd_portaddr = EHCI_SITD_SET_ADDR(xfer->address) | - EHCI_SITD_SET_ENDPT(UE_GET_ADDR(xfer->endpoint)) | + EHCI_SITD_SET_ENDPT(UE_GET_ADDR(xfer->endpointno)) | EHCI_SITD_SET_HUBA(xfer->xroot->udev->hs_hub_addr) | EHCI_SITD_SET_PORT(xfer->xroot->udev->hs_port_no); - if (UE_GET_DIR(xfer->endpoint) == UE_DIR_IN) { + if (UE_GET_DIR(xfer->endpointno) == UE_DIR_IN) { sitd_portaddr |= EHCI_SITD_SET_DIR_IN; } sitd_portaddr = htohc32(sc, sitd_portaddr); @@ -2422,7 +2422,7 @@ #endif DPRINTFN(6, "xfer=%p next=%d nframes=%d\n", - xfer, xfer->pipe->isoc_next, xfer->nframes); + xfer, xfer->endpoint->isoc_next, xfer->nframes); /* get the current frame index */ @@ -2432,10 +2432,10 @@ * check if the frame index is within the window where the frames * will be inserted */ - buf_offset = (nframes - xfer->pipe->isoc_next) & + buf_offset = (nframes - xfer->endpoint->isoc_next) & (EHCI_VIRTUAL_FRAMELIST_COUNT - 1); - if ((xfer->pipe->is_synced == 0) || + if ((xfer->endpoint->is_synced == 0) || (buf_offset < xfer->nframes)) { /* * If there is data underflow or the pipe queue is empty we @@ -2443,16 +2443,16 @@ * frame position. Else two isochronous transfers might * overlap. */ - xfer->pipe->isoc_next = (nframes + 3) & + xfer->endpoint->isoc_next = (nframes + 3) & (EHCI_VIRTUAL_FRAMELIST_COUNT - 1); - xfer->pipe->is_synced = 1; - DPRINTFN(3, "start next=%d\n", xfer->pipe->isoc_next); + xfer->endpoint->is_synced = 1; + DPRINTFN(3, "start next=%d\n", xfer->endpoint->isoc_next); } /* * compute how many milliseconds the insertion is ahead of the * current frame position: */ - buf_offset = (xfer->pipe->isoc_next - nframes) & + buf_offset = (xfer->endpoint->isoc_next - nframes) & (EHCI_VIRTUAL_FRAMELIST_COUNT - 1); /* @@ -2478,11 +2478,11 @@ td = xfer->td_start[xfer->flags_int.curr_dma_set]; xfer->td_transfer_first = td; - pp_last = &sc->sc_isoc_fs_p_last[xfer->pipe->isoc_next]; + pp_last = &sc->sc_isoc_fs_p_last[xfer->endpoint->isoc_next]; /* store starting position */ - xfer->qh_pos = xfer->pipe->isoc_next; + xfer->qh_pos = xfer->endpoint->isoc_next; fss = fss_start + (xfer->qh_pos % USB_ISOC_TIME_MAX); @@ -2543,7 +2543,7 @@ temp = 0; } - if (UE_GET_DIR(xfer->endpoint) == UE_DIR_OUT) { + if (UE_GET_DIR(xfer->endpointno) == UE_DIR_OUT) { tlen = *plen; if (tlen <= 188) { temp |= 1; /* T-count = 1, TP = ALL */ @@ -2609,7 +2609,7 @@ xfer->td_transfer_last = td_last; /* update isoc_next */ - xfer->pipe->isoc_next = (pp_last - &sc->sc_isoc_fs_p_last[0]) & + xfer->endpoint->isoc_next = (pp_last - &sc->sc_isoc_fs_p_last[0]) & (EHCI_VIRTUAL_FRAMELIST_COUNT - 1); } @@ -2658,13 +2658,13 @@ /* set endpoint and address */ td->itd_bp[0] = htohc32(sc, EHCI_ITD_SET_ADDR(xfer->address) | - EHCI_ITD_SET_ENDPT(UE_GET_ADDR(xfer->endpoint))); + EHCI_ITD_SET_ENDPT(UE_GET_ADDR(xfer->endpointno))); temp = EHCI_ITD_SET_MPL(xfer->max_packet_size & 0x7FF); /* set direction */ - if (UE_GET_DIR(xfer->endpoint) == UE_DIR_IN) { + if (UE_GET_DIR(xfer->endpointno) == UE_DIR_IN) { temp |= EHCI_ITD_SET_DIR_IN; } /* set maximum packet size */ @@ -2708,7 +2708,7 @@ #endif DPRINTFN(6, "xfer=%p next=%d nframes=%d\n", - xfer, xfer->pipe->isoc_next, xfer->nframes); + xfer, xfer->endpoint->isoc_next, xfer->nframes); /* get the current frame index */ @@ -2718,10 +2718,10 @@ * check if the frame index is within the window where the frames * will be inserted */ - buf_offset = (nframes - xfer->pipe->isoc_next) & + buf_offset = (nframes - xfer->endpoint->isoc_next) & (EHCI_VIRTUAL_FRAMELIST_COUNT - 1); - if ((xfer->pipe->is_synced == 0) || + if ((xfer->endpoint->is_synced == 0) || (buf_offset < ((xfer->nframes + 7) / 8))) { /* * If there is data underflow or the pipe queue is empty we @@ -2729,16 +2729,16 @@ * frame position. Else two isochronous transfers might * overlap. */ - xfer->pipe->isoc_next = (nframes + 3) & + xfer->endpoint->isoc_next = (nframes + 3) & (EHCI_VIRTUAL_FRAMELIST_COUNT - 1); - xfer->pipe->is_synced = 1; - DPRINTFN(3, "start next=%d\n", xfer->pipe->isoc_next); + xfer->endpoint->is_synced = 1; + DPRINTFN(3, "start next=%d\n", xfer->endpoint->isoc_next); } /* * compute how many milliseconds the insertion is ahead of the * current frame position: */ - buf_offset = (xfer->pipe->isoc_next - nframes) & + buf_offset = (xfer->endpoint->isoc_next - nframes) & (EHCI_VIRTUAL_FRAMELIST_COUNT - 1); /* @@ -2764,11 +2764,11 @@ td = xfer->td_start[xfer->flags_int.curr_dma_set]; xfer->td_transfer_first = td; - pp_last = &sc->sc_isoc_hs_p_last[xfer->pipe->isoc_next]; + pp_last = &sc->sc_isoc_hs_p_last[xfer->endpoint->isoc_next]; /* store starting position */ - xfer->qh_pos = xfer->pipe->isoc_next; + xfer->qh_pos = xfer->endpoint->isoc_next; while (nframes--) { if (td == NULL) { @@ -2875,7 +2875,7 @@ xfer->td_transfer_last = td_last; /* update isoc_next */ - xfer->pipe->isoc_next = (pp_last - &sc->sc_isoc_hs_p_last[0]) & + xfer->endpoint->isoc_next = (pp_last - &sc->sc_isoc_hs_p_last[0]) & (EHCI_VIRTUAL_FRAMELIST_COUNT - 1); } @@ -3636,12 +3636,12 @@ static void ehci_pipe_init(struct usb_device *udev, struct usb_endpoint_descriptor *edesc, - struct usb_pipe *pipe) + struct usb_endpoint *ep) { ehci_softc_t *sc = EHCI_BUS2SC(udev->bus); - DPRINTFN(2, "pipe=%p, addr=%d, endpt=%d, mode=%d (%d)\n", - pipe, udev->address, + DPRINTFN(2, "endpoint=%p, addr=%d, endpt=%d, mode=%d (%d)\n", + ep, udev->address, edesc->bEndpointAddress, udev->flags.usb_mode, sc->sc_addr); @@ -3661,21 +3661,21 @@ } switch (edesc->bmAttributes & UE_XFERTYPE) { case UE_CONTROL: - pipe->methods = &ehci_device_ctrl_methods; + ep->methods = &ehci_device_ctrl_methods; break; case UE_INTERRUPT: - pipe->methods = &ehci_device_intr_methods; + ep->methods = &ehci_device_intr_methods; break; case UE_ISOCHRONOUS: if (udev->speed == USB_SPEED_HIGH) { - pipe->methods = &ehci_device_isoc_hs_methods; + ep->methods = &ehci_device_isoc_hs_methods; } else if (udev->speed == USB_SPEED_FULL) { - pipe->methods = &ehci_device_isoc_fs_methods; + ep->methods = &ehci_device_isoc_fs_methods; } break; case UE_BULK: if (udev->speed != USB_SPEED_LOW) { - pipe->methods = &ehci_device_bulk_methods; + ep->methods = &ehci_device_bulk_methods; } break; default: @@ -3712,7 +3712,7 @@ if (xfer->xroot->udev == udev) { - methods = xfer->pipe->methods; + methods = xfer->endpoint->methods; if ((methods == &ehci_device_bulk_methods) || (methods == &ehci_device_ctrl_methods)) { @@ -3746,7 +3746,7 @@ if (xfer->xroot->udev == udev) { - methods = xfer->pipe->methods; + methods = xfer->endpoint->methods; if ((methods == &ehci_device_bulk_methods) || (methods == &ehci_device_ctrl_methods)) { ==== //depot/projects/usb_buf/src/sys/dev/usb/controller/musb_otg.c#6 (text+ko) ==== @@ -1114,7 +1114,7 @@ uint8_t ep_no; DPRINTFN(8, "addr=%d endpt=%d sumlen=%d speed=%d\n", - xfer->address, UE_GET_ADDR(xfer->endpoint), + xfer->address, UE_GET_ADDR(xfer->endpointno), xfer->sumlen, usb2_get_speed(xfer->xroot->udev)); temp.max_frame_size = xfer->max_frame_size; @@ -1132,7 +1132,7 @@ temp.did_stall = !xfer->flags_int.control_stall; sc = MUSBOTG_BUS2SC(xfer->xroot->bus); - ep_no = (xfer->endpoint & UE_ADDR); + ep_no = (xfer->endpointno & UE_ADDR); /* check if we should prepend a setup message */ @@ -1152,7 +1152,7 @@ } if (x != xfer->nframes) { - if (xfer->endpoint & UE_DIR_IN) { + if (xfer->endpointno & UE_DIR_IN) { if (xfer->flags_int.control_xfr) temp.func = &musbotg_setup_data_tx; else @@ -1249,7 +1249,7 @@ { struct musbotg_softc *sc = MUSBOTG_BUS2SC(xfer->xroot->bus); uint16_t temp; - uint8_t ep_no = xfer->endpoint & UE_ADDR; + uint8_t ep_no = xfer->endpointno & UE_ADDR; /* * Only enable the endpoint interrupt when we are @@ -1390,8 +1390,8 @@ { usb_error_t err = 0; - DPRINTFN(12, "xfer=%p pipe=%p transfer done\n", - xfer, xfer->pipe); + DPRINTFN(12, "xfer=%p endpoint=%p transfer done\n", + xfer, xfer->endpoint); /* reset scanner */ @@ -1439,8 +1439,8 @@ { USB_BUS_LOCK_ASSERT(xfer->xroot->bus, MA_OWNED); - DPRINTFN(2, "xfer=%p, pipe=%p, error=%d\n", - xfer, xfer->pipe, error); + DPRINTFN(2, "xfer=%p, endpoint=%p, error=%d\n", + xfer, xfer->endpoint, error); if (xfer->flags_int.usb_mode == USB_MODE_DEVICE) { @@ -1454,14 +1454,14 @@ static void musbotg_set_stall(struct usb_device *udev, struct usb_xfer *xfer, - struct usb_pipe *pipe) + struct usb_endpoint *ep) { struct musbotg_softc *sc; uint8_t ep_no; USB_BUS_LOCK_ASSERT(udev->bus, MA_OWNED); - DPRINTFN(4, "pipe=%p\n", pipe); + DPRINTFN(4, "endpoint=%p\n", ep); if (xfer) { /* cancel any ongoing transfers */ @@ -1470,12 +1470,12 @@ /* set FORCESTALL */ sc = MUSBOTG_BUS2SC(udev->bus); - ep_no = (pipe->edesc->bEndpointAddress & UE_ADDR); + ep_no = (ep->edesc->bEndpointAddress & UE_ADDR); /* select endpoint */ MUSB2_WRITE_1(sc, MUSB2_REG_EPINDEX, ep_no); - if (pipe->edesc->bEndpointAddress & UE_DIR_IN) { + if (ep->edesc->bEndpointAddress & UE_DIR_IN) { MUSB2_WRITE_1(sc, MUSB2_REG_TXCSRL, MUSB2_MASK_CSRL_TXSENDSTALL); } else { @@ -1636,12 +1636,12 @@ } static void -musbotg_clear_stall(struct usb_device *udev, struct usb_pipe *pipe) +musbotg_clear_stall(struct usb_device *udev, struct usb_endpoint *ep) { struct musbotg_softc *sc; struct usb_endpoint_descriptor *ed; - DPRINTFN(4, "pipe=%p\n", pipe); >>> TRUNCATED FOR MAIL (1000 lines) <<< From trasz at FreeBSD.org Sun May 31 18:51:14 2009 From: trasz at FreeBSD.org (Edward Tomasz Napierala) Date: Sun May 31 18:51:21 2009 Subject: PERFORCE change 163191 for review Message-ID: <200905311851.n4VIpDUs021431@repoman.freebsd.org> http://perforce.freebsd.org/chv.cgi?CH=163191 Change 163191 by trasz@trasz_victim on 2009/05/31 18:50:40 Revise the milestones. Affected files ... .. //depot/projects/soc2009/trasz_limits/MILESTONES#2 edit Differences ... ==== //depot/projects/soc2009/trasz_limits/MILESTONES#2 (text+ko) ==== @@ -1,15 +1,17 @@ 0. Figure a good name. "Resources" is not a good name, as it's already being used for newbus. -1. Add nmount(2)-like API to get and set limits. +1. Add some API to communicate between kernel and the userland. + + <--- WE ARE HERE ---> -2. Add macros/routines to allocate and free resources. +2. Userland tools - either modify limits(1) or implement something new. -3. Userland tools - either modify limits(1) or implement something new. +3. Add macros/routines to allocate and free resources. 4. Add calls to resource allocation and free routines all over the place. -5. Make resources hierarchical. +5. Revise the API to be extensible, e.g. nmount(2)-like. 6. Make things fast. From thompsa at FreeBSD.org Sun May 31 18:54:18 2009 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Sun May 31 18:54:25 2009 Subject: PERFORCE change 163192 for review Message-ID: <200905311854.n4VIsG92021619@repoman.freebsd.org> http://perforce.freebsd.org/chv.cgi?CH=163192 Change 163192 by thompsa@thompsa_burger on 2009/05/31 18:54:06 Fix mismerge from the lat submit. Affected files ... .. //depot/projects/usb_buf/src/sys/dev/usb/usb_request.c#7 edit Differences ... ==== //depot/projects/usb_buf/src/sys/dev/usb/usb_request.c#7 (text+ko) ==== @@ -94,51 +94,51 @@ { struct usb_device_request req; struct usb_device *udev; - struct usb_pipe *pipe; - struct usb_pipe *pipe_end; - struct usb_pipe *pipe_first; + struct usb_endpoint *ep; + struct usb_endpoint *ep_end; + struct usb_endpoint *ep_first; uint8_t to; udev = xfer->xroot->udev; USB_BUS_LOCK(udev->bus); - /* round robin pipe clear stall */ + /* round robin endpoint clear stall */ - pipe = udev->pipe_curr; - pipe_end = udev->pipes + udev->pipes_max; - pipe_first = udev->pipes; - to = udev->pipes_max; + ep = udev->ep_curr; + ep_end = udev->endpoints + udev->endpoints_max; + ep_first = udev->endpoints; + to = udev->endpoints_max; switch (USB_GET_STATE(xfer)) { case USB_ST_TRANSFERRED: - if (pipe == NULL) + if (ep == NULL) goto tr_setup; /* device was unconfigured */ - if (pipe->edesc && - pipe->is_stalled) { - pipe->toggle_next = 0; - pipe->is_stalled = 0; + if (ep->edesc && + ep->is_stalled) { + ep->toggle_next = 0; + ep->is_stalled = 0; /* start up the current or next transfer, if any */ - usb2_command_wrapper(&pipe->pipe_q, - pipe->pipe_q.curr); + usb2_command_wrapper(&ep->endpoint_q, + ep->endpoint_q.curr); } - pipe++; + ep++; case USB_ST_SETUP: tr_setup: if (to == 0) - break; /* no pipes - nothing to do */ - if ((pipe < pipe_first) || (pipe >= pipe_end)) - pipe = pipe_first; /* pipe wrapped around */ - if (pipe->edesc && - pipe->is_stalled) { + break; /* no endpoints - nothing to do */ + if ((ep < ep_first) || (ep >= ep_end)) + ep = ep_first; /* endpoint wrapped around */ + if (ep->edesc && + ep->is_stalled) { /* setup a clear-stall packet */ req.bmRequestType = UT_WRITE_ENDPOINT; req.bRequest = UR_CLEAR_FEATURE; USETW(req.wValue, UF_ENDPOINT_HALT); - req.wIndex[0] = pipe->edesc->bEndpointAddress; + req.wIndex[0] = ep->edesc->bEndpointAddress; req.wIndex[1] = 0; USETW(req.wLength, 0); @@ -156,7 +156,7 @@ USB_BUS_LOCK(udev->bus); break; } - pipe++; + ep++; to--; goto tr_setup; From zec at FreeBSD.org Sun May 31 19:28:59 2009 From: zec at FreeBSD.org (Marko Zec) Date: Sun May 31 19:29:06 2009 Subject: PERFORCE change 163194 for review Message-ID: <200905311928.n4VJSvoL025140@repoman.freebsd.org> http://perforce.freebsd.org/chv.cgi?CH=163194 Change 163194 by zec@zec_tpx32 on 2009/05/31 19:28:20 Fix misintegrations and hopefully unbreak kernel build. Affected files ... .. //depot/projects/vimage/src/sys/kern/kern_vimage.c#92 edit Differences ... ==== //depot/projects/vimage/src/sys/kern/kern_vimage.c#92 (text+ko) ==== @@ -38,14 +38,12 @@ #include #include #include -#include #include #include #include #include #include #include - #ifdef DDB #include #endif @@ -54,34 +52,19 @@ #include #include -#include -#include -#include +#ifndef VIMAGE_GLOBALS -struct vnet_modlink; - MALLOC_DEFINE(M_VIMAGE, "vimage", "vimage resource container"); MALLOC_DEFINE(M_VNET, "vnet", "network stack control block"); MALLOC_DEFINE(M_VPROCG, "vprocg", "process group control block"); -#ifdef VIMAGE -static struct vimage *vi_alloc(struct vimage *, char *); -static int vi_destroy(struct vimage *); -#endif - -#ifndef VIMAGE -#ifndef VIMAGE_GLOBALS -struct vprocg vprocg_0; -#endif -#endif - -#ifndef VIMAGE_GLOBALS static TAILQ_HEAD(vnet_modlink_head, vnet_modlink) vnet_modlink_head; static TAILQ_HEAD(vnet_modpending_head, vnet_modlink) vnet_modpending_head; static void vnet_mod_complete_registration(struct vnet_modlink *); static int vnet_mod_constructor(struct vnet_modlink *); static int vnet_mod_destructor(struct vnet_modlink *); +#ifdef VIMAGE static struct vimage *vimage_by_name(struct vimage *, char *); static struct vimage *vi_alloc(struct vimage *, char *); static struct vimage *vimage_get_next(struct vimage *, struct vimage *, int); @@ -625,400 +608,16 @@ } return (ENOENT); } -#endif /* !VIMAGE_GLOBALS */ #ifdef VIMAGE -struct vimage_list_head vimage_head; -struct vnet_list_head vnet_head; -struct vprocg_list_head vprocg_head; - -struct cv vnet_list_condvar; -struct mtx vnet_list_refc_mtx; -int vnet_list_refc = 0; - -#define VNET_LIST_LOCK() \ - mtx_lock(&vnet_list_refc_mtx); \ - while (vnet_list_refc != 0) \ - cv_wait(&vnet_list_condvar, &vnet_list_refc_mtx); - -#define VNET_LIST_UNLOCK() \ - mtx_unlock(&vnet_list_refc_mtx); - -static u_int last_vi_id = 0; -static u_int last_vnet_id = 0; -static u_int last_vprocg_id = 0; - -struct vimage * -vnet2vimage(struct vnet *vnet) -{ - struct vimage *vip; - - LIST_FOREACH(vip, &vimage_head, vi_le) - if (vip->v_net == vnet) - return(vip); - - panic("vnet2vimage"); /* must never happen */ -} - -char * -vnet_name(struct vnet *vnet) -{ - return(vnet2vimage(vnet)->vi_name); -} - - -int -vi_child_of(struct vimage *parent, struct vimage *child) -{ - if (child == parent) - return (0); - for (; child; child = child->vi_parent) - if (child == parent) - return (1); - return (0); -} - -/* - * if_reassign_common() should be called by all device specific - * ifnet reassignment routines after the interface is detached from - * current vnet and before the interface gets attached to the target - * vnet. This routine attempts to shrink if_index in current vnet, - * find an unused if_index in target vnet and calls if_grow() if - * necessary, and finally finds an unused if_xname for the target - * vnet. - * - * XXX this routine should hold a lock over if_index and return with - * such a lock held, and the caller should release that lock - * after ifattach completes! - */ -void -if_reassign_common(struct ifnet *ifp, struct vnet *new_vnet, const char *dname) -{ - /* do/while construct needed to confine scope of INIT_VNET_NET() */ - do { - INIT_VNET_NET(curvnet); - - IFNET_WLOCK(); - ifnet_setbyindex(ifp->if_index, NULL); - while (V_if_index > 0 && - ifnet_byindex_locked(V_if_index) == NULL) - V_if_index--; - IFNET_WUNLOCK(); - } while (0); - - CURVNET_SET_QUIET(new_vnet); - INIT_VNET_NET(new_vnet); - /* - * Try to find an empty slot below if_index. If we fail, take - * the next slot. - */ - IFNET_WLOCK(); - for (ifp->if_index = 1; ifp->if_index <= V_if_index; ifp->if_index++) { - if (ifnet_byindex_locked(ifp->if_index) == NULL) - break; - } - /* Catch if_index overflow. */ - if (ifp->if_index < 1) - panic("vi_if_move: if_index overflow"); - - if (ifp->if_index > V_if_index) - V_if_index = ifp->if_index; - if (V_if_index >= V_if_indexlim) - if_grow(); - ifnet_setbyindex(ifp->if_index, ifp); - IFNET_WUNLOCK(); - - /* Rename the ifnet */ - if (new_vnet == ifp->if_home_vnet) { - /* always restore the original name on return to home vnet */ - if_initname(ifp, ifp->if_dname, ifp->if_dunit); - } else { - int unit = 0; - struct ifnet *iter; - - do { - snprintf(ifp->if_xname, IFNAMSIZ, "%s%d", dname, unit); - TAILQ_FOREACH(iter, &V_ifnet, if_link) - if (strcmp(ifp->if_xname, iter->if_xname) == 0) - break; - unit++; - } while (iter); - } - CURVNET_RESTORE(); -} - -/* - * Move the interface to another vnet. The interface can be specified either - * by ifp argument, or by name contained in vi_req->vi_chroot if NULL is - * passed as ifp. The interface will be renamed to vi_req->vi_parent_name - * if vi_req->vi_parent_name is not an empty string (uff ugly ugly)... - * Similary, the target vnet can be specified either by vnet argument or - * by name. If vnet name equals to ".." or vi_req is set to NULL the - * interface is moved to the parent vnet. - */ -int -vi_if_move(struct vi_req *vi_req, struct ifnet *ifp, struct vimage *vip) -{ - struct vimage *new_vip; - struct vnet *new_vnet = NULL; - - if (vi_req == NULL || strcmp(vi_req->vi_name, "..") == 0) { - if (IS_DEFAULT_VIMAGE(vip)) - return (ENXIO); - new_vnet = vip->vi_parent->v_net; - } else { - new_vip = vimage_by_name(vip, vi_req->vi_name); - if (new_vip == NULL) - return (ENXIO); - new_vnet = new_vip->v_net; - } - - if (ifp == NULL) - ifp = ifunit(vi_req->vi_chroot); - if (ifp == NULL) - return (ENXIO); - - /* Abort if driver did not provide a if_reassign() method */ - if (ifp->if_reassign == NULL) - return (ENODEV); - - if (vi_req != NULL) { - struct ifnet *t_ifp; - - CURVNET_SET_QUIET(new_vnet); - t_ifp = ifunit(vi_req->vi_if_xname); - CURVNET_RESTORE(); - if (t_ifp != NULL) - return (EEXIST); - } - - if (vi_req && strlen(vi_req->vi_if_xname) > 0) - ifp->if_reassign(ifp, new_vnet, vi_req->vi_if_xname); - else - ifp->if_reassign(ifp, new_vnet, NULL); - getmicrotime(&ifp->if_lastchange); - - /* Report the new if_xname back to the userland */ - if (vi_req != NULL) - sprintf(vi_req->vi_chroot, "%s", ifp->if_xname); - - return (0); -} - - -struct vimage * -vimage_by_name(struct vimage *top, char *name) -{ - struct vimage *vip; - char *next_name; - int namelen; - - next_name = strchr(name, '.'); - if (next_name != NULL) { - namelen = next_name - name; - next_name++; - if (namelen == 0) { - if (strlen(next_name) == 0) - return(top); /* '.' == this vimage */ - else - return(NULL); - } - } else - namelen = strlen(name); - if (namelen == 0) - return(NULL); - LIST_FOREACH(vip, &top->vi_child_head, vi_sibling) - if (strlen(vip->vi_name) == namelen && - strncmp(name, vip->vi_name, namelen) == 0) { - if (next_name != NULL) - return(vimage_by_name(vip, next_name)); - else - return(vip); - } - return(NULL); -} - - -vimage_relative_name(struct vimage *top, struct vimage *where, - char *buffer, int bufflen) -{ - int used = 1; - - if (where == top) { - sprintf(buffer, "."); - return; - } else - *buffer = 0; - - do { - int namelen = strlen(where->vi_name); - - if (namelen + used + 1 >= bufflen) - panic("buffer overflow"); - - if (used > 1) { - bcopy(buffer, &buffer[namelen + 1], used); - buffer[namelen] = '.'; - used++; - } else - bcopy(buffer, &buffer[namelen], used); - bcopy(where->vi_name, buffer, namelen); - used += namelen; - where = where->vi_parent; - } while (where != top); -} - - static struct vimage * -vimage_get_next(struct vimage *top, struct vimage *where, int recurse) -{ - struct vimage *next; - - if (recurse) { - /* Try to go deeper in the hierarchy */ - next = LIST_FIRST(&where->vi_child_head); - if (next != NULL) - return(next); - } - - do { - /* Try to find next sibling */ - next = LIST_NEXT(where, vi_sibling); - if (!recurse || next != NULL) - return(next); - - /* Nothing left on this level, go one level up */ - where = where->vi_parent; - } while (where != top->vi_parent); - - /* Nothing left to be visited, we are done */ - return(NULL); -} - - -int -vi_td_ioctl(u_long cmd, struct vi_req *vi_req, struct thread *td) -{ - int error; - struct vimage *vip = TD_TO_VIMAGE(td); - struct vimage *vip_r = NULL; - - error = priv_check(td, PRIV_REBOOT); /* XXX fixme MARKO */ - if (error) - return (error); - - vip_r = vimage_by_name(vip, vi_req->vi_name); - if (vip_r == NULL && !(vi_req->req_action & VI_CREATE)) - return (ESRCH); - if (vip_r != NULL && vi_req->req_action & VI_CREATE) - return (EADDRINUSE); - if (vi_req->req_action == VI_GETNEXT) { - vip_r = vimage_get_next(vip, vip_r, 0); - if (vip_r == NULL) - return (ESRCH); - } - if (vi_req->req_action == VI_GETNEXT_RECURSE) { - vip_r = vimage_get_next(vip, vip_r, 1); - if (vip_r == NULL) - return (ESRCH); - } - - if (vip_r && !vi_child_of(vip, vip_r) && /* XXX delete the rest? */ - vi_req->req_action != VI_GET && vi_req->req_action != VI_GETNEXT) - return (EPERM); - - switch (cmd) { - - case SIOCGPVIMAGE: - vimage_relative_name(vip, vip_r, vi_req->vi_name, - sizeof (vi_req->vi_name)); - vi_req->vi_proc_count = vip_r->v_procg->nprocs; - vi_req->vi_if_count = vip_r->v_net->ifccnt; - vi_req->vi_sock_count = vip_r->v_net->sockcnt; - break; - - case SIOCSPVIMAGE: - if (vi_req->req_action == VI_DESTROY) { - error = vi_destroy(vip_r); - break; - } - - if (vi_req->req_action == VI_SWITCHTO) { - struct proc *p = td->td_proc; - struct ucred *oldcred, *newcred; - - /* - * XXX priv_check()? - * XXX allow only a single td per proc here? - */ - newcred = crget(); - PROC_LOCK(p); - oldcred = p->p_ucred; - setsugid(p); - crcopy(newcred, oldcred); - refcount_release(&newcred->cr_vimage->vi_ucredrefc); - newcred->cr_vimage = vip_r; - refcount_acquire(&newcred->cr_vimage->vi_ucredrefc); - p->p_ucred = newcred; - PROC_UNLOCK(p); - sx_xlock(&allproc_lock); - oldcred->cr_vimage->v_procg->nprocs--; - refcount_release(&oldcred->cr_vimage->vi_ucredrefc); - P_TO_VPROCG(p)->nprocs++; -#if 0 - sched_load_reassign(oldcred->cr_vimage->v_procg, - newcred->cr_vimage->v_procg); -#endif - sx_xunlock(&allproc_lock); - crfree(oldcred); - break; - } - - if (vi_req->req_action & VI_CREATE) { - char *dotpos; - - dotpos = strrchr(vi_req->vi_name, '.'); - if (dotpos != NULL) { - *dotpos = 0; - vip = vimage_by_name(vip, vi_req->vi_name); - if (vip == NULL) - return (ESRCH); - dotpos++; - vip_r = vi_alloc(vip, dotpos); - } else - vip_r = vi_alloc(vip, vi_req->vi_name); - if (vip_r == NULL) - return (ENOMEM); - } - - /* XXX What the hell is this doing here? */ - if (vip == vip_r && !IS_DEFAULT_VIMAGE(vip)) - return (EPERM); - } - - return (error); -} - - -struct vimage * vi_alloc(struct vimage *parent, char *name) { struct vimage *vip; struct vprocg *vprocg; struct vnet *vnet; - struct vprocg *vprocg; struct vnet_modlink *vml; - /* - * XXX don't forget the locking - */ - - /* A brute force check whether there's enough mem for a new vimage */ - vip = malloc(512*1024, M_VIMAGE, M_NOWAIT); /* XXX aaaargh... */ - if (vip == NULL) - goto vi_alloc_done; - free(vip, M_VIMAGE); - vip = malloc(sizeof(struct vimage), M_VIMAGE, M_NOWAIT | M_ZERO); if (vip == NULL) panic("vi_alloc: malloc failed for vimage \"%s\"\n", name); @@ -1061,11 +660,9 @@ /* XXX locking */ LIST_INSERT_HEAD(&vprocg_head, vprocg, vprocg_le); -vi_alloc_done: return (vip); } - /* * Destroy a vnet - unlink all linked lists, free all the memory, stop all * the timers... How can one ever be sure to have done *all* the necessary @@ -1124,10 +721,6 @@ vnet_modlink_head, vml_mod_le) vnet_mod_destructor(vml); -#if 0 - free((caddr_t)vnet->ifnet_addrs, M_IFADDR); - free((caddr_t)vnet->ifindex2ifnet, M_IFADDR); - CURVNET_RESTORE(); /* hopefully, we are finally OK to free the vnet container itself! */ @@ -1140,7 +733,6 @@ } #endif /* VIMAGE */ -#ifndef VIMAGE_GLOBALS static void vi_init(void *unused) { From zec at FreeBSD.org Sun May 31 19:37:11 2009 From: zec at FreeBSD.org (Marko Zec) Date: Sun May 31 19:37:27 2009 Subject: PERFORCE change 163195 for review Message-ID: <200905311937.n4VJb6oD025848@repoman.freebsd.org> http://perforce.freebsd.org/chv.cgi?CH=163195 Change 163195 by zec@zec_tpx32 on 2009/05/31 19:36:12 Unbreak GENERIC build. Affected files ... .. //depot/projects/vimage/src/sys/net/if_loop.c#47 edit Differences ... ==== //depot/projects/vimage/src/sys/net/if_loop.c#47 (text+ko) ==== @@ -118,7 +118,6 @@ #ifdef VIMAGE_GLOBALS struct ifnet *loif; /* Used externally */ -static LIST_HEAD(lo_list, lo_softc) lo_list; #endif #ifdef VIMAGE @@ -193,7 +192,6 @@ if_attach(ifp); bpfattach(ifp, DLT_NULL, sizeof(u_int32_t)); mtx_lock(&lo_mtx); - LIST_INSERT_HEAD(&V_lo_list, sc, sc_next); mtx_unlock(&lo_mtx); return (0); From zec at FreeBSD.org Sun May 31 19:42:20 2009 From: zec at FreeBSD.org (Marko Zec) Date: Sun May 31 19:42:25 2009 Subject: PERFORCE change 163197 for review Message-ID: <200905311942.n4VJgIDv026259@repoman.freebsd.org> http://perforce.freebsd.org/chv.cgi?CH=163197 Change 163197 by zec@zec_tpx32 on 2009/05/31 19:41:25 Fix more breakagage... Affected files ... .. //depot/projects/vimage/src/sys/nfsclient/nfs_vfsops.c#29 edit Differences ... ==== //depot/projects/vimage/src/sys/nfsclient/nfs_vfsops.c#29 (text+ko) ==== @@ -57,6 +57,7 @@ #include #include #include +#include #include #include From zec at FreeBSD.org Sun May 31 19:47:24 2009 From: zec at FreeBSD.org (Marko Zec) Date: Sun May 31 19:47:33 2009 Subject: PERFORCE change 163198 for review Message-ID: <200905311947.n4VJlNbc026634@repoman.freebsd.org> http://perforce.freebsd.org/chv.cgi?CH=163198 Change 163198 by zec@zec_tpx32 on 2009/05/31 19:46:39 Backport vimage(8) simplifications from vc2. Affected files ... .. //depot/projects/vimage/src/usr.sbin/vimage/Makefile#3 edit .. //depot/projects/vimage/src/usr.sbin/vimage/vimage.8#3 edit .. //depot/projects/vimage/src/usr.sbin/vimage/vimage.c#10 edit Differences ... ==== //depot/projects/vimage/src/usr.sbin/vimage/Makefile#3 (text+ko) ==== ==== //depot/projects/vimage/src/usr.sbin/vimage/vimage.8#3 (text+ko) ==== @@ -38,7 +38,7 @@ .Ar vi_name .Op command .Nm -.Brq Fl c | m +.Brq Fl c .Ar vi_name .Op options .Nm @@ -50,39 +50,36 @@ .Nm .Fl i .Ar vi_name interface -.Op target_interface .Sh DESCRIPTION .Nm command is the user interface for controlling the virtual image facility in FreeBSD. .Ss Overview Each virtual image presents an isolated operating environment with its own -private view of vital system resources, most notably user processes, -CPU time share and an independent network stack instance. -Accordingly, every process and every network interface present -in the system is always assigned +independent network stack instance. Accordingly, every process, socket +and every network interface present in the system is always assigned to a single and unique virtual image. During the system bootup sequence -the +a .So default .Sc virtual image is created to which all the configured interfaces and user processes are initially assigned. -Assuming that enough system resources -and per virtual image privileges are provided, the super-user can create and -manage a hierarchy of subordinated virtual images. The +Assuming that enough system resources and per virtual image privileges +are provided, the super-user can create and manage a hierarchy of +subordinated virtual images. The .Nm -command allows -creation, deletion, modification and monitoring of virtual images, as well as -execution of arbitrary processes in the target virtual image. +command allows for creation, deletion and monitoring of virtual images, +as well as for execution of arbitrary processes in a targeted virtual +image. .Ss Invocation With no arguments provided, the .Nm command returns the name of the current virtual image -on the standard output and exits. +on the standard output and exits. /* XXX this is pointles - current +name is always "." */ .Pp If invoked with no modifiers, the .Nm -command spawns a new process in virtual -image +command spawns a new process in virtual image .Ar vi_name . If provided, the optional arguments following the virtual image name .Ar vi_name @@ -99,25 +96,21 @@ If additional arguments are present following the .Ar vi_name parameter, they are interpreted as custom options (see below). -.It Fl m -Modify the custom options of the existing virtual image -.Ar vi_name , -in accordance with the additional arguments following the -.Ar vi_name -parameter (see below). .It Fl d Delete the virtual image .Ar vi_name . -No processes should exist in the target virtual image, in order for -deletion to succeed. Non-loopback interfaces residing in the target -virtual image will be reassigned to the virtual image's parent. +No processes and/or sockets should exist in the target virtual image +in order for the delete request to succeed. Non-loopback interfaces +residing in the target virtual image will be reassigned to the virtual +image's parent. .It Fl l -List the properties, custom parameters and statistics for virtual +List the properties and statistics for virtual images below the current one in the hierarchy. If an optional argument .Ar vi_name is provided, only the information regarding the target virtual image .Ar vi_name is displayed. +/* XXX mention -r modifier */ .It Fl i Move the interface .Ar interface @@ -133,68 +126,14 @@ .Pp The following options to .Fl c -and -.Fl m -modifiers are available: -.Bl -tag -width indent -.It Cm cpumin -Set the minimum guaranteed average CPU share for the target virtual image. -The parameter is specified as percentage in range between 0 and 90. -The guaranteed CPU share for the -.So default -.Sc virtual image cannot be set below 10%. -Note that the system does not enforce strict global budgeting on guaranteed -CPU time shares. Therefore it is in the sole responsibility of the system -administrator whether he/she will allow for guaranteed CPU shares to be -oversubscribed or not. By default no virtual image is granted a guaranteed -CPU share, except the -.So default -.Sc virtual image, which normally runs with -.Cm cpumin -level of 10%. -.It Cm cpumax -Set the upper limit to average total CPU usage for the target virtual image. -The limit is specified as a percentage (1-100%). However, the limit cannot -be raised above the current upper CPU limit of the parent virtual image. -By default there is no CPU usage limit (100%). -.It Cm cpuweight -If the current average CPU usage of a virtual image is above the -.Cm cpumin -level, but below the -.Cm cpumax, -the virtual image becomes subject to a proportional share CPU scheduler. -The -.Cm cpuweight -parameter determines how will the virtual image compete for the available -CPU time. The higher the -.Cm cpuweight, -the less often will the virtual image be allocated a CPU time slice. -Valid parameter values range from 1 (default) to 10. -.It Cm proc -Set the maximum number of processes that are allowed to exist simultaneously -in the target virtual image. The default is 0, which means no process limit. -.It Cm chroot -Set the chroot directory for the virtual image. All new processes spawned -into the target virtual image using the -.Nm -command will be initially chrooted to that directory. This parameter can -be changed only when no processes are running within the target virtual -image. Note that it is not required to have a chrooted environment for -a virtual image operate, which is also the default behavior. -.It Cm child -Limit the number of children the target virtual image is allowed to create. -The limit cannot be raised above the lowest child limit of all the ancestors -of the target virtual image. By default all created virtual images are -prohibited from creating new virtual images, except the -.So default -.Sc virtual image. +modifier are available: .El .Sh EXAMPLES Create a new virtual image named .So v1 -.Sc with average CPU usage limited to 20%: +.Sc : .Pp -.Dl vimage -c v1 cpumax 20% +.Dl vimage -c v1 .Pp Execute the .So ifconfig @@ -236,9 +175,6 @@ naming has to be extended to reflect virtual image association of netgraph nodes and interfaces. .Pp -No testing has been performed on SMP systems. There is absolutely no guarantee -that the kernel will even compile with SMP options enabled. -.Pp At the time of writing this document the code is still in highly experimental phase, so one should expect to encounter numerous undocumented problems. The author will welcome and appreciate all (decently documented) bugreports. @@ -249,4 +185,4 @@ .Sh HISTORY The .Nm -facility first appeared as a FreeBSD 4.7-RELEASE patch. +facility first appeared as a FreeBSD 4.7-RELEASE patch in 2002. ==== //depot/projects/vimage/src/usr.sbin/vimage/vimage.c#10 (text+ko) ==== @@ -1,6 +1,7 @@ /* - * Copyright (c) 2002, 2003, 2004 Marko Zec - * All rights reserved. + * Copyright (c) 2002-2004 Marko Zec + * Copyright (c) 2009 University of Zagreb + * Copyright (c) 2009 FreeBSD Foundation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -62,41 +63,10 @@ void vi_print(struct vi_req *vi_req) { - double lf = 1.0/vi_req->averunnable.fscale; printf("\"%s\":\n", vi_req->vi_name); - printf(" Processes (cur/max): %d/%d;", - vi_req->vi_proc_count, vi_req->vi_proc_limit); - printf(" load averages: %3.2f, %3.2f, %3.2f\n", - lf * vi_req->averunnable.ldavg[0], - lf * vi_req->averunnable.ldavg[1], - lf * vi_req->averunnable.ldavg[2]); - - printf(" CPU usage: %3.2f%%\n", vi_req->cp_time_avg / 655.04); - - printf(" Sockets (cur/max): %d/%d;", vi_req->vi_sock_count, - vi_req->vi_maxsockets); - printf(" %d network interfaces\n", vi_req->vi_if_count); - -#if 0 - printf(" CPU limits: min %3.2f%%, ", 0.0001 * vi_req->vi_cpu_min); - if (vi_req->vi_cpu_max == 0) - vi_req->vi_cpu_max = 1000000; - printf("max %3.2f%%, ", 0.0001 * vi_req->vi_cpu_max); - printf("weight %d, ", vi_req->vi_cpu_weight); - if (vi_req->vi_intr_limit) - printf("intr limit: %3.2f%%\n", - 0.0001 * vi_req->vi_intr_limit); - else - printf("no intr limit\n"); - - if (vi_req->vi_child_limit) - printf(" child limit: %d\n", vi_req->vi_child_limit); - if (vi_req->vi_child_count) - printf(" %d child vimages\n", vi_req->vi_child_count); - if (vi_req->vi_chroot[0]) - printf(" Chroot dir: %s\n", vi_req->vi_chroot); -#endif + printf(" %d sockets, %d ifnets\n", vi_req->vi_sock_count, + vi_req->vi_if_count); } @@ -111,7 +81,7 @@ int argc; char *argv[]; { - int s, i; + int s; char *shell; int cmd = VI_SWITCHTO; struct vi_req vi_req; @@ -150,13 +120,12 @@ strcpy(vi_req.vi_name, argv[2]); if (strcmp(argv[1], "-c") == 0) cmd = VI_CREATE; - if (strcmp(argv[1], "-m") == 0) - cmd = VI_MODIFY; if (strcmp(argv[1], "-i") == 0) cmd = VI_IFACE; } - vi_req.req_action = cmd; + vi_req.vi_api_cookie = VI_API_COOKIE; + vi_req.vi_req_action = cmd; switch (cmd) { case VI_GET: @@ -170,89 +139,26 @@ case VI_GETNEXT: case VI_GETNEXT_RECURSE: - vi_req.req_action = VI_GET; + vi_req.vi_req_action = VI_GET; if (ioctl(s, SIOCGPVIMAGE, (caddr_t)&vi_req) < 0) goto abort; vi_print(&vi_req); - vi_req.req_action = VI_GETNEXT_RECURSE; + vi_req.vi_req_action = VI_GETNEXT_RECURSE; while (ioctl(s, SIOCGPVIMAGE, (caddr_t)&vi_req) == 0) { vi_print(&vi_req); - vi_req.req_action = cmd; + vi_req.vi_req_action = cmd; } exit(0); case VI_IFACE: - /* here vi_chroot stores the current ifc name */ - strncpy(vi_req.vi_chroot, argv[3], sizeof(vi_req.vi_chroot)); - if (argc >= 5) - strncpy(vi_req.vi_if_xname, argv[4], + strncpy(vi_req.vi_if_xname, argv[3], sizeof(vi_req.vi_if_xname)); - else - vi_req.vi_if_xname[0] = 0; if (ioctl(s, SIOCSIFVIMAGE, (caddr_t)&vi_req) < 0) goto abort; - printf("%s@%s\n", vi_req.vi_chroot, vi_req.vi_name); + printf("%s@%s\n", vi_req.vi_if_xname, vi_req.vi_name); exit(0); case VI_CREATE: - case VI_MODIFY: - for (i = 3; i < argc-1; i += 2) { - if (strcmp(argv[i], "maxsockets") == 0) { - vi_req.req_action |= VI_SET_SOCK_LIMIT; - vi_req.vi_maxsockets = strtod(argv[i+1], NULL); - } - if (strcmp(argv[i], "cpumin") == 0) { - vi_req.req_action |= VI_SET_CPU_MIN; - vi_req.vi_cpu_min = - strtod(argv[i+1], NULL) * 10000; - if (vi_req.vi_cpu_min > 900000) { - fprintf(stderr, "error: cpumin must be between 0 and 90\n"); - exit(1); - } - } - if (strcmp(argv[i], "cpumax") == 0) { - vi_req.req_action |= VI_SET_CPU_MAX; - vi_req.vi_cpu_max = - strtod(argv[i+1], NULL) * 10000; - if (vi_req.vi_cpu_max < 10000 || - vi_req.vi_cpu_max > 1000000) { - fprintf(stderr, "error: cpumax must be between 1 and 100\n"); - exit(1); - } - } - if (strcmp(argv[i], "cpuweight") == 0) { - vi_req.req_action |= VI_SET_CPU_WEIGHT; - vi_req.vi_cpu_weight = strtod(argv[i+1], NULL); - if (vi_req.vi_cpu_weight < 1 || - vi_req.vi_cpu_weight > 10) { - fprintf(stderr, "error: cpuweight must be between 1 and 10\n"); - exit(1); - } - } - if (strcmp(argv[i], "intr") == 0) { - vi_req.req_action |= VI_SET_INTR_LIMIT; - vi_req.vi_intr_limit = - strtod(argv[i+1], NULL) * 10000; - if (vi_req.vi_intr_limit < 10000 || - vi_req.vi_intr_limit > 1000000) { - fprintf(stderr, "error: intr limit must be between 1 and 100\n"); - exit(1); - } - } - if (strcmp(argv[i], "child") == 0) { - vi_req.req_action |= VI_SET_CHILD_LIMIT; - vi_req.vi_child_limit = atoi(argv[i+1]); - } - if (strcmp(argv[i], "proc") == 0) { - vi_req.req_action |= VI_SET_PROC_LIMIT; - vi_req.vi_proc_limit = atoi(argv[i+1]); - } - if (strcmp(argv[i], "chroot") == 0) { - vi_req.req_action |= VI_SET_CHROOT; - strncpy(vi_req.vi_chroot, argv[i+1], - sizeof(vi_req.vi_chroot)); - } - } if (ioctl(s, SIOCSPVIMAGE, (caddr_t)&vi_req) < 0) goto abort; exit(0); @@ -262,16 +168,12 @@ if (ioctl(s, SIOCSPVIMAGE, (caddr_t)&vi_req) < 0) goto abort; - vi_req.req_action = VI_GET; + vi_req.vi_req_action = VI_GET; strcpy(vi_req.vi_name, "."); if (ioctl(s, SIOCGPVIMAGE, (caddr_t)&vi_req) < 0) { printf("XXX this should have not happened!\n"); goto abort; } - - if (strlen(vi_req.vi_chroot) && (chdir(vi_req.vi_chroot) || - chroot(vi_req.vi_chroot))) - goto abort; close(s); if (argc == 2) { From dforsyth at FreeBSD.org Sun May 31 19:58:36 2009 From: dforsyth at FreeBSD.org (David Forsythe) Date: Sun May 31 19:58:43 2009 Subject: PERFORCE change 163199 for review Message-ID: <200905311958.n4VJwYlv027478@repoman.freebsd.org> http://perforce.freebsd.org/chv.cgi?CH=163199 Change 163199 by dforsyth@squirrel on 2009/05/31 19:57:52 Moved files into subdirectories. Lets see if I did this right. Affected files ... .. //depot/projects/soc2009/dforsyth_libpkg/info/main.c#1 add .. //depot/projects/soc2009/dforsyth_libpkg/libpkg/pkg.c#1 add .. //depot/projects/soc2009/dforsyth_libpkg/libpkg/pkg.h#1 add .. //depot/projects/soc2009/dforsyth_libpkg/libpkg/pkg_info.c#1 add .. //depot/projects/soc2009/dforsyth_libpkg/libpkg/pkg_info.h#1 add .. //depot/projects/soc2009/dforsyth_libpkg/libpkg/pkg_util.c#1 add .. //depot/projects/soc2009/dforsyth_libpkg/libpkg/pkg_util.h#1 add .. //depot/projects/soc2009/dforsyth_libpkg/libpkg/pkgdb.c#1 add .. //depot/projects/soc2009/dforsyth_libpkg/libpkg/pkgdb.h#1 add .. //depot/projects/soc2009/dforsyth_libpkg/pkg.c#7 delete .. //depot/projects/soc2009/dforsyth_libpkg/pkg.h#6 delete .. //depot/projects/soc2009/dforsyth_libpkg/pkg_info.c#3 delete .. //depot/projects/soc2009/dforsyth_libpkg/pkg_util.c#2 delete .. //depot/projects/soc2009/dforsyth_libpkg/pkg_util.h#2 delete .. //depot/projects/soc2009/dforsyth_libpkg/pkgdb.c#7 delete .. //depot/projects/soc2009/dforsyth_libpkg/pkgdb.h#4 delete Differences ... From pgj at FreeBSD.org Sun May 31 20:24:03 2009 From: pgj at FreeBSD.org (Gabor Pali) Date: Sun May 31 20:24:09 2009 Subject: PERFORCE change 163203 for review Message-ID: <200905312024.n4VKO1bC030741@repoman.freebsd.org> http://perforce.freebsd.org/chv.cgi?CH=163203 Change 163203 by pgj@petymeg on 2009/05/31 20:23:23 IFC Affected files ... .. //depot/projects/docproj_hu/www/en/gnome/contact.sgml#2 integrate .. //depot/projects/docproj_hu/www/en/gnome/docs/develfaq.sgml#4 integrate .. //depot/projects/docproj_hu/www/en/gnome/images/Makefile#3 integrate .. //depot/projects/docproj_hu/www/en/gnome/images/pav.jpg#2 delete .. //depot/projects/docproj_hu/www/en/platforms/amd64/motherboards.sgml#6 integrate .. //depot/projects/docproj_hu/www/hu/share/sgml/news.xml#33 integrate Differences ... ==== //depot/projects/docproj_hu/www/en/gnome/contact.sgml#2 (text+ko) ==== @@ -1,6 +1,6 @@ - + @@ -44,16 +44,6 @@ - - jylefort - - - Jean-Yves Lefort - (jylefort@FreeBSD.org)
    - IRC (FreeNode): decadix - - - Jeremy Messenger (mezz@FreeBSD.org)
    @@ -95,17 +85,6 @@ IRC (FreeNode): ahze - - - Pav Lucistnik - (pav@FreeBSD.org)
    - WWW: www.oook.cz
    - IRC (FreeNode): Pav - - - pav - - @@ -119,9 +98,11 @@
  • Ade Lovett
  • Dima Ruban
  • Eivind Eklund
  • +
  • Jean-Yves Lefort
  • Jimmy Olgeni
  • Justin M. Seger
  • Maxim Sobolev
  • +
  • Pav Lucistnik
  • Vanilla I. Shu
  • ==== //depot/projects/docproj_hu/www/en/gnome/docs/develfaq.sgml#4 (text+ko) ==== @@ -1,6 +1,6 @@ - + @@ -158,9 +158,8 @@
  • What is the current state of development GNOME on FreeBSD?

    -

    Because of the long ports tree freeze, we have not yet - started work on GNOME &gnomedevelver;. Stay tuned for more - updates.

    +

    GNOME &gnomedevelver; is underway. We have ported + &gnomedevelver;.2 to FreeBSD. Start testing now!

  • &footer; ==== //depot/projects/docproj_hu/www/en/gnome/images/Makefile#3 (text+ko) ==== @@ -1,4 +1,4 @@ -# $FreeBSD: www/en/gnome/images/Makefile,v 1.54 2009/01/18 23:52:33 marcus Exp $ +# $FreeBSD: www/en/gnome/images/Makefile,v 1.55 2009/05/30 19:39:32 marcus Exp $ .if exists(../Makefile.conf) .include "../Makefile.conf" @@ -34,6 +34,5 @@ DATA+= kwm.jpg DATA+= marcus.jpg DATA+= mezz.jpg -DATA+= pav.jpg .include "${WEB_PREFIX}/share/mk/web.site.mk" ==== //depot/projects/docproj_hu/www/en/platforms/amd64/motherboards.sgml#6 (text+ko) ==== @@ -1,6 +1,6 @@ - + @@ -1079,6 +1079,14 @@ Supermicro + X7DBE+ + Intel 5000P / 2x LGA 771 + Alexander Lunyov (dmesg, pciconf) + 7.2-RELEASE + Works fine. Onboard RAID untested. + + + Supermicro X7SBA Intel 3210 + ICH9R / LGA 775 Brad Davis ==== //depot/projects/docproj_hu/www/hu/share/sgml/news.xml#33 (text+ko) ==== @@ -11,7 +11,7 @@ - $FreeBSD: www/hu/share/sgml/news.xml,v 1.11 2009/05/29 05:00:42 pgj Exp $ + $FreeBSD: www/hu/share/sgml/news.xml,v 1.12 2009/05/30 07:42:16 pgj Exp $ From tatsianka at FreeBSD.org Sun May 31 20:26:06 2009 From: tatsianka at FreeBSD.org (Tatsiana Severyna) Date: Sun May 31 20:26:13 2009 Subject: PERFORCE change 163204 for review Message-ID: <200905312026.n4VKQ39L031084@repoman.freebsd.org> http://perforce.freebsd.org/chv.cgi?CH=163204 Change 163204 by tatsianka@tatsianka_zonder on 2009/05/31 20:25:30 Add port of putter (pass-to-userspace transporter) device driver from NetBSD Affected files ... .. //depot/projects/soc2009/tatsianka_puffs/putter/Makefile#1 add .. //depot/projects/soc2009/tatsianka_puffs/putter/putter.c#1 add .. //depot/projects/soc2009/tatsianka_puffs/putter/putter.h#1 add .. //depot/projects/soc2009/tatsianka_puffs/putter/putter_sys.h#1 add Differences ... From tatsianka at FreeBSD.org Sun May 31 20:31:11 2009 From: tatsianka at FreeBSD.org (Tatsiana Severyna) Date: Sun May 31 20:31:27 2009 Subject: PERFORCE change 163205 for review Message-ID: <200905312031.n4VKV9Sj032396@repoman.freebsd.org> http://perforce.freebsd.org/chv.cgi?CH=163205 Change 163205 by tatsianka@tatsianka_zonder on 2009/05/31 20:30:56 Add port of puffs (pass-to-userspace framework file system) kernel-level part from NetBSD Porting is at early stage. Most of functinality is disable with ifdef's and it's not functional Affected files ... .. //depot/projects/soc2009/tatsianka_puffs/puffs/Makefile#1 add .. //depot/projects/soc2009/tatsianka_puffs/puffs/puffs_msgif.c#1 add .. //depot/projects/soc2009/tatsianka_puffs/puffs/puffs_msgif.h#1 add .. //depot/projects/soc2009/tatsianka_puffs/puffs/puffs_node.c#1 add .. //depot/projects/soc2009/tatsianka_puffs/puffs/puffs_subr.c#1 add .. //depot/projects/soc2009/tatsianka_puffs/puffs/puffs_sys.h#1 add .. //depot/projects/soc2009/tatsianka_puffs/puffs/puffs_vfsops.c#1 add .. //depot/projects/soc2009/tatsianka_puffs/puffs/puffs_vnops.c#1 add Differences ... From pgj at FreeBSD.org Sun May 31 20:55:35 2009 From: pgj at FreeBSD.org (Gabor Pali) Date: Sun May 31 20:55:42 2009 Subject: PERFORCE change 163207 for review Message-ID: <200905312055.n4VKtXrB044092@repoman.freebsd.org> http://perforce.freebsd.org/chv.cgi?CH=163207 Change 163207 by pgj@petymeg on 2009/05/31 20:54:36 MFen (doc): 1.237 -> 1.238 hu_HU.ISO8859-2/books/handbook/config/chapter.sgml 1.463 -> 1.464 hu_HU.ISO8859-2/books/handbook/mirrors/chapter.sgml Affected files ... .. //depot/projects/docproj_hu/doc/hu_HU.ISO8859-2/books/handbook/config/chapter.sgml#24 edit .. //depot/projects/docproj_hu/doc/hu_HU.ISO8859-2/books/handbook/mirrors/chapter.sgml#30 edit Differences ... ==== //depot/projects/docproj_hu/doc/hu_HU.ISO8859-2/books/handbook/config/chapter.sgml#24 (text+ko) ==== @@ -7,7 +7,7 @@ @@ -527,92 +527,6 @@ beállítások egyszerû indítószkriptekkel adhatóak meg.
    - Az rc.d eljövetele elõtt az - alkalmazások indításához be kellett - másolni egy egyszerû indítószkriptet a - /usr/local/etc/rc.d - könyvtárba, melyet aztán a rendszer - indításához használt szkriptek - olvastak be. Ezek a szkriptek aztán késõbb a - rendszer indítása során - végrehajtódtak. - - Miközben rengetegen próbálták - beolvasztani ezt a megszokott konfigurációs - stílust egy új rendszerbe, a külsõ - alkalmazások mûködtetéséhez - továbbra is az elõbb említett - könyvtárban elhelyezett szkriptekre van - szükség. A szkriptek közötti apró - eltérések leginkább abban nyilvánulnak - meg, hogy az rc.d könyvtárat - használják-e vagy sem. A &os; 5.1-es - verziója elõtt a régebbi - konfigurációs megoldást - használták, de az új szkriptek szinte az - összes esetben megfelelõnek bizonyultak. - - 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 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 555 - kódú engedélyeket. Ezen felül a - szkriptnek még tudnia kell kezelnie a - start és stop - paramétereket. - - A legegyszerûbb indítószkript valahogy - így nézhet ki: - - #!/bin/sh -echo -n ' utility' - -case "$1" in -start) - /usr/local/bin/utility - ;; -stop) - kill -9 `cat /var/run/utility.pid` - ;; -*) - echo "Usage: `basename $0` {start|stop}" >&2 - exit 64 - ;; -esac - -exit 0 - - Ez a szkript képes értelmezni a - start és stop - parancsokat az alkalmazás számára, ami itt - egyszerûen csak a utility nevet - kapta. - - Manuálisan így tudjuk elindítani: - - &prompt.root; /usr/local/etc/rc.d/utility start - - Habár nem mindegyik külsõ szoftvert kell - külön megadni az rc.conf - állományban, majdnem minden nap - módosítani kell egy portot a - beállítások elfogadásához. Az - egyes alkalmazásokra vonatkozó - kiegészítõ információkhoz - nézzük meg a telepítés után - keletkezõ üzeneteket. Egyes külsõ - szoftverekhez mellékelnek olyan - indítószkripteket, amelyek lehetõvé - teszik az alkalmazás meghívását az - rc.d - könyvtárból. Ezekrõl a - következõ szakaszban még szólni - fogunk. - Az alkalmazások részletesebb beállítása @@ -641,14 +555,6 @@ # REQUIRE: DAEMON # KEYWORD: shutdown -# -# NE VÁLTOZTASSUK MEG AZ ITT LÉVÕ ALAPÉRTELMEZÉSEKET, -# INKÁBB AZ /etc/rc.conf ÁLLOMÁNYBAN ÁLLÍTSUK BE EZEKET -# -utility_enable=${utility_enable-"NO"} -utility_flags=${utility_flags-""} -utility_pidfile=${utility_pidfile-"/var/run/utility.pid"} - . /etc/rc.subr name="utility" @@ -657,15 +563,20 @@ load_rc_config $name +# +# NE VÁLTOZTASSUK MEG AZ ITT LÉVÕ ALAPÉRTELMEZÉSEKET, +# INKÁBB AZ /etc/rc.conf ÁLLOMÁNYBAN ÁLLÍTSUK BE EZEKET +# +utility_enable=${utility_enable-"NO"} +utility_pidfile=${utility_pidfile-"/var/run/utility.pid"} + pidfile="${utility_pidfile}" -start_cmd="echo \"Starting ${name}.\"; /usr/bin/nice -5 ${command} ${utility_flags} ${command_args}" - run_rc_command "$1" Ez a szkript gondoskodik arról, hogy a utility nevû alkalmazás a - daemon szolgáltatás után + DAEMON szolgáltatás után induljon el. Emellett még felkínál egy módszert a PID avagy futó programok azonosítójának @@ -688,7 +599,6 @@ segédprogrammal szembeni kompatibilitást és az rc.conf állomány könnyebb beállítását. - ==== //depot/projects/docproj_hu/doc/hu_HU.ISO8859-2/books/handbook/mirrors/chapter.sgml#30 (text+ko) ==== @@ -7,7 +7,7 @@ The FreeBSD Hungarian Documentation Project Translated by: PALI, Gabor %SOURCE% en_US.ISO8859-1/books/handbook/mirrors/chapter.sgml - %SRCID% 1.463 + %SRCID% 1.464 --> @@ -193,6 +193,17 @@
    + LinuxCenter.Kz + Uszty-Kamenogorszk + Kazahsztán + Telefon: +7-705-501-6001 + e-mail: info@linuxcenter.kz + WWW: +
    +
    + + +
    LinuxCenter.Ru Galernaya utca, 55 Szentpétervár From gk at FreeBSD.org Sun May 31 21:59:50 2009 From: gk at FreeBSD.org (Gleb Kurtsou) Date: Sun May 31 21:59:59 2009 Subject: PERFORCE change 163210 for review Message-ID: <200905312159.n4VLxiBW050057@repoman.freebsd.org> http://perforce.freebsd.org/chv.cgi?CH=163210 Change 163210 by gk@gk_h1 on 2009/05/31 21:59:22 create branch Affected files ... .. //depot/projects/soc2009/gk_pefs/sbin/mount/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sbin/mount/extern.h#1 branch .. //depot/projects/soc2009/gk_pefs/sbin/mount/getmntopts.3#1 branch .. //depot/projects/soc2009/gk_pefs/sbin/mount/getmntopts.c#1 branch .. //depot/projects/soc2009/gk_pefs/sbin/mount/mntopts.h#1 branch .. //depot/projects/soc2009/gk_pefs/sbin/mount/mount.8#1 branch .. //depot/projects/soc2009/gk_pefs/sbin/mount/mount.c#1 branch .. //depot/projects/soc2009/gk_pefs/sbin/mount/mount_fs.c#1 branch .. //depot/projects/soc2009/gk_pefs/sbin/mount/pathnames.h#1 branch .. //depot/projects/soc2009/gk_pefs/sbin/mount/vfslist.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/acpica/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/acpica/OsdEnvironment.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/acpica/acpi_machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/acpica/acpi_switch.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/acpica/acpi_wakecode.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/acpica/acpi_wakeup.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/acpica/genwakecode.sh#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/acpica/genwakedata.sh#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/acpica/madt.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/amd64_mem.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/apic_vector.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/atomic.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/autoconf.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/bios.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/bpf_jit_machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/bpf_jit_machdep.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/busdma_machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/cpu_switch.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/db_disasm.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/db_interface.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/db_trace.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/dump_machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/elf_machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/exception.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/fpu.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/gdb_machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/genassym.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/identcpu.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/in_cksum.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/initcpu.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/intr_machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/io.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/io_apic.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/legacy.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/local_apic.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/locore.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/mca.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/mem.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/minidump_machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/mp_machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/mp_watchdog.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/mpboot.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/mptable.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/mptable_pci.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/msi.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/nexus.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/pmap.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/prof_machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/sigtramp.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/stack_machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/support.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/sys_machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/trap.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/tsc.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/uio_machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/uma_machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/amd64/vm_machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/compile/.cvsignore#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/conf/.cvsignore#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/conf/DEFAULTS#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/conf/GENERIC#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/conf/GENERIC.hints#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/conf/MAC#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/conf/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/conf/NOTES#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/conf/XENHVM#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/ia32/ia32_exception.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/ia32/ia32_misc.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/ia32/ia32_reg.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/ia32/ia32_signal.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/ia32/ia32_sigtramp.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/ia32/ia32_syscall.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/_bus.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/_inttypes.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/_limits.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/_stdint.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/_types.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/acpica_machdep.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/apicreg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/apicvar.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/asm.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/asmacros.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/atomic.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/bus.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/bus_dma.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/clock.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/cpu.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/cpufunc.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/cputypes.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/db_machdep.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/elf.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/endian.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/exec.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/float.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/floatingpoint.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/fpu.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/frame.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/gdb_machdep.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/ieeefp.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/in_cksum.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/intr_machdep.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/iodev.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/kdb.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/legacyvar.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/limits.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/mca.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/md_var.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/memdev.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/metadata.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/minidump.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/mp_watchdog.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/mptable.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/mutex.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/nexusvar.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/param.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/pc/bios.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/pc/display.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/pcb.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/pci_cfgreg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/pcpu.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/pmap.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/pmc_mdep.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/ppireg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/proc.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/profile.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/psl.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/ptrace.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/reg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/reloc.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/resource.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/runq.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/segments.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/setjmp.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/sf_buf.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/sigframe.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/signal.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/smp.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/specialreg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/stack.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/stdarg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/sysarch.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/timerreg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/trap.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/tss.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/ucontext.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/varargs.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/vmparam.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/xen/hypercall.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/xen/synch_bitops.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/xen/xen-os.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/xen/xenfunc.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/xen/xenpmap.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/include/xen/xenvar.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/isa/atpic.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/isa/atpic_vector.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/isa/clock.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/isa/elcr.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/isa/icu.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/isa/isa.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/isa/isa.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/isa/isa_dma.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/isa/nmi.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/linux32/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/linux32/linux.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/linux32/linux32_dummy.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/linux32/linux32_genassym.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/linux32/linux32_ipc64.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/linux32/linux32_locore.s#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/linux32/linux32_machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/linux32/linux32_proto.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/linux32/linux32_support.s#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/linux32/linux32_syscall.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/linux32/linux32_sysent.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/linux32/linux32_sysvec.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/linux32/syscalls.conf#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/linux32/syscalls.master#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/pci/pci_bus.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/amd64/pci/pci_cfgreg.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/autoconf.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/bcopy_page.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/bcopyinout.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/bcopyinout_xscale.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/blockio.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/bootconfig.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/bus_space_asm_generic.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/bus_space_generic.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/busdma_machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/copystr.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/cpufunc.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/cpufunc_asm.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/cpufunc_asm_arm10.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/cpufunc_asm_arm11.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/cpufunc_asm_arm7tdmi.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/cpufunc_asm_arm8.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/cpufunc_asm_arm9.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/cpufunc_asm_armv4.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/cpufunc_asm_armv5.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/cpufunc_asm_armv5_ec.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/cpufunc_asm_ixp12x0.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/cpufunc_asm_sa1.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/cpufunc_asm_sa11x0.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/cpufunc_asm_sheeva.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/cpufunc_asm_xscale.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/cpufunc_asm_xscale_c3.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/db_disasm.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/db_interface.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/db_trace.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/disassem.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/dump_machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/elf_machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/elf_trampoline.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/exception.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/fiq.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/fiq_subr.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/fusu.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/gdb_machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/genassym.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/identcpu.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/in_cksum.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/in_cksum_arm.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/inckern.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/intr.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/irq_dispatch.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/locore.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/mem.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/minidump_machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/nexus.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/pmap.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/setcpsr.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/setstack.s#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/stack_machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/support.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/swtch.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/sys_machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/trap.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/uio_machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/undefined.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/vectors.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/arm/vm_machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/at91.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/at91_cfata.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/at91_machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/at91_mci.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/at91_mcireg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/at91_pdcreg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/at91_pio.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/at91_pio_rm9200.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/at91_pioreg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/at91_piovar.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/at91_pmc.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/at91_pmcreg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/at91_pmcvar.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/at91_rtc.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/at91_rtcreg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/at91_spi.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/at91_spireg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/at91_ssc.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/at91_sscreg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/at91_st.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/at91_streg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/at91_twi.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/at91_twiio.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/at91_twireg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/at91_usartreg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/at91board.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/at91rm92reg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/at91var.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/board_bwct.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/board_hl200.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/board_kb920x.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/board_tsc4370.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/files.at91#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/hints.at91rm9200#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/hints.at91sam9261#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/if_ate.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/if_atereg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/std.at91#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/std.bwct#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/std.hl200#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/std.kb920x#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/std.tsc4370#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/uart_bus_at91usart.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/uart_cpu_at91rm9200usart.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/at91/uart_dev_at91usart.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/compile/.cvsignore#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/conf/.cvsignore#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/conf/AVILA#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/conf/AVILA.hints#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/conf/BWCT#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/conf/BWCT.hints#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/conf/CAMBRIA#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/conf/CAMBRIA.hints#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/conf/CRB#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/conf/DB-78XXX#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/conf/DB-88F5XXX#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/conf/DB-88F6XXX#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/conf/DEFAULTS#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/conf/EP80219#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/conf/GUMSTIX#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/conf/GUMSTIX.hints#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/conf/HL200#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/conf/IQ31244#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/conf/KB920X#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/conf/KB920X.hints#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/conf/NSLU#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/conf/NSLU.hints#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/conf/SIMICS#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/conf/SKYEYE#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/_bus.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/_inttypes.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/_limits.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/_stdint.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/_types.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/armreg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/asm.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/asmacros.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/atomic.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/blockio.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/bootconfig.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/bootinfo.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/bus.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/bus_dma.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/clock.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/cpu.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/cpuconf.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/cpufunc.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/db_machdep.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/disassem.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/elf.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/endian.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/exec.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/fiq.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/float.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/floatingpoint.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/fp.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/frame.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/gdb_machdep.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/ieee.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/ieeefp.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/in_cksum.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/intr.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/katelib.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/kdb.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/limits.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/machdep.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/md_var.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/memdev.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/metadata.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/minidump.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/mutex.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/param.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/pcb.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/pcpu.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/pmap.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/pmc_mdep.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/proc.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/profile.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/psl.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/pte.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/ptrace.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/reg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/reloc.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/resource.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/runq.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/setjmp.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/sf_buf.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/sigframe.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/signal.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/smp.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/stack.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/stdarg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/swi.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/sysarch.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/trap.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/ucontext.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/undefined.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/utrap.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/include/vmparam.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/mv/bus_space.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/mv/common.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/mv/discovery/db78xxx.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/mv/discovery/discovery.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/mv/discovery/files.db78xxx#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/mv/discovery/std.db78xxx#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/mv/files.mv#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/mv/gpio.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/mv/ic.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/mv/kirkwood/db88f6xxx.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/mv/kirkwood/files.db88f6xxx#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/mv/kirkwood/kirkwood.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/mv/kirkwood/std.db88f6xxx#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/mv/mv_machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/mv/mv_pci.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/mv/mvreg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/mv/mvvar.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/mv/obio.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/mv/orion/db88f5xxx.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/mv/orion/files.db88f5xxx#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/mv/orion/orion.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/mv/orion/std.db88f5xxx#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/mv/rtc.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/mv/std.mv#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/mv/timer.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/mv/twsi.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/sa11x0/assabet_machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/sa11x0/files.sa11x0#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/sa11x0/sa11x0.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/sa11x0/sa11x0_dmacreg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/sa11x0/sa11x0_gpioreg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/sa11x0/sa11x0_io.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/sa11x0/sa11x0_io_asm.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/sa11x0/sa11x0_irq.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/sa11x0/sa11x0_irqhandler.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/sa11x0/sa11x0_ost.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/sa11x0/sa11x0_ostreg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/sa11x0/sa11x0_ppcreg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/sa11x0/sa11x0_reg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/sa11x0/sa11x0_var.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/sa11x0/std.sa11x0#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/sa11x0/uart_bus_sa1110.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/sa11x0/uart_cpu_sa1110.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/sa11x0/uart_dev_sa1110.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/sa11x0/uart_dev_sa1110.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i80321/ep80219_machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i80321/files.ep80219#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i80321/files.i80219#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i80321/files.i80321#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i80321/files.iq31244#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i80321/i80321.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i80321/i80321_aau.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i80321/i80321_dma.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i80321/i80321_intr.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i80321/i80321_mcu.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i80321/i80321_pci.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i80321/i80321_space.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i80321/i80321_timer.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i80321/i80321_wdog.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i80321/i80321reg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i80321/i80321var.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i80321/iq31244_7seg.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i80321/iq31244_machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i80321/iq80321.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i80321/iq80321reg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i80321/iq80321var.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i80321/obio.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i80321/obio_space.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i80321/obiovar.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i80321/std.ep80219#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i80321/std.i80219#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i80321/std.i80321#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i80321/std.iq31244#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i80321/uart_bus_i80321.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i80321/uart_cpu_i80321.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i8134x/crb_machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i8134x/files.crb#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i8134x/files.i81342#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i8134x/i81342.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i8134x/i81342_mcu.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i8134x/i81342_pci.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i8134x/i81342_space.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i8134x/i81342reg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i8134x/i81342var.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i8134x/iq81342_7seg.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i8134x/iq81342reg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i8134x/iq81342var.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i8134x/obio.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i8134x/obio_space.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i8134x/obiovar.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i8134x/std.crb#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i8134x/std.i81342#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i8134x/uart_bus_i81342.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/i8134x/uart_cpu_i81342.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/avila_ata.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/avila_led.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/avila_machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/cambria_fled.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/cambria_led.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/files.avila#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/files.ixp425#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/if_npe.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/if_npereg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/ixdp425_pci.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/ixdp425reg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/ixp425.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/ixp425_a4x_io.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/ixp425_a4x_space.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/ixp425_iic.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/ixp425_intr.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/ixp425_mem.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/ixp425_npe.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/ixp425_npereg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/ixp425_npevar.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/ixp425_pci.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/ixp425_pci_asm.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/ixp425_pci_space.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/ixp425_qmgr.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/ixp425_qmgr.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/ixp425_space.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/ixp425_timer.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/ixp425_wdog.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/ixp425reg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/ixp425var.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/std.avila#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/std.ixp425#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/std.ixp435#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/uart_bus_ixp425.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/ixp425/uart_cpu_ixp425.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/pxa/files.pxa#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/pxa/if_smc_smi.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/pxa/pxa_gpio.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/pxa/pxa_icu.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/pxa/pxa_machdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/pxa/pxa_obio.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/pxa/pxa_smi.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/pxa/pxa_space.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/pxa/pxa_timer.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/pxa/pxareg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/pxa/pxavar.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/pxa/std.pxa#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/pxa/uart_bus_pxa.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/pxa/uart_cpu_pxa.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/std.xscale#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/xscalereg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/arm/xscale/xscalevar.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/Makefile.inc#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/README#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/Makefile.inc#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/Makefile.inc#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/boot0/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/boot0/README#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/boot0/linker.cfg#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/boot0/main.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/boot0iic/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/boot0iic/main.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/boot0spi/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/boot0spi/main.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/boot2/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/boot2/board.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/boot2/boot2.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/boot2/bwct_board.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/boot2/centipad_board.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/boot2/kb920x_board.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/bootiic/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/bootiic/README#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/bootiic/env_vars.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/bootiic/env_vars.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/bootiic/loader_prompt.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/bootiic/loader_prompt.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/bootiic/main.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/bootspi/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/bootspi/README#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/bootspi/ee.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/bootspi/ee.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/bootspi/env_vars.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/bootspi/env_vars.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/bootspi/loader_prompt.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/bootspi/loader_prompt.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/bootspi/main.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/libat91/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/libat91/arm_init.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/libat91/at91rm9200.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/libat91/at91rm9200_lowlevel.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/libat91/at91rm9200_lowlevel.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/libat91/delay.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/libat91/eeprom.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/libat91/emac.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/libat91/emac.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/libat91/emac_init.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/libat91/getc.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/libat91/lib.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/libat91/lib_AT91RM9200.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/libat91/mci_device.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/libat91/memcmp.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/libat91/memcpy.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/libat91/memset.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/libat91/p_string.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/libat91/printf.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/libat91/putchar.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/libat91/reset.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/libat91/sd-card.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/libat91/sd-card.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/libat91/spi_flash.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/libat91/spi_flash.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/libat91/strcmp.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/libat91/strcpy.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/libat91/strcvt.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/libat91/strlen.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/libat91/tag_list.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/libat91/tag_list.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/libat91/xmodem.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/at91/linker.cfg#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/ixp425/Makefile.inc#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/ixp425/boot2/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/ixp425/boot2/arm_init.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/ixp425/boot2/boot2.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/ixp425/boot2/cf_ata.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/ixp425/boot2/ixp425_board.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/ixp425/boot2/lib.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/uboot/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/uboot/conf.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/uboot/help.uboot#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/uboot/ldscript.arm#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/uboot/start.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/arm/uboot/version#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/common/Makefile.inc#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/common/bcache.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/common/boot.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/common/bootstrap.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/common/commands.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/common/console.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/common/dev_net.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/common/dev_net.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/common/devopen.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/common/help.common#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/common/interp.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/common/interp_backslash.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/common/interp_forth.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/common/interp_parse.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/common/isapnp.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/common/isapnp.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/common/load_elf.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/common/load_elf32.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/common/load_elf32_obj.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/common/load_elf64.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/common/load_elf64_obj.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/common/load_elf_obj.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/common/loader.8#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/common/ls.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/common/merge_help.awk#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/common/misc.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/common/module.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/common/newvers.sh#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/common/panic.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/common/pnp.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/common/reloc_elf.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/common/reloc_elf32.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/common/reloc_elf64.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/common/ufsread.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/efi/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/efi/Makefile.inc#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/efi/include/README#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/efi/include/efi.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/efi/include/efi_nii.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/efi/include/efiapi.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/efi/include/eficon.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/efi/include/efidebug.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/efi/include/efidef.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/efi/include/efidevp.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/efi/include/efierr.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/efi/include/efifpswa.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/efi/include/efifs.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/efi/include/efilib.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/efi/include/efinet.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/efi/include/efipart.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/efi/include/efiprot.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/efi/include/efipxebc.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/efi/include/efiser.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/efi/include/efistdarg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/efi/include/i386/efibind.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/efi/include/i386/pe.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/efi/include/ia64/efibind.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/efi/include/ia64/pe.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/efi/libefi/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/efi/libefi/delay.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/efi/libefi/efi_console.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/efi/libefi/efifs.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/efi/libefi/efinet.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/efi/libefi/errno.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/efi/libefi/handles.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/efi/libefi/libefi.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/efi/libefi/time.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/arm/sysdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/arm/sysdep.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/dict.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/ficl.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/ficl.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/fileaccess.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/float.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/i386/sysdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/i386/sysdep.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/ia64/sysdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/ia64/sysdep.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/loader.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/math64.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/math64.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/mips/sysdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/mips/sysdep.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/powerpc/sysdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/powerpc/sysdep.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/prefix.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/search.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/softwords/classes.fr#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/softwords/ficlclass.fr#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/softwords/ficllocal.fr#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/softwords/fileaccess.fr#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/softwords/forml.fr#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/softwords/freebsd.fr#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/softwords/ifbrack.fr#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/softwords/jhlocal.fr#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/softwords/marker.fr#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/softwords/oo.fr#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/softwords/prefix.fr#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/softwords/softcore.awk#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/softwords/softcore.fr#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/softwords/string.fr#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/sparc64/sysdep.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/sparc64/sysdep.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/stack.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/testmain.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/tools.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/unix.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/vm.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ficl/words.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/forth/beastie.4th#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/forth/frames.4th#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/forth/loader.4th#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/forth/loader.4th.8#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/forth/loader.conf#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/forth/loader.conf.5#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/forth/loader.rc#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/forth/pnp.4th#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/forth/screen.4th#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/forth/support.4th#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/Makefile.inc#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/boot0/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/boot0/boot0.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/boot0/boot0ext.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/boot0ext/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/boot0sio/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/boot2/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/boot2/boot1.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/boot2/boot2.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/boot2/lib.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/boot2/sio.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/btx/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/btx/Makefile.inc#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/btx/btx/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/btx/btx/btx.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/btx/btxldr/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/btx/btxldr/btxldr.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/btx/lib/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/btx/lib/btxcsu.s#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/btx/lib/btxsys.s#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/btx/lib/btxv86.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/btx/lib/btxv86.s#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/cdboot/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/cdboot/cdboot.s#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/gptboot/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/gptboot/gptboot.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/gptboot/gptldr.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/gptzfsboot/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/kgzldr/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/kgzldr/boot.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/kgzldr/crt.s#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/kgzldr/kgzldr.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/kgzldr/lib.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/kgzldr/sio.s#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/kgzldr/start.s#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/libfirewire/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/libfirewire/dconsole.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/libfirewire/firewire.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/libfirewire/fwohci.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/libfirewire/fwohci.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/libfirewire/fwohcireg.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/libi386/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/libi386/amd64_tramp.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/libi386/biosacpi.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/libi386/bioscd.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/libi386/biosdisk.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/libi386/biosmem.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/libi386/biospci.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/libi386/biospnp.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/libi386/biossmap.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/libi386/bootinfo.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/libi386/bootinfo32.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/libi386/bootinfo64.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/libi386/comconsole.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/libi386/devicename.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/libi386/elf32_freebsd.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/libi386/elf64_freebsd.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/libi386/i386_copy.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/libi386/i386_module.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/libi386/libi386.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/libi386/nullconsole.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/libi386/pread.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/libi386/pxe.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/libi386/pxe.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/libi386/pxetramp.s#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/libi386/smbios.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/libi386/time.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/libi386/vidconsole.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/loader/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/loader/conf.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/loader/help.i386#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/loader/loader.rc#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/loader/main.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/loader/version#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/mbr/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/mbr/mbr.s#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/pmbr/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/pmbr/pmbr.s#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/pxeldr/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/pxeldr/pxeboot.8#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/pxeldr/pxeldr.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/zfsboot/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/zfsboot/zfsboot.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/i386/zfsboot/zfsldr.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/Makefile.inc#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/common/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/common/autoload.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/common/bootinfo.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/common/copy.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/common/devicename.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/common/exec.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/common/libia64.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/efi/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/efi/conf.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/efi/efimd.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/efi/ldscript.ia64#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/efi/main.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/efi/start.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/efi/version#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/ski/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/ski/acpi_stub.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/ski/conf.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/ski/delay.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/ski/efi_stub.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/ski/exit.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/ski/ldscript.ia64#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/ski/libski.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/ski/main.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/ski/pal_stub.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/ski/sal_stub.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/ski/skiconsole.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/ski/skifs.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/ski/skiload.cmd#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/ski/skimd.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/ski/ssc.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/ski/start.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/ski/time.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ia64/ski/version#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ofw/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ofw/Makefile.inc#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ofw/common/Makefile.inc#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ofw/common/main.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ofw/libofw/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ofw/libofw/devicename.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ofw/libofw/elf_freebsd.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ofw/libofw/libofw.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ofw/libofw/ofw_console.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ofw/libofw/ofw_copy.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ofw/libofw/ofw_disk.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ofw/libofw/ofw_memory.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ofw/libofw/ofw_module.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ofw/libofw/ofw_net.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ofw/libofw/ofw_reboot.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ofw/libofw/ofw_time.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ofw/libofw/openfirm.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/ofw/libofw/openfirm.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/Makefile.inc#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/boot0.5/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/boot0.5/boot.s#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/boot0.5/boot0.5.s#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/boot0.5/disk.s#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/boot0.5/ldscript#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/boot0.5/putssjis.s#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/boot0.5/selector.s#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/boot0.5/start.s#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/boot0.5/support.s#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/boot0.5/syscons.s#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/boot0/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/boot0/boot0.s#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/boot2/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/boot2/asm.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/boot2/asm.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/boot2/bios.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/boot2/boot.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/boot2/boot.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/boot2/boot2.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/boot2/dinode.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/boot2/disk.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/boot2/fs.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/boot2/inode.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/boot2/io.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/boot2/probe_keyboard.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/boot2/quota.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/boot2/serial.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/boot2/serial_16550.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/boot2/serial_8251.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/boot2/start.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/boot2/sys.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/boot2/table.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/btx/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/btx/Makefile.inc#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/btx/btx/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/btx/btx/btx.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/btx/btxldr/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/btx/btxldr/btxldr.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/btx/lib/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/btx/lib/btxcsu.s#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/btx/lib/btxsys.s#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/btx/lib/btxv86.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/btx/lib/btxv86.s#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/cdboot/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/cdboot/cdboot.s#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/kgzldr/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/kgzldr/crt.s#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/libpc98/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/libpc98/bioscd.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/libpc98/biosdisk.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/libpc98/biosmem.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/libpc98/biossmap.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/libpc98/comconsole.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/libpc98/i386_module.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/libpc98/time.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/libpc98/vidconsole.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/loader/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/loader/conf.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/loader/help.pc98#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/pc98/loader/main.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/powerpc/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/powerpc/Makefile.inc#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/powerpc/boot1.chrp/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/powerpc/boot1.chrp/Makefile.hfs#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/powerpc/boot1.chrp/boot1.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/powerpc/boot1.chrp/bootinfo.txt#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/powerpc/boot1.chrp/generate-hfs.sh#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/powerpc/boot1.chrp/hfs.tmpl.bz2.uu#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/powerpc/ofw/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/powerpc/ofw/conf.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/powerpc/ofw/help.ofw#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/powerpc/ofw/ldscript.powerpc#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/powerpc/ofw/metadata.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/powerpc/ofw/start.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/powerpc/ofw/version#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/powerpc/uboot/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/powerpc/uboot/conf.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/powerpc/uboot/help.uboot#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/powerpc/uboot/ldscript.powerpc#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/powerpc/uboot/start.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/powerpc/uboot/version#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/sparc64/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/sparc64/Makefile.inc#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/sparc64/boot1/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/sparc64/boot1/_start.s#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/sparc64/boot1/boot1.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/sparc64/loader/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/sparc64/loader/help.sparc64#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/sparc64/loader/locore.S#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/sparc64/loader/main.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/sparc64/loader/metadata.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/sparc64/loader/version#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/uboot/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/uboot/Makefile.inc#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/uboot/common/Makefile.inc#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/uboot/common/main.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/uboot/common/metadata.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/uboot/lib/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/uboot/lib/api_public.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/uboot/lib/console.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/uboot/lib/copy.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/uboot/lib/devicename.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/uboot/lib/disk.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/uboot/lib/elf_freebsd.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/uboot/lib/glue.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/uboot/lib/glue.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/uboot/lib/libuboot.h#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/uboot/lib/module.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/uboot/lib/net.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/uboot/lib/reboot.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/uboot/lib/time.c#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/zfs/Makefile#1 branch .. //depot/projects/soc2009/gk_pefs/sys/boot/zfs/zfs.c#1 branch >>> TRUNCATED FOR MAIL (1000 lines) <<< From dforsyth at FreeBSD.org Sun May 31 22:05:52 2009 From: dforsyth at FreeBSD.org (David Forsythe) Date: Sun May 31 22:05:59 2009 Subject: PERFORCE change 163212 for review Message-ID: <200905312205.n4VM5opZ051537@repoman.freebsd.org> http://perforce.freebsd.org/chv.cgi?CH=163212 Change 163212 by dforsyth@squirrel on 2009/05/31 22:05:41 Added some action to pkg_info. Affected files ... .. //depot/projects/soc2009/dforsyth_libpkg/Makefile#1 add .. //depot/projects/soc2009/dforsyth_libpkg/info/Makefile#1 add .. //depot/projects/soc2009/dforsyth_libpkg/info/main.c#2 edit .. //depot/projects/soc2009/dforsyth_libpkg/libpkg/Makefile#1 add .. //depot/projects/soc2009/dforsyth_libpkg/libpkg/pkg.c#2 edit .. //depot/projects/soc2009/dforsyth_libpkg/libpkg/pkg.h#2 edit .. //depot/projects/soc2009/dforsyth_libpkg/libpkg/pkg_info.c#2 edit .. //depot/projects/soc2009/dforsyth_libpkg/libpkg/pkg_info.h#2 edit .. //depot/projects/soc2009/dforsyth_libpkg/libpkg/pkg_util.c#2 edit .. //depot/projects/soc2009/dforsyth_libpkg/libpkg/pkg_util.h#2 edit .. //depot/projects/soc2009/dforsyth_libpkg/libpkg/pkgdb.c#2 edit .. //depot/projects/soc2009/dforsyth_libpkg/libpkg/pkgdb.h#2 edit Differences ... ==== //depot/projects/soc2009/dforsyth_libpkg/info/main.c#2 (text+ko) ==== @@ -4,38 +4,99 @@ #include "pkg.h" +#define PKG_DBDIR_DEFAULT "/var/db/pkg" /* Move this. */ + short opt_all = 0; +short opt_glob = 0; +short opt_show_all_info = 0; +short opt_show_index = 0; short opt_show_comment = 0; +char *info_targets; static char opts[] = "a"; static struct option lopts[] = { {"all", no_argument, NULL, 'a'}, + {NULL, 0, NULL, 0}, // <-- something that pkg_add in 7.2 forgot... }; /* Mock pkg_info for testing, */ +void perform_on_db(struct pkgdb *db); +void print_pkg_information(struct pkg *p); +void parse_opts(int argc, char **argv); +void usage(int exit_val); + int main (int argc, char **argv) { - int s; const char *db_root; struct pkgdb *db; if (argc == 1) { opt_all = 1; - opt_show_comment = 1; } - db_root = getenv("PKG_DBDIR"); - if (db_root == NULL) { - printf("..."); - db_root = "/var/db/pkg"; -} + parse_opts(argc, argv); + + db_root = getenv("PKG_DBDIR"); /* User set it */ + if (db_root == NULL) + db_root = PKG_DBDIR_DEFAULT; /* Default */ + db = pkgdb_new_hierdb(db_root); if (db == NULL) { - fprintf(stderr, "Could not attach to database \"%s\"\n"); + fprintf(stderr, "Could not attach to database \"%s\"\n", db_root); } + + perform_on_db(db); pkgdb_free_hierdb(db); return (0); } + +void +usage(int exit_val) +{ + printf("If you don't know how to use me, then you shouldn't be...\n"); + exit(exit_val); +} + +void +parse_opts(int argc, char **argv) +{ + /* Ehh... Worthless to write this at this point. */ + opt_all = 1; +} + +void +perform_on_db(struct pkgdb *db) +{ + int count; + char *target; + struct pkg *p; + + /* There will be cases where an init is useless, but since I haven't + * written that much yet, init regardless. */ + + count = pkgdb_init_hierdb(db); + if (count < 0) + exit(1); + + while ((p = pkgdb_next_pkg(db)) != NULL) { + if (!opt_all) { /* Wont happen at this point. */ + /* Do some matching magic that I haven't written yet. */ + print_pkg_information(p); + } else { + print_pkg_information(p); + } + } +} + +void +print_pkg_information(struct pkg *p) +{ + /* Just print the basic PKGNAME COMMENT scheme right now. Other + * information isn't collected by the library yet. */ + if (!opt_show_all_info) + printf("%s %s\n", pkg_ident(p), pkg_comment(p)); +} + ==== //depot/projects/soc2009/dforsyth_libpkg/libpkg/pkg.c#2 (text+ko) ==== @@ -2,8 +2,6 @@ #include #include -#include - #include "pkg_util.h" #include "pkgdb.h" #include "pkg.h" @@ -64,14 +62,9 @@ /* Something bad happened... I should probably let people know * about it... */ } - return (p); } - - - -/* Read in contents of comment file. */ char * pkg_ident(struct pkg *p) { @@ -90,6 +83,11 @@ return (p->comment); } + +/* TODO: Make an explicit note in the manual for libpkg that pkg_free + * should NOT be called called on pkgs that are not explicitly created by + * the user. */ + void pkg_free(struct pkg *p) { ==== //depot/projects/soc2009/dforsyth_libpkg/libpkg/pkg.h#2 (text+ko) ==== @@ -1,18 +1,13 @@ #ifndef __PKG_H__ #define __PKG_H__ -#include -#include - /* pkg */ struct pkg; struct pkg *pkg_new(const char *ident); struct pkg *pkg_set_path(struct pkg *p, const char *path); - -int set_pkg_contents(struct pkg *p, char *contents); -int set_pkg_comment(struct pkg *p, char *comment); +struct pkg *pkg_set_comment(struct pkg *p, const char *comment); char *pkg_ident(struct pkg *p); char *pkg_name(struct pkg *p); ==== //depot/projects/soc2009/dforsyth_libpkg/libpkg/pkg_info.c#2 (text+ko) ==== @@ -28,3 +28,8 @@ struct pkg_file *files; }; +char * +pkg_info_read_file_to_string(const char *path, const char *filename) +{ + return (NULL); +} ==== //depot/projects/soc2009/dforsyth_libpkg/libpkg/pkg_info.h#2 (text+ko) ==== @@ -1,4 +1,11 @@ #ifndef __PKG_INFO_H__ #define __PKG_INFO_H__ +#define COMMENT_FILE "+COMMENT" +#define CONTENTS_FILE "+CONTENTS" +#define DESC_FILE "+DESC" +#define DISPLAY_FILE "+DISPLAY" +#define MTREE_DIRS_FILE "+MTREE_DIRS" +#define REQUIRED_BY_FILE "+REQUIRED_BY" + #endif ==== //depot/projects/soc2009/dforsyth_libpkg/libpkg/pkg_util.c#2 (text+ko) ==== @@ -5,6 +5,8 @@ #include #include +#include "pkg_util.h" + int subdir_sel(struct dirent *ent) { ==== //depot/projects/soc2009/dforsyth_libpkg/libpkg/pkg_util.h#2 (text+ko) ==== ==== //depot/projects/soc2009/dforsyth_libpkg/libpkg/pkgdb.c#2 (text+ko) ==== @@ -15,6 +15,9 @@ /* Everything in here is written with the current database setup in mind. * I'll add some stuff for flat databases later. */ +/* TODO: Move _hierdb functions into a seperate file, add callback + * functionality to pkgdb. */ + /* Allocate and create a new hierdb. */ struct pkgdb * @@ -135,10 +138,16 @@ struct pkg * pkgdb_query_pkg(struct pkgdb *db, const char *ident) { - Need to add callbacks before do this. + Need to add callbacks before I do this. } */ +struct pkg * +pkgdb_query_pkg_hierdb(struct pkgdb *db, const char *ident) +{ + return (NULL); +} + char * pkgdb_pkg_path(struct pkgdb *db, struct pkg *p) { ==== //depot/projects/soc2009/dforsyth_libpkg/libpkg/pkgdb.h#2 (text+ko) ==== @@ -23,15 +23,8 @@ struct pkg *p_curr; TAILQ_HEAD(pkg_head, pkg) p_head; + /* Callbacks */ - /* tuuuummmmbbbllleeewwwweeeedddddd*/ }; -#define COMMENT_FILE "+COMMENT" -#define CONTENTS_FILE "+CONTENTS" -#define DESC_FILE "+DESC" -#define DISPLAY_FILE "+DISPLAY" -#define MTREE_DIRS_FILE "+MTREE_DIRS" -#define REQUIRED_BY_FILE "+REQUIRED_BY" - #endif From gk at FreeBSD.org Sun May 31 22:16:02 2009 From: gk at FreeBSD.org (Gleb Kurtsou) Date: Sun May 31 22:16:09 2009 Subject: PERFORCE change 163213 for review Message-ID: <200905312216.n4VMG1sp052307@repoman.freebsd.org> http://perforce.freebsd.org/chv.cgi?CH=163213 Change 163213 by gk@gk_h1 on 2009/05/31 22:15:11 initial version. equivalent to nullfs for now. no encryption support Affected files ... .. //depot/projects/soc2009/gk_pefs/sbin/mount_pefs/Makefile#1 add .. //depot/projects/soc2009/gk_pefs/sbin/mount_pefs/mount_pefs.c#1 add .. //depot/projects/soc2009/gk_pefs/sys/fs/pefs/pefs.h#1 add .. //depot/projects/soc2009/gk_pefs/sys/fs/pefs/pefs_subr.c#1 add .. //depot/projects/soc2009/gk_pefs/sys/fs/pefs/pefs_vfsops.c#1 add .. //depot/projects/soc2009/gk_pefs/sys/fs/pefs/pefs_vnops.c#1 add .. //depot/projects/soc2009/gk_pefs/sys/modules/pefs/Makefile#1 add Differences ...