From owner-p4-projects@FreeBSD.ORG Mon Sep 14 18:15:22 2009 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 6F0061065679; Mon, 14 Sep 2009 18:15:22 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31F4E1065670 for ; Mon, 14 Sep 2009 18:15:22 +0000 (UTC) (envelope-from trasz@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 20A638FC17 for ; Mon, 14 Sep 2009 18:15:22 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n8EIFMHX054612 for ; Mon, 14 Sep 2009 18:15:22 GMT (envelope-from trasz@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n8EIFLQX054608 for perforce@freebsd.org; Mon, 14 Sep 2009 18:15:21 GMT (envelope-from trasz@freebsd.org) Date: Mon, 14 Sep 2009 18:15:21 GMT Message-Id: <200909141815.n8EIFLQX054608@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to trasz@freebsd.org using -f From: Edward Tomasz Napierala To: Perforce Change Reviews Cc: Subject: PERFORCE change 168541 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Sep 2009 18:15:22 -0000 http://perforce.freebsd.org/chv.cgi?CH=168541 Change 168541 by trasz@trasz_anger on 2009/09/14 18:14:56 IFC. Affected files ... .. //depot/projects/soc2009/trasz_limits/Makefile.inc1#5 integrate .. //depot/projects/soc2009/trasz_limits/ObsoleteFiles.inc#13 integrate .. //depot/projects/soc2009/trasz_limits/bin/setfacl/mask.c#2 integrate .. //depot/projects/soc2009/trasz_limits/bin/setfacl/merge.c#2 integrate .. //depot/projects/soc2009/trasz_limits/bin/setfacl/remove.c#2 integrate .. //depot/projects/soc2009/trasz_limits/bin/setfacl/setfacl.1#2 integrate .. //depot/projects/soc2009/trasz_limits/bin/setfacl/setfacl.c#2 integrate .. //depot/projects/soc2009/trasz_limits/bin/setfacl/setfacl.h#2 integrate .. //depot/projects/soc2009/trasz_limits/cddl/compat/opensolaris/include/assert.h#1 branch .. //depot/projects/soc2009/trasz_limits/cddl/contrib/opensolaris/cmd/zdb/zdb.c#2 integrate .. //depot/projects/soc2009/trasz_limits/cddl/contrib/opensolaris/head/assert.h#2 delete .. //depot/projects/soc2009/trasz_limits/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_mount.c#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/gdtoa/gdtoaimp.h#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/gdtoa/misc.c#2 integrate .. //depot/projects/soc2009/trasz_limits/etc/defaults/rc.conf#7 integrate .. //depot/projects/soc2009/trasz_limits/etc/network.subr#5 integrate .. //depot/projects/soc2009/trasz_limits/etc/rc.d/Makefile#8 integrate .. //depot/projects/soc2009/trasz_limits/etc/rc.d/NETWORKING#3 integrate .. //depot/projects/soc2009/trasz_limits/etc/rc.d/addswap#2 integrate .. //depot/projects/soc2009/trasz_limits/etc/rc.d/auto_linklocal#2 delete .. //depot/projects/soc2009/trasz_limits/etc/rc.d/defaultroute#2 integrate .. //depot/projects/soc2009/trasz_limits/etc/rc.d/devd#2 integrate .. //depot/projects/soc2009/trasz_limits/etc/rc.d/faith#1 branch .. //depot/projects/soc2009/trasz_limits/etc/rc.d/ip6addrctl#2 integrate .. //depot/projects/soc2009/trasz_limits/etc/rc.d/mroute6d#2 integrate .. //depot/projects/soc2009/trasz_limits/etc/rc.d/netif#4 integrate .. //depot/projects/soc2009/trasz_limits/etc/rc.d/netoptions#2 integrate .. //depot/projects/soc2009/trasz_limits/etc/rc.d/network_ipv6#3 delete .. //depot/projects/soc2009/trasz_limits/etc/rc.d/ppp#2 integrate .. //depot/projects/soc2009/trasz_limits/etc/rc.d/route6d#2 integrate .. //depot/projects/soc2009/trasz_limits/etc/rc.d/routed#2 integrate .. //depot/projects/soc2009/trasz_limits/etc/rc.d/routing#2 integrate .. //depot/projects/soc2009/trasz_limits/etc/rc.d/rtadvd#2 integrate .. //depot/projects/soc2009/trasz_limits/etc/rc.d/stf#1 branch .. //depot/projects/soc2009/trasz_limits/etc/rc.d/sysctl#2 integrate .. //depot/projects/soc2009/trasz_limits/etc/rc.subr#3 integrate .. //depot/projects/soc2009/trasz_limits/lib/Makefile#3 integrate .. //depot/projects/soc2009/trasz_limits/lib/libarchive/archive_read.c#3 integrate .. //depot/projects/soc2009/trasz_limits/lib/libarchive/archive_read_support_format_iso9660.c#3 integrate .. //depot/projects/soc2009/trasz_limits/lib/libarchive/test/test_compat_zip.c#2 integrate .. //depot/projects/soc2009/trasz_limits/lib/libarchive/test/test_read_format_isojoliet_bz2.c#2 integrate .. //depot/projects/soc2009/trasz_limits/lib/libarchive/test/test_read_format_isorr_bz2.c#2 integrate .. //depot/projects/soc2009/trasz_limits/lib/libc/Versions.def#2 integrate .. //depot/projects/soc2009/trasz_limits/lib/libc/net/getifaddrs.c#2 integrate .. //depot/projects/soc2009/trasz_limits/lib/libc/stdio/fopen.3#2 integrate .. //depot/projects/soc2009/trasz_limits/lib/libc/stdtime/localtime.c#4 integrate .. //depot/projects/soc2009/trasz_limits/lib/libkvm/kvm_proc.c#4 integrate .. //depot/projects/soc2009/trasz_limits/lib/libradius/libradius.3#2 integrate .. //depot/projects/soc2009/trasz_limits/lib/libradius/radlib.c#2 integrate .. //depot/projects/soc2009/trasz_limits/lib/libradius/radlib.h#2 integrate .. //depot/projects/soc2009/trasz_limits/lib/libradius/radlib_private.h#2 integrate .. //depot/projects/soc2009/trasz_limits/lib/libstand/net.c#2 integrate .. //depot/projects/soc2009/trasz_limits/lib/libstand/nfs.c#2 integrate .. //depot/projects/soc2009/trasz_limits/lib/libstand/rpc.c#3 integrate .. //depot/projects/soc2009/trasz_limits/release/doc/en_US.ISO8859-1/relnotes/article.sgml#5 integrate .. //depot/projects/soc2009/trasz_limits/release/picobsd/bridge/crunch.conf#2 integrate .. //depot/projects/soc2009/trasz_limits/release/scripts/package-split.py#3 integrate .. //depot/projects/soc2009/trasz_limits/sbin/geom/class/mirror/gmirror.8#3 integrate .. //depot/projects/soc2009/trasz_limits/sbin/ifconfig/Makefile#4 integrate .. //depot/projects/soc2009/trasz_limits/sbin/ifconfig/af_inet6.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sbin/ifconfig/af_nd6.c#1 branch .. //depot/projects/soc2009/trasz_limits/sbin/ifconfig/ifconfig.8#4 integrate .. //depot/projects/soc2009/trasz_limits/sbin/ifconfig/ifgif.c#3 integrate .. //depot/projects/soc2009/trasz_limits/share/examples/scsi_target/scsi_target.c#2 integrate .. //depot/projects/soc2009/trasz_limits/share/examples/scsi_target/scsi_target.h#2 integrate .. //depot/projects/soc2009/trasz_limits/share/man/man4/Makefile#10 integrate .. //depot/projects/soc2009/trasz_limits/share/man/man4/dpms.4#1 branch .. //depot/projects/soc2009/trasz_limits/share/man/man4/ed.4#2 integrate .. //depot/projects/soc2009/trasz_limits/share/man/man4/inet6.4#2 integrate .. //depot/projects/soc2009/trasz_limits/share/man/man4/ips.4#3 integrate .. //depot/projects/soc2009/trasz_limits/share/man/man4/man4.i386/Makefile#2 integrate .. //depot/projects/soc2009/trasz_limits/share/man/man4/man4.i386/dpms.4#2 delete .. //depot/projects/soc2009/trasz_limits/share/man/man4/syscons.4#2 integrate .. //depot/projects/soc2009/trasz_limits/share/man/man4/textdump.4#2 integrate .. //depot/projects/soc2009/trasz_limits/share/man/man5/device.hints.5#2 integrate .. //depot/projects/soc2009/trasz_limits/share/man/man5/rc.conf.5#4 integrate .. //depot/projects/soc2009/trasz_limits/share/monetdef/zh_CN.GB18030.src#2 integrate .. //depot/projects/soc2009/trasz_limits/share/monetdef/zh_CN.GB2312.src#2 integrate .. //depot/projects/soc2009/trasz_limits/share/zoneinfo/asia#6 integrate .. //depot/projects/soc2009/trasz_limits/share/zoneinfo/australasia#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/amd64/amd64/identcpu.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/amd64/amd64/initcpu.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/amd64/amd64/msi.c#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/amd64/conf/NOTES#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/amd64/include/_align.h#1 branch .. //depot/projects/soc2009/trasz_limits/sys/amd64/include/param.h#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/amd64/include/specialreg.h#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/amd64/linux32/linux32_proto.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/arm/include/_align.h#1 branch .. //depot/projects/soc2009/trasz_limits/sys/arm/include/param.h#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/boot/i386/libi386/pxe.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/boot/pc98/Makefile.inc#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/cam/scsi/scsi_cd.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/cam/scsi/scsi_target.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/cddl/compat/opensolaris/kern/opensolaris_kobj.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/cddl/compat/opensolaris/kern/opensolaris_vfs.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/cddl/compat/opensolaris/rpc/xdr.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/cddl/compat/opensolaris/sys/proc.h#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c#7 integrate .. //depot/projects/soc2009/trasz_limits/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dataset.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_znode.h#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zap_micro.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ctldir.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c#8 integrate .. //depot/projects/soc2009/trasz_limits/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zvol.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/compat/freebsd32/freebsd32_misc.c#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/compat/freebsd32/freebsd32_proto.h#7 integrate .. //depot/projects/soc2009/trasz_limits/sys/compat/linux/linux_ioctl.c#8 integrate .. //depot/projects/soc2009/trasz_limits/sys/compat/linux/linux_misc.c#9 integrate .. //depot/projects/soc2009/trasz_limits/sys/compat/svr4/svr4_proto.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/conf/NOTES#11 integrate .. //depot/projects/soc2009/trasz_limits/sys/conf/files#16 integrate .. //depot/projects/soc2009/trasz_limits/sys/conf/files.amd64#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/conf/files.i386#6 integrate .. //depot/projects/soc2009/trasz_limits/sys/conf/options#12 integrate .. //depot/projects/soc2009/trasz_limits/sys/conf/options.amd64#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/acpica_prep.sh#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/changes.txt#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/common/dmrestag.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/common/dmtable.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/common/dmtbdump.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/common/dmtbinfo.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/compiler/aslcompiler.h#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/compiler/aslcompiler.l#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/compiler/aslcompiler.y#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/compiler/asldefine.h#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/compiler/aslfiles.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/compiler/aslglobal.h#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/compiler/aslload.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/compiler/asllookup.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/compiler/aslmain.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/compiler/aslmap.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/compiler/aslstubs.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/compiler/asltypes.h#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/debugger/dbcmds.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/debugger/dbdisply.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/debugger/dbexec.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/dispatcher/dsfield.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/dispatcher/dsmethod.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/dispatcher/dsmthdat.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/dispatcher/dsobject.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/dispatcher/dswload.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/events/evgpe.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/events/evgpeblk.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/events/evrgnini.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/executer/exconfig.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/executer/exfield.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/executer/exfldio.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/executer/exstorob.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/executer/exutils.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/hardware/hwgpe.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/hardware/hwregs.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/hardware/hwsleep.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/hardware/hwtimer.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/hardware/hwxface.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/include/acconfig.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/include/acdebug.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/include/acdisasm.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/include/acglobal.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/include/achware.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/include/acinterp.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/include/aclocal.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/include/acmacros.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/include/acnamesp.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/include/acobject.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/include/acparser.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/include/acpixf.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/include/acpredef.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/include/actbl.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/include/actbl1.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/include/actbl2.h#1 branch .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/include/actypes.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/include/acutils.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/include/amlcode.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/namespace/nsalloc.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/namespace/nseval.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/namespace/nsinit.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/namespace/nsload.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/namespace/nspredef.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/namespace/nsrepair.c#1 branch .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/namespace/nsxfeval.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/namespace/nsxfname.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/parser/psloop.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/parser/psxface.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/tables/tbutils.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/tools/acpiexec/aecommon.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/utilities/uteval.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/utilities/utglobal.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/utilities/utids.c#1 branch .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/utilities/utinit.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/utilities/utmisc.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/utilities/utxface.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/x86emu/x86emu.c#1 branch .. //depot/projects/soc2009/trasz_limits/sys/contrib/x86emu/x86emu.h#1 branch .. //depot/projects/soc2009/trasz_limits/sys/contrib/x86emu/x86emu_regs.h#1 branch .. //depot/projects/soc2009/trasz_limits/sys/contrib/x86emu/x86emu_util.c#1 branch .. //depot/projects/soc2009/trasz_limits/sys/dev/aac/aac.c#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/aac/aacvar.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/acpica/acpi.c#6 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/acpica/acpi_cpu.c#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/acpica/acpi_pcib_acpi.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/acpica/acpivar.h#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/ae/if_ae.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/agp/agp_i810.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/amdtemp/amdtemp.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/amr/amr.c#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/asmc/asmc.c#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/asmc/asmcvar.h#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/ata/ata-raid.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/ata/chipsets/ata-acerlabs.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/ata/chipsets/ata-marvell.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/ath/ah_osdep.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/ath/ath_hal/ah.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/ath/ath_hal/ah_eeprom_v3.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/ath/if_ath.c#9 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/bce/if_bce.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/cxgb/cxgb_sge.c#6 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/dpms/dpms.c#1 branch .. //depot/projects/soc2009/trasz_limits/sys/dev/drm/drm_pciids.h#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/drm/r600_blit.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/e1000/if_em.c#7 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/e1000/if_igb.c#7 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/ep/if_ep.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/ep/if_epreg.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/fb/s3_pci.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/fb/vesa.c#1 branch .. //depot/projects/soc2009/trasz_limits/sys/dev/fb/vesa.h#1 branch .. //depot/projects/soc2009/trasz_limits/sys/dev/fb/vga.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/firewire/fwcrom.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/firewire/fwdev.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/fxp/if_fxp.c#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/hptiop/hptiop.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/ichwd/ichwd.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/iir/iir.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/ixgbe/ixgbe.c#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/mpt/mpt_raid.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/msk/if_msk.c#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/pci/pci_user.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/pci/pcireg.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/pci/pcivar.h#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/sound/pci/hda/hdac.c#8 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/syscons/daemon/daemon_saver.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/syscons/scterm-teken.c#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/syscons/scvesactl.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/syscons/syscons.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/syscons/syscons.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/usb/wlan/if_rum.c#6 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/usb/wlan/if_rumreg.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/usb/wlan/if_urtw.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/wi/if_wi.c#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/fs/fifofs/fifo_vnops.c#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/fs/msdosfs/msdosfs_conv.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/fs/nfsclient/nfs_clnode.c#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/fs/nfsclient/nfs_clport.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/fs/pseudofs/pseudofs_vncache.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/geom/geom_dev.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/geom/geom_vfs.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/i386/acpica/acpi_machdep.c#6 integrate .. //depot/projects/soc2009/trasz_limits/sys/i386/conf/NOTES#6 integrate .. //depot/projects/soc2009/trasz_limits/sys/i386/cpufreq/hwpstate.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/i386/i386/identcpu.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/i386/i386/msi.c#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/i386/i386/pmap.c#9 integrate .. //depot/projects/soc2009/trasz_limits/sys/i386/ibcs2/ibcs2_proto.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/i386/include/_align.h#1 branch .. //depot/projects/soc2009/trasz_limits/sys/i386/include/param.h#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/i386/include/pc/vesa.h#2 delete .. //depot/projects/soc2009/trasz_limits/sys/i386/include/specialreg.h#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/i386/include/xen/xen-os.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/i386/isa/dpms.c#2 delete .. //depot/projects/soc2009/trasz_limits/sys/i386/isa/vesa.c#4 delete .. //depot/projects/soc2009/trasz_limits/sys/i386/linux/linux_proto.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/i386/xen/locore.s#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/i386/xen/pmap.c#8 integrate .. //depot/projects/soc2009/trasz_limits/sys/ia64/include/_align.h#1 branch .. //depot/projects/soc2009/trasz_limits/sys/ia64/include/param.h#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/kern/kern_event.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/kern/kern_exec.c#7 integrate .. //depot/projects/soc2009/trasz_limits/sys/kern/kern_jail.c#13 integrate .. //depot/projects/soc2009/trasz_limits/sys/kern/kern_linker.c#8 integrate .. //depot/projects/soc2009/trasz_limits/sys/kern/kern_lock.c#7 integrate .. //depot/projects/soc2009/trasz_limits/sys/kern/kern_mutex.c#6 integrate .. //depot/projects/soc2009/trasz_limits/sys/kern/kern_shutdown.c#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/kern/kern_sig.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/kern/kern_timeout.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/kern/subr_bus.c#6 integrate .. //depot/projects/soc2009/trasz_limits/sys/kern/sys_generic.c#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/kern/sys_pipe.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/kern/tty.c#8 integrate .. //depot/projects/soc2009/trasz_limits/sys/kern/tty_pts.c#10 integrate .. //depot/projects/soc2009/trasz_limits/sys/kern/uipc_mqueue.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/kern/uipc_socket.c#9 integrate .. //depot/projects/soc2009/trasz_limits/sys/kern/vfs_aio.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/kern/vfs_subr.c#7 integrate .. //depot/projects/soc2009/trasz_limits/sys/mips/include/_align.h#1 branch .. //depot/projects/soc2009/trasz_limits/sys/mips/include/param.h#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/modules/Makefile#10 integrate .. //depot/projects/soc2009/trasz_limits/sys/modules/acpi/acpi/Makefile#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/modules/dpms/Makefile#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/modules/dtrace/lockstat/Makefile#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/modules/vesa/Makefile#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/modules/x86emu/Makefile#1 branch .. //depot/projects/soc2009/trasz_limits/sys/net/bpf.c#7 integrate .. //depot/projects/soc2009/trasz_limits/sys/net/if_vlan.c#7 integrate .. //depot/projects/soc2009/trasz_limits/sys/net/route.h#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/net80211/ieee80211_action.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/net80211/ieee80211_proto.h#7 integrate .. //depot/projects/soc2009/trasz_limits/sys/netgraph/bluetooth/include/ng_btsocket_rfcomm.h#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/netinet/if_ether.c#8 integrate .. //depot/projects/soc2009/trasz_limits/sys/netinet/if_ether.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/netinet/in.c#9 integrate .. //depot/projects/soc2009/trasz_limits/sys/netinet/in.h#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/netinet/in_mcast.c#6 integrate .. //depot/projects/soc2009/trasz_limits/sys/netinet/ip_mroute.c#6 integrate .. //depot/projects/soc2009/trasz_limits/sys/netinet/sctp_pcb.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/netinet6/in6.c#11 integrate .. //depot/projects/soc2009/trasz_limits/sys/netinet6/in6_ifattach.c#9 integrate .. //depot/projects/soc2009/trasz_limits/sys/netinet6/in6_proto.c#6 integrate .. //depot/projects/soc2009/trasz_limits/sys/netinet6/ip6_input.c#11 integrate .. //depot/projects/soc2009/trasz_limits/sys/netinet6/nd6.c#8 integrate .. //depot/projects/soc2009/trasz_limits/sys/netinet6/nd6.h#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/netinet6/nd6_nbr.c#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/netinet6/nd6_rtr.c#8 integrate .. //depot/projects/soc2009/trasz_limits/sys/netsmb/smb_dev.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/nfsclient/nfs_node.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/nfsserver/nfs_serv.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/pc98/include/_align.h#1 branch .. //depot/projects/soc2009/trasz_limits/sys/pc98/include/pc/vesa.h#2 delete .. //depot/projects/soc2009/trasz_limits/sys/pci/intpm.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/pci/intpmreg.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/powerpc/conf/GENERIC#6 integrate .. //depot/projects/soc2009/trasz_limits/sys/powerpc/include/_align.h#1 branch .. //depot/projects/soc2009/trasz_limits/sys/powerpc/include/param.h#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/security/audit/audit_bsm_token.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/sparc64/include/_align.h#1 branch .. //depot/projects/soc2009/trasz_limits/sys/sparc64/include/param.h#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/sparc64/pci/ofw_pci.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/sparc64/pci/psycho.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/sparc64/pci/schizo.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/sparc64/sparc64/jbusppm.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/sun4v/include/_align.h#1 branch .. //depot/projects/soc2009/trasz_limits/sys/sun4v/include/param.h#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/sys/_sockaddr_storage.h#1 branch .. //depot/projects/soc2009/trasz_limits/sys/sys/bus.h#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/sys/imgact_aout.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/sys/param.h#14 integrate .. //depot/projects/soc2009/trasz_limits/sys/sys/socket.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/sys/syscallsubr.h#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/sys/sysproto.h#9 integrate .. //depot/projects/soc2009/trasz_limits/sys/teken/teken.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/teken/teken.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/teken/teken_demo.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/teken/teken_subr.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/teken/teken_subr_compat.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/ufs/ffs/ffs_vfsops.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/ufs/ufs/ufs_acl.c#3 integrate .. //depot/projects/soc2009/trasz_limits/tools/regression/acltools/00.t#2 integrate .. //depot/projects/soc2009/trasz_limits/tools/regression/acltools/01.t#1 branch .. //depot/projects/soc2009/trasz_limits/tools/regression/acltools/tools-nfs4.test#1 branch .. //depot/projects/soc2009/trasz_limits/tools/regression/acltools/tools-posix.test#4 integrate .. //depot/projects/soc2009/trasz_limits/tools/regression/fstest/Makefile#2 integrate .. //depot/projects/soc2009/trasz_limits/tools/regression/fstest/fstest.c#3 integrate .. //depot/projects/soc2009/trasz_limits/tools/regression/fstest/tests/chmod/12.t#1 branch .. //depot/projects/soc2009/trasz_limits/tools/regression/fstest/tests/granular/00.t#1 branch .. //depot/projects/soc2009/trasz_limits/tools/regression/fstest/tests/granular/01.t#1 branch .. //depot/projects/soc2009/trasz_limits/tools/regression/fstest/tests/granular/02.t#1 branch .. //depot/projects/soc2009/trasz_limits/tools/regression/fstest/tests/granular/03.t#1 branch .. //depot/projects/soc2009/trasz_limits/tools/regression/fstest/tests/granular/04.t#1 branch .. //depot/projects/soc2009/trasz_limits/tools/regression/fstest/tests/granular/05.t#1 branch .. //depot/projects/soc2009/trasz_limits/usr.bin/tar/Makefile#2 integrate .. //depot/projects/soc2009/trasz_limits/usr.bin/unzip/unzip.1#2 integrate .. //depot/projects/soc2009/trasz_limits/usr.bin/unzip/unzip.c#2 integrate .. //depot/projects/soc2009/trasz_limits/usr.bin/w/pr_time.c#3 integrate .. //depot/projects/soc2009/trasz_limits/usr.sbin/acpi/acpidb/Makefile#3 integrate .. //depot/projects/soc2009/trasz_limits/usr.sbin/btxld/btxld.c#2 integrate .. //depot/projects/soc2009/trasz_limits/usr.sbin/ndp/ndp.8#2 integrate .. //depot/projects/soc2009/trasz_limits/usr.sbin/ndp/ndp.c#3 integrate .. //depot/projects/soc2009/trasz_limits/usr.sbin/rtsold/if.c#2 integrate .. //depot/projects/soc2009/trasz_limits/usr.sbin/rtsold/rtsold.8#2 integrate .. //depot/projects/soc2009/trasz_limits/usr.sbin/rtsold/rtsold.c#2 integrate .. //depot/projects/soc2009/trasz_limits/usr.sbin/rtsold/rtsold.h#2 integrate Differences ... ==== //depot/projects/soc2009/trasz_limits/Makefile.inc1#5 (text+ko) ==== @@ -1,11 +1,11 @@ # -# $FreeBSD: src/Makefile.inc1,v 1.628 2009/07/14 21:19:13 kan Exp $ +# $FreeBSD: src/Makefile.inc1,v 1.629 2009/09/10 07:37:36 des Exp $ # # Make command line options: # -DNO_CLEANDIR run ${MAKE} clean, instead of ${MAKE} cleandir # -DNO_CLEAN do not clean at all # -DNO_SHARE do not go into share subdir -# -DKERNFAST define NO_KERNELCONFIG, NO_KERNELCLEAN and NO_KERNELCONFIG +# -DKERNFAST define NO_KERNELCONFIG, NO_KERNELCLEAN and NO_KERNELDEPEND # -DNO_KERNELCONFIG do not run config in ${MAKE} buildkernel # -DNO_KERNELCLEAN do not run ${MAKE} clean in ${MAKE} buildkernel # -DNO_KERNELDEPEND do not run ${MAKE} depend in ${MAKE} buildkernel ==== //depot/projects/soc2009/trasz_limits/ObsoleteFiles.inc#13 (text+ko) ==== @@ -1,5 +1,5 @@ # -# $FreeBSD: src/ObsoleteFiles.inc,v 1.208 2009/09/03 16:34:20 remko Exp $ +# $FreeBSD: src/ObsoleteFiles.inc,v 1.209 2009/09/10 21:42:00 delphij Exp $ # # This file lists old files (OLD_FILES), libraries (OLD_LIBS) and # directories (OLD_DIRS) which should get removed at an update. Recently @@ -14,6 +14,9 @@ # The file is partitioned: OLD_FILES first, then OLD_LIBS and OLD_DIRS last. # +# 20090909: vesa and dpms promoted to be i386/amd64 common +OLD_FILES+=usr/include/machine/pc/vesa.h +OLD_FILES+=usr/share/man/man4/i386/dpms.4.gz # 20090904: remove lukemftpd OLD_FILES+=usr/libexec/lukemftpd OLD_FILES+=usr/share/man/man5/ftpd.conf.5.gz ==== //depot/projects/soc2009/trasz_limits/bin/setfacl/mask.c#2 (text+ko) ==== @@ -25,7 +25,7 @@ */ #include -__FBSDID("$FreeBSD: src/bin/setfacl/mask.c,v 1.8 2005/01/10 08:39:25 imp Exp $"); +__FBSDID("$FreeBSD: src/bin/setfacl/mask.c,v 1.9 2009/09/07 16:19:32 trasz Exp $"); #include #include @@ -40,7 +40,7 @@ /* set the appropriate mask the given ACL's */ int -set_acl_mask(acl_t *prev_acl) +set_acl_mask(acl_t *prev_acl, const char *filename) { acl_entry_t entry; acl_t acl; @@ -59,7 +59,7 @@ acl = acl_dup(*prev_acl); if (acl == NULL) - err(1, "acl_dup() failed"); + err(1, "%s: acl_dup() failed", filename); if (n_flag == 0) { /* @@ -70,7 +70,7 @@ * class in the resulting ACL */ if (acl_calc_mask(&acl)) { - warn("acl_calc_mask() failed"); + warn("%s: acl_calc_mask() failed", filename); acl_free(acl); return (-1); } @@ -86,7 +86,8 @@ while (acl_get_entry(acl, entry_id, &entry) == 1) { entry_id = ACL_NEXT_ENTRY; if (acl_get_tag_type(entry, &tag) == -1) - err(1, "acl_get_tag_type() failed"); + err(1, "%s: acl_get_tag_type() failed", + filename); if (tag == ACL_MASK) { acl_free(acl); @@ -100,7 +101,7 @@ * file, then write an error message to standard error and * continue with the next file. */ - warnx("warning: no mask entry"); + warnx("%s: warning: no mask entry", filename); acl_free(acl); return (0); } ==== //depot/projects/soc2009/trasz_limits/bin/setfacl/merge.c#2 (text+ko) ==== @@ -25,7 +25,7 @@ */ #include -__FBSDID("$FreeBSD: src/bin/setfacl/merge.c,v 1.8 2005/01/10 08:39:25 imp Exp $"); +__FBSDID("$FreeBSD: src/bin/setfacl/merge.c,v 1.9 2009/09/07 16:19:32 trasz Exp $"); #include #include @@ -36,12 +36,15 @@ #include "setfacl.h" -static int merge_user_group(acl_entry_t *entry, acl_entry_t *entry_new); +static int merge_user_group(acl_entry_t *entry, acl_entry_t *entry_new, + int acl_brand); static int -merge_user_group(acl_entry_t *entry, acl_entry_t *entry_new) +merge_user_group(acl_entry_t *entry, acl_entry_t *entry_new, int acl_brand) { acl_permset_t permset; + acl_entry_type_t entry_type; + acl_flagset_t flagset; int have_entry; uid_t *id, *id_new; @@ -59,6 +62,18 @@ err(1, "acl_get_permset() failed"); if (acl_set_permset(*entry_new, permset) == -1) err(1, "acl_set_permset() failed"); + + if (acl_brand == ACL_BRAND_NFS4) { + if (acl_get_entry_type_np(*entry, &entry_type)) + err(1, "acl_get_entry_type_np() failed"); + if (acl_set_entry_type_np(*entry_new, entry_type)) + err(1, "acl_set_entry_type_np() failed"); + if (acl_get_flagset_np(*entry, &flagset)) + err(1, "acl_get_flagset_np() failed"); + if (acl_set_flagset_np(*entry_new, flagset)) + err(1, "acl_set_flagset_np() failed"); + } + have_entry = 1; } acl_free(id); @@ -71,20 +86,31 @@ * merge an ACL into existing file's ACL */ int -merge_acl(acl_t acl, acl_t *prev_acl) +merge_acl(acl_t acl, acl_t *prev_acl, const char *filename) { acl_entry_t entry, entry_new; acl_permset_t permset; acl_t acl_new; acl_tag_t tag, tag_new; - int entry_id, entry_id_new, have_entry; + acl_entry_type_t entry_type, entry_type_new; + acl_flagset_t flagset; + int entry_id, entry_id_new, have_entry, entry_number = 0; + int acl_brand, prev_acl_brand; + + acl_get_brand_np(acl, &acl_brand); + acl_get_brand_np(*prev_acl, &prev_acl_brand); + + if (acl_brand != prev_acl_brand) { + warnx("%s: branding mismatch; existing ACL is %s, " + "entry to be merged is %s", filename, + prev_acl_brand == ACL_BRAND_NFS4 ? "NFSv4" : "POSIX.1e", + acl_brand == ACL_BRAND_NFS4 ? "NFSv4" : "POSIX.1e"); + return (-1); + } - if (acl_type == ACL_TYPE_ACCESS) - acl_new = acl_dup(prev_acl[ACCESS_ACL]); - else - acl_new = acl_dup(prev_acl[DEFAULT_ACL]); + acl_new = acl_dup(*prev_acl); if (acl_new == NULL) - err(1, "acl_dup() failed"); + err(1, "%s: acl_dup() failed", filename); entry_id = ACL_FIRST_ENTRY; @@ -94,28 +120,45 @@ /* keep track of existing ACL_MASK entries */ if (acl_get_tag_type(entry, &tag) == -1) - err(1, "acl_get_tag_type() failed - invalid ACL entry"); + err(1, "%s: acl_get_tag_type() failed - " + "invalid ACL entry", filename); if (tag == ACL_MASK) have_mask = 1; /* check against the existing ACL entries */ entry_id_new = ACL_FIRST_ENTRY; - while (have_entry == 0 && - acl_get_entry(acl_new, entry_id_new, &entry_new) == 1) { + while (acl_get_entry(acl_new, entry_id_new, &entry_new) == 1) { entry_id_new = ACL_NEXT_ENTRY; if (acl_get_tag_type(entry, &tag) == -1) - err(1, "acl_get_tag_type() failed"); + err(1, "%s: acl_get_tag_type() failed", + filename); if (acl_get_tag_type(entry_new, &tag_new) == -1) - err(1, "acl_get_tag_type() failed"); + err(1, "%s: acl_get_tag_type() failed", + filename); if (tag != tag_new) continue; + /* + * For NFSv4, in addition to "tag" and "id" we also + * compare "entry_type". + */ + if (acl_brand == ACL_BRAND_NFS4) { + if (acl_get_entry_type_np(entry, &entry_type)) + err(1, "%s: acl_get_entry_type_np() " + "failed", filename); + if (acl_get_entry_type_np(entry_new, &entry_type_new)) + err(1, "%s: acl_get_entry_type_np() " + "failed", filename); + if (entry_type != entry_type_new) + continue; + } + switch(tag) { case ACL_USER: case ACL_GROUP: have_entry = merge_user_group(&entry, - &entry_new); + &entry_new, acl_brand); if (have_entry == 0) break; /* FALLTHROUGH */ @@ -123,37 +166,127 @@ case ACL_GROUP_OBJ: case ACL_OTHER: case ACL_MASK: + case ACL_EVERYONE: if (acl_get_permset(entry, &permset) == -1) - err(1, "acl_get_permset() failed"); + err(1, "%s: acl_get_permset() failed", + filename); if (acl_set_permset(entry_new, permset) == -1) - err(1, "acl_set_permset() failed"); + err(1, "%s: acl_set_permset() failed", + filename); + + if (acl_brand == ACL_BRAND_NFS4) { + if (acl_get_entry_type_np(entry, &entry_type)) + err(1, "%s: acl_get_entry_type_np() failed", + filename); + if (acl_set_entry_type_np(entry_new, entry_type)) + err(1, "%s: acl_set_entry_type_np() failed", + filename); + if (acl_get_flagset_np(entry, &flagset)) + err(1, "%s: acl_get_flagset_np() failed", + filename); + if (acl_set_flagset_np(entry_new, flagset)) + err(1, "%s: acl_set_flagset_np() failed", + filename); + } have_entry = 1; break; default: /* should never be here */ - errx(1, "Invalid tag type: %i", tag); + errx(1, "%s: invalid tag type: %i", filename, tag); break; } } /* if this entry has not been found, it must be new */ if (have_entry == 0) { - if (acl_create_entry(&acl_new, &entry_new) == -1) { - acl_free(acl_new); - return (-1); + + /* + * NFSv4 ACL entries must be prepended to the ACL. + * Appending them at the end makes no sense, since + * in most cases they wouldn't even get evaluated. + */ + if (acl_brand == ACL_BRAND_NFS4) { + if (acl_create_entry_np(&acl_new, &entry_new, entry_number) == -1) { + warn("%s: acl_create_entry_np() failed", filename); + acl_free(acl_new); + return (-1); + } + /* + * Without this increment, adding several + * entries at once, for example + * "setfacl -m user:1:r:allow,user:2:r:allow", + * would make them appear in reverse order. + */ + entry_number++; + } else { + if (acl_create_entry(&acl_new, &entry_new) == -1) { + warn("%s: acl_create_entry() failed", filename); + acl_free(acl_new); + return (-1); + } } if (acl_copy_entry(entry_new, entry) == -1) - err(1, "acl_copy_entry() failed"); + err(1, "%s: acl_copy_entry() failed", filename); } } - if (acl_type == ACL_TYPE_ACCESS) { - acl_free(prev_acl[ACCESS_ACL]); - prev_acl[ACCESS_ACL] = acl_new; - } else { - acl_free(prev_acl[DEFAULT_ACL]); - prev_acl[DEFAULT_ACL] = acl_new; + acl_free(*prev_acl); + *prev_acl = acl_new; + + return (0); +} + +int +add_acl(acl_t acl, uint entry_number, acl_t *prev_acl, const char *filename) +{ + acl_entry_t entry, entry_new; + acl_t acl_new; + int entry_id, acl_brand, prev_acl_brand; + + acl_get_brand_np(acl, &acl_brand); + acl_get_brand_np(*prev_acl, &prev_acl_brand); + + if (prev_acl_brand != ACL_BRAND_NFS4) { + warnx("%s: the '-a' option is only applicable to NFSv4 ACLs", + filename); + return (-1); + } + + if (acl_brand != ACL_BRAND_NFS4) { + warnx("%s: branding mismatch; existing ACL is NFSv4, " + "entry to be added is POSIX.1e", filename); + return (-1); + } + + acl_new = acl_dup(*prev_acl); + if (acl_new == NULL) + err(1, "%s: acl_dup() failed", filename); + + entry_id = ACL_FIRST_ENTRY; + + while (acl_get_entry(acl, entry_id, &entry) == 1) { + entry_id = ACL_NEXT_ENTRY; + + if (acl_create_entry_np(&acl_new, &entry_new, entry_number) == -1) { + warn("%s: acl_create_entry_np() failed", filename); + acl_free(acl_new); + return (-1); + } + + /* + * Without this increment, adding several + * entries at once, for example + * "setfacl -m user:1:r:allow,user:2:r:allow", + * would make them appear in reverse order. + */ + entry_number++; + + if (acl_copy_entry(entry_new, entry) == -1) + err(1, "%s: acl_copy_entry() failed", filename); } + acl_free(*prev_acl); + *prev_acl = acl_new; + return (0); } ==== //depot/projects/soc2009/trasz_limits/bin/setfacl/remove.c#2 (text+ko) ==== @@ -25,7 +25,7 @@ */ #include -__FBSDID("$FreeBSD: src/bin/setfacl/remove.c,v 1.6 2005/01/10 08:39:25 imp Exp $"); +__FBSDID("$FreeBSD: src/bin/setfacl/remove.c,v 1.7 2009/09/07 16:19:32 trasz Exp $"); #include #include @@ -41,21 +41,31 @@ * remove ACL entries from an ACL */ int -remove_acl(acl_t acl, acl_t *prev_acl) +remove_acl(acl_t acl, acl_t *prev_acl, const char *filename) { acl_entry_t entry; acl_t acl_new; acl_tag_t tag; - int carried_error, entry_id; + int carried_error, entry_id, acl_brand, prev_acl_brand; + + carried_error = 0; + + acl_get_brand_np(acl, &acl_brand); + acl_get_brand_np(*prev_acl, &prev_acl_brand); + + if (acl_brand != prev_acl_brand) { + warnx("%s: branding mismatch; existing ACL is %s, " + "entry to be removed is %s", filename, + prev_acl_brand == ACL_BRAND_NFS4 ? "NFSv4" : "POSIX.1e", + acl_brand == ACL_BRAND_NFS4 ? "NFSv4" : "POSIX.1e"); + return (-1); + } carried_error = 0; - if (acl_type == ACL_TYPE_ACCESS) - acl_new = acl_dup(prev_acl[ACCESS_ACL]); - else - acl_new = acl_dup(prev_acl[DEFAULT_ACL]); + acl_new = acl_dup(*prev_acl); if (acl_new == NULL) - err(1, "acl_dup() failed"); + err(1, "%s: acl_dup() failed", filename); tag = ACL_UNDEFINED_TAG; @@ -64,23 +74,68 @@ while (acl_get_entry(acl, entry_id, &entry) == 1) { entry_id = ACL_NEXT_ENTRY; if (acl_get_tag_type(entry, &tag) == -1) - err(1, "acl_get_tag_type() failed"); + err(1, "%s: acl_get_tag_type() failed", filename); if (tag == ACL_MASK) have_mask++; if (acl_delete_entry(acl_new, entry) == -1) { carried_error++; - warnx("cannot remove non-existent acl entry"); + warnx("%s: cannot remove non-existent ACL entry", + filename); } } - if (acl_type == ACL_TYPE_ACCESS) { - acl_free(prev_acl[ACCESS_ACL]); - prev_acl[ACCESS_ACL] = acl_new; - } else { - acl_free(prev_acl[DEFAULT_ACL]); - prev_acl[DEFAULT_ACL] = acl_new; + acl_free(*prev_acl); + *prev_acl = acl_new; + + if (carried_error) + return (-1); + + return (0); +} + +int +remove_by_number(uint entry_number, acl_t *prev_acl, const char *filename) +{ + acl_entry_t entry; + acl_t acl_new; + acl_tag_t tag; + int carried_error, entry_id; + uint i; + + carried_error = 0; + + acl_new = acl_dup(*prev_acl); + if (acl_new == NULL) + err(1, "%s: acl_dup() failed", filename); + + tag = ACL_UNDEFINED_TAG; + + /* + * Find out whether we're removing the mask entry, + * to behave the same as the routine above. + * + * XXX: Is this loop actually needed? + */ + entry_id = ACL_FIRST_ENTRY; + i = 0; + while (acl_get_entry(acl_new, entry_id, &entry) == 1) { + entry_id = ACL_NEXT_ENTRY; + if (i != entry_number) + continue; + if (acl_get_tag_type(entry, &tag) == -1) + err(1, "%s: acl_get_tag_type() failed", filename); + if (tag == ACL_MASK) + have_mask++; + } + + if (acl_delete_entry_np(acl_new, entry_number) == -1) { + carried_error++; + warn("%s: acl_delete_entry_np() failed", filename); } + acl_free(*prev_acl); + *prev_acl = acl_new; + if (carried_error) return (-1); @@ -91,18 +146,14 @@ * remove default entries */ int -remove_default(acl_t *prev_acl) +remove_default(acl_t *prev_acl, const char *filename) { - if (prev_acl[1]) { - acl_free(prev_acl[1]); - prev_acl[1] = acl_init(ACL_MAX_ENTRIES); - if (prev_acl[1] == NULL) - err(1, "acl_init() failed"); - } else { - warn("cannot remove default ACL"); - return (-1); - } + acl_free(*prev_acl); + *prev_acl = acl_init(ACL_MAX_ENTRIES); + if (*prev_acl == NULL) + err(1, "%s: acl_init() failed", filename); + return (0); } @@ -110,71 +161,14 @@ * remove extended entries */ void -remove_ext(acl_t *prev_acl) +remove_ext(acl_t *prev_acl, const char *filename) { - acl_t acl_new, acl_old; - acl_entry_t entry, entry_new; - acl_permset_t perm; - acl_tag_t tag; - int entry_id, have_mask_entry; + acl_t acl_new; - if (acl_type == ACL_TYPE_ACCESS) - acl_old = acl_dup(prev_acl[ACCESS_ACL]); - else - acl_old = acl_dup(prev_acl[DEFAULT_ACL]); - if (acl_old == NULL) - err(1, "acl_dup() failed"); - - have_mask_entry = 0; - acl_new = acl_init(ACL_MAX_ENTRIES); + acl_new = acl_strip_np(*prev_acl, !n_flag); if (acl_new == NULL) - err(1, "acl_init() failed"); - tag = ACL_UNDEFINED_TAG; + err(1, "%s: acl_strip_np() failed", filename); - /* only save the default user/group/other entries */ - entry_id = ACL_FIRST_ENTRY; - while (acl_get_entry(acl_old, entry_id, &entry) == 1) { - entry_id = ACL_NEXT_ENTRY; - - if (acl_get_tag_type(entry, &tag) == -1) - err(1, "acl_get_tag_type() failed"); - - switch(tag) { - case ACL_USER_OBJ: - case ACL_GROUP_OBJ: - case ACL_OTHER: - if (acl_get_tag_type(entry, &tag) == -1) - err(1, "acl_get_tag_type() failed"); - if (acl_get_permset(entry, &perm) == -1) - err(1, "acl_get_permset() failed"); - if (acl_create_entry(&acl_new, &entry_new) == -1) - err(1, "acl_create_entry() failed"); - if (acl_set_tag_type(entry_new, tag) == -1) - err(1, "acl_set_tag_type() failed"); - if (acl_set_permset(entry_new, perm) == -1) - err(1, "acl_get_permset() failed"); - if (acl_copy_entry(entry_new, entry) == -1) - err(1, "acl_copy_entry() failed"); - break; - case ACL_MASK: - have_mask_entry = 1; - break; - default: - break; - } - } - if (have_mask_entry && n_flag == 0) { - if (acl_calc_mask(&acl_new) == -1) - err(1, "acl_calc_mask() failed"); - } else { - have_mask = 1; - } - - if (acl_type == ACL_TYPE_ACCESS) { - acl_free(prev_acl[ACCESS_ACL]); - prev_acl[ACCESS_ACL] = acl_new; - } else { - acl_free(prev_acl[DEFAULT_ACL]); - prev_acl[DEFAULT_ACL] = acl_new; - } + acl_free(*prev_acl); + *prev_acl = acl_new; } >>> TRUNCATED FOR MAIL (1000 lines) <<<