diff options
Diffstat (limited to 'container/syscall.go')
| -rw-r--r-- | container/syscall.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/container/syscall.go b/container/syscall.go index 35f6d006..f5c634b0 100644 --- a/container/syscall.go +++ b/container/syscall.go @@ -4,7 +4,7 @@ import ( . "syscall" "unsafe" - "hakurei.app/container/std" + "hakurei.app/ext" ) // Prctl manipulates various aspects of the behavior of the calling thread or process. @@ -46,7 +46,7 @@ func Isatty(fd int) bool { // schedParam is equivalent to struct sched_param from include/linux/sched.h. type schedParam struct { // sched_priority - priority std.Int + priority ext.Int } // schedSetscheduler sets both the scheduling policy and parameters for the @@ -62,7 +62,7 @@ type schedParam struct { // this if you do not have something similar in place! // // [very subtle to use correctly]: https://www.openwall.com/lists/musl/2016/03/01/4 -func schedSetscheduler(tid int, policy std.SchedPolicy, param *schedParam) error { +func schedSetscheduler(tid int, policy ext.SchedPolicy, param *schedParam) error { if _, _, errno := Syscall( SYS_SCHED_SETSCHEDULER, uintptr(tid), |
