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/avr32 | |
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/avr32')
-rw-r--r-- | linux/avr32/syscallent.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/avr32/syscallent.h b/linux/avr32/syscallent.h index 6a04889b1..fbf97922f 100644 --- a/linux/avr32/syscallent.h +++ b/linux/avr32/syscallent.h @@ -222,8 +222,8 @@ [194] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" }, [195] = { 2, 0, SEN(capget), "capget" }, [196] = { 2, 0, SEN(capset), "capset" }, -[197] = { 2, 0, SEN(io_setup), "io_setup" }, -[198] = { 1, 0, SEN(io_destroy), "io_destroy" }, +[197] = { 2, TM, SEN(io_setup), "io_setup" }, +[198] = { 1, TM, SEN(io_destroy), "io_destroy" }, [199] = { 5, 0, SEN(io_getevents), "io_getevents" }, [200] = { 3, 0, SEN(io_submit), "io_submit" }, [201] = { 3, 0, SEN(io_cancel), "io_cancel" }, |