From ed84a97da5aa9fc37868d880500b7af6a3d0b40a Mon Sep 17 00:00:00 2001 From: Eugene Syromyatnikov Date: Tue, 18 Apr 2017 01:14:58 +0200 Subject: [PATCH] Implement -e trace=%%stat option linux/*/syscallent*.h part is updated automatically by: sed -i '/TSFA\|stat[iu]s/! s/,[[:space:]]\?\([[:space:]]*SEN(.*stat\)/|TSTA,\1/' \ linux/*/syscallent*.h * sysent.h (TRACE_STAT_LIKE): New macro. * syscall.c: Alias TSTA to TRACE_STAT_LIKE around syscallent.h inclusion. * qualify.c (lookup_class): Add TRACE_STAT_LIKE for "%%stat". * strace.1 (.SS Filtering): Add information about %%stat syscall class. * NEWS: Mention this change. * linux/32/syscallent.h (fstat64, fstatat64, statx): Add TSTA flag. * linux/64/syscallent.h (fstat, newfstatat, statx): Likewise. * linux/aarch64/syscallent.h (fstat, lstat, newfstatat, stat): Likewise. * linux/alpha/syscallent.h (fstat, fstat64, fstatat64, lstat, lstat64, osf_fstat, osf_lstat, osf_old_fstat, osf_old_lstat, osf_old_stat, osf_stat, stat, stat64): Likewise. * linux/arm/syscallent.h (fstat, fstat64, fstatat64, lstat, lstat64, oldfstat, oldlstat, oldstat, stat, stat64, statx): Likewise. * linux/avr32/syscallent.h (fstat, fstat64, fstatat64, lstat, lstat64, stat, stat64): Likewise. * linux/bfin/syscallent.h (fstat, fstat64, fstatat64, lstat, lstat64, oldfstat, oldlstat, oldstat, stat, stat64): Likewise. * linux/crisv10/syscallent.h (fstat, fstat64, fstatat64, lstat, lstat64, oldfstat, oldlstat, oldstat, stat, stat64): Likewise. * linux/hppa/syscallent.h (fstat, fstat64, fstatat64, lstat, lstat64, stat, stat64): Likewise. * linux/i386/syscallent.h (fstat, fstat64, fstatat64, lstat, lstat64, oldfstat, oldlstat, oldstat, stat, stat64, statx): Likewise. * linux/ia64/syscallent.h (fstat, lstat, newfstatat, stat): Likewise. * linux/m68k/syscallent.h (fstat, fstat64, fstatat64, lstat, lstat64, oldfstat, oldlstat, oldstat, stat, stat64, statx): Likewise. * linux/microblaze/syscallent.h (fstat, fstat64, fstatat64, lstat, lstat64, oldfstat, oldlstat, oldstat, stat, stat64): Likewise. * linux/mips/syscallent-compat.h (bsd43_fstat, bsd43_lstat, bsd43_oldfstat, bsd43_oldstat, bsd43_stat, posix_fstat, posix_lstat, posix_stat, svr4_fstat, svr4_fxstat, svr4_lstat, svr4_lxstat, svr4_stat, svr4_xstat, sysv_fstat, sysv_fxstat, sysv_lstat, sysv_lxstat, sysv_stat, sysv_xstat): Likewise. * linux/mips/syscallent-n32.h (fstat, lstat, newfstatat, stat, statx): Likewise. * linux/mips/syscallent-n64.h (fstat, lstat, newfstatat, stat, statx): Likewise. * linux/mips/syscallent-o32.h (fstat, fstat64, fstatat64, lstat, lstat64, oldfstat, oldlstat, oldstat, stat, stat64, statx): Likewise. * linux/powerpc64/syscallent.h (fstat, lstat, newfstatat, oldfstat, oldlstat, oldstat, stat): Likewise. * linux/powerpc/syscallent.h (fstat, fstat64, fstatat64, lstat, lstat64, oldfstat, oldlstat, oldstat, stat, stat64, statx): Likewise. * linux/s390/syscallent.h (fstat, fstat64, fstatat64, lstat, lstat64, stat, stat64, statx): Likewise. * linux/s390x/syscallent.h (fstat, lstat, newfstatat, stat, statx): Likewise. * linux/sh64/syscallent.h (fstat, fstat64, fstatat64, lstat, lstat64, oldfstat, oldlstat, oldstat, stat, stat64): Likewise. * linux/sh/syscallent.h (fstat, fstat64, fstatat64, lstat, lstat64, oldfstat, oldlstat, oldstat, stat, stat64): Likewise. * linux/sparc64/syscallent.h (fstat, fstat64, fstatat64, lstat, lstat64, oldlstat, stat, stat64): Likewise. * linux/sparc/syscallent.h (fstat, fstat64, fstatat64, lstat, lstat64, oldlstat, stat, stat64): Likewise. * linux/x32/syscallent.h (fstat, lstat, newfstatat, stat, statx): Likewise. * linux/x86_64/syscallent.h (fstat, lstat, newfstatat, stat, statx): Likewise. * linux/xtensa/syscallent.h (fstat, fstat64, fstatat64, lstat, lstat64, stat, stat64, statx): Likewise. * tests/gen_tests.in (trace_stat_like): New entry. * tests/trace_stat_like.in: New file. * tests/Makefile.am (EXTRA_DIST): Add it. * tests/ksysent.c (TSTA): New macro, defined to 0. * tests/nsyscalls.c: Likewise. --- NEWS | 3 +++ linux/32/syscallent.h | 6 ++--- linux/64/syscallent.h | 6 ++--- linux/aarch64/syscallent.h | 12 +++++----- linux/alpha/syscallent.h | 26 +++++++++++----------- linux/arm/syscallent.h | 22 +++++++++---------- linux/avr32/syscallent.h | 14 ++++++------ linux/bfin/syscallent.h | 20 ++++++++--------- linux/crisv10/syscallent.h | 20 ++++++++--------- linux/hppa/syscallent.h | 14 ++++++------ linux/i386/syscallent.h | 22 +++++++++---------- linux/ia64/syscallent.h | 14 ++++++------ linux/m68k/syscallent.h | 22 +++++++++---------- linux/microblaze/syscallent.h | 20 ++++++++--------- linux/mips/syscallent-compat.h | 40 +++++++++++++++++----------------- linux/mips/syscallent-n32.h | 10 ++++----- linux/mips/syscallent-n64.h | 10 ++++----- linux/mips/syscallent-o32.h | 22 +++++++++---------- linux/powerpc/syscallent.h | 22 +++++++++---------- linux/powerpc64/syscallent.h | 14 ++++++------ linux/s390/syscallent.h | 16 +++++++------- linux/s390x/syscallent.h | 10 ++++----- linux/sh/syscallent.h | 20 ++++++++--------- linux/sh64/syscallent.h | 20 ++++++++--------- linux/sparc/syscallent.h | 16 +++++++------- linux/sparc64/syscallent.h | 16 +++++++------- linux/x32/syscallent.h | 10 ++++----- linux/x86_64/syscallent.h | 10 ++++----- linux/xtensa/syscallent.h | 16 +++++++------- qualify.c | 1 + strace.1 | 4 ++++ syscall.c | 2 ++ sysent.h | 1 + tests/Makefile.am | 1 + tests/gen_tests.in | 1 + tests/ksysent.c | 1 + tests/nsyscalls.c | 1 + tests/trace_stat_like.in | 12 ++++++++++ 38 files changed, 262 insertions(+), 235 deletions(-) create mode 100644 tests/trace_stat_like.in diff --git a/NEWS b/NEWS index 0bc78d25..fd17e84d 100644 --- a/NEWS +++ b/NEWS @@ -9,6 +9,9 @@ Noteworthy changes in release ?.?? (????-??-??) * Improvements * Optimized syscall filtering. * Enhanced decoding of sched_setattr syscall. + * Added -e trace=%%stat option for tracing syscalls used for querying file + status information (stat, lstat, fstat, fstatat, statx, and their + variations). * Added -e trace=%statfs option for tracing statfs, statfs64 and statvfs syscalls. * Added -e trace=%fstatfs option for tracing fstatfs, fstatfs64 and fstatvfs diff --git a/linux/32/syscallent.h b/linux/32/syscallent.h index d54a2eeb..bdabeba7 100644 --- a/linux/32/syscallent.h +++ b/linux/32/syscallent.h @@ -80,8 +80,8 @@ [ 76] = { 6, TD, SEN(splice), "splice" }, [ 77] = { 4, TD, SEN(tee), "tee" }, [ 78] = { 4, TD|TF, SEN(readlinkat), "readlinkat" }, -[ 79] = { 4, TD|TF, SEN(fstatat64), "fstatat64" }, -[ 80] = { 2, TD, SEN(fstat64), "fstat64" }, +[ 79] = { 4, TD|TF|TSTA, SEN(fstatat64), "fstatat64" }, +[ 80] = { 2, TD|TSTA, SEN(fstat64), "fstat64" }, [ 81] = { 0, 0, SEN(sync), "sync" }, [ 82] = { 1, TD, SEN(fsync), "fsync" }, [ 83] = { 1, TD, SEN(fdatasync), "fdatasync" }, @@ -281,7 +281,7 @@ [288] = { 4, TM|SI, SEN(pkey_mprotect), "pkey_mprotect" }, [289] = { 2, 0, SEN(pkey_alloc), "pkey_alloc" }, [290] = { 1, 0, SEN(pkey_free), "pkey_free" }, -[291] = { 5, TD|TF, SEN(statx), "statx" }, +[291] = { 5, TD|TF|TSTA, SEN(statx), "statx" }, #undef sys_ARCH_mmap #undef ARCH_WANT_SYNC_FILE_RANGE2 diff --git a/linux/64/syscallent.h b/linux/64/syscallent.h index f6966303..80d4b85c 100644 --- a/linux/64/syscallent.h +++ b/linux/64/syscallent.h @@ -77,8 +77,8 @@ [ 76] = { 6, TD, SEN(splice), "splice" }, [ 77] = { 4, TD, SEN(tee), "tee" }, [ 78] = { 4, TD|TF, SEN(readlinkat), "readlinkat" }, -[ 79] = { 4, TD|TF, SEN(newfstatat), "newfstatat" }, -[ 80] = { 2, TD, SEN(fstat), "fstat" }, +[ 79] = { 4, TD|TF|TSTA, SEN(newfstatat), "newfstatat" }, +[ 80] = { 2, TD|TSTA, SEN(fstat), "fstat" }, [ 81] = { 0, 0, SEN(sync), "sync" }, [ 82] = { 1, TD, SEN(fsync), "fsync" }, [ 83] = { 1, TD, SEN(fdatasync), "fdatasync" }, @@ -274,4 +274,4 @@ [288] = { 4, TM|SI, SEN(pkey_mprotect), "pkey_mprotect" }, [289] = { 2, 0, SEN(pkey_alloc), "pkey_alloc" }, [290] = { 1, 0, SEN(pkey_free), "pkey_free" }, -[291] = { 5, TD|TF, SEN(statx), "statx" }, +[291] = { 5, TD|TF|TSTA, SEN(statx), "statx" }, diff --git a/linux/aarch64/syscallent.h b/linux/aarch64/syscallent.h index 84d62eb6..12c95a11 100644 --- a/linux/aarch64/syscallent.h +++ b/linux/aarch64/syscallent.h @@ -27,8 +27,8 @@ [1035] = { 3, TF, SEN(readlink), "readlink" }, [1036] = { 2, TF, SEN(symlink), "symlink" }, [1037] = { 2, TF, SEN(utimes), "utimes" }, -[1038] = { 2, TF, SEN(stat), "stat" }, -[1039] = { 2, TF, SEN(lstat), "lstat" }, +[1038] = { 2, TF|TSTA, SEN(stat), "stat" }, +[1039] = { 2, TF|TSTA, SEN(lstat), "lstat" }, [1040] = { 1, TD, SEN(pipe), "pipe" }, [1041] = { 2, TD, SEN(dup2), "dup2" }, [1042] = { 1, TD, SEN(epoll_create), "epoll_create" }, @@ -38,12 +38,12 @@ [1046] = { 4, TD|TN, SEN(sendfile64), "sendfile" }, [1047] = { 2, TD, SEN(ftruncate), "ftruncate" }, [1048] = { 2, TF, SEN(truncate), "truncate" }, -[1049] = { 2, TF, SEN(stat), "stat" }, -[1050] = { 2, TF, SEN(lstat), "lstat" }, -[1051] = { 2, TD, SEN(fstat), "fstat" }, +[1049] = { 2, TF|TSTA, SEN(stat), "stat" }, +[1050] = { 2, TF|TSTA, SEN(lstat), "lstat" }, +[1051] = { 2, TD|TSTA, SEN(fstat), "fstat" }, [1052] = { 3, TD, SEN(fcntl), "fcntl" }, [1053] = { 4, TD, SEN(fadvise64), "fadvise64" }, -[1054] = { 4, TD|TF, SEN(newfstatat), "newfstatat" }, +[1054] = { 4, TD|TF|TSTA, SEN(newfstatat), "newfstatat" }, [1055] = { 2, TD|TFSF|TSFA, SEN(fstatfs), "fstatfs" }, [1056] = { 2, TF|TSF|TSFA, SEN(statfs), "statfs" }, [1057] = { 3, TD, SEN(lseek), "lseek" }, diff --git a/linux/alpha/syscallent.h b/linux/alpha/syscallent.h index 8a905060..435cc057 100644 --- a/linux/alpha/syscallent.h +++ b/linux/alpha/syscallent.h @@ -64,9 +64,9 @@ [ 35] = { 5, 0, SEN(printargs), "osf_fchflags" }, /* not implemented */ [ 36] = { 0, 0, SEN(sync), "sync" }, [ 37] = { 2, TS, SEN(kill), "kill" }, -[ 38] = { 5, TF, SEN(printargs), "osf_old_stat" }, /* not implemented */ +[ 38] = { 5, TF|TSTA, SEN(printargs), "osf_old_stat" }, /* not implemented */ [ 39] = { 2, 0, SEN(setpgid), "setpgid" }, -[ 40] = { 5, TF, SEN(printargs), "osf_old_lstat" }, /* not implemented */ +[ 40] = { 5, TF|TSTA, SEN(printargs), "osf_old_lstat" }, /* not implemented */ [ 41] = { 1, TD, SEN(dup), "dup" }, [ 42] = { 0, TD, SEN(pipe), "pipe" }, [ 43] = { 4, 0, SEN(printargs), "osf_set_program_attributes" }, @@ -88,13 +88,13 @@ [ 59] = { 3, TF|TP|SE|SI, SEN(execve), "execve" }, [ 60] = { 1, NF, SEN(umask), "umask" }, [ 61] = { 1, TF, SEN(chroot), "chroot" }, -[ 62] = { 5, TD, SEN(printargs), "osf_old_fstat" }, /* not implemented */ +[ 62] = { 5, TD|TSTA, SEN(printargs), "osf_old_fstat" }, /* not implemented */ [ 63] = { 0, 0, SEN(getpgrp), "getpgrp" }, [ 64] = { 0, 0, SEN(getpagesize), "getpagesize" }, [ 65] = { 5, TM, SEN(printargs), "osf_mremap" }, /* not implemented */ [ 66] = { 0, TP, SEN(vfork), "vfork" }, -[ 67] = { 2, TF, SEN(stat), "stat" }, -[ 68] = { 2, TF, SEN(lstat), "lstat" }, +[ 67] = { 2, TF|TSTA, SEN(stat), "stat" }, +[ 68] = { 2, TF|TSTA, SEN(lstat), "lstat" }, [ 69] = { 5, TM, SEN(printargs), "osf_sbrk" }, /* not implemented */ [ 70] = { 5, 0, SEN(printargs), "osf_sstk" }, /* not implemented */ [ 71] = { 6, TD|TM|SI, SEN(mmap), "mmap" }, @@ -117,7 +117,7 @@ [ 88] = { 2, 0, SEN(sethostname), "sethostname" }, [ 89] = { 0, 0, SEN(getdtablesize), "getdtablesize" }, [ 90] = { 2, TD, SEN(dup2), "dup2" }, -[ 91] = { 2, TD, SEN(fstat), "fstat" }, +[ 91] = { 2, TD|TSTA, SEN(fstat), "fstat" }, [ 92] = { 3, TD, SEN(fcntl), "fcntl" }, [ 93] = { 5, TD, SEN(osf_select), "osf_select" }, [ 94] = { 3, TD, SEN(poll), "poll" }, @@ -227,9 +227,9 @@ [221] = { }, [222] = { 5, 0, SEN(printargs), "osf_security" }, /* not implemented */ [223] = { 5, 0, SEN(printargs), "osf_kloadcall" }, /* not implemented */ -[224] = { 2, TF, SEN(printargs), "osf_stat" }, -[225] = { 2, TF, SEN(printargs), "osf_lstat" }, -[226] = { 2, TD, SEN(printargs), "osf_fstat" }, +[224] = { 2, TF|TSTA, SEN(printargs), "osf_stat" }, +[225] = { 2, TF|TSTA, SEN(printargs), "osf_lstat" }, +[226] = { 2, TD|TSTA, SEN(printargs), "osf_fstat" }, [227] = { 3, TF|TSF|TSFA, SEN(osf_statfs), "osf_statfs64" }, [228] = { 3, TD|TFSF|TSFA, SEN(osf_fstatfs), "osf_fstatfs64" }, [229 ... 232] = { }, @@ -387,9 +387,9 @@ [422] = { 4, 0, SEN(clock_nanosleep), "clock_nanosleep" }, [423] = { 4, TI, SEN(semtimedop), "semtimedop" }, [424] = { 3, TS, SEN(tgkill), "tgkill" }, -[425] = { 2, TF, SEN(stat64), "stat64" }, -[426] = { 2, TF, SEN(lstat64), "lstat64" }, -[427] = { 2, TD, SEN(fstat64), "fstat64" }, +[425] = { 2, TF|TSTA, SEN(stat64), "stat64" }, +[426] = { 2, TF|TSTA, SEN(lstat64), "lstat64" }, +[427] = { 2, TD|TSTA, SEN(fstat64), "fstat64" }, [428] = { 5, 0, SEN(vserver), "vserver" }, /* not implemented */ [429] = { 6, TM, SEN(mbind), "mbind" }, /* not implemented */ [430] = { 5, TM, SEN(get_mempolicy), "get_mempolicy" }, /* not implemented */ @@ -417,7 +417,7 @@ [452] = { 4, TD|TF, SEN(mknodat), "mknodat" }, [453] = { 5, TD|TF, SEN(fchownat), "fchownat" }, [454] = { 3, TD|TF, SEN(futimesat), "futimesat" }, -[455] = { 4, TD|TF, SEN(fstatat64), "fstatat64" }, +[455] = { 4, TD|TF|TSTA, SEN(fstatat64), "fstatat64" }, [456] = { 3, TD|TF, SEN(unlinkat), "unlinkat" }, [457] = { 4, TD|TF, SEN(renameat), "renameat" }, [458] = { 5, TD|TF, SEN(linkat), "linkat" }, diff --git a/linux/arm/syscallent.h b/linux/arm/syscallent.h index 148be54d..328693a0 100644 --- a/linux/arm/syscallent.h +++ b/linux/arm/syscallent.h @@ -44,7 +44,7 @@ [ 15] = { 2, TF, SEN(chmod), "chmod" }, [ 16] = { 3, TF, SEN(chown16), "lchown" }, [ 17] = { 0, TM, SEN(break), "break" }, -[ 18] = { 2, TF, SEN(oldstat), "oldstat" }, +[ 18] = { 2, TF|TSTA, SEN(oldstat), "oldstat" }, [ 19] = { 3, TD, SEN(lseek), "lseek" }, [ 20] = { 0, NF, SEN(getpid), "getpid" }, [ 21] = { 5, TF, SEN(mount), "mount" }, @@ -54,7 +54,7 @@ [ 25] = { 1, 0, SEN(stime), "stime" }, [ 26] = { 4, 0, SEN(ptrace), "ptrace" }, [ 27] = { 1, 0, SEN(alarm), "alarm" }, -[ 28] = { 2, TD, SEN(oldfstat), "oldfstat" }, +[ 28] = { 2, TD|TSTA, SEN(oldfstat), "oldfstat" }, [ 29] = { 0, TS, SEN(pause), "pause" }, [ 30] = { 2, TF, SEN(utime), "utime" }, [ 31] = { 2, 0, SEN(stty), "stty" }, @@ -110,7 +110,7 @@ [ 81] = { 2, 0, SEN(setgroups16), "setgroups" }, [ 82] = { 1, TD, SEN(oldselect), "select" }, [ 83] = { 2, TF, SEN(symlink), "symlink" }, -[ 84] = { 2, TF, SEN(oldlstat), "oldlstat" }, +[ 84] = { 2, TF|TSTA, SEN(oldlstat), "oldlstat" }, [ 85] = { 3, TF, SEN(readlink), "readlink" }, [ 86] = { 1, TF, SEN(uselib), "uselib" }, [ 87] = { 2, TF, SEN(swapon), "swapon" }, @@ -132,9 +132,9 @@ [103] = { 3, 0, SEN(syslog), "syslog" }, [104] = { 3, 0, SEN(setitimer), "setitimer" }, [105] = { 2, 0, SEN(getitimer), "getitimer" }, -[106] = { 2, TF, SEN(stat), "stat" }, -[107] = { 2, TF, SEN(lstat), "lstat" }, -[108] = { 2, TD, SEN(fstat), "fstat" }, +[106] = { 2, TF|TSTA, SEN(stat), "stat" }, +[107] = { 2, TF|TSTA, SEN(lstat), "lstat" }, +[108] = { 2, TD|TSTA, SEN(fstat), "fstat" }, [109] = { 1, 0, SEN(olduname), "olduname" }, [110] = { 1, 0, SEN(iopl), "iopl" }, [111] = { 0, 0, SEN(vhangup), "vhangup" }, @@ -221,9 +221,9 @@ [192] = { 6, TD|TM|SI, SEN(mmap_4koff), "mmap2" }, [193] = { 4, TF, SEN(truncate64), "truncate64" }, [194] = { 4, TD, SEN(ftruncate64), "ftruncate64" }, -[195] = { 2, TF, SEN(stat64), "stat64" }, -[196] = { 2, TF, SEN(lstat64), "lstat64" }, -[197] = { 2, TD, SEN(fstat64), "fstat64" }, +[195] = { 2, TF|TSTA, SEN(stat64), "stat64" }, +[196] = { 2, TF|TSTA, SEN(lstat64), "lstat64" }, +[197] = { 2, TD|TSTA, SEN(fstat64), "fstat64" }, [198] = { 3, TF, SEN(chown), "lchown32" }, [199] = { 0, NF, SEN(getuid), "getuid32" }, [200] = { 0, NF, SEN(getgid), "getgid32" }, @@ -351,7 +351,7 @@ [324] = { 4, TD|TF, SEN(mknodat), "mknodat" }, [325] = { 5, TD|TF, SEN(fchownat), "fchownat" }, [326] = { 3, TD|TF, SEN(futimesat), "futimesat" }, -[327] = { 4, TD|TF, SEN(fstatat64), "fstatat64" }, +[327] = { 4, TD|TF|TSTA, SEN(fstatat64), "fstatat64" }, [328] = { 3, TD|TF, SEN(unlinkat), "unlinkat" }, [329] = { 4, TD|TF, SEN(renameat), "renameat" }, [330] = { 5, TD|TF, SEN(linkat), "linkat" }, @@ -421,7 +421,7 @@ [394] = { 4, TM|SI, SEN(pkey_mprotect), "pkey_mprotect" }, [395] = { 2, 0, SEN(pkey_alloc), "pkey_alloc" }, [396] = { 1, 0, SEN(pkey_free), "pkey_free" }, -[397] = { 5, TD|TF, SEN(statx), "statx" }, +[397] = { 5, TD|TF|TSTA, SEN(statx), "statx" }, #ifdef __ARM_EABI__ # define ARM_FIRST_SHUFFLED_SYSCALL 400 diff --git a/linux/avr32/syscallent.h b/linux/avr32/syscallent.h index 60beadb1..366d71b7 100644 --- a/linux/avr32/syscallent.h +++ b/linux/avr32/syscallent.h @@ -55,9 +55,9 @@ [ 27] = { 1, 0, SEN(alarm), "alarm" }, [ 28] = { 0, TS, SEN(pause), "pause" }, [ 29] = { 2, TF, SEN(utime), "utime" }, -[ 30] = { 2, TF, SEN(stat), "stat" }, -[ 31] = { 2, TD, SEN(fstat), "fstat" }, -[ 32] = { 2, TF, SEN(lstat), "lstat" }, +[ 30] = { 2, TF|TSTA, SEN(stat), "stat" }, +[ 31] = { 2, TD|TSTA, SEN(fstat), "fstat" }, +[ 32] = { 2, TF|TSTA, SEN(lstat), "lstat" }, [ 33] = { 2, TF, SEN(access), "access" }, [ 34] = { 1, TF, SEN(chroot), "chroot" }, [ 35] = { 0, 0, SEN(sync), "sync" }, @@ -193,9 +193,9 @@ [165] = { 3, TN, SEN(recvmsg), "recvmsg" }, [166] = { 3, TF, SEN(truncate64), "truncate64" }, [167] = { 3, TD, SEN(ftruncate64), "ftruncate64" }, -[168] = { 2, TF, SEN(stat64), "stat64" }, -[169] = { 2, TF, SEN(lstat64), "lstat64" }, -[170] = { 2, TD, SEN(fstat64), "fstat64" }, +[168] = { 2, TF|TSTA, SEN(stat64), "stat64" }, +[169] = { 2, TF|TSTA, SEN(lstat64), "lstat64" }, +[170] = { 2, TD|TSTA, SEN(fstat64), "fstat64" }, [171] = { 2, TF, SEN(pivotroot), "pivot_root" }, [172] = { 3, TM, SEN(mincore), "mincore" }, [173] = { 3, TM, SEN(madvise), "madvise" }, @@ -273,7 +273,7 @@ [245] = { 4, TD|TF, SEN(mknodat), "mknodat" }, [246] = { 5, TD|TF, SEN(fchownat), "fchownat" }, [247] = { 3, TD|TF, SEN(futimesat), "futimesat" }, -[248] = { 4, TD|TF, SEN(fstatat64), "fstatat64" }, +[248] = { 4, TD|TF|TSTA, SEN(fstatat64), "fstatat64" }, [249] = { 3, TD|TF, SEN(unlinkat), "unlinkat" }, [250] = { 4, TD|TF, SEN(renameat), "renameat" }, [251] = { 5, TD|TF, SEN(linkat), "linkat" }, diff --git a/linux/bfin/syscallent.h b/linux/bfin/syscallent.h index d5f6d3a2..2c6b91ac 100644 --- a/linux/bfin/syscallent.h +++ b/linux/bfin/syscallent.h @@ -44,7 +44,7 @@ [ 15] = { 2, TF, SEN(chmod), "chmod" }, [ 16] = { 3, TF, SEN(chown16), "chown" }, [ 17] = { 0, TM, SEN(break), "break" }, -[ 18] = { 2, TF, SEN(oldstat), "oldstat" }, +[ 18] = { 2, TF|TSTA, SEN(oldstat), "oldstat" }, [ 19] = { 3, TD, SEN(lseek), "lseek" }, [ 20] = { 0, NF, SEN(getpid), "getpid" }, [ 21] = { 5, TF, SEN(mount), "mount" }, @@ -54,7 +54,7 @@ [ 25] = { 1, 0, SEN(stime), "stime" }, [ 26] = { 4, 0, SEN(ptrace), "ptrace" }, [ 27] = { 1, 0, SEN(alarm), "alarm" }, -[ 28] = { 2, TD, SEN(oldfstat), "oldfstat" }, +[ 28] = { 2, TD|TSTA, SEN(oldfstat), "oldfstat" }, [ 29] = { 0, TS, SEN(pause), "pause" }, [ 30] = { 2, TF, SEN(utime), "utime" }, [ 31] = { 2, 0, SEN(stty), "stty" }, @@ -110,7 +110,7 @@ [ 81] = { 2, 0, SEN(setgroups16), "setgroups" }, [ 82] = { 1, TD, SEN(oldselect), "select" }, [ 83] = { 2, TF, SEN(symlink), "symlink" }, -[ 84] = { 2, TF, SEN(oldlstat), "oldlstat" }, +[ 84] = { 2, TF|TSTA, SEN(oldlstat), "oldlstat" }, [ 85] = { 3, TF, SEN(readlink), "readlink" }, [ 86] = { 1, TF, SEN(uselib), "uselib" }, [ 87] = { 2, TF, SEN(swapon), "swapon" }, @@ -132,9 +132,9 @@ [103] = { 3, 0, SEN(syslog), "syslog" }, [104] = { 3, 0, SEN(setitimer), "setitimer" }, [105] = { 2, 0, SEN(getitimer), "getitimer" }, -[106] = { 2, TF, SEN(stat), "stat" }, -[107] = { 2, TF, SEN(lstat), "lstat" }, -[108] = { 2, TD, SEN(fstat), "fstat" }, +[106] = { 2, TF|TSTA, SEN(stat), "stat" }, +[107] = { 2, TF|TSTA, SEN(lstat), "lstat" }, +[108] = { 2, TD|TSTA, SEN(fstat), "fstat" }, [109] = { 1, 0, SEN(olduname), "olduname" }, [110] = { 1, 0, SEN(iopl), "iopl" }, [111] = { 0, 0, SEN(vhangup), "vhangup" }, @@ -221,9 +221,9 @@ [192] = { 6, TD|TM|SI, SEN(mmap_pgoff), "mmap2" }, [193] = { 3, TF, SEN(truncate64), "truncate64" }, [194] = { 3, TD, SEN(ftruncate64), "ftruncate64" }, -[195] = { 2, TF, SEN(stat64), "stat64" }, -[196] = { 2, TF, SEN(lstat64), "lstat64" }, -[197] = { 2, TD, SEN(fstat64), "fstat64" }, +[195] = { 2, TF|TSTA, SEN(stat64), "stat64" }, +[196] = { 2, TF|TSTA, SEN(lstat64), "lstat64" }, +[197] = { 2, TD|TSTA, SEN(fstat64), "fstat64" }, [198] = { 3, TF, SEN(chown), "chown32" }, [199] = { 0, NF, SEN(getuid), "getuid32" }, [200] = { 0, NF, SEN(getgid), "getgid32" }, @@ -325,7 +325,7 @@ [297] = { 4, TD|TF, SEN(mknodat), "mknodat" }, [298] = { 5, TD|TF, SEN(fchownat), "fchownat" }, [299] = { 3, TD|TF, SEN(futimesat), "futimesat" }, -[300] = { 4, TD|TF, SEN(fstatat64), "fstatat64" }, +[300] = { 4, TD|TF|TSTA, SEN(fstatat64), "fstatat64" }, [301] = { 3, TD|TF, SEN(unlinkat), "unlinkat" }, [302] = { 4, TD|TF, SEN(renameat), "renameat" }, [303] = { 5, TD|TF, SEN(linkat), "linkat" }, diff --git a/linux/crisv10/syscallent.h b/linux/crisv10/syscallent.h index 1208bf38..ceae91c3 100644 --- a/linux/crisv10/syscallent.h +++ b/linux/crisv10/syscallent.h @@ -16,7 +16,7 @@ [ 15] = { 2, TF, SEN(chmod), "chmod" }, [ 16] = { 3, TF, SEN(chown16), "lchown" }, [ 17] = { 0, TM, SEN(break), "break" }, -[ 18] = { 2, TF, SEN(oldstat), "oldstat" }, +[ 18] = { 2, TF|TSTA, SEN(oldstat), "oldstat" }, [ 19] = { 3, TD, SEN(lseek), "lseek" }, [ 20] = { 0, NF, SEN(getpid), "getpid" }, [ 21] = { 5, TF, SEN(mount), "mount" }, @@ -26,7 +26,7 @@ [ 25] = { 1, 0, SEN(stime), "stime" }, [ 26] = { 4, 0, SEN(ptrace), "ptrace" }, [ 27] = { 1, 0, SEN(alarm), "alarm" }, -[ 28] = { 2, TD, SEN(oldfstat), "oldfstat" }, +[ 28] = { 2, TD|TSTA, SEN(oldfstat), "oldfstat" }, [ 29] = { 0, TS, SEN(pause), "pause" }, [ 30] = { 2, TF, SEN(utime), "utime" }, [ 31] = { 2, 0, SEN(stty), "stty" }, @@ -82,7 +82,7 @@ [ 81] = { 2, 0, SEN(setgroups16), "setgroups" }, [ 82] = { 1, TD, SEN(oldselect), "select" }, [ 83] = { 2, TF, SEN(symlink), "symlink" }, -[ 84] = { 2, TF, SEN(oldlstat), "oldlstat" }, +[ 84] = { 2, TF|TSTA, SEN(oldlstat), "oldlstat" }, [ 85] = { 3, TF, SEN(readlink), "readlink" }, [ 86] = { 1, TF, SEN(uselib), "uselib" }, [ 87] = { 2, TF, SEN(swapon), "swapon" }, @@ -104,9 +104,9 @@ [103] = { 3, 0, SEN(syslog), "syslog" }, [104] = { 3, 0, SEN(setitimer), "setitimer" }, [105] = { 2, 0, SEN(getitimer), "getitimer" }, -[106] = { 2, TF, SEN(stat), "stat" }, -[107] = { 2, TF, SEN(lstat), "lstat" }, -[108] = { 2, TD, SEN(fstat), "fstat" }, +[106] = { 2, TF|TSTA, SEN(stat), "stat" }, +[107] = { 2, TF|TSTA, SEN(lstat), "lstat" }, +[108] = { 2, TD|TSTA, SEN(fstat), "fstat" }, [109] = { 1, 0, SEN(olduname), "olduname" }, [110] = { 1, 0, SEN(iopl), "iopl" }, [111] = { 0, 0, SEN(vhangup), "vhangup" }, @@ -192,9 +192,9 @@ [192] = { 6, TD|TM|SI, SEN(mmap_pgoff), "mmap2" }, [193] = { 3, TF, SEN(truncate64), "truncate64" }, [194] = { 3, TD, SEN(ftruncate64), "ftruncate64" }, -[195] = { 2, TF, SEN(stat64), "stat64" }, -[196] = { 2, TF, SEN(lstat64), "lstat64" }, -[197] = { 2, TD, SEN(fstat64), "fstat64" }, +[195] = { 2, TF|TSTA, SEN(stat64), "stat64" }, +[196] = { 2, TF|TSTA, SEN(lstat64), "lstat64" }, +[197] = { 2, TD|TSTA, SEN(fstat64), "fstat64" }, [198] = { 3, TF, SEN(chown), "lchown32" }, [199] = { 0, NF, SEN(getuid), "getuid32" }, [200] = { 0, NF, SEN(getgid), "getgid32" }, @@ -293,7 +293,7 @@ [297] = { 4, TD|TF, SEN(mknodat), "mknodat" }, [298] = { 5, TD|TF, SEN(fchownat), "fchownat" }, [299] = { 3, TD|TF, SEN(futimesat), "futimesat" }, -[300] = { 4, TD|TF, SEN(fstatat64), "fstatat64" }, +[300] = { 4, TD|TF|TSTA, SEN(fstatat64), "fstatat64" }, [301] = { 3, TD|TF, SEN(unlinkat), "unlinkat" }, [302] = { 4, TD|TF, SEN(renameat), "renameat" }, [303] = { 5, TD|TF, SEN(linkat), "linkat" }, diff --git a/linux/hppa/syscallent.h b/linux/hppa/syscallent.h index 1d0a487f..5beb5e41 100644 --- a/linux/hppa/syscallent.h +++ b/linux/hppa/syscallent.h @@ -20,7 +20,7 @@ [ 15] = { 2, TF, SEN(chmod), "chmod" }, [ 16] = { 3, TF, SEN(chown), "lchown" }, [ 17] = { 3, TN, SEN(socket), "socket" }, -[ 18] = { 2, TF, SEN(stat), "stat" }, +[ 18] = { 2, TF|TSTA, SEN(stat), "stat" }, [ 19] = { 3, TD, SEN(lseek), "lseek" }, [ 20] = { 0, NF, SEN(getpid), "getpid" }, [ 21] = { 5, TF, SEN(mount), "mount" }, @@ -30,7 +30,7 @@ [ 25] = { 1, 0, SEN(stime), "stime" }, [ 26] = { 4, 0, SEN(ptrace), "ptrace" }, [ 27] = { 1, 0, SEN(alarm), "alarm" }, -[ 28] = { 2, TD, SEN(fstat), "fstat" }, +[ 28] = { 2, TD|TSTA, SEN(fstat), "fstat" }, [ 29] = { 0, TS, SEN(pause), "pause" }, [ 30] = { 2, TF, SEN(utime), "utime" }, [ 31] = { 3, TN, SEN(connect), "connect" }, @@ -86,7 +86,7 @@ [ 81] = { 2, 0, SEN(setgroups), "setgroups" }, [ 82] = { 6, TN, SEN(sendto), "sendto" }, [ 83] = { 2, TF, SEN(symlink), "symlink" }, -[ 84] = { 2, TF, SEN(lstat), "lstat" }, +[ 84] = { 2, TF|TSTA, SEN(lstat), "lstat" }, [ 85] = { 3, TF, SEN(readlink), "readlink" }, [ 86] = { 1, TF, SEN(uselib), "uselib" }, [ 87] = { 2, TF, SEN(swapon), "swapon" }, @@ -103,7 +103,7 @@ [ 98] = { 4, TN, SEN(recv), "recv" }, [ 99] = { 2, TF|TSF|TSFA, SEN(statfs), "statfs" }, [100] = { 2, TD|TFSF|TSFA, SEN(fstatfs), "fstatfs" }, -[101] = { 2, TF, SEN(stat64), "stat64" }, +[101] = { 2, TF|TSTA, SEN(stat64), "stat64" }, [102] = { }, [103] = { 3, 0, SEN(syslog), "syslog" }, [104] = { 3, 0, SEN(setitimer), "setitimer" }, @@ -114,7 +114,7 @@ [109] = { 5, TD, SEN(pwrite), "pwrite64" }, [110] = { 2, TF, SEN(getcwd), "getcwd" }, [111] = { 0, 0, SEN(vhangup), "vhangup" }, -[112] = { 2, TD, SEN(fstat64), "fstat64" }, +[112] = { 2, TD|TSTA, SEN(fstat64), "fstat64" }, [113] = { 0, TP, SEN(vfork), "vfork" }, [114] = { 4, TP, SEN(wait4), "wait4" }, [115] = { 1, TF, SEN(swapoff), "swapoff" }, @@ -200,7 +200,7 @@ [195] = { 3, TI, SEN(shmctl), "shmctl" }, [196] = { 5, TN, SEN(getpmsg), "getpmsg" }, [197] = { 5, TN, SEN(putpmsg), "putpmsg" }, -[198] = { 2, TF, SEN(lstat64), "lstat64" }, +[198] = { 2, TF|TSTA, SEN(lstat64), "lstat64" }, [199] = { 3, TF, SEN(truncate64), "truncate64" }, [200] = { 3, TD, SEN(ftruncate64), "ftruncate64" }, [201] = { 3, TD, SEN(getdents64), "getdents64" }, @@ -282,7 +282,7 @@ [277] = { 4, TD|TF, SEN(mknodat), "mknodat" }, [278] = { 5, TD|TF, SEN(fchownat), "fchownat" }, [279] = { 3, TD|TF, SEN(futimesat), "futimesat" }, -[280] = { 4, TD|TF, SEN(fstatat64), "fstatat64" }, +[280] = { 4, TD|TF|TSTA, SEN(fstatat64), "fstatat64" }, [281] = { 3, TD|TF, SEN(unlinkat), "unlinkat" }, [282] = { 4, TD|TF, SEN(renameat), "renameat" }, [283] = { 5, TD|TF, SEN(linkat), "linkat" }, diff --git a/linux/i386/syscallent.h b/linux/i386/syscallent.h index 0eb515ab..a63cd98f 100644 --- a/linux/i386/syscallent.h +++ b/linux/i386/syscallent.h @@ -44,7 +44,7 @@ [ 15] = { 2, TF, SEN(chmod), "chmod" }, [ 16] = { 3, TF, SEN(chown16), "lchown" }, [ 17] = { 0, TM, SEN(break), "break" }, -[ 18] = { 2, TF, SEN(oldstat), "oldstat" }, +[ 18] = { 2, TF|TSTA, SEN(oldstat), "oldstat" }, [ 19] = { 3, TD, SEN(lseek), "lseek" }, [ 20] = { 0, NF, SEN(getpid), "getpid" }, [ 21] = { 5, TF, SEN(mount), "mount" }, @@ -54,7 +54,7 @@ [ 25] = { 1, 0, SEN(stime), "stime" }, [ 26] = { 4, 0, SEN(ptrace), "ptrace" }, [ 27] = { 1, 0, SEN(alarm), "alarm" }, -[ 28] = { 2, TD, SEN(oldfstat), "oldfstat" }, +[ 28] = { 2, TD|TSTA, SEN(oldfstat), "oldfstat" }, [ 29] = { 0, TS, SEN(pause), "pause" }, [ 30] = { 2, TF, SEN(utime), "utime" }, [ 31] = { 2, 0, SEN(stty), "stty" }, @@ -110,7 +110,7 @@ [ 81] = { 2, 0, SEN(setgroups16), "setgroups" }, [ 82] = { 1, TD, SEN(oldselect), "select" }, [ 83] = { 2, TF, SEN(symlink), "symlink" }, -[ 84] = { 2, TF, SEN(oldlstat), "oldlstat" }, +[ 84] = { 2, TF|TSTA, SEN(oldlstat), "oldlstat" }, [ 85] = { 3, TF, SEN(readlink), "readlink" }, [ 86] = { 1, TF, SEN(uselib), "uselib" }, [ 87] = { 2, TF, SEN(swapon), "swapon" }, @@ -132,9 +132,9 @@ [103] = { 3, 0, SEN(syslog), "syslog" }, [104] = { 3, 0, SEN(setitimer), "setitimer" }, [105] = { 2, 0, SEN(getitimer), "getitimer" }, -[106] = { 2, TF, SEN(stat), "stat" }, -[107] = { 2, TF, SEN(lstat), "lstat" }, -[108] = { 2, TD, SEN(fstat), "fstat" }, +[106] = { 2, TF|TSTA, SEN(stat), "stat" }, +[107] = { 2, TF|TSTA, SEN(lstat), "lstat" }, +[108] = { 2, TD|TSTA, SEN(fstat), "fstat" }, [109] = { 1, 0, SEN(olduname), "olduname" }, [110] = { 1, 0, SEN(iopl), "iopl" }, [111] = { 0, 0, SEN(vhangup), "vhangup" }, @@ -221,9 +221,9 @@ [192] = { 6, TD|TM|SI, SEN(mmap_pgoff), "mmap2" }, [193] = { 3, TF, SEN(truncate64), "truncate64" }, [194] = { 3, TD, SEN(ftruncate64), "ftruncate64" }, -[195] = { 2, TF, SEN(stat64), "stat64" }, -[196] = { 2, TF, SEN(lstat64), "lstat64" }, -[197] = { 2, TD, SEN(fstat64), "fstat64" }, +[195] = { 2, TF|TSTA, SEN(stat64), "stat64" }, +[196] = { 2, TF|TSTA, SEN(lstat64), "lstat64" }, +[197] = { 2, TD|TSTA, SEN(fstat64), "fstat64" }, [198] = { 3, TF, SEN(chown), "lchown32" }, [199] = { 0, NF, SEN(getuid), "getuid32" }, [200] = { 0, NF, SEN(getgid), "getgid32" }, @@ -325,7 +325,7 @@ [297] = { 4, TD|TF, SEN(mknodat), "mknodat" }, [298] = { 5, TD|TF, SEN(fchownat), "fchownat" }, [299] = { 3, TD|TF, SEN(futimesat), "futimesat" }, -[300] = { 4, TD|TF, SEN(fstatat64), "fstatat64" }, +[300] = { 4, TD|TF|TSTA, SEN(fstatat64), "fstatat64" }, [301] = { 3, TD|TF, SEN(unlinkat), "unlinkat" }, [302] = { 4, TD|TF, SEN(renameat), "renameat" }, [303] = { 5, TD|TF, SEN(linkat), "linkat" }, @@ -408,7 +408,7 @@ [380] = { 4, TM|SI, SEN(pkey_mprotect), "pkey_mprotect" }, [381] = { 2, 0, SEN(pkey_alloc), "pkey_alloc" }, [382] = { 1, 0, SEN(pkey_free), "pkey_free" }, -[383] = { 5, TD|TF, SEN(statx), "statx" }, +[383] = { 5, TD|TF|TSTA, SEN(statx), "statx" }, #define SYS_socket_subcall 400 #include "subcall.h" diff --git a/linux/ia64/syscallent.h b/linux/ia64/syscallent.h index 2ad9c377..8b951546 100644 --- a/linux/ia64/syscallent.h +++ b/linux/ia64/syscallent.h @@ -137,9 +137,9 @@ [1117] = { 3, 0, SEN(syslog), "syslog" }, [1118] = { 3, 0, SEN(setitimer), "setitimer" }, [1119] = { 2, 0, SEN(getitimer), "getitimer" }, -[1120] = { 2, TF, SEN(stat), "stat" }, -[1121] = { 2, TF, SEN(lstat), "lstat" }, -[1122] = { 2, TD, SEN(fstat), "fstat" }, +[1120] = { 2, TF|TSTA, SEN(stat), "stat" }, +[1121] = { 2, TF|TSTA, SEN(lstat), "lstat" }, +[1122] = { 2, TD|TSTA, SEN(fstat), "fstat" }, [1123] = { 0, 0, SEN(vhangup), "vhangup" }, [1124] = { 3, TF, SEN(chown), "lchown" }, [1125] = { 5, TM|SI, SEN(remap_file_pages), "remap_file_pages" }, @@ -227,9 +227,9 @@ [1207] = { 2, TF, SEN(pivotroot), "pivot_root" }, [1208] = { 3, TM, SEN(mincore), "mincore" }, [1209] = { 3, TM, SEN(madvise), "madvise" }, -[1210] = { 2, TF, SEN(stat), "stat" }, -[1211] = { 2, TF, SEN(lstat), "lstat" }, -[1212] = { 2, TD, SEN(fstat), "fstat" }, +[1210] = { 2, TF|TSTA, SEN(stat), "stat" }, +[1211] = { 2, TF|TSTA, SEN(lstat), "lstat" }, +[1212] = { 2, TD|TSTA, SEN(fstat), "fstat" }, [1213] = { 6, TP, SEN(clone), "clone2" }, [1214] = { 3, TD, SEN(getdents64), "getdents64" }, [1215] = { 2, 0, SEN(printargs), "getunwind" }, @@ -303,7 +303,7 @@ [1283] = { 4, TD|TF, SEN(mknodat), "mknodat" }, [1284] = { 5, TD|TF, SEN(fchownat), "fchownat" }, [1285] = { 3, TD|TF, SEN(futimesat), "futimesat" }, -[1286] = { 4, TD|TF, SEN(newfstatat), "newfstatat" }, +[1286] = { 4, TD|TF|TSTA, SEN(newfstatat), "newfstatat" }, [1287] = { 3, TD|TF, SEN(unlinkat), "unlinkat" }, [1288] = { 4, TD|TF, SEN(renameat), "renameat" }, [1289] = { 5, TD|TF, SEN(linkat), "linkat" }, diff --git a/linux/m68k/syscallent.h b/linux/m68k/syscallent.h index b4b420ec..fd7448bc 100644 --- a/linux/m68k/syscallent.h +++ b/linux/m68k/syscallent.h @@ -44,7 +44,7 @@ [ 15] = { 2, TF, SEN(chmod), "chmod" }, [ 16] = { 3, TF, SEN(chown16), "chown" }, [ 17] = { 0, TM, SEN(break), "break" }, -[ 18] = { 2, TF, SEN(oldstat), "oldstat" }, +[ 18] = { 2, TF|TSTA, SEN(oldstat), "oldstat" }, [ 19] = { 3, TD, SEN(lseek), "lseek" }, [ 20] = { 0, NF, SEN(getpid), "getpid" }, [ 21] = { 5, TF, SEN(mount), "mount" }, @@ -54,7 +54,7 @@ [ 25] = { 1, 0, SEN(stime), "stime" }, [ 26] = { 4, 0, SEN(ptrace), "ptrace" }, [ 27] = { 1, 0, SEN(alarm), "alarm" }, -[ 28] = { 2, TD, SEN(oldfstat), "oldfstat" }, +[ 28] = { 2, TD|TSTA, SEN(oldfstat), "oldfstat" }, [ 29] = { 0, TS, SEN(pause), "pause" }, [ 30] = { 2, TF, SEN(utime), "utime" }, [ 31] = { 2, 0, SEN(stty), "stty" }, @@ -110,7 +110,7 @@ [ 81] = { 2, 0, SEN(setgroups16), "setgroups" }, [ 82] = { 1, TD, SEN(oldselect), "select" }, [ 83] = { 2, TF, SEN(symlink), "symlink" }, -[ 84] = { 2, TF, SEN(oldlstat), "oldlstat" }, +[ 84] = { 2, TF|TSTA, SEN(oldlstat), "oldlstat" }, [ 85] = { 3, TF, SEN(readlink), "readlink" }, [ 86] = { 1, TF, SEN(uselib), "uselib" }, [ 87] = { 2, TF, SEN(swapon), "swapon" }, @@ -132,9 +132,9 @@ [103] = { 3, 0, SEN(syslog), "syslog" }, [104] = { 3, 0, SEN(setitimer), "setitimer" }, [105] = { 2, 0, SEN(getitimer), "getitimer" }, -[106] = { 2, TF, SEN(stat), "stat" }, -[107] = { 2, TF, SEN(lstat), "lstat" }, -[108] = { 2, TD, SEN(fstat), "fstat" }, +[106] = { 2, TF|TSTA, SEN(stat), "stat" }, +[107] = { 2, TF|TSTA, SEN(lstat), "lstat" }, +[108] = { 2, TD|TSTA, SEN(fstat), "fstat" }, [109] = { 1, 0, SEN(olduname), "olduname" }, [110] = { 1, 0, SEN(iopl), "iopl" }, [111] = { 0, 0, SEN(vhangup), "vhangup" }, @@ -221,9 +221,9 @@ [192] = { 6, TD|TM|SI, SEN(mmap_pgoff), "mmap2" }, [193] = { 3, TF, SEN(truncate64), "truncate64" }, [194] = { 3, TD, SEN(ftruncate64), "ftruncate64" }, -[195] = { 2, TF, SEN(stat64), "stat64" }, -[196] = { 2, TF, SEN(lstat64), "lstat64" }, -[197] = { 2, TD, SEN(fstat64), "fstat64" }, +[195] = { 2, TF|TSTA, SEN(stat64), "stat64" }, +[196] = { 2, TF|TSTA, SEN(lstat64), "lstat64" }, +[197] = { 2, TD|TSTA, SEN(fstat64), "fstat64" }, [198] = { 3, TF, SEN(chown), "chown32" }, [199] = { 0, NF, SEN(getuid), "getuid32" }, [200] = { 0, NF, SEN(getgid), "getgid32" }, @@ -318,7 +318,7 @@ [290] = { 4, TD|TF, SEN(mknodat), "mknodat" }, [291] = { 5, TD|TF, SEN(fchownat), "fchownat" }, [292] = { 3, TD|TF, SEN(futimesat), "futimesat" }, -[293] = { 4, TD|TF, SEN(fstatat64), "fstatat64" }, +[293] = { 4, TD|TF|TSTA, SEN(fstatat64), "fstatat64" }, [294] = { 3, TD|TF, SEN(unlinkat), "unlinkat" }, [295] = { 4, TD|TF, SEN(renameat), "renameat" }, [296] = { 5, TD|TF, SEN(linkat), "linkat" }, @@ -404,7 +404,7 @@ [376] = { 6, TD, SEN(copy_file_range), "copy_file_range" }, [377] = { 6, TD, SEN(preadv2), "preadv2" }, [378] = { 6, TD, SEN(pwritev2), "pwritev2" }, -[379] = { 5, TD|TF, SEN(statx), "statx" }, +[379] = { 5, TD|TF|TSTA, SEN(statx), "statx" }, #define SYS_socket_subcall 400 #include "subcall.h" diff --git a/linux/microblaze/syscallent.h b/linux/microblaze/syscallent.h index bf5dae2b..4abe6ef1 100644 --- a/linux/microblaze/syscallent.h +++ b/linux/microblaze/syscallent.h @@ -44,7 +44,7 @@ [ 15] = { 2, TF, SEN(chmod), "chmod" }, [ 16] = { 3, TF, SEN(chown16), "lchown" }, [ 17] = { 0, TM, SEN(break), "break" }, -[ 18] = { 2, TF, SEN(oldstat), "oldstat" }, +[ 18] = { 2, TF|TSTA, SEN(oldstat), "oldstat" }, [ 19] = { 3, TD, SEN(lseek), "lseek" }, [ 20] = { 0, NF, SEN(getpid), "getpid" }, [ 21] = { 5, TF, SEN(mount), "mount" }, @@ -54,7 +54,7 @@ [ 25] = { 1, 0, SEN(stime), "stime" }, [ 26] = { 4, 0, SEN(ptrace), "ptrace" }, [ 27] = { 1, 0, SEN(alarm), "alarm" }, -[ 28] = { 2, TD, SEN(oldfstat), "oldfstat" }, +[ 28] = { 2, TD|TSTA, SEN(oldfstat), "oldfstat" }, [ 29] = { 0, TS, SEN(pause), "pause" }, [ 30] = { 2, TF, SEN(utime), "utime" }, [ 31] = { 2, 0, SEN(stty), "stty" }, @@ -110,7 +110,7 @@ [ 81] = { 2, 0, SEN(setgroups16), "setgroups" }, [ 82] = { 1, TD, SEN(oldselect), "select" }, [ 83] = { 2, TF, SEN(symlink), "symlink" }, -[ 84] = { 2, TF, SEN(oldlstat), "oldlstat" }, +[ 84] = { 2, TF|TSTA, SEN(oldlstat), "oldlstat" }, [ 85] = { 3, TF, SEN(readlink), "readlink" }, [ 86] = { 1, TF, SEN(uselib), "uselib" }, [ 87] = { 2, TF, SEN(swapon), "swapon" }, @@ -132,9 +132,9 @@ [103] = { 3, 0, SEN(syslog), "syslog" }, [104] = { 3, 0, SEN(setitimer), "setitimer" }, [105] = { 2, 0, SEN(getitimer), "getitimer" }, -[106] = { 2, TF, SEN(stat), "stat" }, -[107] = { 2, TF, SEN(lstat), "lstat" }, -[108] = { 2, TD, SEN(fstat), "fstat" }, +[106] = { 2, TF|TSTA, SEN(stat), "stat" }, +[107] = { 2, TF|TSTA, SEN(lstat), "lstat" }, +[108] = { 2, TD|TSTA, SEN(fstat), "fstat" }, [109] = { 1, 0, SEN(olduname), "olduname" }, [110] = { 1, 0, SEN(iopl), "iopl" }, [111] = { 0, 0, SEN(vhangup), "vhangup" }, @@ -221,9 +221,9 @@ [192] = { 6, TD|TM|SI, SEN(mmap_pgoff), "mmap2" }, [193] = { 3, TF, SEN(truncate64), "truncate64" }, [194] = { 3, TD, SEN(ftruncate64), "ftruncate64" }, -[195] = { 2, TF, SEN(stat64), "stat64" }, -[196] = { 2, TF, SEN(lstat64), "lstat64" }, -[197] = { 2, TD, SEN(fstat64), "fstat64" }, +[195] = { 2, TF|TSTA, SEN(stat64), "stat64" }, +[196] = { 2, TF|TSTA, SEN(lstat64), "lstat64" }, +[197] = { 2, TD|TSTA, SEN(fstat64), "fstat64" }, [198] = { 3, TF, SEN(chown), "lchown32" }, [199] = { 0, NF, SEN(getuid), "getuid32" }, [200] = { 0, NF, SEN(getgid), "getgid32" }, @@ -325,7 +325,7 @@ [297] = { 4, TD|TF, SEN(mknodat), "mknodat" }, [298] = { 5, TD|TF, SEN(fchownat), "fchownat" }, [299] = { 3, TD|TF, SEN(futimesat), "futimesat" }, -[300] = { 4, TD|TF, SEN(fstatat64), "fstatat64" }, +[300] = { 4, TD|TF|TSTA, SEN(fstatat64), "fstatat64" }, [301] = { 3, TD|TF, SEN(unlinkat), "unlinkat" }, [302] = { 4, TD|TF, SEN(renameat), "renameat" }, [303] = { 5, TD|TF, SEN(linkat), "linkat" }, diff --git a/linux/mips/syscallent-compat.h b/linux/mips/syscallent-compat.h index d0c2a398..21182ff5 100644 --- a/linux/mips/syscallent-compat.h +++ b/linux/mips/syscallent-compat.h @@ -16,7 +16,7 @@ [ 15] = { 0, 0, SEN(printargs), "svr4_chmod" }, [ 16] = { 0, 0, SEN(printargs), "svr4_chown" }, [ 17] = { 0, TM, SEN(printargs), "svr4_sbreak" }, -[ 18] = { 0, TF, SEN(printargs), "svr4_stat" }, +[ 18] = { 0, TF|TSTA,SEN(printargs), "svr4_stat" }, [ 19] = { 0, 0, SEN(printargs), "svr4_lseek" }, [ 20] = { 0, 0, SEN(printargs), "svr4_getpid" }, [ 21] = { 0, 0, SEN(printargs), "svr4_mount" }, @@ -26,7 +26,7 @@ [ 25] = { 0, 0, SEN(printargs), "svr4_stime" }, [ 26] = { 0, 0, SEN(printargs), "svr4_ptrace" }, [ 27] = { 0, 0, SEN(printargs), "svr4_alarm" }, -[ 28] = { 0, TD, SEN(printargs), "svr4_fstat" }, +[ 28] = { 0, TD|TSTA,SEN(printargs), "svr4_fstat" }, [ 29] = { 0, 0, SEN(printargs), "svr4_pause" }, [ 30] = { 0, 0, SEN(printargs), "svr4_utime" }, [ 31] = { 0, 0, SEN(printargs), "svr4_stty" }, @@ -81,7 +81,7 @@ [ 85] = { 0, 0, SEN(printargs), "svr4_getmsg" }, [ 86] = { 0, 0, SEN(printargs), "svr4_putmsg" }, [ 87] = { 0, 0, SEN(printargs), "svr4_poll" }, -[ 88] = { 0, TF, SEN(printargs), "svr4_lstat" }, +[ 88] = { 0, TF|TSTA,SEN(printargs), "svr4_lstat" }, [ 89] = { 0, 0, SEN(printargs), "svr4_symlink" }, [ 90] = { 0, 0, SEN(printargs), "svr4_readlink" }, [ 91] = { 0, 0, SEN(printargs), "svr4_setgroups" }, @@ -116,9 +116,9 @@ [ 120] = { 0, 0, SEN(printargs), "svr4_fchdir" }, [ 121] = { 0, 0, SEN(printargs), "svr4_readv" }, [ 122] = { 0, 0, SEN(printargs), "svr4_writev" }, -[ 123] = { 0, TF, SEN(printargs), "svr4_xstat" }, -[ 124] = { 0, TF, SEN(printargs), "svr4_lxstat" }, -[ 125] = { 0, TD, SEN(printargs), "svr4_fxstat" }, +[ 123] = { 0, TF|TSTA,SEN(printargs), "svr4_xstat" }, +[ 124] = { 0, TF|TSTA,SEN(printargs), "svr4_lxstat" }, +[ 125] = { 0, TD|TSTA,SEN(printargs), "svr4_fxstat" }, [ 126] = { 0, 0, SEN(printargs), "svr4_xmknod" }, [ 127] = { 0, 0, SEN(printargs), "svr4_clocal" }, [ 128] = { 0, 0, SEN(printargs), "svr4_setrlimit" }, @@ -167,7 +167,7 @@ [1015] = { 0, 0, SEN(printargs), "sysv_chmod" }, [1016] = { 0, 0, SEN(printargs), "sysv_chown" }, [1017] = { 0, TM|SI, SEN(printargs), "sysv_brk" }, -[1018] = { 0, TF, SEN(printargs), "sysv_stat" }, +[1018] = { 0, TF|TSTA,SEN(printargs), "sysv_stat" }, [1019] = { 0, 0, SEN(printargs), "sysv_lseek" }, [1020] = { 0, 0, SEN(printargs), "sysv_getpid" }, [1021] = { 0, 0, SEN(printargs), "sysv_mount" }, @@ -177,7 +177,7 @@ [1025] = { 0, 0, SEN(printargs), "sysv_stime" }, [1026] = { 0, 0, SEN(printargs), "sysv_ptrace" }, [1027] = { 0, 0, SEN(printargs), "sysv_alarm" }, -[1028] = { 0, TD, SEN(printargs), "sysv_fstat" }, +[1028] = { 0, TD|TSTA,SEN(printargs), "sysv_fstat" }, [1029] = { 0, 0, SEN(printargs), "sysv_pause" }, [1030] = { 0, 0, SEN(printargs), "sysv_utime" }, [1031] = { 0, 0, SEN(printargs), "sysv_stty" }, @@ -261,7 +261,7 @@ [1114] = { 0, 0, SEN(printargs), "sysv_rename" }, [1115] = { 0, 0, SEN(printargs), "sysv_symlink" }, [1116] = { 0, 0, SEN(printargs), "sysv_readlink" }, -[1117] = { 0, TF, SEN(printargs), "sysv_lstat" }, +[1117] = { 0, TF|TSTA,SEN(printargs), "sysv_lstat" }, [1118] = { 0, 0, SEN(printargs), "sysv_nfsmount" }, [1119] = { 0, 0, SEN(printargs), "sysv_nfssvc" }, [1120] = { 0, 0, SEN(printargs), "sysv_getfh" }, @@ -302,9 +302,9 @@ [1155] = { 0, 0, SEN(printargs), "sysv_socketpair" }, [1156] = { 0, 0, SEN(printargs), "sysv_sysinfo" }, [1157] = { 0, 0, SEN(printargs), "sysv_nuname" }, -[1158] = { 0, TF, SEN(printargs), "sysv_xstat" }, -[1159] = { 0, TF, SEN(printargs), "sysv_lxstat" }, -[1160] = { 0, TD, SEN(printargs), "sysv_fxstat" }, +[1158] = { 0, TF|TSTA,SEN(printargs), "sysv_xstat" }, +[1159] = { 0, TF|TSTA,SEN(printargs), "sysv_lxstat" }, +[1160] = { 0, TD|TSTA,SEN(printargs), "sysv_fxstat" }, [1161] = { 0, 0, SEN(printargs), "sysv_xmknod" }, [1162] = { 0, 0, SEN(printargs), "sysv_ksigaction" }, [1163] = { 0, 0, SEN(printargs), "sysv_sigpending" }, @@ -352,7 +352,7 @@ [2015] = { 0, 0, SEN(printargs), "bsd43_chmod" }, [2016] = { 0, 0, SEN(printargs), "bsd43_chown" }, [2017] = { 0, TM, SEN(printargs), "bsd43_sbreak" }, -[2018] = { 0, TF, SEN(printargs), "bsd43_oldstat" }, +[2018] = { 0, TF|TSTA,SEN(printargs), "bsd43_oldstat" }, [2019] = { 0, 0, SEN(printargs), "bsd43_lseek" }, [2020] = { 0, 0, SEN(printargs), "bsd43_getpid" }, [2021] = { 0, 0, SEN(printargs), "bsd43_oldmount" }, @@ -362,7 +362,7 @@ [2025] = { 0, 0, SEN(printargs), "bsd43_stime" }, [2026] = { 0, 0, SEN(printargs), "bsd43_ptrace" }, [2027] = { 0, 0, SEN(printargs), "bsd43_alarm" }, -[2028] = { 0, TD, SEN(printargs), "bsd43_oldfstat" }, +[2028] = { 0, TD|TSTA,SEN(printargs), "bsd43_oldfstat" }, [2029] = { 0, 0, SEN(printargs), "bsd43_pause" }, [2030] = { 0, 0, SEN(printargs), "bsd43_utime" }, [2031] = { 0, 0, SEN(printargs), "bsd43_stty" }, @@ -372,9 +372,9 @@ [2035] = { 0, 0, SEN(printargs), "bsd43_ftime" }, [2036] = { 0, 0, SEN(printargs), "bsd43_sync" }, [2037] = { 0, 0, SEN(printargs), "bsd43_kill" }, -[2038] = { 0, TF, SEN(printargs), "bsd43_stat" }, +[2038] = { 0, TF|TSTA,SEN(printargs), "bsd43_stat" }, [2039] = { 0, 0, SEN(printargs), "bsd43_oldsetpgrp" }, -[2040] = { 0, TF, SEN(printargs), "bsd43_lstat" }, +[2040] = { 0, TF|TSTA,SEN(printargs), "bsd43_lstat" }, [2041] = { 0, 0, SEN(printargs), "bsd43_dup" }, [2042] = { 0, 0, SEN(printargs), "bsd43_pipe" }, [2043] = { 0, 0, SEN(printargs), "bsd43_times" }, @@ -396,7 +396,7 @@ [2059] = { 0, 0, SEN(printargs), "bsd43_execve" }, [2060] = { 0, 0, SEN(printargs), "bsd43_umask" }, [2061] = { 0, 0, SEN(printargs), "bsd43_chroot" }, -[2062] = { 0, TD, SEN(printargs), "bsd43_fstat" }, +[2062] = { 0, TD|TSTA,SEN(printargs), "bsd43_fstat" }, [2063] = { }, [2064] = { 0, 0, SEN(printargs), "bsd43_getpagesize" }, [2065] = { 0, TM|SI, SEN(printargs), "bsd43_mremap" }, @@ -545,7 +545,7 @@ [3015] = { 0, 0, SEN(printargs), "posix_chmod" }, [3016] = { 0, 0, SEN(printargs), "posix_chown" }, [3017] = { 0, TM, SEN(printargs), "posix_sbreak" }, -[3018] = { 0, TF, SEN(printargs), "posix_stat" }, +[3018] = { 0, TF|TSTA,SEN(printargs), "posix_stat" }, [3019] = { 0, 0, SEN(printargs), "posix_lseek" }, [3020] = { 0, 0, SEN(printargs), "posix_getpid" }, [3021] = { 0, 0, SEN(printargs), "posix_mount" }, @@ -555,7 +555,7 @@ [3025] = { 0, 0, SEN(printargs), "posix_stime" }, [3026] = { 0, 0, SEN(printargs), "posix_ptrace" }, [3027] = { 0, 0, SEN(printargs), "posix_alarm" }, -[3028] = { 0, TD, SEN(printargs), "posix_fstat" }, +[3028] = { 0, TD|TSTA,SEN(printargs), "posix_fstat" }, [3029] = { 0, 0, SEN(printargs), "posix_pause" }, [3030] = { 0, 0, SEN(printargs), "posix_utime" }, [3031] = { 0, 0, SEN(printargs), "posix_stty" }, @@ -639,7 +639,7 @@ [3114] = { 0, 0, SEN(printargs), "posix_rename" }, [3115] = { 0, 0, SEN(printargs), "posix_symlink" }, [3116] = { 0, 0, SEN(printargs), "posix_readlink" }, -[3117] = { 0, TF, SEN(printargs), "posix_lstat" }, +[3117] = { 0, TF|TSTA,SEN(printargs), "posix_lstat" }, [3118] = { 0, 0, SEN(printargs), "posix_nfs_mount" }, [3119] = { 0, 0, SEN(printargs), "posix_nfs_svc" }, [3120] = { 0, 0, SEN(printargs), "posix_nfs_getfh" }, diff --git a/linux/mips/syscallent-n32.h b/linux/mips/syscallent-n32.h index 1f6de8d9..9dbc1363 100644 --- a/linux/mips/syscallent-n32.h +++ b/linux/mips/syscallent-n32.h @@ -4,9 +4,9 @@ [6001] = { 3, TD, SEN(write), "write" }, [6002] = { 3, TD|TF, SEN(open), "open" }, [6003] = { 1, TD, SEN(close), "close" }, -[6004] = { 2, TF, SEN(stat64), "stat" }, -[6005] = { 2, TD, SEN(fstat64), "fstat" }, -[6006] = { 2, TF, SEN(lstat64), "lstat" }, +[6004] = { 2, TF|TSTA, SEN(stat64), "stat" }, +[6005] = { 2, TD|TSTA, SEN(fstat64), "fstat" }, +[6006] = { 2, TF|TSTA, SEN(lstat64), "lstat" }, [6007] = { 3, TD, SEN(poll), "poll" }, [6008] = { 3, TD, SEN(lseek), "lseek" }, [6009] = { 6, TD|TM|SI, SEN(mmap), "mmap" }, @@ -256,7 +256,7 @@ [6253] = { 4, TD|TF, SEN(mknodat), "mknodat" }, [6254] = { 5, TD|TF, SEN(fchownat), "fchownat" }, [6255] = { 3, TD|TF, SEN(futimesat), "futimesat" }, -[6256] = { 4, TD|TF, SEN(newfstatat), "newfstatat" }, +[6256] = { 4, TD|TF|TSTA, SEN(newfstatat), "newfstatat" }, [6257] = { 3, TD|TF, SEN(unlinkat), "unlinkat" }, [6258] = { 4, TD|TF, SEN(renameat), "renameat" }, [6259] = { 5, TD|TF, SEN(linkat), "linkat" }, @@ -330,7 +330,7 @@ [6327] = { 4, TM|SI, SEN(pkey_mprotect), "pkey_mprotect" }, [6328] = { 2, 0, SEN(pkey_alloc), "pkey_alloc" }, [6329] = { 1, 0, SEN(pkey_free), "pkey_free" }, -[6330] = { 5, TD|TF, SEN(statx), "statx" }, +[6330] = { 5, TD|TF|TSTA, SEN(statx), "statx" }, # define SYS_socket_subcall 6400 # include "subcall.h" diff --git a/linux/mips/syscallent-n64.h b/linux/mips/syscallent-n64.h index ddef6b2c..21750421 100644 --- a/linux/mips/syscallent-n64.h +++ b/linux/mips/syscallent-n64.h @@ -4,9 +4,9 @@ [5001] = { 3, TD, SEN(write), "write" }, [5002] = { 3, TD|TF, SEN(open), "open" }, [5003] = { 1, TD, SEN(close), "close" }, -[5004] = { 2, TF, SEN(stat), "stat" }, -[5005] = { 2, TD, SEN(fstat), "fstat" }, -[5006] = { 2, TF, SEN(lstat), "lstat" }, +[5004] = { 2, TF|TSTA, SEN(stat), "stat" }, +[5005] = { 2, TD|TSTA, SEN(fstat), "fstat" }, +[5006] = { 2, TF|TSTA, SEN(lstat), "lstat" }, [5007] = { 3, TD, SEN(poll), "poll" }, [5008] = { 3, TD, SEN(lseek), "lseek" }, [5009] = { 6, TD|TM|SI, SEN(mmap), "mmap" }, @@ -252,7 +252,7 @@ [5249] = { 4, TD|TF, SEN(mknodat), "mknodat" }, [5250] = { 5, TD|TF, SEN(fchownat), "fchownat" }, [5251] = { 3, TD|TF, SEN(futimesat), "futimesat" }, -[5252] = { 4, TD|TF, SEN(newfstatat), "newfstatat" }, +[5252] = { 4, TD|TF|TSTA, SEN(newfstatat), "newfstatat" }, [5253] = { 3, TD|TF, SEN(unlinkat), "unlinkat" }, [5254] = { 4, TD|TF, SEN(renameat), "renameat" }, [5255] = { 5, TD|TF, SEN(linkat), "linkat" }, @@ -326,7 +326,7 @@ [5323] = { 4, TM|SI, SEN(pkey_mprotect), "pkey_mprotect" }, [5324] = { 2, 0, SEN(pkey_alloc), "pkey_alloc" }, [5325] = { 1, 0, SEN(pkey_free), "pkey_free" }, -[5326] = { 5, TD|TF, SEN(statx), "statx" }, +[5326] = { 5, TD|TF|TSTA, SEN(statx), "statx" }, # define SYS_socket_subcall 5400 # include "subcall.h" diff --git a/linux/mips/syscallent-o32.h b/linux/mips/syscallent-o32.h index 743cac0b..bd176f82 100644 --- a/linux/mips/syscallent-o32.h +++ b/linux/mips/syscallent-o32.h @@ -18,7 +18,7 @@ [4015] = { 2, TF, SEN(chmod), "chmod" }, [4016] = { 3, TF, SEN(chown), "lchown" }, [4017] = { 0, TM, SEN(break), "break" }, -[4018] = { 2, TF, SEN(oldstat), "oldstat" }, +[4018] = { 2, TF|TSTA, SEN(oldstat), "oldstat" }, [4019] = { 3, TD, SEN(lseek), "lseek" }, [4020] = { 0, NF, SEN(getpid), "getpid" }, [4021] = { 5, TF, SEN(mount), "mount" }, @@ -28,7 +28,7 @@ [4025] = { 1, 0, SEN(stime), "stime" }, [4026] = { 4, 0, SEN(ptrace), "ptrace" }, [4027] = { 1, 0, SEN(alarm), "alarm" }, -[4028] = { 2, TD, SEN(oldfstat), "oldfstat" }, +[4028] = { 2, TD|TSTA, SEN(oldfstat), "oldfstat" }, [4029] = { 0, TS, SEN(pause), "pause" }, [4030] = { 2, TF, SEN(utime), "utime" }, [4031] = { 0, 0, SEN(stty), "stty" }, @@ -84,7 +84,7 @@ [4081] = { 2, 0, SEN(setgroups), "setgroups" }, [4082] = { 0, 0, SEN(printargs), "reserved82" }, [4083] = { 2, TF, SEN(symlink), "symlink" }, -[4084] = { 2, TF, SEN(oldlstat), "oldlstat" }, +[4084] = { 2, TF|TSTA, SEN(oldlstat), "oldlstat" }, [4085] = { 3, TF, SEN(readlink), "readlink" }, [4086] = { 1, TF, SEN(uselib), "uselib" }, [4087] = { 2, TF, SEN(swapon), "swapon" }, @@ -106,9 +106,9 @@ [4103] = { 3, 0, SEN(syslog), "syslog" }, [4104] = { 3, 0, SEN(setitimer), "setitimer" }, [4105] = { 2, 0, SEN(getitimer), "getitimer" }, -[4106] = { 2, TF, SEN(stat), "stat" }, -[4107] = { 2, TF, SEN(lstat), "lstat" }, -[4108] = { 2, TD, SEN(fstat), "fstat" }, +[4106] = { 2, TF|TSTA, SEN(stat), "stat" }, +[4107] = { 2, TF|TSTA, SEN(lstat), "lstat" }, +[4108] = { 2, TD|TSTA, SEN(fstat), "fstat" }, [4109] = { 1, 0, SEN(olduname), "olduname" }, [4110] = { 1, 0, SEN(iopl), "iopl" }, [4111] = { 0, 0, SEN(vhangup), "vhangup" }, @@ -213,9 +213,9 @@ [4210] = { 6, TD|TM|SI, SEN(mmap_4koff), "mmap2" }, [4211] = { 4, TF, SEN(truncate64), "truncate64" }, [4212] = { 4, TD, SEN(ftruncate64), "ftruncate64" }, -[4213] = { 2, TF, SEN(stat64), "stat64" }, -[4214] = { 2, TF, SEN(lstat64), "lstat64" }, -[4215] = { 2, TD, SEN(fstat64), "fstat64" }, +[4213] = { 2, TF|TSTA, SEN(stat64), "stat64" }, +[4214] = { 2, TF|TSTA, SEN(lstat64), "lstat64" }, +[4215] = { 2, TD|TSTA, SEN(fstat64), "fstat64" }, [4216] = { 2, TF, SEN(pivotroot), "pivot_root" }, [4217] = { 3, TM, SEN(mincore), "mincore" }, [4218] = { 3, TM, SEN(madvise), "madvise" }, @@ -293,7 +293,7 @@ [4290] = { 4, TD|TF, SEN(mknodat), "mknodat" }, [4291] = { 5, TD|TF, SEN(fchownat), "fchownat" }, [4292] = { 3, TD|TF, SEN(futimesat), "futimesat" }, -[4293] = { 4, TD|TF, SEN(fstatat64), "fstatat64" }, +[4293] = { 4, TD|TF|TSTA, SEN(fstatat64), "fstatat64" }, [4294] = { 3, TD|TF, SEN(unlinkat), "unlinkat" }, [4295] = { 4, TD|TF, SEN(renameat), "renameat" }, [4296] = { 5, TD|TF, SEN(linkat), "linkat" }, @@ -366,7 +366,7 @@ [4363] = { 4, TM|SI, SEN(pkey_mprotect), "pkey_mprotect" }, [4364] = { 2, 0, SEN(pkey_alloc), "pkey_alloc" }, [4365] = { 1, 0, SEN(pkey_free), "pkey_free" }, -[4366] = { 5, TD|TF, SEN(statx), "statx" }, +[4366] = { 5, TD|TF|TSTA, SEN(statx), "statx" }, # define SYS_socket_subcall 4400 # include "subcall.h" diff --git a/linux/powerpc/syscallent.h b/linux/powerpc/syscallent.h index 4f2d2f8f..af679a73 100644 --- a/linux/powerpc/syscallent.h +++ b/linux/powerpc/syscallent.h @@ -44,7 +44,7 @@ [ 15] = { 2, TF, SEN(chmod), "chmod" }, [ 16] = { 3, TF, SEN(chown), "lchown" }, [ 17] = { 0, TM, SEN(break), "break" }, -[ 18] = { 2, TF, SEN(oldstat), "oldstat" }, +[ 18] = { 2, TF|TSTA, SEN(oldstat), "oldstat" }, [ 19] = { 3, TD, SEN(lseek), "lseek" }, [ 20] = { 0, NF, SEN(getpid), "getpid" }, [ 21] = { 5, TF, SEN(mount), "mount" }, @@ -54,7 +54,7 @@ [ 25] = { 1, 0, SEN(stime), "stime" }, [ 26] = { 4, 0, SEN(ptrace), "ptrace" }, [ 27] = { 1, 0, SEN(alarm), "alarm" }, -[ 28] = { 2, TD, SEN(oldfstat), "oldfstat" }, +[ 28] = { 2, TD|TSTA, SEN(oldfstat), "oldfstat" }, [ 29] = { 0, TS, SEN(pause), "pause" }, [ 30] = { 2, TF, SEN(utime), "utime" }, [ 31] = { 2, 0, SEN(stty), "stty" }, @@ -110,7 +110,7 @@ [ 81] = { 2, 0, SEN(setgroups), "setgroups" }, [ 82] = { 1, TD, SEN(oldselect), "select" }, [ 83] = { 2, TF, SEN(symlink), "symlink" }, -[ 84] = { 2, TF, SEN(oldlstat), "oldlstat" }, +[ 84] = { 2, TF|TSTA, SEN(oldlstat), "oldlstat" }, [ 85] = { 3, TF, SEN(readlink), "readlink" }, [ 86] = { 1, TF, SEN(uselib), "uselib" }, [ 87] = { 2, TF, SEN(swapon), "swapon" }, @@ -132,9 +132,9 @@ [103] = { 3, 0, SEN(syslog), "syslog" }, [104] = { 3, 0, SEN(setitimer), "setitimer" }, [105] = { 2, 0, SEN(getitimer), "getitimer" }, -[106] = { 2, TF, SEN(stat), "stat" }, -[107] = { 2, TF, SEN(lstat), "lstat" }, -[108] = { 2, TD, SEN(fstat), "fstat" }, +[106] = { 2, TF|TSTA, SEN(stat), "stat" }, +[107] = { 2, TF|TSTA, SEN(lstat), "lstat" }, +[108] = { 2, TD|TSTA, SEN(fstat), "fstat" }, [109] = { 1, 0, SEN(olduname), "olduname" }, [110] = { 1, 0, SEN(iopl), "iopl" }, [111] = { 0, 0, SEN(vhangup), "vhangup" }, @@ -221,9 +221,9 @@ [192] = { 6, TD|TM|SI, SEN(mmap_4koff), "mmap2" }, [193] = { 4, TF, SEN(truncate64), "truncate64" }, [194] = { 4, TD, SEN(ftruncate64), "ftruncate64" }, -[195] = { 2, TF, SEN(stat64), "stat64" }, -[196] = { 2, TF, SEN(lstat64), "lstat64" }, -[197] = { 2, TD, SEN(fstat64), "fstat64" }, +[195] = { 2, TF|TSTA, SEN(stat64), "stat64" }, +[196] = { 2, TF|TSTA, SEN(lstat64), "lstat64" }, +[197] = { 2, TD|TSTA, SEN(fstat64), "fstat64" }, [198] = { 5, 0, SEN(printargs), "pciconfig_read" }, [199] = { 5, 0, SEN(printargs), "pciconfig_write" }, [200] = { 3, 0, SEN(printargs), "pciconfig_iobase" }, @@ -317,7 +317,7 @@ [288] = { 4, TD|TF, SEN(mknodat), "mknodat" }, [289] = { 5, TD|TF, SEN(fchownat), "fchownat" }, [290] = { 3, TD|TF, SEN(futimesat), "futimesat" }, -[291] = { 4, TD|TF, SEN(fstatat64), "fstatat64" }, +[291] = { 4, TD|TF|TSTA, SEN(fstatat64), "fstatat64" }, [292] = { 3, TD|TF, SEN(unlinkat), "unlinkat" }, [293] = { 4, TD|TF, SEN(renameat), "renameat" }, [294] = { 5, TD|TF, SEN(linkat), "linkat" }, @@ -409,7 +409,7 @@ [380] = { 6, TD, SEN(preadv2), "preadv2" }, [381] = { 6, TD, SEN(pwritev2), "pwritev2" }, [382] = { 5, TD, SEN(kexec_file_load), "kexec_file_load" }, -[383] = { 5, TD|TF, SEN(statx), "statx" }, +[383] = { 5, TD|TF|TSTA, SEN(statx), "statx" }, #define SYS_socket_subcall 400 #include "subcall.h" diff --git a/linux/powerpc64/syscallent.h b/linux/powerpc64/syscallent.h index 416e10ba..2bef3090 100644 --- a/linux/powerpc64/syscallent.h +++ b/linux/powerpc64/syscallent.h @@ -44,7 +44,7 @@ [ 15] = { 2, TF, SEN(chmod), "chmod" }, [ 16] = { 3, TF, SEN(chown), "lchown" }, [ 17] = { 0, TM, SEN(break), "break" }, -[ 18] = { 2, TF, SEN(oldstat), "oldstat" }, +[ 18] = { 2, TF|TSTA, SEN(oldstat), "oldstat" }, [ 19] = { 3, TD, SEN(lseek), "lseek" }, [ 20] = { 0, NF, SEN(getpid), "getpid" }, [ 21] = { 5, TF, SEN(mount), "mount" }, @@ -54,7 +54,7 @@ [ 25] = { 1, 0, SEN(stime), "stime" }, [ 26] = { 4, 0, SEN(ptrace), "ptrace" }, [ 27] = { 1, 0, SEN(alarm), "alarm" }, -[ 28] = { 2, TD, SEN(oldfstat), "oldfstat" }, +[ 28] = { 2, TD|TSTA, SEN(oldfstat), "oldfstat" }, [ 29] = { 0, TS, SEN(pause), "pause" }, [ 30] = { 2, TF, SEN(utime), "utime" }, [ 31] = { 2, 0, SEN(stty), "stty" }, @@ -110,7 +110,7 @@ [ 81] = { 2, 0, SEN(setgroups), "setgroups" }, [ 82] = { 1, TD, SEN(oldselect), "select" }, [ 83] = { 2, TF, SEN(symlink), "symlink" }, -[ 84] = { 2, TF, SEN(oldlstat), "oldlstat" }, +[ 84] = { 2, TF|TSTA, SEN(oldlstat), "oldlstat" }, [ 85] = { 3, TF, SEN(readlink), "readlink" }, [ 86] = { 1, TF, SEN(uselib), "uselib" }, [ 87] = { 2, TF, SEN(swapon), "swapon" }, @@ -132,9 +132,9 @@ [103] = { 3, 0, SEN(syslog), "syslog" }, [104] = { 3, 0, SEN(setitimer), "setitimer" }, [105] = { 2, 0, SEN(getitimer), "getitimer" }, -[106] = { 2, TF, SEN(stat), "stat" }, -[107] = { 2, TF, SEN(lstat), "lstat" }, -[108] = { 2, TD, SEN(fstat), "fstat" }, +[106] = { 2, TF|TSTA, SEN(stat), "stat" }, +[107] = { 2, TF|TSTA, SEN(lstat), "lstat" }, +[108] = { 2, TD|TSTA, SEN(fstat), "fstat" }, [109] = { 1, 0, SEN(olduname), "olduname" }, [110] = { 1, 0, SEN(iopl), "iopl" }, [111] = { 0, 0, SEN(vhangup), "vhangup" }, @@ -312,7 +312,7 @@ [288] = { 4, TD|TF, SEN(mknodat), "mknodat" }, [289] = { 5, TD|TF, SEN(fchownat), "fchownat" }, [290] = { 3, TD|TF, SEN(futimesat), "futimesat" }, -[291] = { 4, TD|TF, SEN(newfstatat), "newfstatat" }, +[291] = { 4, TD|TF|TSTA, SEN(newfstatat), "newfstatat" }, [292] = { 3, TD|TF, SEN(unlinkat), "unlinkat" }, [293] = { 4, TD|TF, SEN(renameat), "renameat" }, [294] = { 5, TD|TF, SEN(linkat), "linkat" }, diff --git a/linux/s390/syscallent.h b/linux/s390/syscallent.h index f60e41fd..315e205a 100644 --- a/linux/s390/syscallent.h +++ b/linux/s390/syscallent.h @@ -134,9 +134,9 @@ [103] = { 3, 0, SEN(syslog), "syslog" }, [104] = { 3, 0, SEN(setitimer), "setitimer" }, [105] = { 2, 0, SEN(getitimer), "getitimer" }, -[106] = { 2, TF, SEN(stat), "stat" }, -[107] = { 2, TF, SEN(lstat), "lstat" }, -[108] = { 2, TD, SEN(fstat), "fstat" }, +[106] = { 2, TF|TSTA, SEN(stat), "stat" }, +[107] = { 2, TF|TSTA, SEN(lstat), "lstat" }, +[108] = { 2, TD|TSTA, SEN(fstat), "fstat" }, [109] = { }, [110] = { 4, 0, SEN(lookup_dcookie), "lookup_dcookie" }, [111] = { 0, 0, SEN(vhangup), "vhangup" }, @@ -223,9 +223,9 @@ [192] = { 1, TD|TM|SI, SEN(old_mmap_pgoff), "mmap2" }, [193] = { 3, TF, SEN(truncate64), "truncate64" }, [194] = { 3, TD, SEN(ftruncate64), "ftruncate64" }, -[195] = { 2, TF, SEN(stat64), "stat64" }, -[196] = { 2, TF, SEN(lstat64), "lstat64" }, -[197] = { 2, TD, SEN(fstat64), "fstat64" }, +[195] = { 2, TF|TSTA, SEN(stat64), "stat64" }, +[196] = { 2, TF|TSTA, SEN(lstat64), "lstat64" }, +[197] = { 2, TD|TSTA, SEN(fstat64), "fstat64" }, [198] = { 3, TF, SEN(chown), "lchown32" }, [199] = { 0, NF, SEN(getuid), "getuid32" }, [200] = { 0, NF, SEN(getgid), "getgid32" }, @@ -321,7 +321,7 @@ [290] = { 4, TD|TF, SEN(mknodat), "mknodat" }, [291] = { 5, TD|TF, SEN(fchownat), "fchownat" }, [292] = { 3, TD|TF, SEN(futimesat), "futimesat" }, -[293] = { 4, TD|TF, SEN(fstatat64), "fstatat64" }, +[293] = { 4, TD|TF|TSTA, SEN(fstatat64), "fstatat64" }, [294] = { 3, TD|TF, SEN(unlinkat), "unlinkat" }, [295] = { 4, TD|TF, SEN(renameat), "renameat" }, [296] = { 5, TD|TF, SEN(linkat), "linkat" }, @@ -407,7 +407,7 @@ [376] = { 6, TD, SEN(preadv2), "preadv2" }, [377] = { 6, TD, SEN(pwritev2), "pwritev2" }, [378] = { }, -[379] = { 5, TD|TF, SEN(statx), "statx" }, +[379] = { 5, TD|TF|TSTA, SEN(statx), "statx" }, #define SYS_socket_subcall 400 #include "subcall.h" diff --git a/linux/s390x/syscallent.h b/linux/s390x/syscallent.h index 952d5bc5..ea746d4f 100644 --- a/linux/s390x/syscallent.h +++ b/linux/s390x/syscallent.h @@ -128,9 +128,9 @@ [103] = { 3, 0, SEN(syslog), "syslog" }, [104] = { 3, 0, SEN(setitimer), "setitimer" }, [105] = { 2, 0, SEN(getitimer), "getitimer" }, -[106] = { 2, TF, SEN(stat), "stat" }, -[107] = { 2, TF, SEN(lstat), "lstat" }, -[108] = { 2, TD, SEN(fstat), "fstat" }, +[106] = { 2, TF|TSTA, SEN(stat), "stat" }, +[107] = { 2, TF|TSTA, SEN(lstat), "lstat" }, +[108] = { 2, TD|TSTA, SEN(fstat), "fstat" }, [109] = { }, [110] = { 3, 0, SEN(lookup_dcookie), "lookup_dcookie" }, [111] = { 0, 0, SEN(vhangup), "vhangup" }, @@ -305,7 +305,7 @@ [290] = { 4, TD|TF, SEN(mknodat), "mknodat" }, [291] = { 5, TD|TF, SEN(fchownat), "fchownat" }, [292] = { 3, TD|TF, SEN(futimesat), "futimesat" }, -[293] = { 4, TD|TF, SEN(newfstatat), "newfstatat" }, +[293] = { 4, TD|TF|TSTA, SEN(newfstatat), "newfstatat" }, [294] = { 3, TD|TF, SEN(unlinkat), "unlinkat" }, [295] = { 4, TD|TF, SEN(renameat), "renameat" }, [296] = { 5, TD|TF, SEN(linkat), "linkat" }, @@ -391,7 +391,7 @@ [376] = { 6, TD, SEN(preadv2), "preadv2" }, [377] = { 6, TD, SEN(pwritev2), "pwritev2" }, [378] = { }, -[379] = { 5, TD|TF, SEN(statx), "statx" }, +[379] = { 5, TD|TF|TSTA, SEN(statx), "statx" }, #define SYS_socket_subcall 400 #include "subcall.h" diff --git a/linux/sh/syscallent.h b/linux/sh/syscallent.h index b8052094..c2267e5e 100644 --- a/linux/sh/syscallent.h +++ b/linux/sh/syscallent.h @@ -46,7 +46,7 @@ [ 15] = { 2, TF, SEN(chmod), "chmod" }, [ 16] = { 3, TF, SEN(chown16), "lchown" }, [ 17] = { 0, TM, SEN(break), "break" }, -[ 18] = { 2, TF, SEN(oldstat), "oldstat" }, +[ 18] = { 2, TF|TSTA, SEN(oldstat), "oldstat" }, [ 19] = { 3, TD, SEN(lseek), "lseek" }, [ 20] = { 0, NF, SEN(getpid), "getpid" }, [ 21] = { 5, TF, SEN(mount), "mount" }, @@ -56,7 +56,7 @@ [ 25] = { 1, 0, SEN(stime), "stime" }, [ 26] = { 4, 0, SEN(ptrace), "ptrace" }, [ 27] = { 1, 0, SEN(alarm), "alarm" }, -[ 28] = { 2, TD, SEN(oldfstat), "oldfstat" }, +[ 28] = { 2, TD|TSTA, SEN(oldfstat), "oldfstat" }, [ 29] = { 0, TS, SEN(pause), "pause" }, [ 30] = { 2, TF, SEN(utime), "utime" }, [ 31] = { 2, 0, SEN(stty), "stty" }, @@ -112,7 +112,7 @@ [ 81] = { 2, 0, SEN(setgroups16), "setgroups" }, [ 82] = { 1, TD, SEN(oldselect), "select" }, [ 83] = { 2, TF, SEN(symlink), "symlink" }, -[ 84] = { 2, TF, SEN(oldlstat), "oldlstat" }, +[ 84] = { 2, TF|TSTA, SEN(oldlstat), "oldlstat" }, [ 85] = { 3, TF, SEN(readlink), "readlink" }, [ 86] = { 1, TF, SEN(uselib), "uselib" }, [ 87] = { 2, TF, SEN(swapon), "swapon" }, @@ -134,9 +134,9 @@ [103] = { 3, 0, SEN(syslog), "syslog" }, [104] = { 3, 0, SEN(setitimer), "setitimer" }, [105] = { 2, 0, SEN(getitimer), "getitimer" }, -[106] = { 2, TF, SEN(stat), "stat" }, -[107] = { 2, TF, SEN(lstat), "lstat" }, -[108] = { 2, TD, SEN(fstat), "fstat" }, +[106] = { 2, TF|TSTA, SEN(stat), "stat" }, +[107] = { 2, TF|TSTA, SEN(lstat), "lstat" }, +[108] = { 2, TD|TSTA, SEN(fstat), "fstat" }, [109] = { 1, 0, SEN(olduname), "olduname" }, [110] = { 1, 0, SEN(iopl), "iopl" }, [111] = { 0, 0, SEN(vhangup), "vhangup" }, @@ -222,9 +222,9 @@ [192] = { 6, TD|TM|SI, SEN(mmap_4koff), "mmap2" }, [193] = { 3, TF, SEN(truncate64), "truncate64" }, [194] = { 3, TD, SEN(ftruncate64), "ftruncate64" }, -[195] = { 2, TF, SEN(stat64), "stat64" }, -[196] = { 2, TF, SEN(lstat64), "lstat64" }, -[197] = { 2, TD, SEN(fstat64), "fstat64" }, +[195] = { 2, TF|TSTA, SEN(stat64), "stat64" }, +[196] = { 2, TF|TSTA, SEN(lstat64), "lstat64" }, +[197] = { 2, TD|TSTA, SEN(fstat64), "fstat64" }, [198] = { 3, TF, SEN(chown), "lchown32" }, [199] = { 0, NF, SEN(getuid), "getuid32" }, [200] = { 0, NF, SEN(getgid), "getgid32" }, @@ -325,7 +325,7 @@ [297] = { 4, TD|TF, SEN(mknodat), "mknodat" }, [298] = { 5, TD|TF, SEN(fchownat), "fchownat" }, [299] = { 3, TD|TF, SEN(futimesat), "futimesat" }, -[300] = { 4, TD|TF, SEN(fstatat64), "fstatat64" }, +[300] = { 4, TD|TF|TSTA, SEN(fstatat64), "fstatat64" }, [301] = { 3, TD|TF, SEN(unlinkat), "unlinkat" }, [302] = { 4, TD|TF, SEN(renameat), "renameat" }, [303] = { 5, TD|TF, SEN(linkat), "linkat" }, diff --git a/linux/sh64/syscallent.h b/linux/sh64/syscallent.h index 7249e492..0057fdb7 100644 --- a/linux/sh64/syscallent.h +++ b/linux/sh64/syscallent.h @@ -44,7 +44,7 @@ [ 15] = { 2, TF, SEN(chmod), "chmod" }, [ 16] = { 3, TF, SEN(chown16), "lchown" }, [ 17] = { 0, TM, SEN(break), "break" }, -[ 18] = { 2, TF, SEN(oldstat), "oldstat" }, +[ 18] = { 2, TF|TSTA, SEN(oldstat), "oldstat" }, [ 19] = { 3, TD, SEN(lseek), "lseek" }, [ 20] = { 0, NF, SEN(getpid), "getpid" }, [ 21] = { 5, TF, SEN(mount), "mount" }, @@ -54,7 +54,7 @@ [ 25] = { 1, 0, SEN(stime), "stime" }, [ 26] = { 4, 0, SEN(ptrace), "ptrace" }, [ 27] = { 1, 0, SEN(alarm), "alarm" }, -[ 28] = { 2, TD, SEN(oldfstat), "oldfstat" }, +[ 28] = { 2, TD|TSTA, SEN(oldfstat), "oldfstat" }, [ 29] = { 0, TS, SEN(pause), "pause" }, [ 30] = { 2, TF, SEN(utime), "utime" }, [ 31] = { 2, 0, SEN(stty), "stty" }, @@ -110,7 +110,7 @@ [ 81] = { 2, 0, SEN(setgroups16), "setgroups" }, [ 82] = { }, [ 83] = { 2, TF, SEN(symlink), "symlink" }, -[ 84] = { 2, TF, SEN(oldlstat), "oldlstat" }, +[ 84] = { 2, TF|TSTA, SEN(oldlstat), "oldlstat" }, [ 85] = { 3, TF, SEN(readlink), "readlink" }, [ 86] = { 1, TF, SEN(uselib), "uselib" }, [ 87] = { 2, TF, SEN(swapon), "swapon" }, @@ -132,9 +132,9 @@ [103] = { 3, 0, SEN(syslog), "syslog" }, [104] = { 3, 0, SEN(setitimer), "setitimer" }, [105] = { 2, 0, SEN(getitimer), "getitimer" }, -[106] = { 2, TF, SEN(stat), "stat" }, -[107] = { 2, TF, SEN(lstat), "lstat" }, -[108] = { 2, TD, SEN(fstat), "fstat" }, +[106] = { 2, TF|TSTA, SEN(stat), "stat" }, +[107] = { 2, TF|TSTA, SEN(lstat), "lstat" }, +[108] = { 2, TD|TSTA, SEN(fstat), "fstat" }, [109] = { 1, 0, SEN(olduname), "olduname" }, [110] = { 1, 0, SEN(iopl), "iopl" }, [111] = { 0, 0, SEN(vhangup), "vhangup" }, @@ -220,9 +220,9 @@ [192] = { 6, TD|TM|SI, SEN(mmap_4koff), "mmap2" }, [193] = { 2, TF, SEN(truncate), "truncate64" }, [194] = { 2, TD, SEN(ftruncate), "ftruncate64" }, -[195] = { 2, TF, SEN(stat64), "stat64" }, -[196] = { 2, TF, SEN(lstat64), "lstat64" }, -[197] = { 2, TD, SEN(fstat64), "fstat64" }, +[195] = { 2, TF|TSTA, SEN(stat64), "stat64" }, +[196] = { 2, TF|TSTA, SEN(lstat64), "lstat64" }, +[197] = { 2, TD|TSTA, SEN(fstat64), "fstat64" }, [198] = { 3, TF, SEN(chown), "lchown32" }, [199] = { 0, NF, SEN(getuid), "getuid32" }, [200] = { 0, NF, SEN(getgid), "getgid32" }, @@ -351,7 +351,7 @@ [325] = { 4, TD|TF, SEN(mknodat), "mknodat" }, [326] = { 5, TD|TF, SEN(fchownat), "fchownat" }, [327] = { 3, TD|TF, SEN(futimesat), "futimesat" }, -[328] = { 4, TD|TF, SEN(fstatat64), "fstatat64" }, +[328] = { 4, TD|TF|TSTA, SEN(fstatat64), "fstatat64" }, [329] = { 3, TD|TF, SEN(unlinkat), "unlinkat" }, [330] = { 4, TD|TF, SEN(renameat), "renameat" }, [331] = { 5, TD|TF, SEN(linkat), "linkat" }, diff --git a/linux/sparc/syscallent.h b/linux/sparc/syscallent.h index 981df7c9..d328f6e6 100644 --- a/linux/sparc/syscallent.h +++ b/linux/sparc/syscallent.h @@ -36,9 +36,9 @@ [ 35] = { 3, TF, SEN(chown), "chown32" }, [ 36] = { 0, 0, SEN(sync), "sync" }, [ 37] = { 2, TS, SEN(kill), "kill" }, -[ 38] = { 2, TF, SEN(stat), "stat" }, +[ 38] = { 2, TF|TSTA, SEN(stat), "stat" }, [ 39] = { 4, TD|TN, SEN(sendfile), "sendfile" }, -[ 40] = { 2, TF, SEN(lstat), "lstat" }, +[ 40] = { 2, TF|TSTA, SEN(lstat), "lstat" }, [ 41] = { 1, TD, SEN(dup), "dup" }, [ 42] = { 0, TD, SEN(pipe), "pipe" }, [ 43] = { 1, 0, SEN(times), "times" }, @@ -60,8 +60,8 @@ [ 59] = { 3, TF|TP|SE|SI, SEN(execve), "execve" }, [ 60] = { 1, NF, SEN(umask), "umask" }, [ 61] = { 1, TF, SEN(chroot), "chroot" }, -[ 62] = { 2, TD, SEN(fstat), "fstat" }, -[ 63] = { 2, TD, SEN(fstat64), "fstat64" }, +[ 62] = { 2, TD|TSTA, SEN(fstat), "fstat" }, +[ 63] = { 2, TD|TSTA, SEN(fstat64), "fstat64" }, [ 64] = { 0, 0, SEN(getpagesize), "getpagesize" }, [ 65] = { 3, TM, SEN(msync), "msync" }, [ 66] = { 0, TP, SEN(vfork), "vfork" }, @@ -130,14 +130,14 @@ [129] = { 2, TF, SEN(truncate), "truncate" }, [130] = { 2, TD, SEN(ftruncate), "ftruncate" }, [131] = { 2, TD, SEN(flock), "flock" }, -[132] = { 2, TF, SEN(lstat64), "lstat64" }, +[132] = { 2, TF|TSTA, SEN(lstat64), "lstat64" }, [133] = { 6, TN, SEN(sendto), "sendto" }, [134] = { 2, TN, SEN(shutdown), "shutdown" }, [135] = { 4, TN, SEN(socketpair), "socketpair" }, [136] = { 2, TF, SEN(mkdir), "mkdir" }, [137] = { 1, TF, SEN(rmdir), "rmdir" }, [138] = { 2, TF, SEN(utimes), "utimes" }, -[139] = { 2, TF, SEN(stat64), "stat64" }, +[139] = { 2, TF|TSTA, SEN(stat64), "stat64" }, [140] = { 4, TD|TN, SEN(sendfile64), "sendfile64" }, [141] = { 3, TN, SEN(getpeername), "getpeername" }, [142] = { 6, 0, SEN(futex), "futex" }, @@ -200,7 +200,7 @@ [199] = { 0, TS, SEN(siggetmask), "sgetmask" }, [200] = { 1, TS, SEN(sigsetmask), "ssetmask" }, [201] = { 3, TS, SEN(sigsuspend), "sigsuspend" }, -[202] = { 2, TF, SEN(lstat), "oldlstat" }, +[202] = { 2, TF|TSTA, SEN(lstat), "oldlstat" }, [203] = { 1, TF, SEN(uselib), "uselib" }, [204] = { 3, TD, SEN(readdir), "readdir" }, [205] = { 4, TD, SEN(readahead), "readahead" }, @@ -287,7 +287,7 @@ [286] = { 4, TD|TF, SEN(mknodat), "mknodat" }, [287] = { 5, TD|TF, SEN(fchownat), "fchownat" }, [288] = { 3, TD|TF, SEN(futimesat), "futimesat" }, -[289] = { 4, TD|TF, SEN(fstatat64), "fstatat64" }, +[289] = { 4, TD|TF|TSTA, SEN(fstatat64), "fstatat64" }, [290] = { 3, TD|TF, SEN(unlinkat), "unlinkat" }, [291] = { 4, TD|TF, SEN(renameat), "renameat" }, [292] = { 5, TD|TF, SEN(linkat), "linkat" }, diff --git a/linux/sparc64/syscallent.h b/linux/sparc64/syscallent.h index 18f3dddf..9fc285fe 100644 --- a/linux/sparc64/syscallent.h +++ b/linux/sparc64/syscallent.h @@ -35,9 +35,9 @@ [ 35] = { }, [ 36] = { 0, 0, SEN(sync), "sync" }, [ 37] = { 2, TS, SEN(kill), "kill" }, -[ 38] = { 2, TF, SEN(stat), "stat" }, +[ 38] = { 2, TF|TSTA, SEN(stat), "stat" }, [ 39] = { 4, TD|TN, SEN(sendfile), "sendfile" }, -[ 40] = { 2, TF, SEN(lstat), "lstat" }, +[ 40] = { 2, TF|TSTA, SEN(lstat), "lstat" }, [ 41] = { 1, TD, SEN(dup), "dup" }, [ 42] = { 0, TD, SEN(pipe), "pipe" }, [ 43] = { 1, 0, SEN(times), "times" }, @@ -59,8 +59,8 @@ [ 59] = { 3, TF|TP|SE|SI, SEN(execve), "execve" }, [ 60] = { 1, NF, SEN(umask), "umask" }, [ 61] = { 1, TF, SEN(chroot), "chroot" }, -[ 62] = { 2, TD, SEN(fstat), "fstat" }, -[ 63] = { 2, TD, SEN(fstat64), "fstat64" }, +[ 62] = { 2, TD|TSTA, SEN(fstat), "fstat" }, +[ 63] = { 2, TD|TSTA, SEN(fstat64), "fstat64" }, [ 64] = { 0, 0, SEN(getpagesize), "getpagesize" }, [ 65] = { 3, TM, SEN(msync), "msync" }, [ 66] = { 0, TP, SEN(vfork), "vfork" }, @@ -128,14 +128,14 @@ [129] = { 2, TF, SEN(truncate), "truncate" }, [130] = { 2, TD, SEN(ftruncate), "ftruncate" }, [131] = { 2, TD, SEN(flock), "flock" }, -[132] = { 2, TF, SEN(lstat64), "lstat64" }, +[132] = { 2, TF|TSTA, SEN(lstat64), "lstat64" }, [133] = { 6, TN, SEN(sendto), "sendto" }, [134] = { 2, TN, SEN(shutdown), "shutdown" }, [135] = { 4, TN, SEN(socketpair), "socketpair" }, [136] = { 2, TF, SEN(mkdir), "mkdir" }, [137] = { 1, TF, SEN(rmdir), "rmdir" }, [138] = { 2, TF, SEN(utimes), "utimes" }, -[139] = { 2, TF, SEN(stat64), "stat64" }, +[139] = { 2, TF|TSTA, SEN(stat64), "stat64" }, [140] = { 4, TD|TN, SEN(sendfile64), "sendfile64" }, [141] = { 3, TN, SEN(getpeername), "getpeername" }, [142] = { 6, 0, SEN(futex), "futex" }, @@ -198,7 +198,7 @@ [199] = { 0, TS, SEN(siggetmask), "sgetmask" }, [200] = { 1, TS, SEN(sigsetmask), "ssetmask" }, [201] = { 3, TS, SEN(sigsuspend), "sigsuspend" }, -[202] = { 2, TF, SEN(lstat), "oldlstat" }, +[202] = { 2, TF|TSTA, SEN(lstat), "oldlstat" }, [203] = { 1, TF, SEN(uselib), "uselib" }, [204] = { 3, TD, SEN(readdir), "readdir" }, [205] = { 3, TD, SEN(readahead), "readahead" }, @@ -285,7 +285,7 @@ [286] = { 4, TD|TF, SEN(mknodat), "mknodat" }, [287] = { 5, TD|TF, SEN(fchownat), "fchownat" }, [288] = { 3, TD|TF, SEN(futimesat), "futimesat" }, -[289] = { 4, TD|TF, SEN(fstatat64), "fstatat64" }, +[289] = { 4, TD|TF|TSTA, SEN(fstatat64), "fstatat64" }, [290] = { 3, TD|TF, SEN(unlinkat), "unlinkat" }, [291] = { 4, TD|TF, SEN(renameat), "renameat" }, [292] = { 5, TD|TF, SEN(linkat), "linkat" }, diff --git a/linux/x32/syscallent.h b/linux/x32/syscallent.h index 83842307..3e3f8191 100644 --- a/linux/x32/syscallent.h +++ b/linux/x32/syscallent.h @@ -2,9 +2,9 @@ [ 1] = { 3, TD, SEN(write), "write" }, [ 2] = { 3, TD|TF, SEN(open), "open" }, [ 3] = { 1, TD, SEN(close), "close" }, -[ 4] = { 2, TF, SEN(stat), "stat" }, -[ 5] = { 2, TD, SEN(fstat), "fstat" }, -[ 6] = { 2, TF, SEN(lstat), "lstat" }, +[ 4] = { 2, TF|TSTA, SEN(stat), "stat" }, +[ 5] = { 2, TD|TSTA, SEN(fstat), "fstat" }, +[ 6] = { 2, TF|TSTA, SEN(lstat), "lstat" }, [ 7] = { 3, TD, SEN(poll), "poll" }, [ 8] = { 3, TD, SEN(lseek), "lseek" }, [ 9] = { 6, TD|TM|SI, SEN(mmap), "mmap" }, @@ -260,7 +260,7 @@ [259] = { 4, TD|TF, SEN(mknodat), "mknodat" }, [260] = { 5, TD|TF, SEN(fchownat), "fchownat" }, [261] = { 3, TD|TF, SEN(futimesat), "futimesat" }, -[262] = { 4, TD|TF, SEN(newfstatat), "newfstatat" }, +[262] = { 4, TD|TF|TSTA, SEN(newfstatat), "newfstatat" }, [263] = { 3, TD|TF, SEN(unlinkat), "unlinkat" }, [264] = { 4, TD|TF, SEN(renameat), "renameat" }, [265] = { 5, TD|TF, SEN(linkat), "linkat" }, @@ -330,7 +330,7 @@ [329] = { 4, TM|SI, SEN(pkey_mprotect), "pkey_mprotect" }, [330] = { 2, 0, SEN(pkey_alloc), "pkey_alloc" }, [331] = { 1, 0, SEN(pkey_free), "pkey_free" }, -[332] = { 5, TD|TF, SEN(statx), "statx" }, +[332] = { 5, TD|TF|TSTA, SEN(statx), "statx" }, [333 ... 511] = { }, /* * x32-specific system call numbers start at 512 to avoid cache impact diff --git a/linux/x86_64/syscallent.h b/linux/x86_64/syscallent.h index 8c45f3d4..60167be0 100644 --- a/linux/x86_64/syscallent.h +++ b/linux/x86_64/syscallent.h @@ -2,9 +2,9 @@ [ 1] = { 3, TD, SEN(write), "write" }, [ 2] = { 3, TD|TF, SEN(open), "open" }, [ 3] = { 1, TD, SEN(close), "close" }, -[ 4] = { 2, TF, SEN(stat), "stat" }, -[ 5] = { 2, TD, SEN(fstat), "fstat" }, -[ 6] = { 2, TF, SEN(lstat), "lstat" }, +[ 4] = { 2, TF|TSTA, SEN(stat), "stat" }, +[ 5] = { 2, TD|TSTA, SEN(fstat), "fstat" }, +[ 6] = { 2, TF|TSTA, SEN(lstat), "lstat" }, [ 7] = { 3, TD, SEN(poll), "poll" }, [ 8] = { 3, TD, SEN(lseek), "lseek" }, [ 9] = { 6, TD|TM|SI, SEN(mmap), "mmap" }, @@ -260,7 +260,7 @@ [259] = { 4, TD|TF, SEN(mknodat), "mknodat" }, [260] = { 5, TD|TF, SEN(fchownat), "fchownat" }, [261] = { 3, TD|TF, SEN(futimesat), "futimesat" }, -[262] = { 4, TD|TF, SEN(newfstatat), "newfstatat" }, +[262] = { 4, TD|TF|TSTA, SEN(newfstatat), "newfstatat" }, [263] = { 3, TD|TF, SEN(unlinkat), "unlinkat" }, [264] = { 4, TD|TF, SEN(renameat), "renameat" }, [265] = { 5, TD|TF, SEN(linkat), "linkat" }, @@ -330,4 +330,4 @@ [329] = { 4, TM|SI, SEN(pkey_mprotect), "pkey_mprotect" }, [330] = { 2, 0, SEN(pkey_alloc), "pkey_alloc" }, [331] = { 1, 0, SEN(pkey_free), "pkey_free" }, -[332] = { 5, TD|TF, SEN(statx), "statx" }, +[332] = { 5, TD|TF|TSTA, SEN(statx), "statx" }, diff --git a/linux/xtensa/syscallent.h b/linux/xtensa/syscallent.h index 09987fb4..84db7f2a 100644 --- a/linux/xtensa/syscallent.h +++ b/linux/xtensa/syscallent.h @@ -39,16 +39,16 @@ [ 43] = { 2, TF, SEN(getcwd), "getcwd" }, [ 44] = { 2, TF, SEN(chmod), "chmod" }, [ 45] = { 3, TF, SEN(chown), "chown" }, -[ 46] = { 2, TF, SEN(stat), "stat" }, -[ 47] = { 2, TF, SEN(stat64), "stat64" }, +[ 46] = { 2, TF|TSTA, SEN(stat), "stat" }, +[ 47] = { 2, TF|TSTA, SEN(stat64), "stat64" }, [ 48] = { 3, TF, SEN(chown), "lchown" }, -[ 49] = { 2, TF, SEN(lstat), "lstat" }, -[ 50] = { 2, TF, SEN(lstat64), "lstat64" }, +[ 49] = { 2, TF|TSTA, SEN(lstat), "lstat" }, +[ 50] = { 2, TF|TSTA, SEN(lstat64), "lstat64" }, [ 51] = { }, [ 52] = { 2, TD, SEN(fchmod), "fchmod" }, [ 53] = { 3, TD, SEN(fchown), "fchown" }, -[ 54] = { 2, TD, SEN(fstat), "fstat" }, -[ 55] = { 2, TD, SEN(fstat64), "fstat64" }, +[ 54] = { 2, TD|TSTA, SEN(fstat), "fstat" }, +[ 55] = { 2, TD|TSTA, SEN(fstat64), "fstat64" }, [ 56] = { 2, TD, SEN(flock), "flock" }, [ 57] = { 2, TF, SEN(access), "access" }, [ 58] = { 1, NF, SEN(umask), "umask" }, @@ -288,7 +288,7 @@ [296] = { 4, TD|TF, SEN(utimensat), "utimensat" }, [297] = { 5, TD|TF, SEN(fchownat), "fchownat" }, [298] = { 3, TD|TF, SEN(futimesat), "futimesat" }, -[299] = { 4, TD|TF, SEN(fstatat64), "fstatat64" }, +[299] = { 4, TD|TF|TSTA, SEN(fstatat64), "fstatat64" }, [300] = { 3, TD|TF, SEN(fchmodat), "fchmodat" }, [301] = { 3, TD|TF, SEN(faccessat), "faccessat" }, [302 ... 303] = { }, @@ -339,4 +339,4 @@ [348] = { 4, TM|SI, SEN(pkey_mprotect), "pkey_mprotect" }, [249] = { 2, 0, SEN(pkey_alloc), "pkey_alloc" }, [350] = { 1, 0, SEN(pkey_free), "pkey_free" }, -[351] = { 5, TD|TF, SEN(statx), "statx" }, +[351] = { 5, TD|TF|TSTA, SEN(statx), "statx" }, diff --git a/qualify.c b/qualify.c index 1cf3e2db..d9305cc7 100644 --- a/qualify.c +++ b/qualify.c @@ -262,6 +262,7 @@ lookup_class(const char *s) { "%signal", TRACE_SIGNAL }, { "%ipc", TRACE_IPC }, { "%network", TRACE_NETWORK }, + { "%%stat", TRACE_STAT_LIKE }, { "%statfs", TRACE_STATFS }, { "%fstatfs", TRACE_FSTATFS }, { "%%statfs", TRACE_STATFS_LIKE }, diff --git a/strace.1 b/strace.1 index df78e66b..f16e19e2 100644 --- a/strace.1 +++ b/strace.1 @@ -436,6 +436,10 @@ Trace all file descriptor related system calls. .BR "\-e\ trace" = memory " (deprecated)" Trace all memory mapping related system calls. .TP +.BR "\-e\ trace" = %%stat +Trace syscalls used for requesting file status (stat, lstat, fstat, fstatat, +statx, and their variants). +.TP .BR "\-e\ trace" = %statfs Trace statfs, statfs64, statvfs, osf_statfs, and osf_statfs64 system calls. The same effect can be achieved with diff --git a/syscall.c b/syscall.c index 4b677c08..9030d1ec 100644 --- a/syscall.c +++ b/syscall.c @@ -76,6 +76,7 @@ #define TP TRACE_PROCESS #define TS TRACE_SIGNAL #define TM TRACE_MEMORY +#define TSTA TRACE_STAT_LIKE #define TSF TRACE_STATFS #define TFSF TRACE_FSTATFS #define TSFA TRACE_STATFS_LIKE @@ -114,6 +115,7 @@ static const struct_sysent sysent2[] = { #undef TP #undef TS #undef TM +#undef TSTA #undef TSF #undef TFSF #undef TSFA diff --git a/sysent.h b/sysent.h index 98145283..2c9a1baa 100644 --- a/sysent.h +++ b/sysent.h @@ -24,5 +24,6 @@ typedef struct sysent { #define TRACE_STATFS 00040000 /* Trace statfs, statfs64, and statvfs syscalls. */ #define TRACE_FSTATFS 00100000 /* Trace fstatfs, fstatfs64 and fstatvfs syscalls. */ #define TRACE_STATFS_LIKE 00200000 /* Trace statfs-like, fstatfs-like and ustat syscalls. */ +#define TRACE_STAT_LIKE 01000000 /* Trace *{,l,f}stat{,x,at}{,64} syscalls. */ #endif /* !STRACE_SYSENT_H */ diff --git a/tests/Makefile.am b/tests/Makefile.am index 67f2582f..3e8ba07e 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -337,6 +337,7 @@ EXTRA_DIST = \ struct_flock.c \ sun_path.expected \ trace_fstatfs.in \ + trace_stat_like.in \ trace_statfs.in \ trace_statfs_like.in \ uio.expected \ diff --git a/tests/gen_tests.in b/tests/gen_tests.in index c97b7ccf..38cbcabb 100644 --- a/tests/gen_tests.in +++ b/tests/gen_tests.in @@ -305,6 +305,7 @@ timerfd_xettime -e trace=timerfd_create,timerfd_settime,timerfd_gettime times -esignal=none times-fail -a12 -e trace=times trace_fstatfs test_trace_expr '' -e%fstatfs +trace_stat_like > stat.sample; test_trace_expr '' -e%%stat -v -Pstat.sample -P/dev/full trace_statfs test_trace_expr '' -e%statfs trace_statfs_like test_trace_expr '' -e%%statfs truncate diff --git a/tests/ksysent.c b/tests/ksysent.c index 5dbb85ae..edd766c5 100644 --- a/tests/ksysent.c +++ b/tests/ksysent.c @@ -40,6 +40,7 @@ #define TP 0 #define TS 0 #define TM 0 +#define TSTA 0 #define TSF 0 #define TFSF 0 #define TSFA 0 diff --git a/tests/nsyscalls.c b/tests/nsyscalls.c index 7214ecfb..b4c0b461 100644 --- a/tests/nsyscalls.c +++ b/tests/nsyscalls.c @@ -41,6 +41,7 @@ #define TP 0 #define TS 0 #define TM 0 +#define TSTA 0 #define TSF 0 #define TFSF 0 #define TSFA 0 diff --git a/tests/trace_stat_like.in b/tests/trace_stat_like.in new file mode 100644 index 00000000..22bd7f27 --- /dev/null +++ b/tests/trace_stat_like.in @@ -0,0 +1,12 @@ +fstat -a15 +fstat64 -a17 +fstatat64 -a32 +lstat -a32 +lstat64 -a32 +newfstatat -a32 +oldfstat -a21 +oldlstat -a32 +oldstat -a32 +stat -a32 +stat64 -a32 +statx -a32 -- 2.40.0