aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorMilan Broz <gmazyland@gmail.com>2019-03-28 12:25:06 +0100
committerMilan Broz <gmazyland@gmail.com>2019-03-29 11:58:12 +0100
commit1b49ea406131c15d0fa20c68d53ca38a6ee82768 (patch)
treed7d2cfddef34a67987cbe3167577a34122fddafd /man
parent29b94d6ba370beae1c628510362e18e52c63c541 (diff)
downloadcryptsetup-1b49ea406131c15d0fa20c68d53ca38a6ee82768.tar.gz
Add global serialization lock for memory hard PBKDF.
This is very ugly workaround for situation when multiple devices are being activated in parallel (systemd crypttab) and system instead of returning ENOMEM use OOM killer to randomly kill processes. This flag is intended to be used only in very specific situations.
Diffstat (limited to 'man')
-rw-r--r--man/cryptsetup.813
1 files changed, 12 insertions, 1 deletions
diff --git a/man/cryptsetup.8 b/man/cryptsetup.8
index 1537b453..65b5f0c8 100644
--- a/man/cryptsetup.8
+++ b/man/cryptsetup.8
@@ -276,7 +276,8 @@ the command prompts for it interactively.
\fB<options>\fR can be [\-\-key\-file, \-\-keyfile\-offset,
\-\-keyfile\-size, \-\-readonly, \-\-test\-passphrase,
\-\-allow\-discards, \-\-header, \-\-key-slot, \-\-master\-key\-file, \-\-token\-id,
-\-\-token\-only, \-\-disable\-keyring, \-\-disable\-locks, \-\-type, \-\-refresh].
+\-\-token\-only, \-\-disable\-keyring, \-\-disable\-locks, \-\-type, \-\-refresh,
+\-\-serialize\-memory\-hard\-pbkdf].
.PP
\fIluksSuspend\fR <name>
.IP
@@ -1284,6 +1285,16 @@ See \fITCRYPT\fR section for more info.
Use a custom Personal Iteration Multiplier (PIM) for VeraCrypt device.
See \fITCRYPT\fR section for more info.
.TP
+.B "\-\-serialize\-memory\-hard\-pbkdf"
+Use a global lock to serialize unlocking of keyslots using memory-hard PBKDF.
+
+\fBNOTE:\fR This is (ugly) workaround for a specific situation when multiple
+devices are activated in parallel and system instead of reporting out of memory
+starts unconditionally stop processes using out-of-memory killer.
+
+\fBDO NOT USE\fR this switch until you are implementing boot environment
+with parallel devices activation!
+.TP
.B "\-\-version"
Show the program version.
.TP