From a92ba46c55f30deec326ed1a4e76f32222b4c62c Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Fri, 9 Sep 2016 02:38:32 +0000 Subject: [PATCH] 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. --- linux/32/syscallent.h | 4 ++-- linux/64/syscallent.h | 4 ++-- linux/alpha/syscallent.h | 4 ++-- linux/arm/syscallent.h | 4 ++-- linux/avr32/syscallent.h | 4 ++-- linux/bfin/syscallent.h | 4 ++-- linux/hppa/syscallent.h | 4 ++-- linux/i386/syscallent.h | 4 ++-- linux/ia64/syscallent.h | 4 ++-- linux/m68k/syscallent.h | 4 ++-- linux/microblaze/syscallent.h | 4 ++-- linux/mips/syscallent-n32.h | 4 ++-- linux/mips/syscallent-n64.h | 4 ++-- linux/mips/syscallent-o32.h | 4 ++-- linux/powerpc/syscallent.h | 4 ++-- linux/powerpc64/syscallent.h | 4 ++-- linux/s390/syscallent.h | 4 ++-- linux/s390x/syscallent.h | 4 ++-- linux/sh/syscallent.h | 4 ++-- linux/sh64/syscallent.h | 4 ++-- linux/sparc/syscallent.h | 4 ++-- linux/sparc64/syscallent.h | 4 ++-- linux/x32/syscallent.h | 6 +++--- linux/x86_64/syscallent.h | 4 ++-- linux/xtensa/syscallent.h | 4 ++-- 25 files changed, 51 insertions(+), 51 deletions(-) diff --git a/linux/32/syscallent.h b/linux/32/syscallent.h index 7848c34d..2295d1e8 100644 --- a/linux/32/syscallent.h +++ b/linux/32/syscallent.h @@ -1,8 +1,8 @@ #ifndef sys_ARCH_mmap # define sys_ARCH_mmap sys_mmap #endif -[ 0] = { 2, 0, SEN(io_setup), "io_setup" }, -[ 1] = { 1, 0, SEN(io_destroy), "io_destroy" }, +[ 0] = { 2, TM, SEN(io_setup), "io_setup" }, +[ 1] = { 1, TM, SEN(io_destroy), "io_destroy" }, [ 2] = { 3, 0, SEN(io_submit), "io_submit" }, [ 3] = { 3, 0, SEN(io_cancel), "io_cancel" }, [ 4] = { 5, 0, SEN(io_getevents), "io_getevents" }, diff --git a/linux/64/syscallent.h b/linux/64/syscallent.h index 55c011cf..5bd6cb04 100644 --- a/linux/64/syscallent.h +++ b/linux/64/syscallent.h @@ -1,5 +1,5 @@ -[ 0] = { 2, 0, SEN(io_setup), "io_setup" }, -[ 1] = { 1, 0, SEN(io_destroy), "io_destroy" }, +[ 0] = { 2, TM, SEN(io_setup), "io_setup" }, +[ 1] = { 1, TM, SEN(io_destroy), "io_destroy" }, [ 2] = { 3, 0, SEN(io_submit), "io_submit" }, [ 3] = { 3, 0, SEN(io_cancel), "io_cancel" }, [ 4] = { 5, 0, SEN(io_getevents), "io_getevents" }, diff --git a/linux/alpha/syscallent.h b/linux/alpha/syscallent.h index 1c3bb548..eab60a51 100644 --- a/linux/alpha/syscallent.h +++ b/linux/alpha/syscallent.h @@ -361,8 +361,8 @@ [395] = { 3, 0, SEN(sched_setaffinity), "sched_setaffinity" }, [396] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" }, [397] = { 5, 0, SEN(tuxcall), "tuxcall" }, -[398] = { 2, 0, SEN(io_setup), "io_setup" }, -[399] = { 1, 0, SEN(io_destroy), "io_destroy" }, +[398] = { 2, TM, SEN(io_setup), "io_setup" }, +[399] = { 1, TM, SEN(io_destroy), "io_destroy" }, [400] = { 5, 0, SEN(io_getevents), "io_getevents" }, [401] = { 3, 0, SEN(io_submit), "io_submit" }, [402] = { 3, 0, SEN(io_cancel), "io_cancel" }, diff --git a/linux/arm/syscallent.h b/linux/arm/syscallent.h index 75f37212..356468bd 100644 --- a/linux/arm/syscallent.h +++ b/linux/arm/syscallent.h @@ -268,8 +268,8 @@ [240] = { 6, 0, SEN(futex), "futex" }, [241] = { 3, 0, SEN(sched_setaffinity), "sched_setaffinity" }, [242] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" }, -[243] = { 2, 0, SEN(io_setup), "io_setup" }, -[244] = { 1, 0, SEN(io_destroy), "io_destroy" }, +[243] = { 2, TM, SEN(io_setup), "io_setup" }, +[244] = { 1, TM, SEN(io_destroy), "io_destroy" }, [245] = { 5, 0, SEN(io_getevents), "io_getevents" }, [246] = { 3, 0, SEN(io_submit), "io_submit" }, [247] = { 3, 0, SEN(io_cancel), "io_cancel" }, diff --git a/linux/avr32/syscallent.h b/linux/avr32/syscallent.h index 6a04889b..fbf97922 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" }, diff --git a/linux/bfin/syscallent.h b/linux/bfin/syscallent.h index 02259654..1f905384 100644 --- a/linux/bfin/syscallent.h +++ b/linux/bfin/syscallent.h @@ -270,8 +270,8 @@ [242] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" }, [243] = { 1, 0, SEN(set_thread_area), "set_thread_area" }, [244] = { 1, 0, SEN(get_thread_area), "get_thread_area" }, -[245] = { 2, 0, SEN(io_setup), "io_setup" }, -[246] = { 1, 0, SEN(io_destroy), "io_destroy" }, +[245] = { 2, TM, SEN(io_setup), "io_setup" }, +[246] = { 1, TM, SEN(io_destroy), "io_destroy" }, [247] = { 5, 0, SEN(io_getevents), "io_getevents" }, [248] = { 3, 0, SEN(io_submit), "io_submit" }, [249] = { 3, 0, SEN(io_cancel), "io_cancel" }, diff --git a/linux/hppa/syscallent.h b/linux/hppa/syscallent.h index 123bd03e..de0e11d0 100644 --- a/linux/hppa/syscallent.h +++ b/linux/hppa/syscallent.h @@ -217,8 +217,8 @@ [212] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" }, [213] = { 5, 0, SEN(printargs), "set_thread_area" }, [214] = { 5, 0, SEN(printargs), "get_thread_area" }, -[215] = { 2, 0, SEN(io_setup), "io_setup" }, -[216] = { 1, 0, SEN(io_destroy), "io_destroy" }, +[215] = { 2, TM, SEN(io_setup), "io_setup" }, +[216] = { 1, TM, SEN(io_destroy), "io_destroy" }, [217] = { 5, 0, SEN(io_getevents), "io_getevents" }, [218] = { 3, 0, SEN(io_submit), "io_submit" }, [219] = { 3, 0, SEN(io_cancel), "io_cancel" }, diff --git a/linux/i386/syscallent.h b/linux/i386/syscallent.h index c0308c46..307f46ad 100644 --- a/linux/i386/syscallent.h +++ b/linux/i386/syscallent.h @@ -270,8 +270,8 @@ [242] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" }, [243] = { 1, 0, SEN(set_thread_area), "set_thread_area" }, [244] = { 1, 0, SEN(get_thread_area), "get_thread_area" }, -[245] = { 2, 0, SEN(io_setup), "io_setup" }, -[246] = { 1, 0, SEN(io_destroy), "io_destroy" }, +[245] = { 2, TM, SEN(io_setup), "io_setup" }, +[246] = { 1, TM, SEN(io_destroy), "io_destroy" }, [247] = { 5, 0, SEN(io_getevents), "io_getevents" }, [248] = { 3, 0, SEN(io_submit), "io_submit" }, [249] = { 3, 0, SEN(io_cancel), "io_cancel" }, diff --git a/linux/ia64/syscallent.h b/linux/ia64/syscallent.h index 713cab89..5ba6afb0 100644 --- a/linux/ia64/syscallent.h +++ b/linux/ia64/syscallent.h @@ -254,8 +254,8 @@ [1235] = { 3, TS, SEN(tgkill), "tgkill" }, [1236] = { 1, TP|SE, SEN(exit), "exit_group" }, [1237] = { 3, 0, SEN(lookup_dcookie), "lookup_dcookie" }, -[1238] = { 2, 0, SEN(io_setup), "io_setup" }, -[1239] = { 1, 0, SEN(io_destroy), "io_destroy" }, +[1238] = { 2, TM, SEN(io_setup), "io_setup" }, +[1239] = { 1, TM, SEN(io_destroy), "io_destroy" }, [1240] = { 5, 0, SEN(io_getevents), "io_getevents" }, [1241] = { 3, 0, SEN(io_submit), "io_submit" }, [1242] = { 3, 0, SEN(io_cancel), "io_cancel" }, diff --git a/linux/m68k/syscallent.h b/linux/m68k/syscallent.h index a98d2718..6299a037 100644 --- a/linux/m68k/syscallent.h +++ b/linux/m68k/syscallent.h @@ -266,8 +266,8 @@ [238] = { 3, TM, SEN(madvise), "madvise" }, [239] = { 3, TD, SEN(fcntl64), "fcntl64" }, [240] = { 4, TD, SEN(readahead), "readahead" }, -[241] = { 2, 0, SEN(io_setup), "io_setup" }, -[242] = { 1, 0, SEN(io_destroy), "io_destroy" }, +[241] = { 2, TM, SEN(io_setup), "io_setup" }, +[242] = { 1, TM, SEN(io_destroy), "io_destroy" }, [243] = { 5, 0, SEN(io_getevents), "io_getevents" }, [244] = { 3, 0, SEN(io_submit), "io_submit" }, [245] = { 3, 0, SEN(io_cancel), "io_cancel" }, diff --git a/linux/microblaze/syscallent.h b/linux/microblaze/syscallent.h index f4f09a06..69748729 100644 --- a/linux/microblaze/syscallent.h +++ b/linux/microblaze/syscallent.h @@ -270,8 +270,8 @@ [242] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" }, [243] = { 1, 0, SEN(set_thread_area), "set_thread_area" }, [244] = { 1, 0, SEN(get_thread_area), "get_thread_area" }, -[245] = { 2, 0, SEN(io_setup), "io_setup" }, -[246] = { 1, 0, SEN(io_destroy), "io_destroy" }, +[245] = { 2, TM, SEN(io_setup), "io_setup" }, +[246] = { 1, TM, SEN(io_destroy), "io_destroy" }, [247] = { 5, 0, SEN(io_getevents), "io_getevents" }, [248] = { 3, 0, SEN(io_submit), "io_submit" }, [249] = { 3, 0, SEN(io_cancel), "io_cancel" }, diff --git a/linux/mips/syscallent-n32.h b/linux/mips/syscallent-n32.h index 398b12c9..b061355d 100644 --- a/linux/mips/syscallent-n32.h +++ b/linux/mips/syscallent-n32.h @@ -200,8 +200,8 @@ [6197] = { 3, 0, SEN(printargs), "cacheflush" }, [6198] = { 3, 0, SEN(printargs), "cachectl" }, [6199] = { 4, 0, SEN(sysmips), "sysmips" }, -[6200] = { 2, 0, SEN(io_setup), "io_setup" }, -[6201] = { 1, 0, SEN(io_destroy), "io_destroy" }, +[6200] = { 2, TM, SEN(io_setup), "io_setup" }, +[6201] = { 1, TM, SEN(io_destroy), "io_destroy" }, [6202] = { 5, 0, SEN(io_getevents), "io_getevents" }, [6203] = { 3, 0, SEN(io_submit), "io_submit" }, [6204] = { 3, 0, SEN(io_cancel), "io_cancel" }, diff --git a/linux/mips/syscallent-n64.h b/linux/mips/syscallent-n64.h index 7321f0e7..42c1bfd4 100644 --- a/linux/mips/syscallent-n64.h +++ b/linux/mips/syscallent-n64.h @@ -200,8 +200,8 @@ [5197] = { 3, 0, SEN(printargs), "cacheflush" }, [5198] = { 3, 0, SEN(printargs), "cachectl" }, [5199] = { 4, 0, SEN(sysmips), "sysmips" }, -[5200] = { 2, 0, SEN(io_setup), "io_setup" }, -[5201] = { 1, 0, SEN(io_destroy), "io_destroy" }, +[5200] = { 2, TM, SEN(io_setup), "io_setup" }, +[5201] = { 1, TM, SEN(io_destroy), "io_destroy" }, [5202] = { 5, 0, SEN(io_getevents), "io_getevents" }, [5203] = { 3, 0, SEN(io_submit), "io_submit" }, [5204] = { 3, 0, SEN(io_cancel), "io_cancel" }, diff --git a/linux/mips/syscallent-o32.h b/linux/mips/syscallent-o32.h index 965b32f2..c92005fc 100644 --- a/linux/mips/syscallent-o32.h +++ b/linux/mips/syscallent-o32.h @@ -241,8 +241,8 @@ [4238] = { 6, 0, SEN(futex), "futex" }, [4239] = { 3, 0, SEN(sched_setaffinity), "sched_setaffinity" }, [4240] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" }, -[4241] = { 2, 0, SEN(io_setup), "io_setup" }, -[4242] = { 1, 0, SEN(io_destroy), "io_destroy" }, +[4241] = { 2, TM, SEN(io_setup), "io_setup" }, +[4242] = { 1, TM, SEN(io_destroy), "io_destroy" }, [4243] = { 5, 0, SEN(io_getevents), "io_getevents" }, [4244] = { 3, 0, SEN(io_submit), "io_submit" }, [4245] = { 3, 0, SEN(io_cancel), "io_cancel" }, diff --git a/linux/powerpc/syscallent.h b/linux/powerpc/syscallent.h index f6746496..b10b83ec 100644 --- a/linux/powerpc/syscallent.h +++ b/linux/powerpc/syscallent.h @@ -253,8 +253,8 @@ [224] = { }, [225] = { 5, 0, SEN(printargs), "tuxcall" }, [226] = { 4, TD|TN, SEN(sendfile64), "sendfile64" }, -[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" }, diff --git a/linux/powerpc64/syscallent.h b/linux/powerpc64/syscallent.h index e0c18af4..ba22c3c1 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" }, diff --git a/linux/s390/syscallent.h b/linux/s390/syscallent.h index 87ece157..a7004ae7 100644 --- a/linux/s390/syscallent.h +++ b/linux/s390/syscallent.h @@ -271,8 +271,8 @@ [240] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" }, [241] = { 3, TS, SEN(tgkill), "tgkill" }, [242] = { }, -[243] = { 2, 0, SEN(io_setup), "io_setup" }, -[244] = { 1, 0, SEN(io_destroy), "io_destroy" }, +[243] = { 2, TM, SEN(io_setup), "io_setup" }, +[244] = { 1, TM, SEN(io_destroy), "io_destroy" }, [245] = { 5, 0, SEN(io_getevents), "io_getevents" }, [246] = { 3, 0, SEN(io_submit), "io_submit" }, [247] = { 3, 0, SEN(io_cancel), "io_cancel" }, diff --git a/linux/s390x/syscallent.h b/linux/s390x/syscallent.h index bf9c9fa9..9d1e9440 100644 --- a/linux/s390x/syscallent.h +++ b/linux/s390x/syscallent.h @@ -255,8 +255,8 @@ [240] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" }, [241] = { 3, TS, SEN(tgkill), "tgkill" }, [242] = { }, -[243] = { 2, 0, SEN(io_setup), "io_setup" }, -[244] = { 1, 0, SEN(io_destroy), "io_destroy" }, +[243] = { 2, TM, SEN(io_setup), "io_setup" }, +[244] = { 1, TM, SEN(io_destroy), "io_destroy" }, [245] = { 5, 0, SEN(io_getevents), "io_getevents" }, [246] = { 3, 0, SEN(io_submit), "io_submit" }, [247] = { 3, 0, SEN(io_cancel), "io_cancel" }, diff --git a/linux/sh/syscallent.h b/linux/sh/syscallent.h index b5a83e36..5a0bef00 100644 --- a/linux/sh/syscallent.h +++ b/linux/sh/syscallent.h @@ -270,8 +270,8 @@ [241] = { 3, 0, SEN(sched_setaffinity), "sched_setaffinity" }, [242] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" }, [243 ... 244] = { }, -[245] = { 2, 0, SEN(io_setup), "io_setup" }, -[246] = { 1, 0, SEN(io_destroy), "io_destroy" }, +[245] = { 2, TM, SEN(io_setup), "io_setup" }, +[246] = { 1, TM, SEN(io_destroy), "io_destroy" }, [247] = { 5, 0, SEN(io_getevents), "io_getevents" }, [248] = { 3, 0, SEN(io_submit), "io_submit" }, [249] = { 3, 0, SEN(io_cancel), "io_cancel" }, diff --git a/linux/sh64/syscallent.h b/linux/sh64/syscallent.h index 4d6e6402..c80abb41 100644 --- a/linux/sh64/syscallent.h +++ b/linux/sh64/syscallent.h @@ -296,8 +296,8 @@ [269] = { 3, 0, SEN(sched_setaffinity), "sched_setaffinity" }, [270] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" }, [271 ... 272] = { }, -[273] = { 2, 0, SEN(io_setup), "io_setup" }, -[274] = { 1, 0, SEN(io_destroy), "io_destroy" }, +[273] = { 2, TM, SEN(io_setup), "io_setup" }, +[274] = { 1, TM, SEN(io_destroy), "io_destroy" }, [275] = { 5, 0, SEN(io_getevents), "io_getevents" }, [276] = { 3, 0, SEN(io_submit), "io_submit" }, [277] = { 3, 0, SEN(io_cancel), "io_cancel" }, diff --git a/linux/sparc/syscallent.h b/linux/sparc/syscallent.h index b2e51f30..69f5f474 100644 --- a/linux/sparc/syscallent.h +++ b/linux/sparc/syscallent.h @@ -266,8 +266,8 @@ [265] = { 1, 0, SEN(timer_delete), "timer_delete" }, [266] = { 3, 0, SEN(timer_create), "timer_create" }, [267] = { }, -[268] = { 2, 0, SEN(io_setup), "io_setup" }, -[269] = { 1, 0, SEN(io_destroy), "io_destroy" }, +[268] = { 2, TM, SEN(io_setup), "io_setup" }, +[269] = { 1, TM, SEN(io_destroy), "io_destroy" }, [270] = { 3, 0, SEN(io_submit), "io_submit" }, [271] = { 3, 0, SEN(io_cancel), "io_cancel" }, [272] = { 5, 0, SEN(io_getevents), "io_getevents" }, diff --git a/linux/sparc64/syscallent.h b/linux/sparc64/syscallent.h index 6f6b8c27..9660a276 100644 --- a/linux/sparc64/syscallent.h +++ b/linux/sparc64/syscallent.h @@ -264,8 +264,8 @@ [265] = { 1, 0, SEN(timer_delete), "timer_delete" }, [266] = { 3, 0, SEN(timer_create), "timer_create" }, [267] = { }, -[268] = { 2, 0, SEN(io_setup), "io_setup" }, -[269] = { 1, 0, SEN(io_destroy), "io_destroy" }, +[268] = { 2, TM, SEN(io_setup), "io_setup" }, +[269] = { 1, TM, SEN(io_destroy), "io_destroy" }, [270] = { 3, 0, SEN(io_submit), "io_submit" }, [271] = { 3, 0, SEN(io_cancel), "io_cancel" }, [272] = { 5, 0, SEN(io_getevents), "io_getevents" }, diff --git a/linux/x32/syscallent.h b/linux/x32/syscallent.h index d07ff1c9..305cbbc9 100644 --- a/linux/x32/syscallent.h +++ b/linux/x32/syscallent.h @@ -204,8 +204,8 @@ [203] = { 3, 0, SEN(sched_setaffinity), "sched_setaffinity" }, [204] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" }, [205] = { 1, 0, SEN(printargs), "64:set_thread_area" }, -[206] = { 2, 0, SEN(printargs), "64:io_setup" }, -[207] = { 1, 0, SEN(io_destroy), "io_destroy" }, +[206] = { 2, TM, SEN(printargs), "64:io_setup" }, +[207] = { 1, TM, SEN(io_destroy), "io_destroy" }, [208] = { 5, 0, SEN(io_getevents), "io_getevents" }, [209] = { 3, 0, SEN(printargs), "64:io_submit" }, [210] = { 3, 0, SEN(io_cancel), "io_cancel" }, @@ -363,6 +363,6 @@ [540] = { 6, 0, SEN(process_vm_writev), "process_vm_writev" }, [541] = { 5, TN, SEN(setsockopt), "setsockopt" }, [542] = { 5, TN, SEN(getsockopt), "getsockopt" }, -[543] = { 2, 0, SEN(io_setup), "io_setup" }, +[543] = { 2, TM, SEN(io_setup), "io_setup" }, [544] = { 3, 0, SEN(io_submit), "io_submit" }, [545] = { 5, TD|TF|TP|SE|SI, SEN(execveat), "execveat", }, diff --git a/linux/x86_64/syscallent.h b/linux/x86_64/syscallent.h index 265d55f0..6e814ea0 100644 --- a/linux/x86_64/syscallent.h +++ b/linux/x86_64/syscallent.h @@ -204,8 +204,8 @@ [203] = { 3, 0, SEN(sched_setaffinity), "sched_setaffinity" }, [204] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" }, [205] = { 1, 0, SEN(set_thread_area), "set_thread_area" }, -[206] = { 2, 0, SEN(io_setup), "io_setup" }, -[207] = { 1, 0, SEN(io_destroy), "io_destroy" }, +[206] = { 2, TM, SEN(io_setup), "io_setup" }, +[207] = { 1, TM, SEN(io_destroy), "io_destroy" }, [208] = { 5, 0, SEN(io_getevents), "io_getevents" }, [209] = { 3, 0, SEN(io_submit), "io_submit" }, [210] = { 3, 0, SEN(io_cancel), "io_cancel" }, diff --git a/linux/xtensa/syscallent.h b/linux/xtensa/syscallent.h index d553c51a..74eb5c38 100644 --- a/linux/xtensa/syscallent.h +++ b/linux/xtensa/syscallent.h @@ -229,8 +229,8 @@ [236] = { 2, 0, SEN(mq_notify), "mq_notify" }, [237] = { 3, 0, SEN(mq_getsetattr), "mq_getsetattr" }, [238] = { }, -[239] = { 2, 0, SEN(io_setup), "io_setup" }, -[240] = { 1, 0, SEN(io_destroy), "io_destroy" }, +[239] = { 2, TM, SEN(io_setup), "io_setup" }, +[240] = { 1, TM, SEN(io_destroy), "io_destroy" }, [241] = { 3, 0, SEN(io_submit), "io_submit" }, [242] = { 5, 0, SEN(io_getevents), "io_getevents" }, [243] = { 3, 0, SEN(io_cancel), "io_cancel" }, -- 2.50.1