mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-02 03:56:07 -04:00
ci: fix IDE setup on mac (#3226)
This commit is contained in:
parent
2de4cdba74
commit
f4a3ae7d27
9 changed files with 112 additions and 27 deletions
19
bootstrapper/internal/etcdio/setioprio_linux.go
Normal file
19
bootstrapper/internal/etcdio/setioprio_linux.go
Normal file
|
@ -0,0 +1,19 @@
|
|||
//go:build linux
|
||||
|
||||
/*
|
||||
Copyright (c) Edgeless Systems GmbH
|
||||
|
||||
SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
package etcdio
|
||||
|
||||
import (
|
||||
"syscall"
|
||||
|
||||
"golang.org/x/sys/unix"
|
||||
)
|
||||
|
||||
func setioprio(ioPrioWhoProcess, pid, prioVal uintptr) (uintptr, uintptr, syscall.Errno) {
|
||||
return unix.Syscall(unix.SYS_IOPRIO_SET, ioPrioWhoProcess, pid, prioVal)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue