mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-15 15:06:42 +00:00
Make kern.geom.eli.overwrites sysctl a tunable as well.
This commit is contained in:
parent
1a41f91052
commit
05bf5e8a0a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=159306
@ -69,6 +69,7 @@ SYSCTL_UINT(_kern_geom_eli, OID_AUTO, visible_passphrase, CTLFLAG_RW,
|
||||
&g_eli_visible_passphrase, 0,
|
||||
"Turn on echo when entering the passphrase (for debug purposes only!!)");
|
||||
u_int g_eli_overwrites = 5;
|
||||
TUNABLE_INT("kern.geom.eli.overwrites", &g_eli_overwrites);
|
||||
SYSCTL_UINT(_kern_geom_eli, OID_AUTO, overwrites, CTLFLAG_RW, &g_eli_overwrites,
|
||||
0, "Number of times on-disk keys should be overwritten when destroying them");
|
||||
static u_int g_eli_threads = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user