Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jan 2013 16:29:48 +0200
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Andrey Zonov <zont@FreeBSD.org>, Fabian Keil <freebsd-listen@fabiankeil.de>
Cc:        svn-src-all@FreeBSD.org, Konstantin Belousov <kib@FreeBSD.org>
Subject:   Re: svn commit: r245415 - stable/9/etc
Message-ID:  <50F80ADC.5050102@FreeBSD.org>
In-Reply-To: <50F5AB7B.6090903@FreeBSD.org>
References:  <201301141058.r0EAwK4q044423@svn.freebsd.org> <20130114122640.152cb041@fabiankeil.de> <50F4464A.7000903@FreeBSD.org> <20130114200914.7f3272d2@fabiankeil.de> <50F5AB7B.6090903@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
on 15/01/2013 21:18 Andrey Zonov said the following:
> On 1/14/13 11:09 PM, Fabian Keil wrote:
>> Andrey Zonov <zont@FreeBSD.org> wrote:
>>
>>> On 1/14/13 3:26 PM, Fabian Keil wrote:
>>>> Andrey Zonov <zont@FreeBSD.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50F80ADC.5050102>