mirror of
https://github.com/slackhq/nebula.git
synced 2026-11-15 12:16:52 +01:00
* apply `go fix` for Go 1.26 This applies the `go fix` recommendations for go1.26 * for all of ./...
14 lines
207 B
Go
14 lines
207 B
Go
//go:build !windows
|
|
|
|
package overlay
|
|
|
|
import "syscall"
|
|
|
|
func ioctl(a1, a2, a3 uintptr) error {
|
|
_, _, errno := syscall.Syscall(syscall.SYS_IOCTL, a1, a2, a3)
|
|
if errno != 0 {
|
|
return errno
|
|
}
|
|
return nil
|
|
}
|