2021-07-15 05:56:37 +00:00
|
|
|
// DEPRECATED: this has been moved to go-secure-stdlib and will be removed
|
2015-04-28 21:59:43 +00:00
|
|
|
package mlock
|
|
|
|
|
2021-07-15 05:56:37 +00:00
|
|
|
import (
|
|
|
|
extmlock "github.com/hashicorp/go-secure-stdlib/mlock"
|
|
|
|
)
|
2015-04-28 21:59:43 +00:00
|
|
|
|
|
|
|
func Supported() bool {
|
2021-07-15 05:56:37 +00:00
|
|
|
return extmlock.Supported()
|
2015-04-28 21:59:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func LockMemory() error {
|
2021-07-15 05:56:37 +00:00
|
|
|
return extmlock.LockMemory()
|
2015-04-28 21:59:43 +00:00
|
|
|
}
|