2 * SYSCALL_DEFINE3(write, unsigned int, fd, const char __user *, buf, size_t, count)
5 #include "arch.h" // page_size
10 static void sanitise_write(int childno
)
12 if ((rand() % 100) > 50)
13 shm
->syscall
[childno
].a3
= 1;
15 shm
->syscall
[childno
].a3
= rand() % page_size
;
18 struct syscallentry syscall_write
= {
21 .sanitise
= sanitise_write
,
25 .arg2type
= ARG_NON_NULL_ADDRESS
,