diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2016-09-09 02:38:32 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2016-09-09 02:38:32 +0000 |
commit | a92ba46c55f30deec326ed1a4e76f32222b4c62c (patch) | |
tree | 01965eee57f8df6dec622f7eeecc66b647f916ec /linux/powerpc64 | |
parent | f6c70f9f192d058f1f43921f570815146751cfac (diff) | |
download | strace-a92ba46c55f30deec326ed1a4e76f32222b4c62c.tar.gz |
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.
Diffstat (limited to 'linux/powerpc64')
-rw-r--r-- | linux/powerpc64/syscallent.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/powerpc64/syscallent.h b/linux/powerpc64/syscallent.h index e0c18af4b..ba22c3c10 100644 --- a/linux/powerpc64/syscallent.h +++ b/linux/powerpc64/syscallent.h @@ -248,8 +248,8 @@ [224] = { }, [225] = { 5, 0, SEN(printargs), "tuxcall" }, [226] = { }, -[227] = { 2, 0, SEN(io_setup), "io_setup" }, -[228] = { 1, 0, SEN(io_destroy), "io_destroy" }, +[227] = { 2, TM, SEN(io_setup), "io_setup" }, +[228] = { 1, TM, SEN(io_destroy), "io_destroy" }, [229] = { 5, 0, SEN(io_getevents), "io_getevents" }, [230] = { 3, 0, SEN(io_submit), "io_submit" }, [231] = { 3, 0, SEN(io_cancel), "io_cancel" }, |