Lines Matching refs:mmap
3 # Check mmap/mmap2, madvise, mlockall, mprotect, mremap, msync, and munmap
38 for n in mmap mmap2; do
43 if grep '^mmap(NULL, 0, PROT_NONE,' < "$LOG" > /dev/null; then
44 mmap=mmap
46 mmap=mmap2
48 dump_log_and_fail_with "mmap/mmap2 not found in $STRACE $args output"
51 syscall=$mmap,madvise,mlockall,mprotect,mremap,msync,munmap
53 run_prog "./$NAME" $mmap > /dev/null
55 sed -n "/^$mmap(NULL, 0, PROT_NONE,/,\$p" < "$LOG" > "$OUT"