diff options
author | pjd <pjd@FreeBSD.org> | 2006-06-05 21:25:19 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2006-06-05 21:25:19 +0000 |
commit | c7f4418287d976dea4735bd1459becbe46c8d515 (patch) | |
tree | c0e9f149c7e8a8b72954b2e797525d03d817358d /sys/geom | |
parent | ee8156b6fd83f88c6c4b81ce9c8ed81f03d3e796 (diff) | |
download | FreeBSD-src-c7f4418287d976dea4735bd1459becbe46c8d515.zip FreeBSD-src-c7f4418287d976dea4735bd1459becbe46c8d515.tar.gz |
Make kern.geom.eli.overwrites sysctl a tunable as well.
Diffstat (limited to 'sys/geom')
-rw-r--r-- | sys/geom/eli/g_eli.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/geom/eli/g_eli.c b/sys/geom/eli/g_eli.c index 585e842..e6e872a 100644 --- a/sys/geom/eli/g_eli.c +++ b/sys/geom/eli/g_eli.c @@ -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; |