From owner-svn-src-head@FreeBSD.ORG Fri May 1 15:40:23 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 56C4139C; Fri, 1 May 2015 15:40:23 +0000 (UTC) Received: from mail-wi0-x22a.google.com (mail-wi0-x22a.google.com [IPv6:2a00:1450:400c:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E2E5014D3; Fri, 1 May 2015 15:40:22 +0000 (UTC) Received: by wiun10 with SMTP id n10so51386494wiu.1; Fri, 01 May 2015 08:40:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=gfU3IfuIOqpKSf/WgFwPFbWmLpNn1o9npbBi12D83ZU=; b=KDERnqaIplAv8i3sVYfQ0NvnDNH2TkZYMGZ/KWrT0RE1EAsJddSXA8wSAlfIDBHNDe HdIFvsQGgrApJ93xs8i67B+R9698rhgyE7UJz9DB90oUaQ+NbX0BWXEKkiaciVLZBvu6 hTEqixFdCMs55VpwyeU7PaVBtxLTObl805tSW97BEbvSTiOKawtq0cmqPugt+2VbZRuT ZdLHWSjnSKLpDqMLAb2MTSikIoTjTFEcGX+zzEqZ5MZU96Gi3ipmdQmS3nS+0tbNIAsP fGCTB+uJFbYSeKfZBN0j+HN5Y9QPAqT70lt5mtSbP6YSwb7pBmcZLSW+nnc7gRcE0D47 nEEw== MIME-Version: 1.0 X-Received: by 10.180.78.65 with SMTP id z1mr15440026wiw.14.1430494821532; Fri, 01 May 2015 08:40:21 -0700 (PDT) Sender: oshogbo.vx@gmail.com Received: by 10.28.187.214 with HTTP; Fri, 1 May 2015 08:40:21 -0700 (PDT) In-Reply-To: <201505011156.t41BuM75099201@svn.freebsd.org> References: <201505011156.t41BuM75099201@svn.freebsd.org> Date: Fri, 1 May 2015 17:40:21 +0200 X-Google-Sender-Auth: Mu9M_CL9vd1XJ4HMa8Mh8aWI3UE Message-ID: Subject: Re: svn commit: r282298 - head/lib/libcapsicum From: Mariusz Zaborski To: "Bjoern A. Zeeb" Cc: src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 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: Fri, 01 May 2015 15:40:23 -0000 On 1 May 2015 at 13:56, Bjoern A. Zeeb wrote: > Author: bz > Date: Fri May 1 11:56:21 2015 > New Revision: 282298 > URL: https://svnweb.freebsd.org/changeset/base/282298 > > Log: > Unreak DNS usage through libcapsicum, which broke, e.g., ping in r282252 > with what looks like a copy and paste error. > > Sponsored by: DARPA/AFRL > > Modified: > head/lib/libcapsicum/libcapsicum_dns.c > > Modified: head/lib/libcapsicum/libcapsicum_dns.c > > ============================================================================== > --- head/lib/libcapsicum/libcapsicum_dns.c Fri May 1 11:46:24 2015 > (r282297) > +++ head/lib/libcapsicum/libcapsicum_dns.c Fri May 1 11:56:21 2015 > (r282298) > @@ -357,7 +357,7 @@ cap_dns_family_limit(cap_channel_t *chan > else > limit_remove(limits, "family"); > for (i = 0; i < nfamilies; i++) { > - n = snprintf(nvlname, sizeof(nvlname), "type%u", i); > + n = snprintf(nvlname, sizeof(nvlname), "family%u", i); > assert(n > 0 && n < (int)sizeof(nvlname)); > nvlist_add_number(limits, nvlname, (uint64_t)families[i]); > } > Oh, crap. Thanks.