The more explicit API removes the arbitrary limit preventing use of SCHED_OTHER (referred to as SCHED_NORMAL in the kernel). This change also exposes priority value to set. Signed-off-by: Ophestra <cat@gensokyo.uk>
This avoids depending on cgo. Signed-off-by: Ophestra <cat@gensokyo.uk>
This avoids inadvertently using PNRs as syscall numbers. Signed-off-by: Ophestra <cat@gensokyo.uk>
This should enable resolving NativeRule in hst. Signed-off-by: Ophestra <cat@gensokyo.uk>