bin/174831: [PATCH] geli(8) segfaults with the new locked memory limit default

Andriy Gapon avg at FreeBSD.org
Fri Feb 8 12:50:01 UTC 2013


The following reply was made to PR bin/174831; it has been noted by GNATS.

From: Andriy Gapon <avg at FreeBSD.org>
To: =?UTF-8?B?VWxyaWNoIFNww7ZybGVpbg==?= <uqs at FreeBSD.org>
Cc: bug-followup at FreeBSD.org, fk at fabiankeil.de, zont at 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


More information about the freebsd-bugs mailing list