From owner-svn-src-all@FreeBSD.ORG Thu Jan 17 14:29:52 2013 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E770B56F; Thu, 17 Jan 2013 14:29:52 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id AC2A8245; Thu, 17 Jan 2013 14:29:51 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id QAA13484; Thu, 17 Jan 2013 16:29:49 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1TvqTV-00004L-B4; Thu, 17 Jan 2013 16:29:49 +0200 Message-ID: <50F80ADC.5050102@FreeBSD.org> Date: Thu, 17 Jan 2013 16:29:48 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Andrey Zonov , Fabian Keil Subject: Re: svn commit: r245415 - stable/9/etc References: <201301141058.r0EAwK4q044423@svn.freebsd.org> <20130114122640.152cb041@fabiankeil.de> <50F4464A.7000903@FreeBSD.org> <20130114200914.7f3272d2@fabiankeil.de> <50F5AB7B.6090903@FreeBSD.org> In-Reply-To: <50F5AB7B.6090903@FreeBSD.org> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: svn-src-all@FreeBSD.org, Konstantin Belousov X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jan 2013 14:29:53 -0000 on 15/01/2013 21:18 Andrey Zonov said the following: > On 1/14/13 11:09 PM, Fabian Keil wrote: >> Andrey Zonov wrote: >> >>> On 1/14/13 3:26 PM, Fabian Keil wrote: >>>> Andrey Zonov wrote: >>>> >>>>> Author: zont >>>>> Date: Mon Jan 14 10:58:20 2013 >>>>> New Revision: 245415 >>>>> URL: http://svnweb.freebsd.org/changeset/base/245415 >>>>> >>>>> Log: >>>>> MFC r244383: >>>>> - Set memorylocked limit to 64Kb for default login class. >>>>> This prevents unprivileged users to lock too much memory. >>>> >>>> Note that this causes geli segfaults when using sudo: >>>> http://www.freebsd.org/cgi/query-pr.cgi?pr=174831 >>>> >>> >>> The change should not affect stable, because new behavior was turned off >>> in stable. >> >> It's not exactly obvious, but by "this" I was referring to the change >> in CURRENT. >> > > The solution which you proposed was refused by kib@ (add to CC) when I > proposed it earlier. > > I also wanted to set memory-locked limit to 8Mb, but avg@ (add to CC) > recommended to set it to something smaller. > > Any suggestions? > sudo -c - /sbin/geli attach /dev/label/test Perhaps it would make sense to make the behavior of '-c -' the default, but I am far from sure. -- Andriy Gapon