on 15/01/2013 21:18 Andrey Zonov said the following: > On 1/14/13 11:09 PM, Fabian Keil wrote: >> Andrey Zonov <z...@freebsd.org> wrote: >> >>> On 1/14/13 3:26 PM, Fabian Keil wrote: >>>> Andrey Zonov <z...@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 _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"