Re: svn commit: r245415 - stable/9/etc

2013-01-18 Thread Andrey Zonov
On 1/17/13 6:57 PM, Andriy Gapon wrote: on 17/01/2013 16:29 Andriy Gapon said the following: 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. And a side note. I think that pam_limits + limits.conf

bin/174831: geli segfaults with the new locked memory limit default (was: svn commit: r245415 - stable/9/etc)

2013-01-17 Thread Fabian Keil
Konstantin Belousov kostik...@gmail.com wrote: On Tue, Jan 15, 2013 at 11:18:19PM +0400, Andrey Zonov wrote: 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

Re: svn commit: r245415 - stable/9/etc

2013-01-17 Thread Andriy Gapon
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:

Re: svn commit: r245415 - stable/9/etc

2013-01-17 Thread Andriy Gapon
on 17/01/2013 16:29 Andriy Gapon said the following: 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. And a side note. I think that pam_limits + limits.conf as found on Linuxes is more natural than

Re: svn commit: r245415 - stable/9/etc

2013-01-15 Thread Andrey Zonov
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

Re: svn commit: r245415 - stable/9/etc

2013-01-15 Thread Konstantin Belousov
On Tue, Jan 15, 2013 at 11:18:19PM +0400, Andrey Zonov wrote: 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

svn commit: r245415 - stable/9/etc

2013-01-14 Thread Andrey Zonov
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. - Set memorylocked limit to 64Mb

Re: svn commit: r245415 - stable/9/etc

2013-01-14 Thread Fabian Keil
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

Re: svn commit: r245415 - stable/9/etc

2013-01-14 Thread Andrey Zonov
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

Re: svn commit: r245415 - stable/9/etc

2013-01-14 Thread Fabian Keil
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