Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsSafe ¶
func IsSafe() error
IsSafe checks to see whether the current OS appears to be safe. Specifically it checks that any swap is encrypted.
func SafeTempDir ¶
SafeTempDir returns the path of a writable directory which is mounted with tmpfs. As long as the swap is encrypted, then it should be safe to write there.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.