Date: Mon, 30 Apr 2007 03:45:43 GMT From: Matt Jacob <mjacob@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 118968 for review Message-ID: <200704300345.l3U3jhDu056886@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=118968 Change 118968 by mjacob@mjexp on 2007/04/30 03:45:13 IFC Affected files ... .. //depot/projects/mjexp/release/doc/en_US.ISO8859-1/relnotes/article.sgml#14 integrate .. //depot/projects/mjexp/share/man/man9/rman.9#2 integrate .. //depot/projects/mjexp/share/misc/committers-ports.dot#6 integrate .. //depot/projects/mjexp/sys/contrib/opensolaris/uts/common/fs/gfs.c#2 integrate .. //depot/projects/mjexp/sys/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c#2 integrate .. //depot/projects/mjexp/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c#5 integrate .. //depot/projects/mjexp/sys/kern/subr_rman.c#5 integrate .. //depot/projects/mjexp/sys/security/audit/audit_ioctl.h#2 integrate .. //depot/projects/mjexp/usr.bin/calendar/calendars/calendar.freebsd#11 integrate .. //depot/projects/mjexp/usr.bin/stat/stat.1#2 integrate Differences ... ==== //depot/projects/mjexp/release/doc/en_US.ISO8859-1/relnotes/article.sgml#14 (text+ko) ==== @@ -30,7 +30,7 @@ <corpauthor>The &os; Project</corpauthor> - <pubdate>$FreeBSD: src/release/doc/en_US.ISO8859-1/relnotes/article.sgml,v 1.1023 2007/04/24 08:58:09 yar Exp $</pubdate> + <pubdate>$FreeBSD: src/release/doc/en_US.ISO8859-1/relnotes/article.sgml,v 1.1026 2007/04/29 11:32:25 brueffer Exp $</pubdate> <copyright> <year>2000</year> @@ -276,6 +276,11 @@ information, see security advisory <ulink url="http://security.FreeBSD.org/advisories/FreeBSD-SA-07:02.bind.asc">FreeBSD-SA-07:02.bind</ulink>. &merged;</para> + <para>Processing of IPv6 type 0 Routing Headers is now + controlled by the <varname>net.inet6.ip6.rthdr0_allowed</varname> + sysctl variable, which defaults to <literal>0</literal> (off). + For more information, see security advisory + <ulink url="http://security.FreeBSD.org/advisories/FreeBSD-SA-07:03.ipv6.asc">FreeBSD-SA-07:03.ipv6</ulink>. &merged;</para> </sect2> <sect2 id="kernel"> @@ -341,9 +346,7 @@ <para>&man.hwpmc.4; and &man.pmcstat.8; now support profiling of dynamically loaded kernel modules and - shared objects loaded with &man.dlopen.3;. - &man.pmcstat.8; can now log over a network socket - to a remote host.</para> + shared objects loaded with &man.dlopen.3;.</para> <para>A new <varname>kern.hostuuid</varname> sysctl variable has been added to hold a host's Universally Unique Identifier @@ -356,8 +359,9 @@ It is enabled in the GENERIC kernel (thus there is no change in functionality) for all platforms except &arch.sun4v;.</para> - <para>Support for Message Signaled Interrupts (MSI) has been added to - the &man.pci.4; driver. &merged;</para> + <para>Support for Message Signaled Interrupts (MSI) and Extended + Message Signaled Interrupts (MSI-X) has been added to the kernel's + PCI support code. &merged;</para> <para>The &man.priv.9; kernel interface has been added. Its purpose is checking the availability of privilege for threads and credentials. @@ -734,6 +738,9 @@ <para>The &man.ed.4; driver is now MPSAFE.</para> + <para>The &man.edsc.4; driver, which provides Ethernet discard network + interfaces, has been added. &merged;</para> + <para>The &man.el.4; driver has been removed due to lack of use.</para> <para>The &man.em.4; driver now supports big-endian @@ -1279,7 +1286,7 @@ option; the <option>-a</option> option is now used to specify the authentication algorithm. &merged;</para> - <para>The sg driver, which emulates a significant + <para>The scsi_sg driver, which emulates a significant subset of the Linux SCSI SG passthrough device API, has been added. It is intended to allow programs running under Linux emulation @@ -1715,6 +1722,14 @@ scripts. Symbolic links from its former location have been created for backward compatibility. &merged;</para> + <para>The &man.pmcstat.8; program has seen several enhancements: + It can now log over a network socket to a remote host. The + <option>-c</option> now takes a comma-seperated list of CPUs + to configure for PMC allocation. The <option>-t</option> option + has been enhanced to take a regular expression for selecting + processes based on their command names. &man.pmcstat.8; now + allocates system PMCs on all CPUs by default, not just CPU 0.</para> + <para>The &man.powerd.8; program now supports a <option>-P</option> option, which specifies a pidfile to use.</para> @@ -1741,9 +1756,18 @@ The supported names are: DUN (Dial-Up Networking), FAX (Fax), LAN (LAN Access Using PPP), and SP (Serial Port). &merged;</para> + <para>The &man.rpcbind.8; program can now bind its TCP listening + socket to an IP address other than INADDR_ANY using the + <option>-h</option> flag. The new <option>-6</option> flag allows + it to bind to IPv6 addresses only.</para> + <para>The &man.rpcgen.1; utility now generates headers and stub files that can be used with ANSI C compilers by default.</para> + <para>The &man.rpc.lockd.8; and &man.rpc.statd.8; programs now + accept <option>-p</option> options to indicate which port they + should bind to. &merged;</para> + <para>The &man.rtld.1; runtime linker now supports ELF symbol versioning using GNU semantics. This implementation aims to be compatible with symbol versioning support as implemented by GNU libc and @@ -1752,10 +1776,6 @@ function has been added to allow lookups for a specific version of a given symbol.</para> - <para>The &man.rpc.lockd.8; and &man.rpc.statd.8; programs now - accept <option>-p</option> options to indicate which port they - should bind to. &merged;</para> - <para>A bug in the &man.sed.1; utility which can cause incorrect calculation of pattern space length in some cases has been fixed.</para> ==== //depot/projects/mjexp/share/man/man9/rman.9#2 (text+ko) ==== @@ -23,9 +23,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/share/man/man9/rman.9,v 1.7 2006/02/13 21:34:19 joel Exp $ +.\" $FreeBSD: src/share/man/man9/rman.9,v 1.8 2007/04/28 07:37:48 jmg Exp $ .\" -.Dd March 15, 2005 +.Dd April 28, 2007 .Dt RMAN 9 .Os .Sh NAME @@ -140,6 +140,12 @@ .Fa rm argument, for use with the resource management functions. It also initializes any mutexes associated with the structure. +If +.Fn rman_init +fails to initalize the mutex, it will return +.Er ENOMEM ; otherwise it will return 0 and +.Fa rm +will be initalized. .Pp The .Fn rman_fini @@ -167,10 +173,15 @@ and .Fa end arguments specify the bounds of the region. -.Pp -.Em NOTE : -This interface is not robust against programming errors which -add multiple copies of the same region. +If successful, +.Fn rman_manage_region +will return 0. +If the region overlaps with an existing region, it will return +.Er EBUSY . +.Er ENOMEM +will be return when +.Fn rman_manage_region +failed to allocate memory for the region. .Pp The .Fn rman_reserve_resource_bound ==== //depot/projects/mjexp/share/misc/committers-ports.dot#6 (text+ko) ==== @@ -1,4 +1,4 @@ -# $FreeBSD: src/share/misc/committers-ports.dot,v 1.53 2007/04/25 11:59:09 nemoliu Exp $ +# $FreeBSD: src/share/misc/committers-ports.dot,v 1.54 2007/04/27 18:19:59 araujo Exp $ # This file is meant to list all FreeBSD ports committers and describe the # mentor-mentee relationships between them. @@ -46,6 +46,7 @@ alepulver [label="Alejandro Pulver\nalepulver@FreeBSD.org\n2006/04/01"] alexbl [label="Alexander Botero-Lowry\nalexbl@FreeBSD.org\n2006/09/11"] anray [label="Andrey Slusar\nanray@FreeBSD.org\n2005/12/11"] +araujo [label="Marcelo Araujo\naraujo@FreeBSD.org\n2007/04/26"] arved [label="Tilman Linneweh\narved@FreeBSD.org\n2002/10/15"] az [label="Andrej Zverev\naz@FreeBSD.org\n2005/10/03"] bland [label="Alexander Nedotsukov\nbland@FreeBSD.org\n2003/08/14"] @@ -179,6 +180,7 @@ ijliao -> leeym +itetcu -> araujo itetcu -> dryice joerg -> netchild @@ -241,6 +243,8 @@ sobomax -> marcus +stas -> araujo + steve -> netchild tmclaugh -> itetcu ==== //depot/projects/mjexp/sys/contrib/opensolaris/uts/common/fs/gfs.c#2 (text+ko) ==== @@ -197,6 +197,7 @@ st->grd_dirent->d_reclen = (ushort_t)reclen; st->grd_dirent->d_namlen = namlen; + /* TODO: d_type */ if (uiomove((caddr_t)st->grd_dirent, reclen, UIO_READ, uiop)) return (EFAULT); @@ -231,6 +232,7 @@ st->grd_dirent->d_ino = ino; (void) strncpy(st->grd_dirent->d_name, name, st->grd_namlen); + /* TODO: d_type */ /* * Inter-entry offsets are invalid, so we assume a record size of ==== //depot/projects/mjexp/sys/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c#2 (text+ko) ==== @@ -84,13 +84,13 @@ ZFS_LOG(1, "Closing access to %s.", cp->provider->name); g_access(cp, -cp->acr, -cp->acw, -cp->ace); + ZFS_LOG(1, "Destroyed consumer to %s.", cp->provider->name); g_detach(cp); - ZFS_LOG(1, "Destroyed consumer to %s.", cp->provider->name); g_destroy_consumer(cp); /* Destroy geom if there are no consumers left. */ if (LIST_EMPTY(&gp->consumer)) { ZFS_LOG(1, "Destroyed geom %s.", gp->name); - g_wither_geom(cp->geom, error); + g_wither_geom(gp, error); } vdev_geom_release(vd); /* Both methods below work, but in a bit different way. */ ==== //depot/projects/mjexp/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c#5 (text+ko) ==== @@ -1818,12 +1818,15 @@ if (offset == 0) { (void) strcpy(zap.za_name, "."); objnum = zp->z_id; + type = DT_DIR; } else if (offset == 1) { (void) strcpy(zap.za_name, ".."); objnum = zp->z_phys->zp_parent; + type = DT_DIR; } else if (offset == 2 && zfs_show_ctldir(zp)) { (void) strcpy(zap.za_name, ZFS_CTLDIR_NAME); objnum = ZFSCTL_INO_ROOT; + type = DT_DIR; } else { /* * Grab next entry. @@ -1929,7 +1932,7 @@ uio->uio_loffset = offset; ZFS_EXIT(zfsvfs); - if (error != 0) { + if (error != 0 && cookies != NULL) { free(*cookies, M_TEMP); *cookies = NULL; *ncookies = 0; ==== //depot/projects/mjexp/sys/kern/subr_rman.c#5 (text+ko) ==== @@ -58,7 +58,7 @@ #include "opt_ddb.h" #include <sys/cdefs.h> -__FBSDID("$FreeBSD: src/sys/kern/subr_rman.c,v 1.56 2007/04/16 21:09:03 jhb Exp $"); +__FBSDID("$FreeBSD: src/sys/kern/subr_rman.c,v 1.57 2007/04/28 07:37:49 jmg Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -155,10 +155,6 @@ return 0; } -/* - * NB: this interface is not robust against programming errors which - * add multiple copies of the same region. - */ int rman_manage_region(struct rman *rm, u_long start, u_long end) { ==== //depot/projects/mjexp/sys/security/audit/audit_ioctl.h#2 (text) ==== @@ -25,7 +25,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD: src/sys/security/audit/audit_ioctl.h,v 1.4 2006/08/26 17:59:31 rwatson Exp $ + * $FreeBSD: src/sys/security/audit/audit_ioctl.h,v 1.5 2007/04/29 16:20:32 rwatson Exp $ */ #ifndef _SECURITY_AUDIT_AUDIT_IOCTL_H_ @@ -48,9 +48,6 @@ */ #define AUDITPIPE_PRESELECT_MODE_TRAIL 1 /* Global audit trail. */ #define AUDITPIPE_PRESELECT_MODE_LOCAL 2 /* Local audit trail. */ -#ifdef NOTYET -#define AUDITPIPE_PRESELECT_MODE_PRIORITY 3 /* Prioritized trail. */ -#endif /* * Ioctls to read and control the behavior of individual audit pipe devices. ==== //depot/projects/mjexp/usr.bin/calendar/calendars/calendar.freebsd#11 (text+ko) ==== @@ -1,7 +1,7 @@ /* * FreeBSD * - * $FreeBSD: src/usr.bin/calendar/calendars/calendar.freebsd,v 1.213 2007/04/25 11:59:10 nemoliu Exp $ + * $FreeBSD: src/usr.bin/calendar/calendars/calendar.freebsd,v 1.214 2007/04/27 18:17:41 araujo Exp $ */ #ifndef _calendar_freebsd_ @@ -21,6 +21,7 @@ 01/16 Vanilla I. Shu <vanilla@FreeBSD.org> born in Taipei, Taiwan, Republic of China, 1978 01/18 Dejan Lesjak <lesi@FreeBSD.org> born in Ljubljana, Slovenia, Yugoslavia, 1977 01/19 Marshall Kirk McKusick <mckusick@FreeBSD.org> born in Wilmington, Delaware, United States, 1954 +01/19 Marcelo S. Araujo <araujo@FreeBSD.org> born in Joinville, Santa Catarina, Brazil, 1981 01/19 Ruslan Ermilov <ru@FreeBSD.org> born in Simferopol, USSR, 1974 01/20 Poul-Henning Kamp <phk@FreeBSD.org> born in Korsoer, Denmark, 1966 01/22 Johann Visagie <wjv@FreeBSD.org> born in Cape Town, South Africa, 1970 ==== //depot/projects/mjexp/usr.bin/stat/stat.1#2 (text+ko) ==== @@ -34,9 +34,9 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.\" $FreeBSD: src/usr.bin/stat/stat.1,v 1.8 2005/06/14 11:50:53 ru Exp $ +.\" $FreeBSD: src/usr.bin/stat/stat.1,v 1.9 2007/04/27 18:23:32 brian Exp $ .\" -.Dd May 8, 2003 +.Dd April 27, 2007 .Dt STAT 1 .Os .Sh NAME @@ -455,7 +455,7 @@ 1148 1015432481 .Ed .Pp -In order to get a list of the kind of files including files pointed to if the +In order to get a list of file types including files pointed to if the file is a symbolic link, you could use the following format: .Bd -literal -offset indent $ stat -f "%N: %HT%SY" /tmp/* @@ -497,6 +497,31 @@ Apr 25 10:36:34 2002 /tmp/bar Apr 24 16:47:35 2002 /tmp/foo .Ed +.Pp +To display a file's modification time: +.Bd -literal -offset indent +\*[Gt] stat -f %m /tmp/foo +1177697733 +.Ed +.Pp +To display the same modification time in a readable format: +.Bd -literal -offset indent +\*[Gt] stat -f %Sm /tmp/foo +Apr 27 11:15:33 2007 +.Ed +.Pp +To display the same modification time in a readable and sortable format: +.Bd -literal -offset indent +\*[Gt] stat -f %Sm -t %Y%m%d%H%M%S /tmp/foo +20070427111533 +.Ed +.Pp +To display the same in UTC: +.Bd -literal -offset indent +\*[Gt] sh +$ TZ= stat -f %Sm -t %Y%m%d%H%M%S /tmp/foo +20070427181533 +.Ed .Sh SEE ALSO .Xr file 1 , .Xr ls 1 ,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704300345.l3U3jhDu056886>