2009-02-27 20:32:52 +00:00
/*
* Copyright ( c ) 2004 - 2009 Atmel Corporation
2018-02-13 22:00:00 +00:00
* Copyright ( c ) 2009 - 2018 The strace developers .
2009-02-27 20:32:52 +00:00
* All rights reserved .
*
2018-12-10 00:00:00 +00:00
* SPDX - License - Identifier : LGPL - 2.1 - or - later
2009-02-27 20:32:52 +00:00
*/
2015-12-08 20:37:22 +00:00
[ 0 ] = { 0 , 0 , SEN ( restart_syscall ) , " restart_syscall " } ,
2015-12-08 17:27:40 +00:00
[ 1 ] = { 1 , TP | SE , SEN ( exit ) , " exit " } ,
2015-07-10 22:24:48 +03:00
[ 2 ] = { 0 , TP , SEN ( fork ) , " fork " } ,
[ 3 ] = { 3 , TD , SEN ( read ) , " read " } ,
[ 4 ] = { 3 , TD , SEN ( write ) , " write " } ,
[ 5 ] = { 3 , TD | TF , SEN ( open ) , " open " } ,
[ 6 ] = { 1 , TD , SEN ( close ) , " close " } ,
2015-12-28 00:44:47 +00:00
[ 7 ] = { 1 , NF , SEN ( umask ) , " umask " } ,
2015-07-10 22:24:48 +03:00
[ 8 ] = { 2 , TD | TF , SEN ( creat ) , " creat " } ,
[ 9 ] = { 2 , TF , SEN ( link ) , " link " } ,
[ 10 ] = { 1 , TF , SEN ( unlink ) , " unlink " } ,
[ 11 ] = { 3 , TF | TP | SE | SI , SEN ( execve ) , " execve " } ,
[ 12 ] = { 1 , TF , SEN ( chdir ) , " chdir " } ,
[ 13 ] = { 1 , 0 , SEN ( time ) , " time " } ,
[ 14 ] = { 3 , TF , SEN ( mknod ) , " mknod " } ,
[ 15 ] = { 2 , TF , SEN ( chmod ) , " chmod " } ,
[ 16 ] = { 3 , TF , SEN ( chown ) , " chown " } ,
[ 17 ] = { 3 , TF , SEN ( chown ) , " lchown " } ,
[ 18 ] = { 3 , TD , SEN ( lseek ) , " lseek " } ,
[ 19 ] = { 5 , TD , SEN ( llseek ) , " _llseek " } ,
Add pure syscall flag
* basic_filters.c (lookup_class) <syscall_class>: Add "%pure" for
TRACE_PURE.
* sysent.h (TRACE_PURE): New syscall flag.
* sysent_shorthand_defs.h (PU): New shorthand macro.
* linux/32/syscallent.h ([172], [173], [174], [175], [176], [177],
[178]): Add PU flag to getpid, getppid, getuid, geteuid, getgid,
getegid, gettid syscalls.
* linux/64/syscallent.h ([172], [173], [174], [175], [176], [177],
[178]): Add PU flag to getpid, getppid, getuid, geteuid, getgid,
getegid, gettid syscalls.
* linux/aarch64/syscallent.h ([1060]): Add PU flag to getpgrp syscalls.
* linux/alpha/syscallent.h ([20], [24], [47], [63], [64], [89],
[378]): Add PU flag to getxpid, getxuid, getxgid, getpgrp, getpagesize,
getdtablesize, gettid syscalls.
* linux/arc/syscallent.h ([246]): Add PU flag to arc_gettls syscalls.
* linux/arm/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [224], [ARM_FIRST_SHUFFLED_SYSCALL+1+6]):
Add PU flag to getpid, getuid, getgid, geteuid, getegid, getppid,
getpgrp, getuid32, getgid32, geteuid32, getegid32, gettid, get_tls
syscalls.
* linux/avr32/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[176]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/bfin/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [224]): Add PU flag to getpid, getuid,
getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/hppa/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[206]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/i386/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [224]): Add PU flag to getpid, getuid,
getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/ia64/syscallent.h ([1041], [1042], [1046], [1047], [1062],
[1063], [1105], [1171]): Add PU flag to getpid, getppid, getuid,
geteuid, getgid, getegid, gettid, getpagesize syscalls.
* linux/m68k/syscallent.h ([20], [24], [47], [49], [50], [64],
[65], [166], [199], [200], [201], [202], [221], [333]): Add PU flag
to getpid, getuid, getgid, geteuid, getegid, getppid, getpgrp,
getpagesize, getuid32, getgid32, geteuid32, getegid32, gettid,
get_thread_area syscalls.
* linux/metag/syscallent.h ([248]): Add PU flag to metag_get_tls
syscalls.
* linux/microblaze/syscallent.h ([20], [24], [47], [49], [50], [64],
[65], [199], [200], [201], [202], [224]): Add PU flag to getpid,
getuid, getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/powerpc64/syscallent.h ([20], [24], [47], [49], [50], [64],
[65], [207]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/powerpc/syscallent.h ([20], [24], [47], [49], [50], [64],
[65], [207]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/s390/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [236]): Add PU flag to getpid, getuid,
getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/s390x/syscallent.h ([20], [64], [65], [199], [200], [201],
[202], [236]): Add PU flag to getpid, getppid, getpgrp, getuid,
getgid, geteuid, getegid, gettid syscalls.
* linux/sh64/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [252]): Add PU flag to getpid, getuid,
getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/sh/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [224]): Add PU flag to getpid, getuid,
getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/sparc64/syscallent.h ([20], [24], [47], [49], [50], [64], [81],
[143], [197], [340]): Add PU flag to getpid, getuid, getgid, geteuid,
getegid, getpagesize, getpgrp, gettid, getppid, kern_features syscalls.
* linux/sparc/syscallent.h ([20], [24], [44], [47], [49], [50], [53],
[64], [69], [70], [81], [143], [197], [340]): Add PU flag to getpid,
getuid, getuid32, getgid, geteuid, getegid, getgid32, getpagesize,
geteuid32, getegid32, getpgrp, gettid, getppid, kern_features syscalls.
* linux/x32/syscallent.h ([39], [102], [104], [107], [108], [110],
[111], [186]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/x86_64/syscallent.h ([39], [102], [104], [107], [108], [110],
[111], [186]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/xtensa/syscallent.h ([120], [127], [137], [139], [140], [141],
[150], [151]): Add PU flag to getpid, gettid, getuid, getgid, geteuid,
getegid, getppid, getpgrp syscalls.
* strace.1.in (.SS Filtering): Document it.
* NEWS: Mention it.
2018-02-07 18:46:54 +01:00
[ 20 ] = { 0 , PU | NF , SEN ( getpid ) , " getpid " } ,
2015-07-10 22:24:48 +03:00
[ 21 ] = { 5 , TF , SEN ( mount ) , " mount " } ,
2015-12-07 00:08:51 +00:00
[ 22 ] = { 1 , TF , SEN ( umount2 ) , " umount2 " } ,
2015-07-10 22:24:48 +03:00
[ 23 ] = { 1 , 0 , SEN ( setuid ) , " setuid " } ,
Add pure syscall flag
* basic_filters.c (lookup_class) <syscall_class>: Add "%pure" for
TRACE_PURE.
* sysent.h (TRACE_PURE): New syscall flag.
* sysent_shorthand_defs.h (PU): New shorthand macro.
* linux/32/syscallent.h ([172], [173], [174], [175], [176], [177],
[178]): Add PU flag to getpid, getppid, getuid, geteuid, getgid,
getegid, gettid syscalls.
* linux/64/syscallent.h ([172], [173], [174], [175], [176], [177],
[178]): Add PU flag to getpid, getppid, getuid, geteuid, getgid,
getegid, gettid syscalls.
* linux/aarch64/syscallent.h ([1060]): Add PU flag to getpgrp syscalls.
* linux/alpha/syscallent.h ([20], [24], [47], [63], [64], [89],
[378]): Add PU flag to getxpid, getxuid, getxgid, getpgrp, getpagesize,
getdtablesize, gettid syscalls.
* linux/arc/syscallent.h ([246]): Add PU flag to arc_gettls syscalls.
* linux/arm/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [224], [ARM_FIRST_SHUFFLED_SYSCALL+1+6]):
Add PU flag to getpid, getuid, getgid, geteuid, getegid, getppid,
getpgrp, getuid32, getgid32, geteuid32, getegid32, gettid, get_tls
syscalls.
* linux/avr32/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[176]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/bfin/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [224]): Add PU flag to getpid, getuid,
getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/hppa/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[206]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/i386/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [224]): Add PU flag to getpid, getuid,
getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/ia64/syscallent.h ([1041], [1042], [1046], [1047], [1062],
[1063], [1105], [1171]): Add PU flag to getpid, getppid, getuid,
geteuid, getgid, getegid, gettid, getpagesize syscalls.
* linux/m68k/syscallent.h ([20], [24], [47], [49], [50], [64],
[65], [166], [199], [200], [201], [202], [221], [333]): Add PU flag
to getpid, getuid, getgid, geteuid, getegid, getppid, getpgrp,
getpagesize, getuid32, getgid32, geteuid32, getegid32, gettid,
get_thread_area syscalls.
* linux/metag/syscallent.h ([248]): Add PU flag to metag_get_tls
syscalls.
* linux/microblaze/syscallent.h ([20], [24], [47], [49], [50], [64],
[65], [199], [200], [201], [202], [224]): Add PU flag to getpid,
getuid, getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/powerpc64/syscallent.h ([20], [24], [47], [49], [50], [64],
[65], [207]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/powerpc/syscallent.h ([20], [24], [47], [49], [50], [64],
[65], [207]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/s390/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [236]): Add PU flag to getpid, getuid,
getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/s390x/syscallent.h ([20], [64], [65], [199], [200], [201],
[202], [236]): Add PU flag to getpid, getppid, getpgrp, getuid,
getgid, geteuid, getegid, gettid syscalls.
* linux/sh64/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [252]): Add PU flag to getpid, getuid,
getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/sh/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [224]): Add PU flag to getpid, getuid,
getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/sparc64/syscallent.h ([20], [24], [47], [49], [50], [64], [81],
[143], [197], [340]): Add PU flag to getpid, getuid, getgid, geteuid,
getegid, getpagesize, getpgrp, gettid, getppid, kern_features syscalls.
* linux/sparc/syscallent.h ([20], [24], [44], [47], [49], [50], [53],
[64], [69], [70], [81], [143], [197], [340]): Add PU flag to getpid,
getuid, getuid32, getgid, geteuid, getegid, getgid32, getpagesize,
geteuid32, getegid32, getpgrp, gettid, getppid, kern_features syscalls.
* linux/x32/syscallent.h ([39], [102], [104], [107], [108], [110],
[111], [186]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/x86_64/syscallent.h ([39], [102], [104], [107], [108], [110],
[111], [186]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/xtensa/syscallent.h ([120], [127], [137], [139], [140], [141],
[150], [151]): Add PU flag to getpid, gettid, getuid, getgid, geteuid,
getegid, getppid, getpgrp syscalls.
* strace.1.in (.SS Filtering): Document it.
* NEWS: Mention it.
2018-02-07 18:46:54 +01:00
[ 24 ] = { 0 , PU | NF , SEN ( getuid ) , " getuid " } ,
2015-07-10 22:24:48 +03:00
[ 25 ] = { 1 , 0 , SEN ( stime ) , " stime " } ,
[ 26 ] = { 4 , 0 , SEN ( ptrace ) , " ptrace " } ,
[ 27 ] = { 1 , 0 , SEN ( alarm ) , " alarm " } ,
[ 28 ] = { 0 , TS , SEN ( pause ) , " pause " } ,
[ 29 ] = { 2 , TF , SEN ( utime ) , " utime " } ,
Implement -e trace=%stat option
linux/*/syscallent*.h part is updated automatically by:
sed -i '/statx/! s/TF|TSTA,/TF|TST|TSTA,/' linux/*/syscallent*.h
* sysent.h (TRACE_STAT): New macro.
* syscall.c: Alias LST to TRACE_STAT around syscallent.h inclusion.
* qualify.c (lookup_class): Add TRACE_STAT for "%stat".
* strace.1 (.SS Filtering): Add information about %stat syscall class.
* NEWS: Mention this change.
* linux/aarch64/syscallent.h (stat): Add TST flag.
* linux/ia64/syscallent.h: Likewise.
* linux/mips/syscallent-n32.h: Likewise.
* linux/mips/syscallent-n64.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/x32/syscallent.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.
* linux/arm/syscallent.h (oldstat, stat, stat64): Likewise.
* linux/bfin/syscallent.h: Likewise.
* linux/crisv10/syscallent.h: Likewise.
* linux/i386/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/microblaze/syscallent.h: Likewise.
* linux/mips/syscallent-o32.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/avr32/syscallent.h (stat, stat64): Likewise.
* linux/hppa/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/xtensa/syscallent.h: Likewise.
* linux/powerpc64/syscallent.h (oldstat, stat): Likewise.
* linux/alpha/syscallent.h (osf_old_stat, osf_stat, stat, stat64): Likewise.
* linux/mips/syscallent-compat.h (bsd43_oldstat, bsd43_stat, posix_stat,
svr4_stat, svr4_xstat, sysv_stat, sysv_xstat): Likewise.
* tests/gen_tests.in (trace_stat): New entry.
* tests/trace_stat.in: New file.
* tests/Makefile.am (EXTRA_DIST): Add it.
* tests/ksysent.c (TST): New macro, defined to 0.
* tests/nsyscalls.c: Likewise.
2017-04-18 03:14:52 +02:00
[ 30 ] = { 2 , TF | TST | TSTA , SEN ( stat ) , " stat " } ,
Implement -e trace=%fstat option
linux/*/syscallent*.h part is updated automatically by:
sed -i -e '/TSTA.*fx\?stat/ s/TSTA,/TFST|&/' \
-e 's/\(TD|TF|TFST|TSTA,\)[[:space:]]/\1/' linux/*/syscallent*.h
* sysent.h (TRACE_FSTAT): New macro.
* syscall.c: Alias TFST to TRACE_FSTAT around syscallent.h inclusion.
* qualify.c (lookup_class): Add TRACE_FSTAT for "%fstat".
* strace.1 (.SS Filtering): Add information about %fstat syscall class.
* NEWS: Mention this change.
* linux/32/syscallent.h (fstat64, fstatat64): Add TFST flag.
* linux/64/syscallent.h (fstat, newfstatat): Likewise.
* linux/aarch64/syscallent.h: Likewise.
* linux/ia64/syscallent.h: Likewise.
* linux/mips/syscallent-n32.h: Likewise.
* linux/mips/syscallent-n64.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/x32/syscallent.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.
* linux/arm/syscallent.h (fstat, fstat64, fstatat64, oldfstat): Likewise.
* linux/bfin/syscallent.h: Likewise.
* linux/crisv10/syscallent.h: Likewise.
* linux/i386/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/microblaze/syscallent.h: Likewise.
* linux/mips/syscallent-o32.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/avr32/syscallent.h (fstat, fstat64, fstatat64): Likewise.
* linux/hppa/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/xtensa/syscallent.h: Likewise.
* linux/alpha/syscallent.h (fstat, fstat64, fstatat64, osf_fstat,
osf_old_fstat): Likewise.
* linux/powerpc64/syscallent.h (fstat, newfstatat, oldfstat): Likewise.
* linux/mips/syscallent-compat.h (bsd43_fstat, bsd43_oldfstat, posix_fstat,
svr4_fstat, sysv_fstat): Likewise.
* tests/gen_tests.in (trace_fstat): New entry.
* tests/trace_fstat.in: New file.
* tests/Makefile.am (EXTRA_DIST): Add it.
* tests/ksysent.c (TFST): New macro, defined to 0.
* tests/nsyscalls.c: Likewise.
2017-04-18 01:52:58 +02:00
[ 31 ] = { 2 , TD | TFST | TSTA , SEN ( fstat ) , " fstat " } ,
Implement -e trace=%lstat option
linux/*/syscallent*.h part is updated automatically by:
sed -i '/TSTA,.*lx\?stat/ s/TSTA,/TLST|&/' linux/*/syscallent*.h
* sysent.h (TRACE_LSTAT): New macro.
* syscall.c: Alias TLST to TRACE_LSTAT around syscallent.h inclusion.
* qualify.c (lookup_class): Add TRACE_LSTAT for "%lstat".
* strace.1 (.SS Filtering): Add information about %lstat syscall class.
* NEWS: Mention this change.
* linux/aarch64/syscallent.h (lstat): Likewise.
* linux/ia64/syscallent.h: Likewise.
* linux/mips/syscallent-n32.h: Likewise.
* linux/mips/syscallent-n64.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/x32/syscallent.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.
* linux/arm/syscallent.h (lstat, lstat64, oldlstat): Likewise.
* linux/bfin/syscallent.h: Likewise.
* linux/crisv10/syscallent.h: Likewise.
* linux/i386/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/microblaze/syscallent.h: Likewise.
* linux/mips/syscallent-o32.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/avr32/syscallent.h (lstat, lstat64): Likewise.
* linux/hppa/syscallent.h: Likewise.
* linux/powerpc64/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/xtensa/syscallent.h: Likewise.
* linux/alpha/syscallent.h (lstat, lstat64, osf_lstat, osf_old_lstat): Likewise.
* linux/mips/syscallent-compat.h (bsd43_lstat, posix_lstat, svr4_lstat,
sysv_lstat): Likewise.
* tests/gen_tests.in (trace_lstat): New entry.
* tests/trace_lstat.in: New file.
* tests/Makefile.am (EXTRA_DIST): Add it.
* tests/ksysent.c (TLST): New macro, defined to 0.
* tests/nsyscalls.c: Likewise.
2017-04-18 02:23:05 +02:00
[ 32 ] = { 2 , TF | TLST | TSTA , SEN ( lstat ) , " lstat " } ,
2015-07-10 22:24:48 +03:00
[ 33 ] = { 2 , TF , SEN ( access ) , " access " } ,
[ 34 ] = { 1 , TF , SEN ( chroot ) , " chroot " } ,
[ 35 ] = { 0 , 0 , SEN ( sync ) , " sync " } ,
[ 36 ] = { 1 , TD , SEN ( fsync ) , " fsync " } ,
[ 37 ] = { 2 , TS , SEN ( kill ) , " kill " } ,
[ 38 ] = { 2 , TF , SEN ( rename ) , " rename " } ,
[ 39 ] = { 2 , TF , SEN ( mkdir ) , " mkdir " } ,
[ 40 ] = { 1 , TF , SEN ( rmdir ) , " rmdir " } ,
[ 41 ] = { 1 , TD , SEN ( dup ) , " dup " } ,
[ 42 ] = { 1 , TD , SEN ( pipe ) , " pipe " } ,
[ 43 ] = { 1 , 0 , SEN ( times ) , " times " } ,
[ 44 ] = { 5 , TP , SEN ( clone ) , " clone " } ,
[ 45 ] = { 1 , TM | SI , SEN ( brk ) , " brk " } ,
[ 46 ] = { 1 , 0 , SEN ( setgid ) , " setgid " } ,
Add pure syscall flag
* basic_filters.c (lookup_class) <syscall_class>: Add "%pure" for
TRACE_PURE.
* sysent.h (TRACE_PURE): New syscall flag.
* sysent_shorthand_defs.h (PU): New shorthand macro.
* linux/32/syscallent.h ([172], [173], [174], [175], [176], [177],
[178]): Add PU flag to getpid, getppid, getuid, geteuid, getgid,
getegid, gettid syscalls.
* linux/64/syscallent.h ([172], [173], [174], [175], [176], [177],
[178]): Add PU flag to getpid, getppid, getuid, geteuid, getgid,
getegid, gettid syscalls.
* linux/aarch64/syscallent.h ([1060]): Add PU flag to getpgrp syscalls.
* linux/alpha/syscallent.h ([20], [24], [47], [63], [64], [89],
[378]): Add PU flag to getxpid, getxuid, getxgid, getpgrp, getpagesize,
getdtablesize, gettid syscalls.
* linux/arc/syscallent.h ([246]): Add PU flag to arc_gettls syscalls.
* linux/arm/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [224], [ARM_FIRST_SHUFFLED_SYSCALL+1+6]):
Add PU flag to getpid, getuid, getgid, geteuid, getegid, getppid,
getpgrp, getuid32, getgid32, geteuid32, getegid32, gettid, get_tls
syscalls.
* linux/avr32/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[176]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/bfin/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [224]): Add PU flag to getpid, getuid,
getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/hppa/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[206]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/i386/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [224]): Add PU flag to getpid, getuid,
getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/ia64/syscallent.h ([1041], [1042], [1046], [1047], [1062],
[1063], [1105], [1171]): Add PU flag to getpid, getppid, getuid,
geteuid, getgid, getegid, gettid, getpagesize syscalls.
* linux/m68k/syscallent.h ([20], [24], [47], [49], [50], [64],
[65], [166], [199], [200], [201], [202], [221], [333]): Add PU flag
to getpid, getuid, getgid, geteuid, getegid, getppid, getpgrp,
getpagesize, getuid32, getgid32, geteuid32, getegid32, gettid,
get_thread_area syscalls.
* linux/metag/syscallent.h ([248]): Add PU flag to metag_get_tls
syscalls.
* linux/microblaze/syscallent.h ([20], [24], [47], [49], [50], [64],
[65], [199], [200], [201], [202], [224]): Add PU flag to getpid,
getuid, getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/powerpc64/syscallent.h ([20], [24], [47], [49], [50], [64],
[65], [207]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/powerpc/syscallent.h ([20], [24], [47], [49], [50], [64],
[65], [207]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/s390/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [236]): Add PU flag to getpid, getuid,
getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/s390x/syscallent.h ([20], [64], [65], [199], [200], [201],
[202], [236]): Add PU flag to getpid, getppid, getpgrp, getuid,
getgid, geteuid, getegid, gettid syscalls.
* linux/sh64/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [252]): Add PU flag to getpid, getuid,
getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/sh/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [224]): Add PU flag to getpid, getuid,
getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/sparc64/syscallent.h ([20], [24], [47], [49], [50], [64], [81],
[143], [197], [340]): Add PU flag to getpid, getuid, getgid, geteuid,
getegid, getpagesize, getpgrp, gettid, getppid, kern_features syscalls.
* linux/sparc/syscallent.h ([20], [24], [44], [47], [49], [50], [53],
[64], [69], [70], [81], [143], [197], [340]): Add PU flag to getpid,
getuid, getuid32, getgid, geteuid, getegid, getgid32, getpagesize,
geteuid32, getegid32, getpgrp, gettid, getppid, kern_features syscalls.
* linux/x32/syscallent.h ([39], [102], [104], [107], [108], [110],
[111], [186]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/x86_64/syscallent.h ([39], [102], [104], [107], [108], [110],
[111], [186]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/xtensa/syscallent.h ([120], [127], [137], [139], [140], [141],
[150], [151]): Add PU flag to getpid, gettid, getuid, getgid, geteuid,
getegid, getppid, getpgrp syscalls.
* strace.1.in (.SS Filtering): Document it.
* NEWS: Mention it.
2018-02-07 18:46:54 +01:00
[ 47 ] = { 0 , PU | NF , SEN ( getgid ) , " getgid " } ,
2015-07-10 22:24:48 +03:00
[ 48 ] = { 2 , TF , SEN ( getcwd ) , " getcwd " } ,
Add pure syscall flag
* basic_filters.c (lookup_class) <syscall_class>: Add "%pure" for
TRACE_PURE.
* sysent.h (TRACE_PURE): New syscall flag.
* sysent_shorthand_defs.h (PU): New shorthand macro.
* linux/32/syscallent.h ([172], [173], [174], [175], [176], [177],
[178]): Add PU flag to getpid, getppid, getuid, geteuid, getgid,
getegid, gettid syscalls.
* linux/64/syscallent.h ([172], [173], [174], [175], [176], [177],
[178]): Add PU flag to getpid, getppid, getuid, geteuid, getgid,
getegid, gettid syscalls.
* linux/aarch64/syscallent.h ([1060]): Add PU flag to getpgrp syscalls.
* linux/alpha/syscallent.h ([20], [24], [47], [63], [64], [89],
[378]): Add PU flag to getxpid, getxuid, getxgid, getpgrp, getpagesize,
getdtablesize, gettid syscalls.
* linux/arc/syscallent.h ([246]): Add PU flag to arc_gettls syscalls.
* linux/arm/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [224], [ARM_FIRST_SHUFFLED_SYSCALL+1+6]):
Add PU flag to getpid, getuid, getgid, geteuid, getegid, getppid,
getpgrp, getuid32, getgid32, geteuid32, getegid32, gettid, get_tls
syscalls.
* linux/avr32/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[176]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/bfin/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [224]): Add PU flag to getpid, getuid,
getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/hppa/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[206]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/i386/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [224]): Add PU flag to getpid, getuid,
getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/ia64/syscallent.h ([1041], [1042], [1046], [1047], [1062],
[1063], [1105], [1171]): Add PU flag to getpid, getppid, getuid,
geteuid, getgid, getegid, gettid, getpagesize syscalls.
* linux/m68k/syscallent.h ([20], [24], [47], [49], [50], [64],
[65], [166], [199], [200], [201], [202], [221], [333]): Add PU flag
to getpid, getuid, getgid, geteuid, getegid, getppid, getpgrp,
getpagesize, getuid32, getgid32, geteuid32, getegid32, gettid,
get_thread_area syscalls.
* linux/metag/syscallent.h ([248]): Add PU flag to metag_get_tls
syscalls.
* linux/microblaze/syscallent.h ([20], [24], [47], [49], [50], [64],
[65], [199], [200], [201], [202], [224]): Add PU flag to getpid,
getuid, getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/powerpc64/syscallent.h ([20], [24], [47], [49], [50], [64],
[65], [207]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/powerpc/syscallent.h ([20], [24], [47], [49], [50], [64],
[65], [207]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/s390/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [236]): Add PU flag to getpid, getuid,
getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/s390x/syscallent.h ([20], [64], [65], [199], [200], [201],
[202], [236]): Add PU flag to getpid, getppid, getpgrp, getuid,
getgid, geteuid, getegid, gettid syscalls.
* linux/sh64/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [252]): Add PU flag to getpid, getuid,
getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/sh/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [224]): Add PU flag to getpid, getuid,
getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/sparc64/syscallent.h ([20], [24], [47], [49], [50], [64], [81],
[143], [197], [340]): Add PU flag to getpid, getuid, getgid, geteuid,
getegid, getpagesize, getpgrp, gettid, getppid, kern_features syscalls.
* linux/sparc/syscallent.h ([20], [24], [44], [47], [49], [50], [53],
[64], [69], [70], [81], [143], [197], [340]): Add PU flag to getpid,
getuid, getuid32, getgid, geteuid, getegid, getgid32, getpagesize,
geteuid32, getegid32, getpgrp, gettid, getppid, kern_features syscalls.
* linux/x32/syscallent.h ([39], [102], [104], [107], [108], [110],
[111], [186]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/x86_64/syscallent.h ([39], [102], [104], [107], [108], [110],
[111], [186]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/xtensa/syscallent.h ([120], [127], [137], [139], [140], [141],
[150], [151]): Add PU flag to getpid, gettid, getuid, getgid, geteuid,
getegid, getppid, getpgrp syscalls.
* strace.1.in (.SS Filtering): Document it.
* NEWS: Mention it.
2018-02-07 18:46:54 +01:00
[ 49 ] = { 0 , PU | NF , SEN ( geteuid ) , " geteuid " } ,
[ 50 ] = { 0 , PU | NF , SEN ( getegid ) , " getegid " } ,
2015-07-10 22:24:48 +03:00
[ 51 ] = { 1 , TF , SEN ( acct ) , " acct " } ,
[ 52 ] = { 1 , NF , SEN ( setfsuid ) , " setfsuid " } ,
[ 53 ] = { 1 , NF , SEN ( setfsgid ) , " setfsgid " } ,
[ 54 ] = { 3 , TD , SEN ( ioctl ) , " ioctl " } ,
[ 55 ] = { 3 , TD , SEN ( fcntl ) , " fcntl " } ,
[ 56 ] = { 2 , 0 , SEN ( setpgid ) , " setpgid " } ,
[ 57 ] = { 5 , TM | SI , SEN ( mremap ) , " mremap " } ,
[ 58 ] = { 3 , 0 , SEN ( setresuid ) , " setresuid " } ,
[ 59 ] = { 3 , 0 , SEN ( getresuid ) , " getresuid " } ,
[ 60 ] = { 2 , 0 , SEN ( setreuid ) , " setreuid " } ,
[ 61 ] = { 2 , 0 , SEN ( setregid ) , " setregid " } ,
Implement -e trace=%%statfs option
linux/*/syscallent*.h part is updated automatically by:
sed -i 's/\(TSF\),[[:space:]]\?/\1|TSFA,/' linux/*/syscallent*.h
sed -i 's/\(TFSF\),/\1|TSFA,/' linux/*/syscallent*.h
sed -i 's/0\(,.*ustat\)/TSFA\1/' linux/*/syscallent*.h
* sysent.h (TRACE_STATFS_LIKE): New macro.
* syscall.c: Alias TSFA to TRACE_STATFS_LIKE around syscallent.h inclusion.
* qualify.c (lookup_class): Add SCHED_STATFS_LIKE for "%%statfs".
* strace.1 (.SS Filtering): Add information about %%statfs syscall class.
* NEWS: Mention this change.
* linux/32/syscallent.h (statfs64, fstatfs64): Add TSFA flag.
* linux/64/syscallent.h (statfs, fstatfs): Likewise.
* linux/aarch64/syscallent.h (statfs, fstatfs, ustat): Likewise.
* linux/mips/syscallent-n64.h: Likewise.
* linux/x32/syscallent.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.
* linux/arm/syscallent.h (statfs, statfs64, fstatfs, fstatfs64, ustat):
Likewise.
* linux/avr32/syscallent.h: Likewise.
* linux/bfin/syscallent.h: Likewise.
* linux/crisv10/syscallent.h: Likewise.
* linux/hppa/syscallent.h: Likewise.
* linux/i386/syscallent.h: Likewise.
* linux/ia64/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/microblaze/syscallent.h: Likewise.
* linux/mips/syscallent-n32.h: Likewise.
* linux/mips/syscallent-o32.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/powerpc64/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
* linux/xtensa/syscallent.h: Likewise.
* linux/alpha/syscallent.h (osf_statfs, osf_statfs64, statfs,
ofs_fstatfs, osf_fstatfs64, ustat): Likewise.
* linux/mips/syscallent-compat.h (*_statfs, *_statvfs, *_fstatfs): Likewise.
* tests/gen_tests.in (trace_statfs_like): New entry.
* tests/trace_statfs_like.in: New file.
* tests/Makefile.am (EXTRA_DIST): Add it.
* tests/ksysent.c (TSFA): New macro, defined to 0.
* tests/nsyscalls.c: Likewise.
2017-04-16 15:30:29 +02:00
[ 62 ] = { 2 , TSFA , SEN ( ustat ) , " ustat " } ,
2015-07-10 22:24:48 +03:00
[ 63 ] = { 2 , TD , SEN ( dup2 ) , " dup2 " } ,
Add pure syscall flag
* basic_filters.c (lookup_class) <syscall_class>: Add "%pure" for
TRACE_PURE.
* sysent.h (TRACE_PURE): New syscall flag.
* sysent_shorthand_defs.h (PU): New shorthand macro.
* linux/32/syscallent.h ([172], [173], [174], [175], [176], [177],
[178]): Add PU flag to getpid, getppid, getuid, geteuid, getgid,
getegid, gettid syscalls.
* linux/64/syscallent.h ([172], [173], [174], [175], [176], [177],
[178]): Add PU flag to getpid, getppid, getuid, geteuid, getgid,
getegid, gettid syscalls.
* linux/aarch64/syscallent.h ([1060]): Add PU flag to getpgrp syscalls.
* linux/alpha/syscallent.h ([20], [24], [47], [63], [64], [89],
[378]): Add PU flag to getxpid, getxuid, getxgid, getpgrp, getpagesize,
getdtablesize, gettid syscalls.
* linux/arc/syscallent.h ([246]): Add PU flag to arc_gettls syscalls.
* linux/arm/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [224], [ARM_FIRST_SHUFFLED_SYSCALL+1+6]):
Add PU flag to getpid, getuid, getgid, geteuid, getegid, getppid,
getpgrp, getuid32, getgid32, geteuid32, getegid32, gettid, get_tls
syscalls.
* linux/avr32/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[176]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/bfin/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [224]): Add PU flag to getpid, getuid,
getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/hppa/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[206]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/i386/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [224]): Add PU flag to getpid, getuid,
getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/ia64/syscallent.h ([1041], [1042], [1046], [1047], [1062],
[1063], [1105], [1171]): Add PU flag to getpid, getppid, getuid,
geteuid, getgid, getegid, gettid, getpagesize syscalls.
* linux/m68k/syscallent.h ([20], [24], [47], [49], [50], [64],
[65], [166], [199], [200], [201], [202], [221], [333]): Add PU flag
to getpid, getuid, getgid, geteuid, getegid, getppid, getpgrp,
getpagesize, getuid32, getgid32, geteuid32, getegid32, gettid,
get_thread_area syscalls.
* linux/metag/syscallent.h ([248]): Add PU flag to metag_get_tls
syscalls.
* linux/microblaze/syscallent.h ([20], [24], [47], [49], [50], [64],
[65], [199], [200], [201], [202], [224]): Add PU flag to getpid,
getuid, getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/powerpc64/syscallent.h ([20], [24], [47], [49], [50], [64],
[65], [207]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/powerpc/syscallent.h ([20], [24], [47], [49], [50], [64],
[65], [207]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/s390/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [236]): Add PU flag to getpid, getuid,
getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/s390x/syscallent.h ([20], [64], [65], [199], [200], [201],
[202], [236]): Add PU flag to getpid, getppid, getpgrp, getuid,
getgid, geteuid, getegid, gettid syscalls.
* linux/sh64/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [252]): Add PU flag to getpid, getuid,
getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/sh/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [224]): Add PU flag to getpid, getuid,
getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/sparc64/syscallent.h ([20], [24], [47], [49], [50], [64], [81],
[143], [197], [340]): Add PU flag to getpid, getuid, getgid, geteuid,
getegid, getpagesize, getpgrp, gettid, getppid, kern_features syscalls.
* linux/sparc/syscallent.h ([20], [24], [44], [47], [49], [50], [53],
[64], [69], [70], [81], [143], [197], [340]): Add PU flag to getpid,
getuid, getuid32, getgid, geteuid, getegid, getgid32, getpagesize,
geteuid32, getegid32, getpgrp, gettid, getppid, kern_features syscalls.
* linux/x32/syscallent.h ([39], [102], [104], [107], [108], [110],
[111], [186]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/x86_64/syscallent.h ([39], [102], [104], [107], [108], [110],
[111], [186]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/xtensa/syscallent.h ([120], [127], [137], [139], [140], [141],
[150], [151]): Add PU flag to getpid, gettid, getuid, getgid, geteuid,
getegid, getppid, getpgrp syscalls.
* strace.1.in (.SS Filtering): Document it.
* NEWS: Mention it.
2018-02-07 18:46:54 +01:00
[ 64 ] = { 0 , PU | NF , SEN ( getppid ) , " getppid " } ,
[ 65 ] = { 0 , PU | NF , SEN ( getpgrp ) , " getpgrp " } ,
2015-07-10 22:24:48 +03:00
[ 66 ] = { 0 , 0 , SEN ( setsid ) , " setsid " } ,
[ 67 ] = { 4 , TS , SEN ( rt_sigaction ) , " rt_sigaction " } ,
[ 68 ] = { 0 , TS , SEN ( rt_sigreturn ) , " rt_sigreturn " } ,
[ 69 ] = { 4 , TS , SEN ( rt_sigprocmask ) , " rt_sigprocmask " } ,
[ 70 ] = { 2 , TS , SEN ( rt_sigpending ) , " rt_sigpending " } ,
[ 71 ] = { 4 , TS , SEN ( rt_sigtimedwait ) , " rt_sigtimedwait " } ,
[ 72 ] = { 3 , TS , SEN ( rt_sigqueueinfo ) , " rt_sigqueueinfo " } ,
[ 73 ] = { 2 , TS , SEN ( rt_sigsuspend ) , " rt_sigsuspend " } ,
[ 74 ] = { 2 , 0 , SEN ( sethostname ) , " sethostname " } ,
[ 75 ] = { 2 , 0 , SEN ( setrlimit ) , " setrlimit " } ,
[ 76 ] = { 2 , 0 , SEN ( getrlimit ) , " getrlimit " } ,
[ 77 ] = { 2 , 0 , SEN ( getrusage ) , " getrusage " } ,
[ 78 ] = { 2 , 0 , SEN ( gettimeofday ) , " gettimeofday " } ,
[ 79 ] = { 2 , 0 , SEN ( settimeofday ) , " settimeofday " } ,
[ 80 ] = { 2 , 0 , SEN ( getgroups ) , " getgroups " } ,
[ 81 ] = { 2 , 0 , SEN ( setgroups ) , " setgroups " } ,
[ 82 ] = { 5 , TD , SEN ( select ) , " select " } ,
[ 83 ] = { 2 , TF , SEN ( symlink ) , " symlink " } ,
[ 84 ] = { 1 , TD , SEN ( fchdir ) , " fchdir " } ,
[ 85 ] = { 3 , TF , SEN ( readlink ) , " readlink " } ,
[ 86 ] = { 5 , TD , SEN ( pread ) , " pread " } ,
[ 87 ] = { 5 , TD , SEN ( pwrite ) , " pwrite " } ,
[ 88 ] = { 2 , TF , SEN ( swapon ) , " swapon " } ,
[ 89 ] = { 4 , 0 , SEN ( reboot ) , " reboot " } ,
2015-12-08 18:13:58 +00:00
[ 90 ] = { 6 , TD | TM | SI , SEN ( mmap_pgoff ) , " mmap2 " } ,
2015-07-10 22:24:48 +03:00
[ 91 ] = { 2 , TM | SI , SEN ( munmap ) , " munmap " } ,
[ 92 ] = { 2 , TF , SEN ( truncate ) , " truncate " } ,
[ 93 ] = { 2 , TD , SEN ( ftruncate ) , " ftruncate " } ,
[ 94 ] = { 2 , TD , SEN ( fchmod ) , " fchmod " } ,
[ 95 ] = { 3 , TD , SEN ( fchown ) , " fchown " } ,
[ 96 ] = { 2 , 0 , SEN ( getpriority ) , " getpriority " } ,
[ 97 ] = { 3 , 0 , SEN ( setpriority ) , " setpriority " } ,
[ 98 ] = { 4 , TP , SEN ( wait4 ) , " wait4 " } ,
Implement -e trace=%%statfs option
linux/*/syscallent*.h part is updated automatically by:
sed -i 's/\(TSF\),[[:space:]]\?/\1|TSFA,/' linux/*/syscallent*.h
sed -i 's/\(TFSF\),/\1|TSFA,/' linux/*/syscallent*.h
sed -i 's/0\(,.*ustat\)/TSFA\1/' linux/*/syscallent*.h
* sysent.h (TRACE_STATFS_LIKE): New macro.
* syscall.c: Alias TSFA to TRACE_STATFS_LIKE around syscallent.h inclusion.
* qualify.c (lookup_class): Add SCHED_STATFS_LIKE for "%%statfs".
* strace.1 (.SS Filtering): Add information about %%statfs syscall class.
* NEWS: Mention this change.
* linux/32/syscallent.h (statfs64, fstatfs64): Add TSFA flag.
* linux/64/syscallent.h (statfs, fstatfs): Likewise.
* linux/aarch64/syscallent.h (statfs, fstatfs, ustat): Likewise.
* linux/mips/syscallent-n64.h: Likewise.
* linux/x32/syscallent.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.
* linux/arm/syscallent.h (statfs, statfs64, fstatfs, fstatfs64, ustat):
Likewise.
* linux/avr32/syscallent.h: Likewise.
* linux/bfin/syscallent.h: Likewise.
* linux/crisv10/syscallent.h: Likewise.
* linux/hppa/syscallent.h: Likewise.
* linux/i386/syscallent.h: Likewise.
* linux/ia64/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/microblaze/syscallent.h: Likewise.
* linux/mips/syscallent-n32.h: Likewise.
* linux/mips/syscallent-o32.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/powerpc64/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
* linux/xtensa/syscallent.h: Likewise.
* linux/alpha/syscallent.h (osf_statfs, osf_statfs64, statfs,
ofs_fstatfs, osf_fstatfs64, ustat): Likewise.
* linux/mips/syscallent-compat.h (*_statfs, *_statvfs, *_fstatfs): Likewise.
* tests/gen_tests.in (trace_statfs_like): New entry.
* tests/trace_statfs_like.in: New file.
* tests/Makefile.am (EXTRA_DIST): Add it.
* tests/ksysent.c (TSFA): New macro, defined to 0.
* tests/nsyscalls.c: Likewise.
2017-04-16 15:30:29 +02:00
[ 99 ] = { 2 , TF | TSF | TSFA , SEN ( statfs ) , " statfs " } ,
[ 100 ] = { 2 , TD | TFSF | TSFA , SEN ( fstatfs ) , " fstatfs " } ,
2015-07-10 22:24:48 +03:00
[ 101 ] = { 0 , 0 , SEN ( vhangup ) , " vhangup " } ,
[ 102 ] = { 2 , TS , SEN ( sigaltstack ) , " sigaltstack " } ,
[ 103 ] = { 3 , 0 , SEN ( syslog ) , " syslog " } ,
[ 104 ] = { 3 , 0 , SEN ( setitimer ) , " setitimer " } ,
[ 105 ] = { 2 , 0 , SEN ( getitimer ) , " getitimer " } ,
[ 106 ] = { 1 , TF , SEN ( swapoff ) , " swapoff " } ,
[ 107 ] = { 1 , 0 , SEN ( sysinfo ) , " sysinfo " } ,
[ 108 ] = { 6 , TI , SEN ( ipc ) , " ipc " } ,
[ 109 ] = { 4 , TD | TN , SEN ( sendfile ) , " sendfile " } ,
[ 110 ] = { 2 , 0 , SEN ( setdomainname ) , " setdomainname " } ,
[ 111 ] = { 1 , 0 , SEN ( uname ) , " uname " } ,
[ 112 ] = { 1 , 0 , SEN ( adjtimex ) , " adjtimex " } ,
[ 113 ] = { 3 , TM | SI , SEN ( mprotect ) , " mprotect " } ,
[ 114 ] = { 0 , TP , SEN ( vfork ) , " vfork " } ,
[ 115 ] = { 3 , 0 , SEN ( init_module ) , " init_module " } ,
[ 116 ] = { 2 , 0 , SEN ( delete_module ) , " delete_module " } ,
[ 117 ] = { 4 , TF , SEN ( quotactl ) , " quotactl " } ,
[ 118 ] = { 1 , 0 , SEN ( getpgid ) , " getpgid " } ,
2015-11-24 02:17:48 +00:00
[ 119 ] = { 2 , 0 , SEN ( bdflush ) , " bdflush " } ,
2015-07-10 22:24:48 +03:00
[ 120 ] = { 3 , 0 , SEN ( sysfs ) , " sysfs " } ,
2015-12-25 00:34:07 +00:00
[ 121 ] = { 1 , NF , SEN ( personality ) , " personality " } ,
2015-07-10 22:24:48 +03:00
[ 122 ] = { 5 , 0 , SEN ( afs_syscall ) , " afs_syscall " } ,
[ 123 ] = { 3 , TD , SEN ( getdents ) , " getdents " } ,
[ 124 ] = { 2 , TD , SEN ( flock ) , " flock " } ,
[ 125 ] = { 3 , TM , SEN ( msync ) , " msync " } ,
[ 126 ] = { 3 , TD , SEN ( readv ) , " readv " } ,
[ 127 ] = { 3 , TD , SEN ( writev ) , " writev " } ,
[ 128 ] = { 1 , 0 , SEN ( getsid ) , " getsid " } ,
[ 129 ] = { 1 , TD , SEN ( fdatasync ) , " fdatasync " } ,
[ 130 ] = { 1 , 0 , SEN ( sysctl ) , " _sysctl " } ,
[ 131 ] = { 2 , TM , SEN ( mlock ) , " mlock " } ,
[ 132 ] = { 2 , TM , SEN ( munlock ) , " munlock " } ,
[ 133 ] = { 1 , TM , SEN ( mlockall ) , " mlockall " } ,
[ 134 ] = { 0 , TM , SEN ( munlockall ) , " munlockall " } ,
2017-04-14 15:06:42 +00:00
[ 135 ] = { 2 , 0 , SEN ( sched_setparam ) , " sched_setparam " } ,
[ 136 ] = { 2 , 0 , SEN ( sched_getparam ) , " sched_getparam " } ,
[ 137 ] = { 3 , 0 , SEN ( sched_setscheduler ) , " sched_setscheduler " } ,
[ 138 ] = { 1 , 0 , SEN ( sched_getscheduler ) , " sched_getscheduler " } ,
[ 139 ] = { 0 , 0 , SEN ( sched_yield ) , " sched_yield " } ,
[ 140 ] = { 1 , 0 , SEN ( sched_get_priority_max ) , " sched_get_priority_max " } ,
[ 141 ] = { 1 , 0 , SEN ( sched_get_priority_min ) , " sched_get_priority_min " } ,
[ 142 ] = { 2 , 0 , SEN ( sched_rr_get_interval ) , " sched_rr_get_interval " } ,
2015-07-10 22:24:48 +03:00
[ 143 ] = { 2 , 0 , SEN ( nanosleep ) , " nanosleep " } ,
[ 144 ] = { 3 , TD , SEN ( poll ) , " poll " } ,
[ 145 ] = { 3 , 0 , SEN ( nfsservctl ) , " nfsservctl " } ,
[ 146 ] = { 3 , 0 , SEN ( setresgid ) , " setresgid " } ,
[ 147 ] = { 3 , 0 , SEN ( getresgid ) , " getresgid " } ,
[ 148 ] = { 5 , 0 , SEN ( prctl ) , " prctl " } ,
[ 149 ] = { 3 , TN , SEN ( socket ) , " socket " } ,
[ 150 ] = { 3 , TN , SEN ( bind ) , " bind " } ,
[ 151 ] = { 3 , TN , SEN ( connect ) , " connect " } ,
[ 152 ] = { 2 , TN , SEN ( listen ) , " listen " } ,
[ 153 ] = { 3 , TN , SEN ( accept ) , " accept " } ,
[ 154 ] = { 3 , TN , SEN ( getsockname ) , " getsockname " } ,
[ 155 ] = { 3 , TN , SEN ( getpeername ) , " getpeername " } ,
[ 156 ] = { 4 , TN , SEN ( socketpair ) , " socketpair " } ,
[ 157 ] = { 4 , TN , SEN ( send ) , " send " } ,
[ 158 ] = { 4 , TN , SEN ( recv ) , " recv " } ,
[ 159 ] = { 6 , TN , SEN ( sendto ) , " sendto " } ,
[ 160 ] = { 6 , TN , SEN ( recvfrom ) , " recvfrom " } ,
[ 161 ] = { 2 , TN , SEN ( shutdown ) , " shutdown " } ,
[ 162 ] = { 5 , TN , SEN ( setsockopt ) , " setsockopt " } ,
[ 163 ] = { 5 , TN , SEN ( getsockopt ) , " getsockopt " } ,
[ 164 ] = { 3 , TN , SEN ( sendmsg ) , " sendmsg " } ,
[ 165 ] = { 3 , TN , SEN ( recvmsg ) , " recvmsg " } ,
[ 166 ] = { 3 , TF , SEN ( truncate64 ) , " truncate64 " } ,
[ 167 ] = { 3 , TD , SEN ( ftruncate64 ) , " ftruncate64 " } ,
Implement -e trace=%stat option
linux/*/syscallent*.h part is updated automatically by:
sed -i '/statx/! s/TF|TSTA,/TF|TST|TSTA,/' linux/*/syscallent*.h
* sysent.h (TRACE_STAT): New macro.
* syscall.c: Alias LST to TRACE_STAT around syscallent.h inclusion.
* qualify.c (lookup_class): Add TRACE_STAT for "%stat".
* strace.1 (.SS Filtering): Add information about %stat syscall class.
* NEWS: Mention this change.
* linux/aarch64/syscallent.h (stat): Add TST flag.
* linux/ia64/syscallent.h: Likewise.
* linux/mips/syscallent-n32.h: Likewise.
* linux/mips/syscallent-n64.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/x32/syscallent.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.
* linux/arm/syscallent.h (oldstat, stat, stat64): Likewise.
* linux/bfin/syscallent.h: Likewise.
* linux/crisv10/syscallent.h: Likewise.
* linux/i386/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/microblaze/syscallent.h: Likewise.
* linux/mips/syscallent-o32.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/avr32/syscallent.h (stat, stat64): Likewise.
* linux/hppa/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/xtensa/syscallent.h: Likewise.
* linux/powerpc64/syscallent.h (oldstat, stat): Likewise.
* linux/alpha/syscallent.h (osf_old_stat, osf_stat, stat, stat64): Likewise.
* linux/mips/syscallent-compat.h (bsd43_oldstat, bsd43_stat, posix_stat,
svr4_stat, svr4_xstat, sysv_stat, sysv_xstat): Likewise.
* tests/gen_tests.in (trace_stat): New entry.
* tests/trace_stat.in: New file.
* tests/Makefile.am (EXTRA_DIST): Add it.
* tests/ksysent.c (TST): New macro, defined to 0.
* tests/nsyscalls.c: Likewise.
2017-04-18 03:14:52 +02:00
[ 168 ] = { 2 , TF | TST | TSTA , SEN ( stat64 ) , " stat64 " } ,
Implement -e trace=%lstat option
linux/*/syscallent*.h part is updated automatically by:
sed -i '/TSTA,.*lx\?stat/ s/TSTA,/TLST|&/' linux/*/syscallent*.h
* sysent.h (TRACE_LSTAT): New macro.
* syscall.c: Alias TLST to TRACE_LSTAT around syscallent.h inclusion.
* qualify.c (lookup_class): Add TRACE_LSTAT for "%lstat".
* strace.1 (.SS Filtering): Add information about %lstat syscall class.
* NEWS: Mention this change.
* linux/aarch64/syscallent.h (lstat): Likewise.
* linux/ia64/syscallent.h: Likewise.
* linux/mips/syscallent-n32.h: Likewise.
* linux/mips/syscallent-n64.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/x32/syscallent.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.
* linux/arm/syscallent.h (lstat, lstat64, oldlstat): Likewise.
* linux/bfin/syscallent.h: Likewise.
* linux/crisv10/syscallent.h: Likewise.
* linux/i386/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/microblaze/syscallent.h: Likewise.
* linux/mips/syscallent-o32.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/avr32/syscallent.h (lstat, lstat64): Likewise.
* linux/hppa/syscallent.h: Likewise.
* linux/powerpc64/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/xtensa/syscallent.h: Likewise.
* linux/alpha/syscallent.h (lstat, lstat64, osf_lstat, osf_old_lstat): Likewise.
* linux/mips/syscallent-compat.h (bsd43_lstat, posix_lstat, svr4_lstat,
sysv_lstat): Likewise.
* tests/gen_tests.in (trace_lstat): New entry.
* tests/trace_lstat.in: New file.
* tests/Makefile.am (EXTRA_DIST): Add it.
* tests/ksysent.c (TLST): New macro, defined to 0.
* tests/nsyscalls.c: Likewise.
2017-04-18 02:23:05 +02:00
[ 169 ] = { 2 , TF | TLST | TSTA , SEN ( lstat64 ) , " lstat64 " } ,
Implement -e trace=%fstat option
linux/*/syscallent*.h part is updated automatically by:
sed -i -e '/TSTA.*fx\?stat/ s/TSTA,/TFST|&/' \
-e 's/\(TD|TF|TFST|TSTA,\)[[:space:]]/\1/' linux/*/syscallent*.h
* sysent.h (TRACE_FSTAT): New macro.
* syscall.c: Alias TFST to TRACE_FSTAT around syscallent.h inclusion.
* qualify.c (lookup_class): Add TRACE_FSTAT for "%fstat".
* strace.1 (.SS Filtering): Add information about %fstat syscall class.
* NEWS: Mention this change.
* linux/32/syscallent.h (fstat64, fstatat64): Add TFST flag.
* linux/64/syscallent.h (fstat, newfstatat): Likewise.
* linux/aarch64/syscallent.h: Likewise.
* linux/ia64/syscallent.h: Likewise.
* linux/mips/syscallent-n32.h: Likewise.
* linux/mips/syscallent-n64.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/x32/syscallent.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.
* linux/arm/syscallent.h (fstat, fstat64, fstatat64, oldfstat): Likewise.
* linux/bfin/syscallent.h: Likewise.
* linux/crisv10/syscallent.h: Likewise.
* linux/i386/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/microblaze/syscallent.h: Likewise.
* linux/mips/syscallent-o32.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/avr32/syscallent.h (fstat, fstat64, fstatat64): Likewise.
* linux/hppa/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/xtensa/syscallent.h: Likewise.
* linux/alpha/syscallent.h (fstat, fstat64, fstatat64, osf_fstat,
osf_old_fstat): Likewise.
* linux/powerpc64/syscallent.h (fstat, newfstatat, oldfstat): Likewise.
* linux/mips/syscallent-compat.h (bsd43_fstat, bsd43_oldfstat, posix_fstat,
svr4_fstat, sysv_fstat): Likewise.
* tests/gen_tests.in (trace_fstat): New entry.
* tests/trace_fstat.in: New file.
* tests/Makefile.am (EXTRA_DIST): Add it.
* tests/ksysent.c (TFST): New macro, defined to 0.
* tests/nsyscalls.c: Likewise.
2017-04-18 01:52:58 +02:00
[ 170 ] = { 2 , TD | TFST | TSTA , SEN ( fstat64 ) , " fstat64 " } ,
2015-07-10 22:24:48 +03:00
[ 171 ] = { 2 , TF , SEN ( pivotroot ) , " pivot_root " } ,
[ 172 ] = { 3 , TM , SEN ( mincore ) , " mincore " } ,
[ 173 ] = { 3 , TM , SEN ( madvise ) , " madvise " } ,
[ 174 ] = { 3 , TD , SEN ( getdents64 ) , " getdents64 " } ,
2015-12-05 00:42:58 +03:00
[ 175 ] = { 3 , TD , SEN ( fcntl64 ) , " fcntl64 " } ,
Add pure syscall flag
* basic_filters.c (lookup_class) <syscall_class>: Add "%pure" for
TRACE_PURE.
* sysent.h (TRACE_PURE): New syscall flag.
* sysent_shorthand_defs.h (PU): New shorthand macro.
* linux/32/syscallent.h ([172], [173], [174], [175], [176], [177],
[178]): Add PU flag to getpid, getppid, getuid, geteuid, getgid,
getegid, gettid syscalls.
* linux/64/syscallent.h ([172], [173], [174], [175], [176], [177],
[178]): Add PU flag to getpid, getppid, getuid, geteuid, getgid,
getegid, gettid syscalls.
* linux/aarch64/syscallent.h ([1060]): Add PU flag to getpgrp syscalls.
* linux/alpha/syscallent.h ([20], [24], [47], [63], [64], [89],
[378]): Add PU flag to getxpid, getxuid, getxgid, getpgrp, getpagesize,
getdtablesize, gettid syscalls.
* linux/arc/syscallent.h ([246]): Add PU flag to arc_gettls syscalls.
* linux/arm/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [224], [ARM_FIRST_SHUFFLED_SYSCALL+1+6]):
Add PU flag to getpid, getuid, getgid, geteuid, getegid, getppid,
getpgrp, getuid32, getgid32, geteuid32, getegid32, gettid, get_tls
syscalls.
* linux/avr32/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[176]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/bfin/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [224]): Add PU flag to getpid, getuid,
getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/hppa/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[206]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/i386/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [224]): Add PU flag to getpid, getuid,
getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/ia64/syscallent.h ([1041], [1042], [1046], [1047], [1062],
[1063], [1105], [1171]): Add PU flag to getpid, getppid, getuid,
geteuid, getgid, getegid, gettid, getpagesize syscalls.
* linux/m68k/syscallent.h ([20], [24], [47], [49], [50], [64],
[65], [166], [199], [200], [201], [202], [221], [333]): Add PU flag
to getpid, getuid, getgid, geteuid, getegid, getppid, getpgrp,
getpagesize, getuid32, getgid32, geteuid32, getegid32, gettid,
get_thread_area syscalls.
* linux/metag/syscallent.h ([248]): Add PU flag to metag_get_tls
syscalls.
* linux/microblaze/syscallent.h ([20], [24], [47], [49], [50], [64],
[65], [199], [200], [201], [202], [224]): Add PU flag to getpid,
getuid, getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/powerpc64/syscallent.h ([20], [24], [47], [49], [50], [64],
[65], [207]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/powerpc/syscallent.h ([20], [24], [47], [49], [50], [64],
[65], [207]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/s390/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [236]): Add PU flag to getpid, getuid,
getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/s390x/syscallent.h ([20], [64], [65], [199], [200], [201],
[202], [236]): Add PU flag to getpid, getppid, getpgrp, getuid,
getgid, geteuid, getegid, gettid syscalls.
* linux/sh64/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [252]): Add PU flag to getpid, getuid,
getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/sh/syscallent.h ([20], [24], [47], [49], [50], [64], [65],
[199], [200], [201], [202], [224]): Add PU flag to getpid, getuid,
getgid, geteuid, getegid, getppid, getpgrp, getuid32, getgid32,
geteuid32, getegid32, gettid syscalls.
* linux/sparc64/syscallent.h ([20], [24], [47], [49], [50], [64], [81],
[143], [197], [340]): Add PU flag to getpid, getuid, getgid, geteuid,
getegid, getpagesize, getpgrp, gettid, getppid, kern_features syscalls.
* linux/sparc/syscallent.h ([20], [24], [44], [47], [49], [50], [53],
[64], [69], [70], [81], [143], [197], [340]): Add PU flag to getpid,
getuid, getuid32, getgid, geteuid, getegid, getgid32, getpagesize,
geteuid32, getegid32, getpgrp, gettid, getppid, kern_features syscalls.
* linux/x32/syscallent.h ([39], [102], [104], [107], [108], [110],
[111], [186]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/x86_64/syscallent.h ([39], [102], [104], [107], [108], [110],
[111], [186]): Add PU flag to getpid, getuid, getgid, geteuid, getegid,
getppid, getpgrp, gettid syscalls.
* linux/xtensa/syscallent.h ([120], [127], [137], [139], [140], [141],
[150], [151]): Add PU flag to getpid, gettid, getuid, getgid, geteuid,
getegid, getppid, getpgrp syscalls.
* strace.1.in (.SS Filtering): Document it.
* NEWS: Mention it.
2018-02-07 18:46:54 +01:00
[ 176 ] = { 0 , PU | NF , SEN ( gettid ) , " gettid " } ,
2015-07-10 22:24:48 +03:00
[ 177 ] = { 4 , TD , SEN ( readahead ) , " readahead " } ,
[ 178 ] = { 5 , TF , SEN ( setxattr ) , " setxattr " } ,
[ 179 ] = { 5 , TF , SEN ( setxattr ) , " lsetxattr " } ,
[ 180 ] = { 5 , TD , SEN ( fsetxattr ) , " fsetxattr " } ,
[ 181 ] = { 4 , TF , SEN ( getxattr ) , " getxattr " } ,
[ 182 ] = { 4 , TF , SEN ( getxattr ) , " lgetxattr " } ,
[ 183 ] = { 4 , TD , SEN ( fgetxattr ) , " fgetxattr " } ,
[ 184 ] = { 3 , TF , SEN ( listxattr ) , " listxattr " } ,
[ 185 ] = { 3 , TF , SEN ( listxattr ) , " llistxattr " } ,
[ 186 ] = { 3 , TD , SEN ( flistxattr ) , " flistxattr " } ,
[ 187 ] = { 2 , TF , SEN ( removexattr ) , " removexattr " } ,
[ 188 ] = { 2 , TF , SEN ( removexattr ) , " lremovexattr " } ,
[ 189 ] = { 2 , TD , SEN ( fremovexattr ) , " fremovexattr " } ,
[ 190 ] = { 2 , TS , SEN ( kill ) , " tkill " } ,
[ 191 ] = { 4 , TD | TN , SEN ( sendfile64 ) , " sendfile64 " } ,
[ 192 ] = { 6 , 0 , SEN ( futex ) , " futex " } ,
2017-04-14 15:06:42 +00:00
[ 193 ] = { 3 , 0 , SEN ( sched_setaffinity ) , " sched_setaffinity " } ,
[ 194 ] = { 3 , 0 , SEN ( sched_getaffinity ) , " sched_getaffinity " } ,
2015-07-10 22:24:48 +03:00
[ 195 ] = { 2 , 0 , SEN ( capget ) , " capget " } ,
[ 196 ] = { 2 , 0 , SEN ( capset ) , " capset " } ,
2016-09-09 02:38:32 +00:00
[ 197 ] = { 2 , TM , SEN ( io_setup ) , " io_setup " } ,
[ 198 ] = { 1 , TM , SEN ( io_destroy ) , " io_destroy " } ,
2015-07-10 22:24:48 +03:00
[ 199 ] = { 5 , 0 , SEN ( io_getevents ) , " io_getevents " } ,
[ 200 ] = { 3 , 0 , SEN ( io_submit ) , " io_submit " } ,
[ 201 ] = { 3 , 0 , SEN ( io_cancel ) , " io_cancel " } ,
[ 202 ] = { 5 , TD , SEN ( fadvise64 ) , " fadvise64 " } ,
[ 203 ] = { 1 , TP | SE , SEN ( exit ) , " exit_group " } ,
[ 204 ] = { 4 , 0 , SEN ( lookup_dcookie ) , " lookup_dcookie " } ,
[ 205 ] = { 1 , TD , SEN ( epoll_create ) , " epoll_create " } ,
[ 206 ] = { 4 , TD , SEN ( epoll_ctl ) , " epoll_ctl " } ,
[ 207 ] = { 4 , TD , SEN ( epoll_wait ) , " epoll_wait " } ,
[ 208 ] = { 5 , TM | SI , SEN ( remap_file_pages ) , " remap_file_pages " } ,
[ 209 ] = { 1 , 0 , SEN ( set_tid_address ) , " set_tid_address " } ,
[ 210 ] = { 3 , 0 , SEN ( timer_create ) , " timer_create " } ,
[ 211 ] = { 4 , 0 , SEN ( timer_settime ) , " timer_settime " } ,
[ 212 ] = { 2 , 0 , SEN ( timer_gettime ) , " timer_gettime " } ,
[ 213 ] = { 1 , 0 , SEN ( timer_getoverrun ) , " timer_getoverrun " } ,
[ 214 ] = { 1 , 0 , SEN ( timer_delete ) , " timer_delete " } ,
2017-04-14 15:06:42 +00:00
[ 215 ] = { 2 , 0 , SEN ( clock_settime ) , " clock_settime " } ,
[ 216 ] = { 2 , 0 , SEN ( clock_gettime ) , " clock_gettime " } ,
[ 217 ] = { 2 , 0 , SEN ( clock_getres ) , " clock_getres " } ,
[ 218 ] = { 4 , 0 , SEN ( clock_nanosleep ) , " clock_nanosleep " } ,
Implement -e trace=%%statfs option
linux/*/syscallent*.h part is updated automatically by:
sed -i 's/\(TSF\),[[:space:]]\?/\1|TSFA,/' linux/*/syscallent*.h
sed -i 's/\(TFSF\),/\1|TSFA,/' linux/*/syscallent*.h
sed -i 's/0\(,.*ustat\)/TSFA\1/' linux/*/syscallent*.h
* sysent.h (TRACE_STATFS_LIKE): New macro.
* syscall.c: Alias TSFA to TRACE_STATFS_LIKE around syscallent.h inclusion.
* qualify.c (lookup_class): Add SCHED_STATFS_LIKE for "%%statfs".
* strace.1 (.SS Filtering): Add information about %%statfs syscall class.
* NEWS: Mention this change.
* linux/32/syscallent.h (statfs64, fstatfs64): Add TSFA flag.
* linux/64/syscallent.h (statfs, fstatfs): Likewise.
* linux/aarch64/syscallent.h (statfs, fstatfs, ustat): Likewise.
* linux/mips/syscallent-n64.h: Likewise.
* linux/x32/syscallent.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.
* linux/arm/syscallent.h (statfs, statfs64, fstatfs, fstatfs64, ustat):
Likewise.
* linux/avr32/syscallent.h: Likewise.
* linux/bfin/syscallent.h: Likewise.
* linux/crisv10/syscallent.h: Likewise.
* linux/hppa/syscallent.h: Likewise.
* linux/i386/syscallent.h: Likewise.
* linux/ia64/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/microblaze/syscallent.h: Likewise.
* linux/mips/syscallent-n32.h: Likewise.
* linux/mips/syscallent-o32.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/powerpc64/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
* linux/xtensa/syscallent.h: Likewise.
* linux/alpha/syscallent.h (osf_statfs, osf_statfs64, statfs,
ofs_fstatfs, osf_fstatfs64, ustat): Likewise.
* linux/mips/syscallent-compat.h (*_statfs, *_statvfs, *_fstatfs): Likewise.
* tests/gen_tests.in (trace_statfs_like): New entry.
* tests/trace_statfs_like.in: New file.
* tests/Makefile.am (EXTRA_DIST): Add it.
* tests/ksysent.c (TSFA): New macro, defined to 0.
* tests/nsyscalls.c: Likewise.
2017-04-16 15:30:29 +02:00
[ 219 ] = { 3 , TF | TSF | TSFA , SEN ( statfs64 ) , " statfs64 " } ,
[ 220 ] = { 3 , TD | TFSF | TSFA , SEN ( fstatfs64 ) , " fstatfs64 " } ,
2015-07-10 22:24:48 +03:00
[ 221 ] = { 3 , TS , SEN ( tgkill ) , " tgkill " } ,
2015-01-11 02:42:56 +00:00
[ 222 ] = { } ,
2015-07-10 22:24:48 +03:00
[ 223 ] = { 2 , TF , SEN ( utimes ) , " utimes " } ,
[ 224 ] = { 6 , TD , SEN ( fadvise64_64 ) , " fadvise64_64 " } ,
[ 225 ] = { 3 , 0 , SEN ( printargs ) , " cacheflush " } ,
[ 226 ] = { 5 , 0 , SEN ( vserver ) , " vserver " } ,
Enhance decoding of mq_* syscalls
* mq.c (SYS_FUNC(mq_open)): Add RVAL_FD to return value.
(SYS_FUNC(mq_timedsend), SYS_FUNC(mq_timedreceive), SYS_FUNC(mq_notify),
SYS_FUNC(mq_getsetattr)): Print the first argument using printfd.
* NEWS: Mention this change.
* pathtrace.c (pathtrace_match_set) <SEN_mq_getsetattr, SEN_mq_notify,
SEN_mq_open, SEN_mq_timedreceive, SEN_mq_timedsend>: Skip matching.
* linux/32/syscallent.h (mq_getsetattr, mq_notify, mq_open,
mq_timedreceive, mq_timedsend): Add TD flag.
* linux/64/syscallent.h: Likewise.
* linux/alpha/syscallent.h: Likewise.
* linux/arm/syscallent.h: Likewise.
* linux/avr32/syscallent.h: Likewise.
* linux/bfin/syscallent.h: Likewise.
* linux/crisv10/syscallent.h: Likewise.
* linux/hppa/syscallent.h: Likewise.
* linux/i386/syscallent.h: Likewise.
* linux/ia64/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/microblaze/syscallent.h: Likewise.
* linux/mips/syscallent-n32.h: Likewise.
* linux/mips/syscallent-n64.h: Likewise.
* linux/mips/syscallent-o32.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/powerpc64/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
* linux/x32/syscallent.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.
* linux/xtensa/syscallent.h: Likewise.
2018-01-15 22:47:38 +00:00
[ 227 ] = { 4 , TD , SEN ( mq_open ) , " mq_open " } ,
2015-07-10 22:24:48 +03:00
[ 228 ] = { 1 , 0 , SEN ( mq_unlink ) , " mq_unlink " } ,
Enhance decoding of mq_* syscalls
* mq.c (SYS_FUNC(mq_open)): Add RVAL_FD to return value.
(SYS_FUNC(mq_timedsend), SYS_FUNC(mq_timedreceive), SYS_FUNC(mq_notify),
SYS_FUNC(mq_getsetattr)): Print the first argument using printfd.
* NEWS: Mention this change.
* pathtrace.c (pathtrace_match_set) <SEN_mq_getsetattr, SEN_mq_notify,
SEN_mq_open, SEN_mq_timedreceive, SEN_mq_timedsend>: Skip matching.
* linux/32/syscallent.h (mq_getsetattr, mq_notify, mq_open,
mq_timedreceive, mq_timedsend): Add TD flag.
* linux/64/syscallent.h: Likewise.
* linux/alpha/syscallent.h: Likewise.
* linux/arm/syscallent.h: Likewise.
* linux/avr32/syscallent.h: Likewise.
* linux/bfin/syscallent.h: Likewise.
* linux/crisv10/syscallent.h: Likewise.
* linux/hppa/syscallent.h: Likewise.
* linux/i386/syscallent.h: Likewise.
* linux/ia64/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/microblaze/syscallent.h: Likewise.
* linux/mips/syscallent-n32.h: Likewise.
* linux/mips/syscallent-n64.h: Likewise.
* linux/mips/syscallent-o32.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/powerpc64/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
* linux/x32/syscallent.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.
* linux/xtensa/syscallent.h: Likewise.
2018-01-15 22:47:38 +00:00
[ 229 ] = { 5 , TD , SEN ( mq_timedsend ) , " mq_timedsend " } ,
[ 230 ] = { 5 , TD , SEN ( mq_timedreceive ) , " mq_timedreceive " } ,
[ 231 ] = { 2 , TD , SEN ( mq_notify ) , " mq_notify " } ,
[ 232 ] = { 3 , TD , SEN ( mq_getsetattr ) , " mq_getsetattr " } ,
2015-07-10 22:24:48 +03:00
[ 233 ] = { 4 , 0 , SEN ( kexec_load ) , " kexec_load " } ,
[ 234 ] = { 5 , TP , SEN ( waitid ) , " waitid " } ,
[ 235 ] = { 5 , 0 , SEN ( add_key ) , " add_key " } ,
[ 236 ] = { 4 , 0 , SEN ( request_key ) , " request_key " } ,
[ 237 ] = { 5 , 0 , SEN ( keyctl ) , " keyctl " } ,
[ 238 ] = { 3 , 0 , SEN ( ioprio_set ) , " ioprio_set " } ,
[ 239 ] = { 2 , 0 , SEN ( ioprio_get ) , " ioprio_get " } ,
[ 240 ] = { 0 , TD , SEN ( inotify_init ) , " inotify_init " } ,
2017-08-11 12:43:58 +07:00
[ 241 ] = { 3 , TD | TF , SEN ( inotify_add_watch ) , " inotify_add_watch " } ,
2015-07-10 22:24:48 +03:00
[ 242 ] = { 2 , TD , SEN ( inotify_rm_watch ) , " inotify_rm_watch " } ,
[ 243 ] = { 4 , TD | TF , SEN ( openat ) , " openat " } ,
[ 244 ] = { 3 , TD | TF , SEN ( mkdirat ) , " mkdirat " } ,
[ 245 ] = { 4 , TD | TF , SEN ( mknodat ) , " mknodat " } ,
[ 246 ] = { 5 , TD | TF , SEN ( fchownat ) , " fchownat " } ,
[ 247 ] = { 3 , TD | TF , SEN ( futimesat ) , " futimesat " } ,
Implement -e trace=%fstat option
linux/*/syscallent*.h part is updated automatically by:
sed -i -e '/TSTA.*fx\?stat/ s/TSTA,/TFST|&/' \
-e 's/\(TD|TF|TFST|TSTA,\)[[:space:]]/\1/' linux/*/syscallent*.h
* sysent.h (TRACE_FSTAT): New macro.
* syscall.c: Alias TFST to TRACE_FSTAT around syscallent.h inclusion.
* qualify.c (lookup_class): Add TRACE_FSTAT for "%fstat".
* strace.1 (.SS Filtering): Add information about %fstat syscall class.
* NEWS: Mention this change.
* linux/32/syscallent.h (fstat64, fstatat64): Add TFST flag.
* linux/64/syscallent.h (fstat, newfstatat): Likewise.
* linux/aarch64/syscallent.h: Likewise.
* linux/ia64/syscallent.h: Likewise.
* linux/mips/syscallent-n32.h: Likewise.
* linux/mips/syscallent-n64.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/x32/syscallent.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.
* linux/arm/syscallent.h (fstat, fstat64, fstatat64, oldfstat): Likewise.
* linux/bfin/syscallent.h: Likewise.
* linux/crisv10/syscallent.h: Likewise.
* linux/i386/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/microblaze/syscallent.h: Likewise.
* linux/mips/syscallent-o32.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/avr32/syscallent.h (fstat, fstat64, fstatat64): Likewise.
* linux/hppa/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/xtensa/syscallent.h: Likewise.
* linux/alpha/syscallent.h (fstat, fstat64, fstatat64, osf_fstat,
osf_old_fstat): Likewise.
* linux/powerpc64/syscallent.h (fstat, newfstatat, oldfstat): Likewise.
* linux/mips/syscallent-compat.h (bsd43_fstat, bsd43_oldfstat, posix_fstat,
svr4_fstat, sysv_fstat): Likewise.
* tests/gen_tests.in (trace_fstat): New entry.
* tests/trace_fstat.in: New file.
* tests/Makefile.am (EXTRA_DIST): Add it.
* tests/ksysent.c (TFST): New macro, defined to 0.
* tests/nsyscalls.c: Likewise.
2017-04-18 01:52:58 +02:00
[ 248 ] = { 4 , TD | TF | TFST | TSTA , SEN ( fstatat64 ) , " fstatat64 " } ,
2015-07-10 22:24:48 +03:00
[ 249 ] = { 3 , TD | TF , SEN ( unlinkat ) , " unlinkat " } ,
[ 250 ] = { 4 , TD | TF , SEN ( renameat ) , " renameat " } ,
[ 251 ] = { 5 , TD | TF , SEN ( linkat ) , " linkat " } ,
[ 252 ] = { 3 , TD | TF , SEN ( symlinkat ) , " symlinkat " } ,
[ 253 ] = { 4 , TD | TF , SEN ( readlinkat ) , " readlinkat " } ,
[ 254 ] = { 3 , TD | TF , SEN ( fchmodat ) , " fchmodat " } ,
[ 255 ] = { 3 , TD | TF , SEN ( faccessat ) , " faccessat " } ,
[ 256 ] = { 6 , TD , SEN ( pselect6 ) , " pselect6 " } ,
[ 257 ] = { 5 , TD , SEN ( ppoll ) , " ppoll " } ,
[ 258 ] = { 1 , TP , SEN ( unshare ) , " unshare " } ,
[ 259 ] = { 2 , 0 , SEN ( set_robust_list ) , " set_robust_list " } ,
[ 260 ] = { 3 , 0 , SEN ( get_robust_list ) , " get_robust_list " } ,
[ 261 ] = { 6 , TD , SEN ( splice ) , " splice " } ,
[ 262 ] = { 6 , TD , SEN ( sync_file_range ) , " sync_file_range " } ,
[ 263 ] = { 4 , TD , SEN ( tee ) , " tee " } ,
[ 264 ] = { 4 , TD , SEN ( vmsplice ) , " vmsplice " } ,
[ 265 ] = { 6 , TD , SEN ( epoll_pwait ) , " epoll_pwait " } ,
[ 266 ] = { 2 , TI , SEN ( msgget ) , " msgget " } ,
[ 267 ] = { 4 , TI , SEN ( msgsnd ) , " msgsnd " } ,
[ 268 ] = { 5 , TI , SEN ( msgrcv ) , " msgrcv " } ,
[ 269 ] = { 3 , TI , SEN ( msgctl ) , " msgctl " } ,
[ 270 ] = { 3 , TI , SEN ( semget ) , " semget " } ,
[ 271 ] = { 3 , TI , SEN ( semop ) , " semop " } ,
[ 272 ] = { 4 , TI , SEN ( semctl ) , " semctl " } ,
[ 273 ] = { 4 , TI , SEN ( semtimedop ) , " semtimedop " } ,
[ 274 ] = { 3 , TI | TM | SI , SEN ( shmat ) , " shmat " } ,
[ 275 ] = { 3 , TI , SEN ( shmget ) , " shmget " } ,
[ 276 ] = { 1 , TI | TM | SI , SEN ( shmdt ) , " shmdt " } ,
[ 277 ] = { 3 , TI , SEN ( shmctl ) , " shmctl " } ,
[ 278 ] = { 4 , TD | TF , SEN ( utimensat ) , " utimensat " } ,
[ 279 ] = { 3 , TD | TS , SEN ( signalfd ) , " signalfd " } ,
2016-04-20 17:15:05 +00:00
[ 280 ] = { 4 , TD , SEN ( timerfd ) , " timerfd " } ,
2015-07-10 22:24:48 +03:00
[ 281 ] = { 1 , TD , SEN ( eventfd ) , " eventfd " } ,
2015-01-11 02:42:56 +00:00
[ 282 ] = { } ,
2015-07-10 22:24:48 +03:00
[ 283 ] = { 2 , TD , SEN ( setns ) , " setns " } ,
2015-12-08 20:37:22 +00:00
[ 284 ] = { 5 , TD , SEN ( pread ) , " pread64 " } ,
[ 285 ] = { 5 , TD , SEN ( pwrite ) , " pwrite64 " } ,
[ 286 ] = { 2 , TD , SEN ( timerfd_create ) , " timerfd_create " } ,
[ 287 ] = { 6 , TD , SEN ( fallocate ) , " fallocate " } ,
[ 288 ] = { 4 , TD , SEN ( timerfd_settime ) , " timerfd_settime " } ,
[ 289 ] = { 2 , TD , SEN ( timerfd_gettime ) , " timerfd_gettime " } ,
[ 290 ] = { 4 , TD | TS , SEN ( signalfd4 ) , " signalfd4 " } ,
[ 291 ] = { 2 , TD , SEN ( eventfd2 ) , " eventfd2 " } ,
[ 292 ] = { 1 , TD , SEN ( epoll_create1 ) , " epoll_create1 " } ,
[ 293 ] = { 3 , TD , SEN ( dup3 ) , " dup3 " } ,
[ 294 ] = { 2 , TD , SEN ( pipe2 ) , " pipe2 " } ,
[ 295 ] = { 1 , TD , SEN ( inotify_init1 ) , " inotify_init1 " } ,
[ 296 ] = { 5 , TD , SEN ( preadv ) , " preadv " } ,
[ 297 ] = { 5 , TD , SEN ( pwritev ) , " pwritev " } ,
[ 298 ] = { 4 , TP | TS , SEN ( rt_tgsigqueueinfo ) , " rt_tgsigqueueinfo " } ,
[ 299 ] = { 5 , TD , SEN ( perf_event_open ) , " perf_event_open " } ,
[ 300 ] = { 5 , TN , SEN ( recvmmsg ) , " recvmmsg " } ,
[ 301 ] = { 2 , TD , SEN ( fanotify_init ) , " fanotify_init " } ,
[ 302 ] = { 6 , TD | TF , SEN ( fanotify_mark ) , " fanotify_mark " } ,
[ 303 ] = { 4 , 0 , SEN ( prlimit64 ) , " prlimit64 " } ,
[ 304 ] = { 5 , TD | TF , SEN ( name_to_handle_at ) , " name_to_handle_at " } ,
[ 305 ] = { 3 , TD , SEN ( open_by_handle_at ) , " open_by_handle_at " } ,
2017-04-14 15:06:42 +00:00
[ 306 ] = { 2 , 0 , SEN ( clock_adjtime ) , " clock_adjtime " } ,
2015-12-08 20:37:22 +00:00
[ 307 ] = { 1 , TD , SEN ( syncfs ) , " syncfs " } ,
[ 308 ] = { 4 , TN , SEN ( sendmmsg ) , " sendmmsg " } ,
[ 309 ] = { 6 , 0 , SEN ( process_vm_readv ) , " process_vm_readv " } ,
[ 310 ] = { 6 , 0 , SEN ( process_vm_writev ) , " process_vm_writev " } ,
[ 311 ] = { 5 , 0 , SEN ( kcmp ) , " kcmp " } ,
[ 312 ] = { 3 , TD , SEN ( finit_module ) , " finit_module " } ,
2017-04-14 15:06:42 +00:00
[ 313 ] = { 3 , 0 , SEN ( sched_setattr ) , " sched_setattr " } ,
[ 314 ] = { 4 , 0 , SEN ( sched_getattr ) , " sched_getattr " } ,
2015-12-08 20:37:22 +00:00
[ 315 ] = { 5 , TD | TF , SEN ( renameat2 ) , " renameat2 " } ,
2017-01-11 23:48:41 +00:00
[ 316 ] = { 3 , 0 , SEN ( seccomp ) , " seccomp " } ,
[ 317 ] = { 3 , 0 , SEN ( getrandom ) , " getrandom " } ,
[ 318 ] = { 2 , TD , SEN ( memfd_create ) , " memfd_create " } ,
[ 319 ] = { 3 , TD , SEN ( bpf ) , " bpf " } ,
[ 320 ] = { 5 , TD | TF | TP | SE | SI , SEN ( execveat ) , " execveat " } ,
2016-01-10 21:38:03 +00:00
[ 321 ] = { 4 , TN , SEN ( accept4 ) , " accept4 " } ,
2017-01-11 23:48:41 +00:00
[ 322 ] = { 1 , TD , SEN ( userfaultfd ) , " userfaultfd " } ,
[ 323 ] = { 2 , 0 , SEN ( membarrier ) , " membarrier " } ,
2016-02-12 15:00:29 +00:00
[ 324 ] = { 3 , TM , SEN ( mlock2 ) , " mlock2 " } ,
2016-03-29 00:01:07 +00:00
[ 325 ] = { 6 , TD , SEN ( copy_file_range ) , " copy_file_range " } ,
2016-09-01 22:04:08 +00:00
[ 326 ] = { 6 , TD , SEN ( preadv2 ) , " preadv2 " } ,
[ 327 ] = { 6 , TD , SEN ( pwritev2 ) , " pwritev2 " } ,
2017-02-07 14:58:30 +00:00
[ 328 ] = { 4 , TM | SI , SEN ( pkey_mprotect ) , " pkey_mprotect " } ,
[ 329 ] = { 2 , 0 , SEN ( pkey_alloc ) , " pkey_alloc " } ,
[ 330 ] = { 1 , 0 , SEN ( pkey_free ) , " pkey_free " } ,