syscall.sh / x86 / sched_getscheduler

sched_getscheduler

set and get scheduling policy/parameters

sys_sched_getscheduler(pid_t pid)
number157 (0x9d)
abii386
entry pointsys_sched_getscheduler
sinceLinux 3.3
man pagesched_getscheduler(2)
sourceelixir.bootlin.com

Registers

registervalue
eax157, the syscall number
ebxpid_t pid
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/sched_getscheduler