diff options
| author | Werner Koch <[email protected]> | 2016-08-14 18:17:51 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2016-08-14 18:17:51 +0000 |
| commit | b781113cf1391926dedf8dc943624d3bb9726318 (patch) | |
| tree | 6a1d128f05bd2e18daea306602df026c2966c156 /g13/call-syshelp.h | |
| parent | g13: Fix double free bug. (diff) | |
| download | gnupg-b781113cf1391926dedf8dc943624d3bb9726318.tar.gz gnupg-b781113cf1391926dedf8dc943624d3bb9726318.zip | |
g13: Implement --umount for dm-crypt.
* g13/g13.c (main): Implement command --umount.
* g13/mount.c (g13_umount_container): use the syshelper if needed.
* g13/backend.c (be_umount_container): New.
* g13/be-dmcrypt.c (be_dmcrypt_umount_container): New.
* g13/call-syshelp.c (call_syshelp_run_umount): New.
* g13/sh-cmd.c (cmd_umount): New.
(register_commands): Register UMOUNT.
* g13/sh-dmcrypt.c (sh_dmcrypt_umount_container): New.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g13/call-syshelp.h')
| -rw-r--r-- | g13/call-syshelp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/g13/call-syshelp.h b/g13/call-syshelp.h index aa4b692f4..0e110c903 100644 --- a/g13/call-syshelp.h +++ b/g13/call-syshelp.h @@ -33,6 +33,7 @@ gpg_error_t call_syshelp_run_create (ctrl_t ctrl, int conttype); gpg_error_t call_syshelp_run_mount (ctrl_t ctrl, int conttype, const char *mountpoint, tupledesc_t tuples); +gpg_error_t call_syshelp_run_umount (ctrl_t ctrl, int conttype); gpg_error_t call_syshelp_run_suspend (ctrl_t ctrl, int conttype); gpg_error_t call_syshelp_run_resume (ctrl_t ctrl, int conttype, tupledesc_t tuples); |
