From owner-svn-src-head@FreeBSD.ORG Sun Dec 23 00:29:15 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 213E4896; Sun, 23 Dec 2012 00:29:15 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-vb0-f50.google.com (mail-vb0-f50.google.com [209.85.212.50]) by mx1.freebsd.org (Postfix) with ESMTP id 722288FC0A; Sun, 23 Dec 2012 00:29:14 +0000 (UTC) Received: by mail-vb0-f50.google.com with SMTP id fr13so6391513vbb.23 for ; Sat, 22 Dec 2012 16:29:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=b/UpEzbkNc5vb5e7obAI0wXI6I3d6P5dEh0akz1Bqm0=; b=yAPibNdt8AF7Twom2j/MCJmSSzuqoNeKP/L+TPB6g6f4dcr1NXfl6scZ/BVhLEAng6 Owsax8MNEeskaiCxD3qruOD/vyRrVmKm0T4/xicgTGGAI+ixld5b/zdwxifZeMeReyjU FPw7nDZxFDWLHr3oOy+OfIiuZd67Y49xif/3FL/PlRu9fxZKuL+PI9yqZ+ETkOKZEPfj O27YHe0qT2l8hCXlpZdjaDZ7wm1T/9T9mWr9H49a30wl0NUZHdN/qhFDwb4NqKP0qWBX C9QoD63FMQ6GckLn1AK2Ok5vhT/fHFp3m4LtrLB0sb8DkuUNtJjBEvsWVNYRGUu/8EBK F8kg== MIME-Version: 1.0 Received: by 10.52.90.241 with SMTP id bz17mr23282318vdb.40.1356222547990; Sat, 22 Dec 2012 16:29:07 -0800 (PST) Received: by 10.58.161.83 with HTTP; Sat, 22 Dec 2012 16:29:07 -0800 (PST) In-Reply-To: <201212192010.qBJKA0lb075959@svn.freebsd.org> References: <201212192010.qBJKA0lb075959@svn.freebsd.org> Date: Sat, 22 Dec 2012 19:29:07 -0500 Message-ID: Subject: Re: svn commit: r244445 - in head/sys: kern sys tools From: Ryan Stone To: Jeff Roberson Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Dec 2012 00:29:15 -0000 This appears to have broken the build on arm. I see the following build failure building an arm LINT kernel: cc1: warnings being treated as errors In file included from /usr/home/rstone/freebsd/head_2/sys/arn/arm/trap.c:900: /usr/home/rstone/freebsd/head_2/sys/arm/arm/../../kern/subr_syscall.c: In function 'syscallenter': /usr/home/rstone/freebsd/head_2/sys/arm/arm/../../kern/subr_syscall.c:80: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] /usr/home/rstone/freebsd/head_2/sys/arm/arm/../../kern/subr_syscall.c:154: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] From owner-svn-src-head@FreeBSD.ORG Sun Dec 23 00:54:12 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 88DBBBE5; Sun, 23 Dec 2012 00:54:12 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id 449798FC0C; Sun, 23 Dec 2012 00:54:12 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:84e5:2627:88f9:e626] (unknown [IPv6:2001:7b8:3a7:0:84e5:2627:88f9:e626]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id D215B5C5A; Sun, 23 Dec 2012 01:54:10 +0100 (CET) Message-ID: <50D65630.8010901@FreeBSD.org> Date: Sun, 23 Dec 2012 01:54:08 +0100 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20121128 Thunderbird/18.0 MIME-Version: 1.0 To: Brooks Davis Subject: Re: svn commit: r244401 - in head: contrib/libc-vis include lib/libc/gen References: <201212181637.qBIGbP7e084145@svn.freebsd.org> In-Reply-To: <201212181637.qBIGbP7e084145@svn.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Dec 2012 00:54:12 -0000 On 2012-12-18 17:37, Brooks Davis wrote: > Author: brooks > Date: Tue Dec 18 16:37:24 2012 > New Revision: 244401 > URL: http://svnweb.freebsd.org/changeset/base/244401 > > Log: > Replace our implementation of the vis(3) and unvis(3) APIs with > NetBSD's. This output size limited versions of vis and unvis functions > as well as a set of vis variants that allow arbitrary characters to be > specified for encoding. This seems to break bootstrapping in some scenarios, in "stage 4.2: building libraries"; for example, with a test run with gcc on ref10-amd64.f.o I got this: gcc -O2 -pipe -I/scratch2/tmp/dim/head/lib/libc/include -I/scratch2/tmp/dim/head/lib/libc/../../include -I/scratch2/tmp/dim/head/lib/libc/amd64 -DNLS -D__DBINTERFACE_PRIVATE -I/scratch2/tmp/dim/head/lib/libc/../../contrib/gdtoa -DINET6 -I/scratch2/tmp/dim/obj/scratch2/tmp/dim/head/lib/libc -I/scratch2/tmp/dim/head/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/scratch2/tmp/dim/head/lib/libc/../../contrib/jemalloc/include -I/scratch2/tmp/dim/head/lib/libc/../../contrib/tzcode/stdtime -I/scratch2/tmp/dim/head/lib/libc/stdtime -I/scratch2/tmp/dim/head/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/scratch2/tmp/dim/head/lib/libc/rpc -DYP -DNS_CACHING -D_FREEFALL_CONFIG -DSYMBOL_VERSIONING -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /scratch2/tmp/dim/head/lib/libc/../../contrib/libc-vis/vis.c -o vis.o /scratch2/tmp/dim/head/lib/libc/../../contrib/libc-vis/unvis.c: In function 'unvis': /scratch2/tmp/dim/head/lib/libc/../../contrib/libc-vis/unvis.c:237: error: 'VIS_NOESCAPE' undeclared (first use in this function) /scratch2/tmp/dim/head/lib/libc/../../contrib/libc-vis/unvis.c:237: error: (Each undeclared identifier is reported only once /scratch2/tmp/dim/head/lib/libc/../../contrib/libc-vis/unvis.c:237: error: for each function it appears in.) /scratch2/tmp/dim/head/lib/libc/../../contrib/libc-vis/unvis.c:241: error: 'VIS_HTTP1808' undeclared (first use in this function) /scratch2/tmp/dim/head/lib/libc/../../contrib/libc-vis/unvis.c:245: error: 'VIS_HTTP1866' undeclared (first use in this function) /scratch2/tmp/dim/head/lib/libc/../../contrib/libc-vis/unvis.c:249: error: 'VIS_MIMESTYLE' undeclared (first use in this function) There should most likely be an explicit -I option to point the compiler at the correct vis.h header during the early stages, otherwise it will pick up /usr/include/vis.h, which does not have several of these new VIS_XXX defines. From owner-svn-src-head@FreeBSD.ORG Sun Dec 23 03:24:09 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CDB43CE3; Sun, 23 Dec 2012 03:24:09 +0000 (UTC) (envelope-from bjkfbsd@gmail.com) Received: from mail-ia0-f169.google.com (mail-ia0-f169.google.com [209.85.210.169]) by mx1.freebsd.org (Postfix) with ESMTP id 624018FC13; Sun, 23 Dec 2012 03:24:09 +0000 (UTC) Received: by mail-ia0-f169.google.com with SMTP id r4so5119142iaj.14 for ; Sat, 22 Dec 2012 19:24:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=UFZV67bLqhTLJi6jOvONpZ+EHCI5diVUzKL6YH20T2k=; b=IJv0bSGHNhblTS6dzCpTV/Pu3kcBY2lSYrbpup43QTtVkvxHJNy1PsTPX015xc5V2t cvVqP0cfE2ykfBMT2KVjHzbHfxL/Kdx+w+oocjZJmYoEbzor0FwwhUaGODDmJza1wy5U uzFPG7IjkJT8nn+rg3Mb4EDqe+sFH5xpjsUKMpnja/8nzsMiW06PmlnTblVrDfY/Q+IG HdZKPfov1QTeJpwA8/TTNzFa9u79Y+W3LW4rHVQXk497VPgPD1vOiT8PP3s0nP9kBMi0 WK5aZ687/bQaxLXoQXvcN+xHMWNEudEIE4OWCAfX7NeOMIyB83g3DSqBDCZfmqUfchM+ 9n9A== MIME-Version: 1.0 Received: by 10.50.187.225 with SMTP id fv1mr12416883igc.96.1356233042870; Sat, 22 Dec 2012 19:24:02 -0800 (PST) Received: by 10.42.56.83 with HTTP; Sat, 22 Dec 2012 19:24:02 -0800 (PST) In-Reply-To: <201212222334.qBMNYT1Y077396@svn.freebsd.org> References: <201212222334.qBMNYT1Y077396@svn.freebsd.org> Date: Sat, 22 Dec 2012 22:24:02 -0500 Message-ID: Subject: Re: svn commit: r244605 - head/usr.sbin/gssd From: Benjamin Kaduk To: Rick Macklem Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Dec 2012 03:24:09 -0000 Hi Rick, Thanks for all this -- it's good stuff to have. On Sat, Dec 22, 2012 at 6:34 PM, Rick Macklem wrote: > Author: rmacklem > Date: Sat Dec 22 23:34:28 2012 > New Revision: 244605 > URL: http://svnweb.freebsd.org/changeset/base/244605 > > Log: > Document the new gssd daemon options added by r244604. > This is a content change. > > MFC after: 2 weeks > > Modified: > head/usr.sbin/gssd/gssd.8 > > Modified: head/usr.sbin/gssd/gssd.8 > > ============================================================================== > --- head/usr.sbin/gssd/gssd.8 Sat Dec 22 23:21:17 2012 (r244604) > +++ head/usr.sbin/gssd/gssd.8 Sat Dec 22 23:34:28 2012 (r244605) > @@ -46,6 +49,29 @@ Run in debug mode. > In this mode, > .Nm > will not fork when it starts. > +.It Fl s Ar dir-list > +Look for an appropriate credential cache file in this list of directories. > +The list should be full pathnames from root, separated by ':' characters. > +Usually this list will simply be "/tmp". > +Without this option, the > +.Nm > +daemon assumes that the credential cache file is called /tmp/krb5cc_, > +where is the effective uid for the RPC caller. > +.It Fl c Ar file-substring > +Set a file-substring for the credential cache file names. > +Only files with this substring embedded in their names will be > +selected as candidates when the > +.Fl s > +has been specified. > This grammar seems a bit fishy ("when the -s has been specified"); "when -s has been specified" or "when a search directory has been specified with -s" would probably be better. > +If not specified, it defaults to "krb5cc_". > +.It Fl r Ar preferred-realm > +Set a preferred Kerberos realm for the search of the directory list for > "Directory list" sounds like there are multiple directories involved, perhaps "directory listing" is better? > +a credentials cache file. > +When set, files with TGT credentials for this realm will be selected over > +other credential files. > +This option is only meaningful when the > +.Fl s > +option has been specified. > There is something of a movement among the doc types to remove "redundant" words, making this "when -s has been specified", but others (some quite senior) do not approve of this "useless churn". Might not be worth changing now, but for new content, something to consider. Let me know if I should make the patch. -Ben Kaduk From owner-svn-src-head@FreeBSD.ORG Sun Dec 23 10:21:02 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4B7203E3; Sun, 23 Dec 2012 10:21:02 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 1657D8FC12; Sun, 23 Dec 2012 10:21:02 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBNAL1jn071532; Sun, 23 Dec 2012 10:21:01 GMT (envelope-from hselasky@svn.freebsd.org) Received: (from hselasky@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBNAL1Fr071531; Sun, 23 Dec 2012 10:21:01 GMT (envelope-from hselasky@svn.freebsd.org) Message-Id: <201212231021.qBNAL1Fr071531@svn.freebsd.org> From: Hans Petter Selasky Date: Sun, 23 Dec 2012 10:21:01 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r244607 - head/sys/dev/usb X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Dec 2012 10:21:02 -0000 Author: hselasky Date: Sun Dec 23 10:21:01 2012 New Revision: 244607 URL: http://svnweb.freebsd.org/changeset/base/244607 Log: Fix regression issue after r244503. MFC after: 1 week Modified: head/sys/dev/usb/usb_msctest.c Modified: head/sys/dev/usb/usb_msctest.c ============================================================================== --- head/sys/dev/usb/usb_msctest.c Sun Dec 23 00:03:28 2012 (r244606) +++ head/sys/dev/usb/usb_msctest.c Sun Dec 23 10:21:01 2012 (r244607) @@ -83,7 +83,7 @@ enum { DIR_NONE, }; -#define SCSI_MAX_LEN 0x100 +#define SCSI_MAX_LEN MAX(0x100, BULK_SIZE) #define SCSI_INQ_LEN 0x24 #define SCSI_SENSE_LEN 0xFF @@ -150,6 +150,7 @@ struct bbb_transfer { usb_size_t data_rem; /* bytes */ usb_timeout_t data_timeout; /* ms */ usb_frlength_t actlen; /* bytes */ + usb_frlength_t buffer_size; /* bytes */ uint8_t cmd_len; /* bytes */ uint8_t dir; @@ -192,7 +193,7 @@ static const struct usb_config bbb_confi .type = UE_BULK, .endpoint = UE_ADDR_ANY, .direction = UE_DIR_IN, - .bufsize = MAX(SCSI_MAX_LEN, BULK_SIZE), + .bufsize = SCSI_MAX_LEN, .flags = {.proxy_buffer = 1,.short_xfer_ok = 1,}, .callback = &bbb_data_read_callback, .timeout = 4 * USB_MS_HZ, /* 4 seconds */ @@ -211,7 +212,7 @@ static const struct usb_config bbb_confi .type = UE_BULK, .endpoint = UE_ADDR_ANY, .direction = UE_DIR_OUT, - .bufsize = BULK_SIZE, + .bufsize = SCSI_MAX_LEN, .flags = {.ext_buffer = 1,.proxy_buffer = 1,}, .callback = &bbb_data_write_callback, .timeout = 4 * USB_MS_HZ, /* 4 seconds */ @@ -553,6 +554,8 @@ bbb_attach(struct usb_device *udev, uint /* store pointer to DMA buffers */ sc->buffer = usbd_xfer_get_frame_buffer( sc->xfer[ST_DATA_RD], 0); + sc->buffer_size = + usbd_xfer_max_len(sc->xfer[ST_DATA_RD]); sc->cbw = usbd_xfer_get_frame_buffer( sc->xfer[ST_COMMAND], 0); sc->csw = usbd_xfer_get_frame_buffer( @@ -833,8 +836,8 @@ usb_msc_eject(struct usb_device *udev, u * TCTMobile needs DIR_IN flag. To get it, we * supply a dummy data with the command. */ - err = bbb_command_start(sc, DIR_IN, 0, &sc->buffer, - sizeof(sc->buffer), &scsi_tct_eject, + err = bbb_command_start(sc, DIR_IN, 0, sc->buffer, + sc->buffer_size, &scsi_tct_eject, sizeof(scsi_tct_eject), USB_MS_HZ); break; default: From owner-svn-src-head@FreeBSD.ORG Sun Dec 23 11:22:19 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F26EDD0A; Sun, 23 Dec 2012 11:22:18 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id D58FD8FC12; Sun, 23 Dec 2012 11:22:18 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBNBMI4i081428; Sun, 23 Dec 2012 11:22:18 GMT (envelope-from matthew@svn.freebsd.org) Received: (from matthew@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBNBMIXb081427; Sun, 23 Dec 2012 11:22:18 GMT (envelope-from matthew@svn.freebsd.org) Message-Id: <201212231122.qBNBMIXb081427@svn.freebsd.org> From: Matthew Seaman Date: Sun, 23 Dec 2012 11:22:18 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r244608 - head/usr.sbin/pkg X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Dec 2012 11:22:19 -0000 Author: matthew (ports committer) Date: Sun Dec 23 11:22:18 2012 New Revision: 244608 URL: http://svnweb.freebsd.org/changeset/base/244608 Log: Third time's the charm. pkg -N output needs to go to stderr. Approved by: bapt MFC after: 2 weeks Modified: head/usr.sbin/pkg/pkg.c Modified: head/usr.sbin/pkg/pkg.c ============================================================================== --- head/usr.sbin/pkg/pkg.c Sun Dec 23 10:21:01 2012 (r244607) +++ head/usr.sbin/pkg/pkg.c Sun Dec 23 11:22:18 2012 (r244608) @@ -457,10 +457,8 @@ main(__unused int argc, char *argv[]) * a system is configured to use pkg, don't bootstrap pkg * when that argument is given as argv[1]. */ - if ( argv[1] != NULL && strcmp(argv[1], "-N") == 0) { - printf("%s", "pkg is not installed\n"); - exit(EXIT_FAILURE); - } + if ( argv[1] != NULL && strcmp(argv[1], "-N") == 0) + errx(EXIT_FAILURE, "pkg is not installed\n"); /* * Do not ask for confirmation if either of stdin or stdout is From owner-svn-src-head@FreeBSD.ORG Sun Dec 23 12:56:05 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 16AA3CE6; Sun, 23 Dec 2012 12:56:05 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id EE9B48FC12; Sun, 23 Dec 2012 12:56:04 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBNCu4iI096002; Sun, 23 Dec 2012 12:56:04 GMT (envelope-from avg@svn.freebsd.org) Received: (from avg@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBNCu4xD096001; Sun, 23 Dec 2012 12:56:04 GMT (envelope-from avg@svn.freebsd.org) Message-Id: <201212231256.qBNCu4xD096001@svn.freebsd.org> From: Andriy Gapon Date: Sun, 23 Dec 2012 12:56:04 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r244627 - head/share/man/man9 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Dec 2012 12:56:05 -0000 Author: avg Date: Sun Dec 23 12:56:04 2012 New Revision: 244627 URL: http://svnweb.freebsd.org/changeset/base/244627 Log: lock.9: fix incorrect descriptions of LK_SHARED and LK_DOWNGRADE behavior Reviewed by: attilio MFC after: 5 days X-MFC after: r243900 Modified: head/share/man/man9/lock.9 Modified: head/share/man/man9/lock.9 ============================================================================== --- head/share/man/man9/lock.9 Sun Dec 23 12:46:28 2012 (r244626) +++ head/share/man/man9/lock.9 Sun Dec 23 12:56:04 2012 (r244627) @@ -148,7 +148,9 @@ Flags indicating what action is to be ta .Bl -tag -width ".Dv LK_CANRECURSE" .It Dv LK_SHARED Acquire a shared lock. -If an exclusive lock is currently held, it will be downgraded. +If an exclusive lock is currently held, +.Dv EDEADLK +will be returned. .It Dv LK_EXCLUSIVE Acquire an exclusive lock. If an exclusive lock is already held, and @@ -158,7 +160,8 @@ is not set, the system will .It Dv LK_DOWNGRADE Downgrade exclusive lock to a shared lock. Downgrading a shared lock is not permitted. -If an exclusive lock has been recursed, all references will be downgraded. +If an exclusive lock has been recursed, the system will +.Xr panic 9 . .It Dv LK_UPGRADE Upgrade a shared lock to an exclusive lock. If this call fails, the shared lock is lost. From owner-svn-src-head@FreeBSD.ORG Sun Dec 23 13:04:05 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 773EFFB8; Sun, 23 Dec 2012 13:04:05 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 5CE0D8FC0C; Sun, 23 Dec 2012 13:04:05 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBND45ax097321; Sun, 23 Dec 2012 13:04:05 GMT (envelope-from avg@svn.freebsd.org) Received: (from avg@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBND45mt097320; Sun, 23 Dec 2012 13:04:05 GMT (envelope-from avg@svn.freebsd.org) Message-Id: <201212231304.qBND45mt097320@svn.freebsd.org> From: Andriy Gapon Date: Sun, 23 Dec 2012 13:04:05 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r244629 - head X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Dec 2012 13:04:05 -0000 Author: avg Date: Sun Dec 23 13:04:04 2012 New Revision: 244629 URL: http://svnweb.freebsd.org/changeset/base/244629 Log: UPDATING: add a note about the clang+zfs+i386 stack overflow issue Modified: head/UPDATING Modified: head/UPDATING ============================================================================== --- head/UPDATING Sun Dec 23 13:04:00 2012 (r244628) +++ head/UPDATING Sun Dec 23 13:04:04 2012 (r244629) @@ -26,6 +26,11 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 10 disable the most expensive debugging functionality run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20121223: + After switching to Clang as the default compiler some users of ZFS + on i386 systems started to experience stack overflow kernel panics. + Please consider using 'options KSTACK_PAGES=4' in such configurations. + 20121222: GEOM_LABEL now mangles label names read from file system metadata. Mangling affect labels containing spaces, non-printable characters, From owner-svn-src-head@FreeBSD.ORG Sun Dec 23 13:04:06 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1A6F7FB9; Sun, 23 Dec 2012 13:04:06 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id F129D8FC13; Sun, 23 Dec 2012 13:04:05 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBND45CB097328; Sun, 23 Dec 2012 13:04:05 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBND401R097249; Sun, 23 Dec 2012 13:04:00 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201212231304.qBND401R097249@svn.freebsd.org> From: Dimitry Andric Date: Sun, 23 Dec 2012 13:04:00 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r244628 - in head: contrib/llvm/include/llvm/MC contrib/llvm/lib/ExecutionEngine/RuntimeDyld contrib/llvm/lib/MC contrib/llvm/lib/Target/Mips contrib/llvm/lib/Target/Mips/InstPrinter co... X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Dec 2012 13:04:06 -0000 Author: dim Date: Sun Dec 23 13:04:00 2012 New Revision: 244628 URL: http://svnweb.freebsd.org/changeset/base/244628 Log: Upgrade our copy of llvm/clang to 3.2 release. Release notes for llvm: http://llvm.org/releases/3.2/docs/ReleaseNotes.html Release notes for clang: http://llvm.org/releases/3.2/tools/clang/docs/ReleaseNotes.html MFC after: 2 weeks Modified: head/contrib/llvm/include/llvm/MC/MCExpr.h head/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp head/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp head/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h head/contrib/llvm/lib/MC/MCExpr.cpp head/contrib/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp head/contrib/llvm/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp head/contrib/llvm/lib/Target/Mips/MCTargetDesc/MipsBaseInfo.h head/contrib/llvm/lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp head/contrib/llvm/lib/Target/Mips/MCTargetDesc/MipsFixupKinds.h head/contrib/llvm/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp head/contrib/llvm/lib/Target/Mips/Mips64InstrInfo.td head/contrib/llvm/lib/Target/Mips/MipsCodeEmitter.cpp head/contrib/llvm/lib/Target/Mips/MipsISelLowering.cpp head/contrib/llvm/lib/Target/Mips/MipsInstrInfo.td head/contrib/llvm/lib/Target/Mips/MipsJITInfo.cpp head/contrib/llvm/lib/Target/Mips/MipsJITInfo.h head/contrib/llvm/lib/Target/Mips/MipsMCInstLower.cpp head/contrib/llvm/lib/Transforms/Scalar/SROA.cpp head/contrib/llvm/tools/clang/include/clang/Sema/Scope.h head/contrib/llvm/tools/clang/lib/Basic/Version.cpp head/contrib/llvm/tools/clang/lib/Driver/ToolChains.cpp head/contrib/llvm/tools/clang/lib/Parse/ParseDeclCXX.cpp head/contrib/llvm/tools/clang/lib/Parse/ParseStmt.cpp head/contrib/llvm/tools/clang/lib/Sema/IdentifierResolver.cpp head/lib/clang/include/clang/Basic/Version.inc head/usr.bin/clang/clang/clang.1 Directory Properties: head/contrib/llvm/ (props changed) head/contrib/llvm/tools/clang/ (props changed) Modified: head/contrib/llvm/include/llvm/MC/MCExpr.h ============================================================================== --- head/contrib/llvm/include/llvm/MC/MCExpr.h Sun Dec 23 12:56:04 2012 (r244627) +++ head/contrib/llvm/include/llvm/MC/MCExpr.h Sun Dec 23 13:04:00 2012 (r244628) @@ -197,7 +197,11 @@ public: VK_Mips_GOT_PAGE, VK_Mips_GOT_OFST, VK_Mips_HIGHER, - VK_Mips_HIGHEST + VK_Mips_HIGHEST, + VK_Mips_GOT_HI16, + VK_Mips_GOT_LO16, + VK_Mips_CALL_HI16, + VK_Mips_CALL_LO16 }; private: Modified: head/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp ============================================================================== --- head/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp Sun Dec 23 12:56:04 2012 (r244627) +++ head/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp Sun Dec 23 13:04:00 2012 (r244628) @@ -346,7 +346,7 @@ uint8_t *RuntimeDyldImpl::createStubFunc uint32_t *StubAddr = (uint32_t*)Addr; *StubAddr = 0xe51ff004; // ldr pc,