2 * SYSCALL_DEFINE3(msync, unsigned long, start, size_t, len, int, flags)
9 #define MS_ASYNC 1 /* Sync memory asynchronously. */
10 #define MS_SYNC 4 /* Synchronous memory sync. */
11 #define MS_INVALIDATE 2 /* Invalidate the caches. */
13 static void sanitise_msync(int childno
)
15 (void) common_set_mmap_ptr_len(childno
);
18 shm
->syscall
[childno
].a3
|= MS_INVALIDATE
;
21 struct syscallentry syscall_msync
= {
31 .values
= { MS_ASYNC
, MS_SYNC
},
34 .sanitise
= sanitise_msync
,