system

package
v0.0.0-...-f28b2ff Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2013 License: BSD-3-Clause Imports: 9 Imported by: 0

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

func SafeTempDir() (string, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL