2 * SYSCALL_DEFINE3(sched_getattr, pid_t, pid, struct sched_attr __user *, uattr, unsigned int, size)
9 #define SCHED_ATTR_SIZE_VER0 48
11 static void sanitise_sched_getattr(int childno
)
13 unsigned long range
= page_size
- SCHED_ATTR_SIZE_VER0
;
15 shm
->syscall
[childno
].a3
= (rand() % range
) + SCHED_ATTR_SIZE_VER0
;
18 struct syscallentry syscall_sched_getattr
= {
19 .name
= "sched_getattr",
24 .arg2type
= ARG_ADDRESS
,
26 .sanitise
= sanitise_sched_getattr
,