Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
secure_mount: add umount function
The `mount` function is called several times in different places in the code, but it takes care of not mounting the secure directory if is already present. The problem is that this is never umounted. This patch add the `umount` function, and update the `mount` one to track when a mount point needs to be umounted. Also adjust the keylime_agent exit point to make sure that the `umount` function is called at the end. Signed-off-by: Alberto Planas <aplanas@suse.com>
- Loading branch information
Showing
3 changed files
with
167 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters