aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2026-08-12 23:34:41 +0000
committerAlan Somers <asomers@FreeBSD.org>2026-08-14 14:31:27 +0000
commitd9cf2a8671841e4415a22e16005d7700f0eb9b7e (patch)
tree350360c41c133efd84c7aa0de6e063cfcecff43c
parentd0f0a3b89b932b776b76278fa6885f19e8b30cbb (diff)
Increase the default mlock limit from 64k to 256k
The current default has been unchanged for 14 years. Increase it to keep pace with modern hardware and software. security/pinentry-gnome, in particular, can sometimes need 112 kB. PR: 297452 MFC after: 2 weeks Sponsored by: ConnectWise Reviewed by: cye, emaste Differential Revision: https://reviews.freebsd.org/D58811
-rw-r--r--usr.bin/login/login.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/login/login.conf b/usr.bin/login/login.conf
index 267b0f1ad826..d0eba1216912 100644
--- a/usr.bin/login/login.conf
+++ b/usr.bin/login/login.conf
@@ -31,7 +31,7 @@ default:\
:cputime=unlimited:\
:datasize=unlimited:\
:stacksize=unlimited:\
- :memorylocked=64K:\
+ :memorylocked=256K:\
:memoryuse=unlimited:\
:filesize=unlimited:\
:coredumpsize=unlimited:\