]> granicus.if.org Git - strace/commit
Mark io_setup and io_destroy as memory mapping related syscalls
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 9 Sep 2016 02:38:32 +0000 (02:38 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 9 Sep 2016 02:38:32 +0000 (02:38 +0000)
commita92ba46c55f30deec326ed1a4e76f32222b4c62c
tree01965eee57f8df6dec622f7eeecc66b647f916ec
parentf6c70f9f192d058f1f43921f570815146751cfac
Mark io_setup and io_destroy as memory mapping related syscalls

As io_setup syscall allocates some memory using do_mmap_pgoff, and
io_destroy deallocates this memory using vm_munmap, set TRACE_MEMORY
flag for all sysentries of io_setup and io_destroy using the following
oneliner:
sed -ri '/io_setup|io_destroy/ s/0,/TM,/' linux/*/syscallent*.h

* linux/*/syscallent*.h (io_setup, io_destroy): Change sys_flags to TM.
25 files changed:
linux/32/syscallent.h
linux/64/syscallent.h
linux/alpha/syscallent.h
linux/arm/syscallent.h
linux/avr32/syscallent.h
linux/bfin/syscallent.h
linux/hppa/syscallent.h
linux/i386/syscallent.h
linux/ia64/syscallent.h
linux/m68k/syscallent.h
linux/microblaze/syscallent.h
linux/mips/syscallent-n32.h
linux/mips/syscallent-n64.h
linux/mips/syscallent-o32.h
linux/powerpc/syscallent.h
linux/powerpc64/syscallent.h
linux/s390/syscallent.h
linux/s390x/syscallent.h
linux/sh/syscallent.h
linux/sh64/syscallent.h
linux/sparc/syscallent.h
linux/sparc64/syscallent.h
linux/x32/syscallent.h
linux/x86_64/syscallent.h
linux/xtensa/syscallent.h