github.com/hashicorp/vault/sdk@v0.11.0/helper/mlock/mlock.go (about) 1 // Copyright (c) HashiCorp, Inc. 2 // SPDX-License-Identifier: MPL-2.0 3 4 // DEPRECATED: this has been moved to go-secure-stdlib and will be removed 5 package mlock 6 7 import ( 8 extmlock "github.com/hashicorp/go-secure-stdlib/mlock" 9 ) 10 11 func Supported() bool { 12 return extmlock.Supported() 13 } 14 15 func LockMemory() error { 16 return extmlock.LockMemory() 17 }