Date: Fri, 8 Feb 2013 12:50:01 GMT From: Andriy Gapon <avg@FreeBSD.org> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/174831: [PATCH] geli(8) segfaults with the new locked memory limit default Message-ID: <201302081250.r18Co1Kr078262@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/174831; it has been noted by GNATS. From: Andriy Gapon <avg@FreeBSD.org> To: =?UTF-8?B?VWxyaWNoIFNww7ZybGVpbg==?= <uqs@FreeBSD.org> Cc: bug-followup@FreeBSD.org, fk@fabiankeil.de, zont@FreeBSD.org Subject: Re: bin/174831: [PATCH] geli(8) segfaults with the new locked memory limit default Date: Fri, 08 Feb 2013 14:43:19 +0200 on 08/02/2013 14:16 Ulrich Spörlein said the following: > While geli should definitely be fixed to provide a meaningful error > message instead of a crash, we also need to keep it working out of the > box. > > For me, 256K seems to be enough to make it work, but I guess this is a > function of the used crypto algorithms and key sizes. Can you maybe > adapt the check to figure out how much memory actually needs to be > mlocked? > > Once we come up with a better upper limit, the default in login.conf > should be bumped accordingly. > unlimited is a perfect limit. No program won't complain. -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302081250.r18Co1Kr078262>