vault: github.com/hashicorp/vault/sdk/helper/mlock Index | Files

package mlock

import "github.com/hashicorp/vault/sdk/helper/mlock"

Index

Package Files

mlock.go mlock_unix.go

func LockMemory Uses

func LockMemory() error

LockMemory prevents any memory from being swapped to disk.

func Supported Uses

func Supported() bool

Supported returns true if LockMemory is functional on this system.

Package mlock imports 2 packages (graph) and is imported by 3 packages. Updated 2019-04-12. Refresh now. Tools for package owners.