open-vault/helper/mlock/mlock_unavail.go
2015-12-15 11:28:16 -08:00

14 lines
267 B
Go

// +build windows plan9 darwin freebsd openbsd
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
}