open-vault/helper/mlock/mlock_unavail.go

14 lines
275 B
Go

// +build windows plan9 darwin freebsd openbsd solaris
package mlock
func init() {
supported = false
}
func lockMemory() error {
// XXX: No good way to do this on Windows. There is the VirtualLock
// method, but it requires a specific address and offset.
return nil
}