open-vault/helper/mlock/mlock_unavail.go

14 lines
271 B
Go
Raw Normal View History

// +build android darwin nacl netbsd plan9 windows
2015-04-19 20:42:47 +00:00
package mlock
2015-04-19 20:42:47 +00:00
func init() {
supported = false
}
func lockMemory() error {
2015-04-19 20:42:47 +00:00
// XXX: No good way to do this on Windows. There is the VirtualLock
// method, but it requires a specific address and offset.
return nil
}