git: cryptdisks - update to support options

看板DFBSD_commit作者時間14年前 (2011/06/18 07:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 5e1ed6ba26f072c751d1fdccdb9f02a6a0231238 Author: Alex Hornung <ahornung@gmail.com> Date: Fri Jun 17 23:54:16 2011 +0100 cryptdisks - update to support options * Update cryptdisks to support options in the last column of the crypttab file. * Supported options are: - 'tries' specifies the number of password retries before failing - 'timeout' specifies the timeout before the interactive prompt times out. - 'keyscript' specifies a script to use instead of a passphrase prompt. * Changed default number of 'tries' to 3 (was 1). Summary of changes: sbin/cryptdisks/Makefile | 2 + sbin/cryptdisks/cryptdisks.c | 224 +++++++++++++++++++++++++++++++++-------- sbin/cryptdisks/safe_mem.c | 175 ++++++++++++++++++++++++++++++++ sbin/cryptdisks/safe_mem.h | 9 ++ share/man/man5/crypttab.5 | 30 +++++- 5 files changed, 391 insertions(+), 49 deletions(-) create mode 100644 sbin/cryptdisks/safe_mem.c create mode 100644 sbin/cryptdisks/safe_mem.h http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5e1ed6ba26f072c751d1fdccdb9f02a6a0231238 -- DragonFly BSD source repository
文章代碼(AID): #1D-zoooP (DFBSD_commit)