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.
This commit is contained in:
Eugene Syromyatnikov 2017-04-16 15:30:29 +02:00 committed by Dmitry V. Levin
parent b4aabcb16f
commit c05b95334c
38 changed files with 156 additions and 135 deletions

2
NEWS
View File

@ -13,6 +13,8 @@ Noteworthy changes in release ?.?? (????-??-??)
syscalls.
* Added -e trace=%fstatfs option for tracing fstatfs, fstatfs64 and fstatvfs
syscalls.
* Added -e trace=%%statfs option for tracing syscalls used for querying file
system statistics information (statfs-like, fstatfs-like and ustat).
* Added -e trace=/regex option for filtering syscalls using regular
expressions.
* Implemented decoding of signal mask in rt_sigreturn syscall on alpha, arc,

View File

@ -44,8 +44,8 @@
[ 40] = { 5, TF, SEN(mount), "mount" },
[ 41] = { 2, TF, SEN(pivotroot), "pivot_root" },
[ 42] = { 3, 0, SEN(nfsservctl), "nfsservctl" },
[ 43] = { 3, TF|TSF, SEN(statfs64), "statfs64" },
[ 44] = { 3, TD|TFSF, SEN(fstatfs64), "fstatfs64" },
[ 43] = { 3, TF|TSF|TSFA, SEN(statfs64), "statfs64" },
[ 44] = { 3, TD|TFSF|TSFA, SEN(fstatfs64), "fstatfs64" },
[ 45] = { 3, TF, SEN(truncate64), "truncate64" },
[ 46] = { 3, TD, SEN(ftruncate64), "ftruncate64" },
[ 47] = { 6, TD, SEN(fallocate), "fallocate" },

View File

@ -41,8 +41,8 @@
[ 40] = { 5, TF, SEN(mount), "mount" },
[ 41] = { 2, TF, SEN(pivotroot), "pivot_root" },
[ 42] = { 3, 0, SEN(nfsservctl), "nfsservctl" },
[ 43] = { 2, TF|TSF, SEN(statfs), "statfs" },
[ 44] = { 2, TD|TFSF, SEN(fstatfs), "fstatfs" },
[ 43] = { 2, TF|TSF|TSFA, SEN(statfs), "statfs" },
[ 44] = { 2, TD|TFSF|TSFA, SEN(fstatfs), "fstatfs" },
[ 45] = { 2, TF, SEN(truncate), "truncate" },
[ 46] = { 2, TD, SEN(ftruncate), "ftruncate" },
[ 47] = { 4, TD, SEN(fallocate), "fallocate" },

View File

@ -44,8 +44,8 @@
[1052] = { 3, TD, SEN(fcntl), "fcntl" },
[1053] = { 4, TD, SEN(fadvise64), "fadvise64" },
[1054] = { 4, TD|TF, SEN(newfstatat), "newfstatat" },
[1055] = { 2, TD|TFSF, SEN(fstatfs), "fstatfs" },
[1056] = { 2, TF|TSF, SEN(statfs), "statfs" },
[1055] = { 2, TD|TFSF|TSFA, SEN(fstatfs), "fstatfs" },
[1056] = { 2, TF|TSF|TSFA, SEN(statfs), "statfs" },
[1057] = { 3, TD, SEN(lseek), "lseek" },
[1058] = { 6, TD|TM|SI, SEN(mmap), "mmap" },
[1059] = { 1, 0, SEN(alarm), "alarm" },
@ -59,7 +59,7 @@
[1067] = { 5, TD, SEN(select), "select" },
[1068] = { 3, TD, SEN(poll), "poll" },
[1069] = { 4, TD, SEN(epoll_wait), "epoll_wait" },
[1070] = { 2, 0, SEN(ustat), "ustat" },
[1070] = { 2, TSFA, SEN(ustat), "ustat" },
[1071] = { 0, TP, SEN(vfork), "vfork" },
[1072] = { 4, TP, SEN(wait4), "wait4" },
[1073] = { 4, TN, SEN(recv), "recv" },

View File

@ -185,8 +185,8 @@
[157] = { 5, 0, SEN(printargs), "osf_sigwaitprim" }, /* not implemented */
[158] = { 5, 0, SEN(printargs), "osf_nfssvc" }, /* not implemented */
[159] = { 4, 0, SEN(printargs), "osf_getdirentries" },
[160] = { 3, TF|TSF, SEN(osf_statfs), "osf_statfs" },
[161] = { 3, TD|TFSF, SEN(osf_fstatfs), "osf_fstatfs" },
[160] = { 3, TF|TSF|TSFA, SEN(osf_statfs), "osf_statfs" },
[161] = { 3, TD|TFSF|TSFA, SEN(osf_fstatfs), "osf_fstatfs" },
[162] = { },
[163] = { 5, 0, SEN(printargs), "osf_asynch_daemon" }, /* not implemented */
[164] = { 5, 0, SEN(printargs), "osf_getfh" }, /* not implemented */
@ -230,8 +230,8 @@
[224] = { 2, TF, SEN(printargs), "osf_stat" },
[225] = { 2, TF, SEN(printargs), "osf_lstat" },
[226] = { 2, TD, SEN(printargs), "osf_fstat" },
[227] = { 3, TF|TSF, SEN(osf_statfs), "osf_statfs64" },
[228] = { 3, TD|TFSF, SEN(osf_fstatfs), "osf_fstatfs64" },
[227] = { 3, TF|TSF|TSFA, SEN(osf_statfs), "osf_statfs64" },
[228] = { 3, TD|TFSF|TSFA, SEN(osf_fstatfs), "osf_fstatfs64" },
[229 ... 232] = { },
[233] = { 1, 0, SEN(getpgid), "getpgid" },
[234] = { 1, 0, SEN(getsid), "getsid" },
@ -290,9 +290,9 @@
[324] = { 1, NF, SEN(personality), "personality" },
[325] = { 1, NF, SEN(setfsuid), "setfsuid" },
[326] = { 1, NF, SEN(setfsgid), "setfsgid" },
[327] = { 2, 0, SEN(ustat), "ustat" },
[328] = { 2, TF|TSF, SEN(statfs), "statfs" },
[329] = { 2, TD|TFSF, SEN(fstatfs), "fstatfs" },
[327] = { 2, TSFA, SEN(ustat), "ustat" },
[328] = { 2, TF|TSF|TSFA, SEN(statfs), "statfs" },
[329] = { 2, TD|TFSF|TSFA, SEN(fstatfs), "fstatfs" },
[330] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
[331] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
[332] = { 3, 0, SEN(sched_setscheduler), "sched_setscheduler" },

View File

@ -88,7 +88,7 @@
[ 59] = { 1, 0, SEN(oldolduname), "oldolduname" },
[ 60] = { 1, NF, SEN(umask), "umask" },
[ 61] = { 1, TF, SEN(chroot), "chroot" },
[ 62] = { 2, 0, SEN(ustat), "ustat" },
[ 62] = { 2, TSFA, SEN(ustat), "ustat" },
[ 63] = { 2, TD, SEN(dup2), "dup2" },
[ 64] = { 0, NF, SEN(getppid), "getppid" },
[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" },
@ -125,8 +125,8 @@
[ 96] = { 2, 0, SEN(getpriority), "getpriority" },
[ 97] = { 3, 0, SEN(setpriority), "setpriority" },
[ 98] = { 4, 0, SEN(profil), "profil" },
[ 99] = { 2, TF|TSF, SEN(statfs), "statfs" },
[100] = { 2, TD|TFSF, SEN(fstatfs), "fstatfs" },
[ 99] = { 2, TF|TSF|TSFA, SEN(statfs), "statfs" },
[100] = { 2, TD|TFSF|TSFA, SEN(fstatfs), "fstatfs" },
[101] = { 3, 0, SEN(ioperm), "ioperm" },
[102] = { 2, TD, SEN(socketcall), "socketcall" },
[103] = { 3, 0, SEN(syslog), "syslog" },
@ -290,8 +290,8 @@
[263] = { 2, 0, SEN(clock_gettime), "clock_gettime" },
[264] = { 2, 0, SEN(clock_getres), "clock_getres" },
[265] = { 4, 0, SEN(clock_nanosleep), "clock_nanosleep" },
[266] = { 3, TF|TSF, SEN(statfs64), "statfs64" },
[267] = { 3, TD|TFSF, SEN(fstatfs64), "fstatfs64" },
[266] = { 3, TF|TSF|TSFA, SEN(statfs64), "statfs64" },
[267] = { 3, TD|TFSF|TSFA, SEN(fstatfs64), "fstatfs64" },
[268] = { 3, TS, SEN(tgkill), "tgkill" },
[269] = { 2, TF, SEN(utimes), "utimes" },
[270] = { 6, TD, SEN(fadvise64_64), "fadvise64_64" },

View File

@ -87,7 +87,7 @@
[ 59] = { 3, 0, SEN(getresuid), "getresuid" },
[ 60] = { 2, 0, SEN(setreuid), "setreuid" },
[ 61] = { 2, 0, SEN(setregid), "setregid" },
[ 62] = { 2, 0, SEN(ustat), "ustat" },
[ 62] = { 2, TSFA, SEN(ustat), "ustat" },
[ 63] = { 2, TD, SEN(dup2), "dup2" },
[ 64] = { 0, NF, SEN(getppid), "getppid" },
[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" },
@ -124,8 +124,8 @@
[ 96] = { 2, 0, SEN(getpriority), "getpriority" },
[ 97] = { 3, 0, SEN(setpriority), "setpriority" },
[ 98] = { 4, TP, SEN(wait4), "wait4" },
[ 99] = { 2, TF|TSF, SEN(statfs), "statfs" },
[100] = { 2, TD|TFSF, SEN(fstatfs), "fstatfs" },
[ 99] = { 2, TF|TSF|TSFA, SEN(statfs), "statfs" },
[100] = { 2, TD|TFSF|TSFA, SEN(fstatfs), "fstatfs" },
[101] = { 0, 0, SEN(vhangup), "vhangup" },
[102] = { 2, TS, SEN(sigaltstack), "sigaltstack" },
[103] = { 3, 0, SEN(syslog), "syslog" },
@ -244,8 +244,8 @@
[216] = { 2, 0, SEN(clock_gettime), "clock_gettime" },
[217] = { 2, 0, SEN(clock_getres), "clock_getres" },
[218] = { 4, 0, SEN(clock_nanosleep), "clock_nanosleep" },
[219] = { 3, TF|TSF, SEN(statfs64), "statfs64" },
[220] = { 3, TD|TFSF, SEN(fstatfs64), "fstatfs64" },
[219] = { 3, TF|TSF|TSFA, SEN(statfs64), "statfs64" },
[220] = { 3, TD|TFSF|TSFA, SEN(fstatfs64), "fstatfs64" },
[221] = { 3, TS, SEN(tgkill), "tgkill" },
[222] = { },
[223] = { 2, TF, SEN(utimes), "utimes" },

View File

@ -88,7 +88,7 @@
[ 59] = { 1, 0, SEN(oldolduname), "oldolduname" },
[ 60] = { 1, NF, SEN(umask), "umask" },
[ 61] = { 1, TF, SEN(chroot), "chroot" },
[ 62] = { 2, 0, SEN(ustat), "ustat" },
[ 62] = { 2, TSFA, SEN(ustat), "ustat" },
[ 63] = { 2, TD, SEN(dup2), "dup2" },
[ 64] = { 0, NF, SEN(getppid), "getppid" },
[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" },
@ -125,8 +125,8 @@
[ 96] = { 2, 0, SEN(getpriority), "getpriority" },
[ 97] = { 3, 0, SEN(setpriority), "setpriority" },
[ 98] = { 4, 0, SEN(profil), "profil" },
[ 99] = { 2, TF|TSF, SEN(statfs), "statfs" },
[100] = { 2, TD|TFSF, SEN(fstatfs), "fstatfs" },
[ 99] = { 2, TF|TSF|TSFA, SEN(statfs), "statfs" },
[100] = { 2, TD|TFSF|TSFA, SEN(fstatfs), "fstatfs" },
[101] = { 3, 0, SEN(ioperm), "ioperm" },
[102] = { 2, TD, SEN(socketcall), "socketcall" },
[103] = { 3, 0, SEN(syslog), "syslog" },
@ -294,8 +294,8 @@
[266] = { 2, 0, SEN(clock_gettime), "clock_gettime" },
[267] = { 2, 0, SEN(clock_getres), "clock_getres" },
[268] = { 4, 0, SEN(clock_nanosleep), "clock_nanosleep" },
[269] = { 3, TF|TSF, SEN(statfs64), "statfs64" },
[270] = { 3, TD|TFSF, SEN(fstatfs64), "fstatfs64" },
[269] = { 3, TF|TSF|TSFA, SEN(statfs64), "statfs64" },
[270] = { 3, TD|TFSF|TSFA, SEN(fstatfs64), "fstatfs64" },
[271] = { 3, TS, SEN(tgkill), "tgkill" },
[272] = { 2, TF, SEN(utimes), "utimes" },
[273] = { 6, TD, SEN(fadvise64_64), "fadvise64_64" },

View File

@ -60,7 +60,7 @@
[ 59] = { 1, 0, SEN(oldolduname), "oldolduname" },
[ 60] = { 1, NF, SEN(umask), "umask" },
[ 61] = { 1, TF, SEN(chroot), "chroot" },
[ 62] = { 2, 0, SEN(ustat), "ustat" },
[ 62] = { 2, TSFA, SEN(ustat), "ustat" },
[ 63] = { 2, TD, SEN(dup2), "dup2" },
[ 64] = { 0, NF, SEN(getppid), "getppid" },
[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" },
@ -97,8 +97,8 @@
[ 96] = { 2, 0, SEN(getpriority), "getpriority" },
[ 97] = { 3, 0, SEN(setpriority), "setpriority" },
[ 98] = { 4, 0, SEN(profil), "profil" },
[ 99] = { 2, TF|TSF, SEN(statfs), "statfs" },
[100] = { 2, TD|TFSF, SEN(fstatfs), "fstatfs" },
[ 99] = { 2, TF|TSF|TSFA, SEN(statfs), "statfs" },
[100] = { 2, TD|TFSF|TSFA, SEN(fstatfs), "fstatfs" },
[101] = { 3, 0, SEN(ioperm), "ioperm" },
[102] = { 2, TD, SEN(socketcall), "socketcall" },
[103] = { 3, 0, SEN(syslog), "syslog" },
@ -262,8 +262,8 @@
[265] = { 2, 0, SEN(clock_gettime), "clock_gettime" },
[266] = { 2, 0, SEN(clock_getres), "clock_getres" },
[267] = { 4, 0, SEN(clock_nanosleep), "clock_nanosleep" },
[268] = { 3, TF|TSF, SEN(statfs64), "statfs64" },
[269] = { 3, TD|TFSF, SEN(fstatfs64), "fstatfs64" },
[268] = { 3, TF|TSF|TSFA, SEN(statfs64), "statfs64" },
[269] = { 3, TD|TFSF|TSFA, SEN(fstatfs64), "fstatfs64" },
[270] = { 3, TS, SEN(tgkill), "tgkill" },
[271] = { 2, TF, SEN(utimes), "utimes" },
[272] = { 6, TD, SEN(fadvise64_64), "fadvise64_64" },

View File

@ -64,7 +64,7 @@
[ 59] = { 1, 0, SEN(uname), "uname" },
[ 60] = { 1, NF, SEN(umask), "umask" },
[ 61] = { 1, TF, SEN(chroot), "chroot" },
[ 62] = { 2, 0, SEN(ustat), "ustat" },
[ 62] = { 2, TSFA, SEN(ustat), "ustat" },
[ 63] = { 2, TD, SEN(dup2), "dup2" },
[ 64] = { 0, NF, SEN(getppid), "getppid" },
[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" },
@ -101,8 +101,8 @@
[ 96] = { 2, 0, SEN(getpriority), "getpriority" },
[ 97] = { 3, 0, SEN(setpriority), "setpriority" },
[ 98] = { 4, TN, SEN(recv), "recv" },
[ 99] = { 2, TF|TSF, SEN(statfs), "statfs" },
[100] = { 2, TD|TFSF, SEN(fstatfs), "fstatfs" },
[ 99] = { 2, TF|TSF|TSFA, SEN(statfs), "statfs" },
[100] = { 2, TD|TFSF|TSFA, SEN(fstatfs), "fstatfs" },
[101] = { 2, TF, SEN(stat64), "stat64" },
[102] = { },
[103] = { 3, 0, SEN(syslog), "syslog" },
@ -300,8 +300,8 @@
[295] = { 6, TM, SEN(move_pages), "move_pages" },
[296] = { 3, 0, SEN(getcpu), "getcpu" },
[297] = { 6, TD, SEN(epoll_pwait), "epoll_pwait" },
[298] = { 3, TF|TSF, SEN(statfs64), "statfs64" },
[299] = { 3, TD|TFSF, SEN(fstatfs64), "fstatfs64" },
[298] = { 3, TF|TSF|TSFA, SEN(statfs64), "statfs64" },
[299] = { 3, TD|TFSF|TSFA, SEN(fstatfs64), "fstatfs64" },
[300] = { 4, 0, SEN(kexec_load), "kexec_load" },
[301] = { 4, TD|TF, SEN(utimensat), "utimensat" },
[302] = { 3, TD|TS, SEN(signalfd), "signalfd" },

View File

@ -88,7 +88,7 @@
[ 59] = { 1, 0, SEN(oldolduname), "oldolduname" },
[ 60] = { 1, NF, SEN(umask), "umask" },
[ 61] = { 1, TF, SEN(chroot), "chroot" },
[ 62] = { 2, 0, SEN(ustat), "ustat" },
[ 62] = { 2, TSFA, SEN(ustat), "ustat" },
[ 63] = { 2, TD, SEN(dup2), "dup2" },
[ 64] = { 0, NF, SEN(getppid), "getppid" },
[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" },
@ -125,8 +125,8 @@
[ 96] = { 2, 0, SEN(getpriority), "getpriority" },
[ 97] = { 3, 0, SEN(setpriority), "setpriority" },
[ 98] = { 4, 0, SEN(profil), "profil" },
[ 99] = { 2, TF|TSF, SEN(statfs), "statfs" },
[100] = { 2, TD|TFSF, SEN(fstatfs), "fstatfs" },
[ 99] = { 2, TF|TSF|TSFA, SEN(statfs), "statfs" },
[100] = { 2, TD|TFSF|TSFA, SEN(fstatfs), "fstatfs" },
[101] = { 3, 0, SEN(ioperm), "ioperm" },
[102] = { 2, TD, SEN(socketcall), "socketcall" },
[103] = { 3, 0, SEN(syslog), "syslog" },
@ -293,8 +293,8 @@
[265] = { 2, 0, SEN(clock_gettime), "clock_gettime" },
[266] = { 2, 0, SEN(clock_getres), "clock_getres" },
[267] = { 4, 0, SEN(clock_nanosleep), "clock_nanosleep" },
[268] = { 3, TF|TSF, SEN(statfs64), "statfs64" },
[269] = { 3, TD|TFSF, SEN(fstatfs64), "fstatfs64" },
[268] = { 3, TF|TSF|TSFA, SEN(statfs64), "statfs64" },
[269] = { 3, TD|TFSF|TSFA, SEN(fstatfs64), "fstatfs64" },
[270] = { 3, TS, SEN(tgkill), "tgkill" },
[271] = { 2, TF, SEN(utimes), "utimes" },
[272] = { 6, TD, SEN(fadvise64_64), "fadvise64_64" },

View File

@ -86,7 +86,7 @@
[1066] = { 3, TD, SEN(fcntl), "fcntl" },
[1067] = { 1, NF, SEN(umask), "umask" },
[1068] = { 1, TF, SEN(chroot), "chroot" },
[1069] = { 2, 0, SEN(ustat), "ustat" },
[1069] = { 2, TSFA, SEN(ustat), "ustat" },
[1070] = { 2, TD, SEN(dup2), "dup2" },
[1071] = { 2, 0, SEN(setreuid), "setreuid" },
[1072] = { 2, 0, SEN(setregid), "setregid" },
@ -120,8 +120,8 @@
[1100] = { 3, TD, SEN(fchown), "fchown" },
[1101] = { 2, 0, SEN(getpriority), "getpriority" },
[1102] = { 3, 0, SEN(setpriority), "setpriority" },
[1103] = { 2, TF|TSF, SEN(statfs), "statfs" },
[1104] = { 2, TD|TFSF, SEN(fstatfs), "fstatfs" },
[1103] = { 2, TF|TSF|TSFA, SEN(statfs), "statfs" },
[1104] = { 2, TD|TFSF|TSFA, SEN(fstatfs), "fstatfs" },
[1105] = { 0, NF, SEN(gettid), "gettid" },
[1106] = { 3, TI, SEN(semget), "semget" },
[1107] = { 3, TI, SEN(semop), "semop" },
@ -274,8 +274,8 @@
[1254] = { 2, 0, SEN(clock_gettime), "clock_gettime" },
[1255] = { 2, 0, SEN(clock_getres), "clock_getres" },
[1256] = { 4, 0, SEN(clock_nanosleep), "clock_nanosleep" },
[1257] = { 3, TD|TFSF, SEN(fstatfs64), "fstatfs64" },
[1258] = { 3, TF|TSF, SEN(statfs64), "statfs64" },
[1257] = { 3, TD|TFSF|TSFA, SEN(fstatfs64), "fstatfs64" },
[1258] = { 3, TF|TSF|TSFA, SEN(statfs64), "statfs64" },
[1259] = { 6, TM, SEN(mbind), "mbind" },
[1260] = { 5, TM, SEN(get_mempolicy), "get_mempolicy" },
[1261] = { 3, TM, SEN(set_mempolicy), "set_mempolicy" },

View File

@ -88,7 +88,7 @@
[ 59] = { 1, 0, SEN(oldolduname), "oldolduname" },
[ 60] = { 1, NF, SEN(umask), "umask" },
[ 61] = { 1, TF, SEN(chroot), "chroot" },
[ 62] = { 2, 0, SEN(ustat), "ustat" },
[ 62] = { 2, TSFA, SEN(ustat), "ustat" },
[ 63] = { 2, TD, SEN(dup2), "dup2" },
[ 64] = { 0, NF, SEN(getppid), "getppid" },
[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" },
@ -125,8 +125,8 @@
[ 96] = { 2, 0, SEN(getpriority), "getpriority" },
[ 97] = { 3, 0, SEN(setpriority), "setpriority" },
[ 98] = { 4, 0, SEN(profil), "profil" },
[ 99] = { 2, TF|TSF, SEN(statfs), "statfs" },
[100] = { 2, TD|TFSF, SEN(fstatfs), "fstatfs" },
[ 99] = { 2, TF|TSF|TSFA, SEN(statfs), "statfs" },
[100] = { 2, TD|TFSF|TSFA, SEN(fstatfs), "fstatfs" },
[101] = { 3, 0, SEN(ioperm), "ioperm" },
[102] = { 2, TD, SEN(socketcall), "socketcall" },
[103] = { 3, 0, SEN(syslog), "syslog" },
@ -288,8 +288,8 @@
[260] = { 2, 0, SEN(clock_gettime), "clock_gettime" },
[261] = { 2, 0, SEN(clock_getres), "clock_getres" },
[262] = { 4, 0, SEN(clock_nanosleep), "clock_nanosleep" },
[263] = { 3, TF|TSF, SEN(statfs64), "statfs64" },
[264] = { 3, TD|TFSF, SEN(fstatfs64), "fstatfs64" },
[263] = { 3, TF|TSF|TSFA, SEN(statfs64), "statfs64" },
[264] = { 3, TD|TFSF|TSFA, SEN(fstatfs64), "fstatfs64" },
[265] = { 3, TS, SEN(tgkill), "tgkill" },
[266] = { 2, TF, SEN(utimes), "utimes" },
[267] = { 6, TD, SEN(fadvise64_64), "fadvise64_64" },

View File

@ -88,7 +88,7 @@
[ 59] = { 1, 0, SEN(oldolduname), "oldolduname" },
[ 60] = { 1, NF, SEN(umask), "umask" },
[ 61] = { 1, TF, SEN(chroot), "chroot" },
[ 62] = { 2, 0, SEN(ustat), "ustat" },
[ 62] = { 2, TSFA, SEN(ustat), "ustat" },
[ 63] = { 2, TD, SEN(dup2), "dup2" },
[ 64] = { 0, NF, SEN(getppid), "getppid" },
[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" },
@ -125,8 +125,8 @@
[ 96] = { 2, 0, SEN(getpriority), "getpriority" },
[ 97] = { 3, 0, SEN(setpriority), "setpriority" },
[ 98] = { 4, 0, SEN(profil), "profil" },
[ 99] = { 2, TF|TSF, SEN(statfs), "statfs" },
[100] = { 2, TD|TFSF, SEN(fstatfs), "fstatfs" },
[ 99] = { 2, TF|TSF|TSFA, SEN(statfs), "statfs" },
[100] = { 2, TD|TFSF|TSFA, SEN(fstatfs), "fstatfs" },
[101] = { 3, 0, SEN(ioperm), "ioperm" },
[102] = { 2, TD, SEN(socketcall), "socketcall" },
[103] = { 3, 0, SEN(syslog), "syslog" },
@ -293,8 +293,8 @@
[265] = { 2, 0, SEN(clock_gettime), "clock_gettime" },
[266] = { 2, 0, SEN(clock_getres), "clock_getres" },
[267] = { 4, 0, SEN(clock_nanosleep), "clock_nanosleep" },
[268] = { 3, TF|TSF, SEN(statfs64), "statfs64" },
[269] = { 3, TD|TFSF, SEN(fstatfs64), "fstatfs64" },
[268] = { 3, TF|TSF|TSFA, SEN(statfs64), "statfs64" },
[269] = { 3, TD|TFSF|TSFA, SEN(fstatfs64), "fstatfs64" },
[270] = { 3, TS, SEN(tgkill), "tgkill" },
[271] = { 2, TF, SEN(utimes), "utimes" },
[272] = { 6, TD, SEN(fadvise64_64), "fadvise64_64" },

View File

@ -33,10 +33,10 @@
[ 32] = { 0, 0, SEN(printargs), "svr4_gtty" },
[ 33] = { 0, 0, SEN(printargs), "svr4_access" },
[ 34] = { 0, 0, SEN(printargs), "svr4_nice" },
[ 35] = { 0, TF|TSF, SEN(printargs), "svr4_statfs" },
[ 35] = { 0, TF|TSF|TSFA,SEN(printargs), "svr4_statfs" },
[ 36] = { 0, 0, SEN(printargs), "svr4_sync" },
[ 37] = { 0, 0, SEN(printargs), "svr4_kill" },
[ 38] = { 0, TD|TFSF,SEN(printargs), "svr4_fstatfs" },
[ 38] = { 0, TD|TFSF|TSFA,SEN(printargs), "svr4_fstatfs" },
[ 39] = { 0, 0, SEN(printargs), "svr4_setpgrp" },
[ 40] = { 0, 0, SEN(printargs), "svr4_cxenix" },
[ 41] = { 0, 0, SEN(printargs), "svr4_dup" },
@ -96,8 +96,8 @@
[ 100] = { 0, 0, SEN(printargs), "svr4_setcontext" },
[ 101] = { 0, 0, SEN(printargs), "svr4_evsys" },
[ 102] = { 0, 0, SEN(printargs), "svr4_evtrapret" },
[ 103] = { 0, TF|TSF, SEN(printargs), "svr4_statvfs" },
[ 104] = { 0, TD|TFSF,SEN(printargs), "svr4_fstatvfs" },
[ 103] = { 0, TF|TSF|TSFA,SEN(printargs), "svr4_statvfs" },
[ 104] = { 0, TD|TFSF|TSFA,SEN(printargs), "svr4_fstatvfs" },
[ 105] = { },
[ 106] = { 0, 0, SEN(printargs), "svr4_nfssys" },
[ 107] = { 0, 0, SEN(printargs), "svr4_waitid" },
@ -184,10 +184,10 @@
[1032] = { 0, 0, SEN(printargs), "sysv_gtty" },
[1033] = { 0, 0, SEN(printargs), "sysv_access" },
[1034] = { 0, 0, SEN(printargs), "sysv_nice" },
[1035] = { 0, TF|TSF, SEN(printargs), "sysv_statfs" },
[1035] = { 0, TF|TSF|TSFA,SEN(printargs), "sysv_statfs" },
[1036] = { 0, 0, SEN(printargs), "sysv_sync" },
[1037] = { 0, 0, SEN(printargs), "sysv_kill" },
[1038] = { 0, TD|TFSF,SEN(printargs), "sysv_fstatfs" },
[1038] = { 0, TD|TFSF|TSFA,SEN(printargs), "sysv_fstatfs" },
[1039] = { 0, 0, SEN(printargs), "sysv_setpgrp" },
[1040] = { 0, 0, SEN(printargs), "sysv_syssgi" },
[1041] = { 0, 0, SEN(printargs), "sysv_dup" },
@ -318,8 +318,8 @@
[1171] = { 0, 0, SEN(printargs), "sysv_sigstack" },
[1172] = { 0, 0, SEN(printargs), "sysv_sigaltstack" },
[1173] = { 0, 0, SEN(printargs), "sysv_sigsendset" },
[1174] = { 0, TF|TSF, SEN(printargs), "sysv_statvfs" },
[1175] = { 0, TD|TFSF,SEN(printargs), "sysv_fstatvfs" },
[1174] = { 0, TF|TSF|TSFA,SEN(printargs), "sysv_statvfs" },
[1175] = { 0, TD|TFSF|TSFA,SEN(printargs), "sysv_fstatvfs" },
[1176] = { 0, 0, SEN(printargs), "sysv_getpmsg" },
[1177] = { 0, 0, SEN(printargs), "sysv_putpmsg" },
[1178] = { 0, 0, SEN(printargs), "sysv_lchown" },
@ -494,8 +494,8 @@
[2157] = { 0, 0, SEN(printargs), "bsd43_nfs_mount" },
[2158] = { 0, 0, SEN(printargs), "bsd43_nfs_svc" },
[2159] = { 0, 0, SEN(printargs), "bsd43_getdirentries" },
[2160] = { 0, TF|TSF, SEN(printargs), "bsd43_statfs" },
[2161] = { 0, TD|TFSF,SEN(printargs), "bsd43_fstatfs" },
[2160] = { 0, TF|TSF|TSFA,SEN(printargs), "bsd43_statfs" },
[2161] = { 0, TD|TFSF|TSFA,SEN(printargs), "bsd43_fstatfs" },
[2162] = { 0, 0, SEN(printargs), "bsd43_unmount" },
[2163] = { 0, 0, SEN(printargs), "bsd43_async_daemon" },
[2164] = { 0, 0, SEN(printargs), "bsd43_nfs_getfh" },
@ -562,10 +562,10 @@
[3032] = { 0, 0, SEN(printargs), "posix_gtty" },
[3033] = { 0, 0, SEN(printargs), "posix_access" },
[3034] = { 0, 0, SEN(printargs), "posix_nice" },
[3035] = { 0, TF|TSF, SEN(printargs), "posix_statfs" },
[3035] = { 0, TF|TSF|TSFA,SEN(printargs), "posix_statfs" },
[3036] = { 0, 0, SEN(printargs), "posix_sync" },
[3037] = { 0, 0, SEN(printargs), "posix_kill" },
[3038] = { 0, TD|TFSF,SEN(printargs), "posix_fstatfs" },
[3038] = { 0, TD|TFSF|TSFA,SEN(printargs), "posix_fstatfs" },
[3039] = { 0, 0, SEN(printargs), "posix_getpgrp" },
[3040] = { 0, 0, SEN(printargs), "posix_syssgi" },
[3041] = { 0, 0, SEN(printargs), "posix_dup" },

View File

@ -133,9 +133,9 @@
[6130] = { 2, TF, SEN(utime), "utime" },
[6131] = { 3, TF, SEN(mknod), "mknod" },
[6132] = { 1, NF, SEN(personality), "personality" },
[6133] = { 2, 0, SEN(ustat), "ustat" },
[6134] = { 2, TF|TSF, SEN(statfs), "statfs" },
[6135] = { 2, TD|TFSF, SEN(fstatfs), "fstatfs" },
[6133] = { 2, TSFA, SEN(ustat), "ustat" },
[6134] = { 2, TF|TSF|TSFA, SEN(statfs), "statfs" },
[6135] = { 2, TD|TFSF|TSFA, SEN(fstatfs), "fstatfs" },
[6136] = { 3, 0, SEN(sysfs), "sysfs" },
[6137] = { 2, 0, SEN(getpriority), "getpriority" },
[6138] = { 3, 0, SEN(setpriority), "setpriority" },
@ -217,8 +217,8 @@
[6214] = { 0, 0, SEN(restart_syscall), "restart_syscall" },
[6215] = { 4, TI, SEN(semtimedop), "semtimedop" },
[6216] = { 4, TD, SEN(fadvise64_64), "fadvise64" },
[6217] = { 3, TF|TSF, SEN(statfs64), "statfs64" },
[6218] = { 3, TD|TFSF, SEN(fstatfs64), "fstatfs64" },
[6217] = { 3, TF|TSF|TSFA, SEN(statfs64), "statfs64" },
[6218] = { 3, TD|TFSF|TSFA, SEN(fstatfs64), "fstatfs64" },
[6219] = { 4, TD|TN, SEN(sendfile64), "sendfile64" },
[6220] = { 3, 0, SEN(timer_create), "timer_create" },
[6221] = { 4, 0, SEN(timer_settime), "timer_settime" },

View File

@ -133,9 +133,9 @@
[5130] = { 2, TF, SEN(utime), "utime" },
[5131] = { 3, TF, SEN(mknod), "mknod" },
[5132] = { 1, NF, SEN(personality), "personality" },
[5133] = { 2, 0, SEN(ustat), "ustat" },
[5134] = { 2, TF|TSF, SEN(statfs), "statfs" },
[5135] = { 2, TD|TFSF, SEN(fstatfs), "fstatfs" },
[5133] = { 2, TSFA, SEN(ustat), "ustat" },
[5134] = { 2, TF|TSF|TSFA, SEN(statfs), "statfs" },
[5135] = { 2, TD|TFSF|TSFA, SEN(fstatfs), "fstatfs" },
[5136] = { 3, 0, SEN(sysfs), "sysfs" },
[5137] = { 2, 0, SEN(getpriority), "getpriority" },
[5138] = { 3, 0, SEN(setpriority), "setpriority" },

View File

@ -62,7 +62,7 @@
[4059] = { 1, 0, SEN(oldolduname), "oldolduname" },
[4060] = { 1, NF, SEN(umask), "umask" },
[4061] = { 1, TF, SEN(chroot), "chroot" },
[4062] = { 2, 0, SEN(ustat), "ustat" },
[4062] = { 2, TSFA, SEN(ustat), "ustat" },
[4063] = { 2, TD, SEN(dup2), "dup2" },
[4064] = { 0, NF, SEN(getppid), "getppid" },
[4065] = { 0, 0, SEN(getpgrp), "getpgrp" },
@ -99,8 +99,8 @@
[4096] = { 2, 0, SEN(getpriority), "getpriority" },
[4097] = { 3, 0, SEN(setpriority), "setpriority" },
[4098] = { 0, 0, SEN(profil), "profil" },
[4099] = { 2, TF|TSF, SEN(statfs), "statfs" },
[4100] = { 2, TD|TFSF, SEN(fstatfs), "fstatfs" },
[4099] = { 2, TF|TSF|TSFA, SEN(statfs), "statfs" },
[4100] = { 2, TD|TFSF|TSFA, SEN(fstatfs), "fstatfs" },
[4101] = { 3, 0, SEN(ioperm), "ioperm" },
[4102] = { 2, TD, SEN(socketcall), "socketcall" },
[4103] = { 3, 0, SEN(syslog), "syslog" },
@ -255,8 +255,8 @@
[4252] = { 1, 0, SEN(set_tid_address), "set_tid_address" },
[4253] = { 0, 0, SEN(restart_syscall), "restart_syscall" },
[4254] = { 7, TD, SEN(fadvise64_64), "fadvise64" },
[4255] = { 3, TF|TSF, SEN(statfs64), "statfs64" },
[4256] = { 3, TD|TFSF, SEN(fstatfs64), "fstatfs64" },
[4255] = { 3, TF|TSF|TSFA, SEN(statfs64), "statfs64" },
[4256] = { 3, TD|TFSF|TSFA, SEN(fstatfs64), "fstatfs64" },
[4257] = { 3, 0, SEN(timer_create), "timer_create" },
[4258] = { 4, 0, SEN(timer_settime), "timer_settime" },
[4259] = { 2, 0, SEN(timer_gettime), "timer_gettime" },

View File

@ -88,7 +88,7 @@
[ 59] = { 1, 0, SEN(oldolduname), "oldolduname" },
[ 60] = { 1, NF, SEN(umask), "umask" },
[ 61] = { 1, TF, SEN(chroot), "chroot" },
[ 62] = { 2, 0, SEN(ustat), "ustat" },
[ 62] = { 2, TSFA, SEN(ustat), "ustat" },
[ 63] = { 2, TD, SEN(dup2), "dup2" },
[ 64] = { 0, NF, SEN(getppid), "getppid" },
[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" },
@ -125,8 +125,8 @@
[ 96] = { 2, 0, SEN(getpriority), "getpriority" },
[ 97] = { 3, 0, SEN(setpriority), "setpriority" },
[ 98] = { 4, 0, SEN(profil), "profil" },
[ 99] = { 2, TF|TSF, SEN(statfs), "statfs" },
[100] = { 2, TD|TFSF, SEN(fstatfs), "fstatfs" },
[ 99] = { 2, TF|TSF|TSFA, SEN(statfs), "statfs" },
[100] = { 2, TD|TFSF|TSFA, SEN(fstatfs), "fstatfs" },
[101] = { 3, 0, SEN(ioperm), "ioperm" },
[102] = { 2, TD, SEN(socketcall), "socketcall" },
[103] = { 3, 0, SEN(syslog), "syslog" },
@ -278,8 +278,8 @@
[249] = { 2, 0, SEN(printargs), "swapcontext" },
[250] = { 3, TS, SEN(tgkill), "tgkill" },
[251] = { 2, TF, SEN(utimes), "utimes" },
[252] = { 3, TF|TSF, SEN(statfs64), "statfs64" },
[253] = { 3, TD|TFSF, SEN(fstatfs64), "fstatfs64" },
[252] = { 3, TF|TSF|TSFA, SEN(statfs64), "statfs64" },
[253] = { 3, TD|TFSF|TSFA, SEN(fstatfs64), "fstatfs64" },
[254] = { 6, TD, SEN(fadvise64_64), "fadvise64_64" },
[255] = { 1, 0, SEN(printargs), "rtas" },
[256] = { 5, 0, SEN(printargs), "sys_debug_setcontext" },

View File

@ -88,7 +88,7 @@
[ 59] = { 1, 0, SEN(oldolduname), "oldolduname" },
[ 60] = { 1, NF, SEN(umask), "umask" },
[ 61] = { 1, TF, SEN(chroot), "chroot" },
[ 62] = { 2, 0, SEN(ustat), "ustat" },
[ 62] = { 2, TSFA, SEN(ustat), "ustat" },
[ 63] = { 2, TD, SEN(dup2), "dup2" },
[ 64] = { 0, NF, SEN(getppid), "getppid" },
[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" },
@ -125,8 +125,8 @@
[ 96] = { 2, 0, SEN(getpriority), "getpriority" },
[ 97] = { 3, 0, SEN(setpriority), "setpriority" },
[ 98] = { 4, 0, SEN(profil), "profil" },
[ 99] = { 2, TF|TSF, SEN(statfs), "statfs" },
[100] = { 2, TD|TFSF, SEN(fstatfs), "fstatfs" },
[ 99] = { 2, TF|TSF|TSFA, SEN(statfs), "statfs" },
[100] = { 2, TD|TFSF|TSFA, SEN(fstatfs), "fstatfs" },
[101] = { 3, 0, SEN(ioperm), "ioperm" },
[102] = { 2, TD, SEN(socketcall), "socketcall" },
[103] = { 3, 0, SEN(syslog), "syslog" },
@ -273,8 +273,8 @@
[249] = { 2, 0, SEN(printargs), "swapcontext" },
[250] = { 3, TS, SEN(tgkill), "tgkill" },
[251] = { 2, TF, SEN(utimes), "utimes" },
[252] = { 3, TF|TSF, SEN(statfs64), "statfs64" },
[253] = { 3, TD|TFSF, SEN(fstatfs64), "fstatfs64" },
[252] = { 3, TF|TSF|TSFA, SEN(statfs64), "statfs64" },
[253] = { 3, TD|TFSF|TSFA, SEN(fstatfs64), "fstatfs64" },
[254] = { },
[255] = { 1, 0, SEN(printargs), "rtas" },
[256] = { 5, 0, SEN(printargs), "sys_debug_setcontext" },

View File

@ -90,7 +90,7 @@
[ 59] = { },
[ 60] = { 1, NF, SEN(umask), "umask" },
[ 61] = { 1, TF, SEN(chroot), "chroot" },
[ 62] = { 2, 0, SEN(ustat), "ustat" },
[ 62] = { 2, TSFA, SEN(ustat), "ustat" },
[ 63] = { 2, TD, SEN(dup2), "dup2" },
[ 64] = { 0, NF, SEN(getppid), "getppid" },
[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" },
@ -127,8 +127,8 @@
[ 96] = { 2, 0, SEN(getpriority), "getpriority" },
[ 97] = { 3, 0, SEN(setpriority), "setpriority" },
[ 98] = { },
[ 99] = { 2, TF|TSF, SEN(statfs), "statfs" },
[100] = { 2, TD|TFSF, SEN(fstatfs), "fstatfs" },
[ 99] = { 2, TF|TSF|TSFA, SEN(statfs), "statfs" },
[100] = { 2, TD|TFSF|TSFA, SEN(fstatfs), "fstatfs" },
[101] = { 3, 0, SEN(ioperm), "ioperm" },
[102] = { 2, TD, SEN(socketcall), "socketcall" },
[103] = { 3, 0, SEN(syslog), "syslog" },
@ -293,8 +293,8 @@
[262] = { 4, 0, SEN(clock_nanosleep), "clock_nanosleep" },
[263] = { 5, 0, SEN(vserver), "vserver" },
[264] = { 6, TD, SEN(fadvise64_64), "fadvise64_64" },
[265] = { 3, TF|TSF, SEN(statfs64), "statfs64" },
[266] = { 3, TD|TFSF, SEN(fstatfs64), "fstatfs64" },
[265] = { 3, TF|TSF|TSFA, SEN(statfs64), "statfs64" },
[266] = { 3, TD|TFSF|TSFA, SEN(fstatfs64), "fstatfs64" },
[267] = { 5, TM|SI, SEN(remap_file_pages), "remap_file_pages" },
[268] = { 6, TM, SEN(mbind), "mbind" },
[269] = { 5, TM, SEN(get_mempolicy), "get_mempolicy" },

View File

@ -89,7 +89,7 @@
[ 59] = { },
[ 60] = { 1, NF, SEN(umask), "umask" },
[ 61] = { 1, TF, SEN(chroot), "chroot" },
[ 62] = { 2, 0, SEN(ustat), "ustat" },
[ 62] = { 2, TSFA, SEN(ustat), "ustat" },
[ 63] = { 2, TD, SEN(dup2), "dup2" },
[ 64] = { 0, NF, SEN(getppid), "getppid" },
[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" },
@ -121,8 +121,8 @@
[ 96] = { 2, 0, SEN(getpriority), "getpriority" },
[ 97] = { 3, 0, SEN(setpriority), "setpriority" },
[ 98] = { },
[ 99] = { 2, TF|TSF, SEN(statfs), "statfs" },
[100] = { 2, TD|TFSF, SEN(fstatfs), "fstatfs" },
[ 99] = { 2, TF|TSF|TSFA, SEN(statfs), "statfs" },
[100] = { 2, TD|TFSF|TSFA, SEN(fstatfs), "fstatfs" },
[101] = { },
[102] = { 2, TD, SEN(socketcall), "socketcall" },
[103] = { 3, 0, SEN(syslog), "syslog" },
@ -277,8 +277,8 @@
[262] = { 4, 0, SEN(clock_nanosleep), "clock_nanosleep" },
[263] = { 5, 0, SEN(vserver), "vserver" },
[264] = { },
[265] = { 3, TF|TSF, SEN(statfs64), "statfs64" },
[266] = { 3, TD|TFSF, SEN(fstatfs64), "fstatfs64" },
[265] = { 3, TF|TSF|TSFA, SEN(statfs64), "statfs64" },
[266] = { 3, TD|TFSF|TSFA, SEN(fstatfs64), "fstatfs64" },
[267] = { 5, TM|SI, SEN(remap_file_pages), "remap_file_pages" },
[268] = { 6, TM, SEN(mbind), "mbind" },
[269] = { 5, TM, SEN(get_mempolicy), "get_mempolicy" },

View File

@ -90,7 +90,7 @@
[ 59] = { 1, 0, SEN(oldolduname), "oldolduname" },
[ 60] = { 1, NF, SEN(umask), "umask" },
[ 61] = { 1, TF, SEN(chroot), "chroot" },
[ 62] = { 2, 0, SEN(ustat), "ustat" },
[ 62] = { 2, TSFA, SEN(ustat), "ustat" },
[ 63] = { 2, TD, SEN(dup2), "dup2" },
[ 64] = { 0, NF, SEN(getppid), "getppid" },
[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" },
@ -127,8 +127,8 @@
[ 96] = { 2, 0, SEN(getpriority), "getpriority" },
[ 97] = { 3, 0, SEN(setpriority), "setpriority" },
[ 98] = { 4, 0, SEN(profil), "profil" },
[ 99] = { 2, TF|TSF, SEN(statfs), "statfs" },
[100] = { 2, TD|TFSF, SEN(fstatfs), "fstatfs" },
[ 99] = { 2, TF|TSF|TSFA, SEN(statfs), "statfs" },
[100] = { 2, TD|TFSF|TSFA, SEN(fstatfs), "fstatfs" },
[101] = { 3, 0, SEN(ioperm), "ioperm" },
[102] = { 2, TD, SEN(socketcall), "socketcall" },
[103] = { 3, 0, SEN(syslog), "syslog" },
@ -293,8 +293,8 @@
[265] = { 2, 0, SEN(clock_gettime), "clock_gettime" },
[266] = { 2, 0, SEN(clock_getres), "clock_getres" },
[267] = { 4, 0, SEN(clock_nanosleep), "clock_nanosleep" },
[268] = { 3, TF|TSF, SEN(statfs64), "statfs64" },
[269] = { 3, TD|TFSF, SEN(fstatfs64), "fstatfs64" },
[268] = { 3, TF|TSF|TSFA, SEN(statfs64), "statfs64" },
[269] = { 3, TD|TFSF|TSFA, SEN(fstatfs64), "fstatfs64" },
[270] = { 3, TS, SEN(tgkill), "tgkill" },
[271] = { 2, TF, SEN(utimes), "utimes" },
[272] = { 6, TD, SEN(fadvise64_64), "fadvise64_64" },

View File

@ -88,7 +88,7 @@
[ 59] = { 1, 0, SEN(oldolduname), "oldolduname" },
[ 60] = { 1, NF, SEN(umask), "umask" },
[ 61] = { 1, TF, SEN(chroot), "chroot" },
[ 62] = { 2, 0, SEN(ustat), "ustat" },
[ 62] = { 2, TSFA, SEN(ustat), "ustat" },
[ 63] = { 2, TD, SEN(dup2), "dup2" },
[ 64] = { 0, NF, SEN(getppid), "getppid" },
[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" },
@ -125,8 +125,8 @@
[ 96] = { 2, 0, SEN(getpriority), "getpriority" },
[ 97] = { 3, 0, SEN(setpriority), "setpriority" },
[ 98] = { 4, 0, SEN(profil), "profil" },
[ 99] = { 2, TF|TSF, SEN(statfs), "statfs" },
[100] = { 2, TD|TFSF, SEN(fstatfs), "fstatfs" },
[ 99] = { 2, TF|TSF|TSFA, SEN(statfs), "statfs" },
[100] = { 2, TD|TFSF|TSFA, SEN(fstatfs), "fstatfs" },
[101] = { 3, 0, SEN(ioperm), "ioperm" },
[102] = { 2, TD, SEN(socketcall), "socketcall" },
[103] = { 3, 0, SEN(syslog), "syslog" },
@ -319,8 +319,8 @@
[293] = { 2, 0, SEN(clock_gettime), "clock_gettime" },
[294] = { 2, 0, SEN(clock_getres), "clock_getres" },
[295] = { 4, 0, SEN(clock_nanosleep), "clock_nanosleep" },
[296] = { 3, TF|TSF, SEN(statfs64), "statfs64" },
[297] = { 3, TD|TFSF, SEN(fstatfs64), "fstatfs64" },
[296] = { 3, TF|TSF|TSFA, SEN(statfs64), "statfs64" },
[297] = { 3, TD|TFSF|TSFA, SEN(fstatfs64), "fstatfs64" },
[298] = { 3, TS, SEN(tgkill), "tgkill" },
[299] = { 2, TF, SEN(utimes), "utimes" },
[300] = { 4, TD, SEN(fadvise64_64), "fadvise64_64" },

View File

@ -155,8 +155,8 @@
[154] = { 3, TD, SEN(getdents64), "getdents64" },
[155] = { 3, TD, SEN(fcntl64), "fcntl64" },
[156] = { 2, TD, SEN(inotify_rm_watch), "inotify_rm_watch" },
[157] = { 2, TF|TSF, SEN(statfs), "statfs" },
[158] = { 2, TD|TFSF, SEN(fstatfs), "fstatfs" },
[157] = { 2, TF|TSF|TSFA, SEN(statfs), "statfs" },
[158] = { 2, TD|TFSF|TSFA, SEN(fstatfs), "fstatfs" },
[159] = { 1, TF, SEN(umount), "umount" },
[160] = { 3, 0, SEN(sched_setaffinity), "sched_set_affinity" },
[161] = { 3, 0, SEN(sched_getaffinity), "sched_get_affinity" },
@ -166,7 +166,7 @@
[165] = { 4, TF, SEN(quotactl), "quotactl" },
[166] = { 1, 0, SEN(set_tid_address), "set_tid_address" },
[167] = { 5, TF, SEN(mount), "mount" },
[168] = { 2, 0, SEN(ustat), "ustat" },
[168] = { 2, TSFA, SEN(ustat), "ustat" },
[169] = { 5, TF, SEN(setxattr), "setxattr" },
[170] = { 5, TF, SEN(setxattr), "lsetxattr" },
[171] = { 5, TD, SEN(fsetxattr), "fsetxattr" },
@ -232,8 +232,8 @@
[231] = { 1, 0, SEN(time), "time" },
[232] = { 6, TD, SEN(splice), "splice" },
[233] = { 1, 0, SEN(stime), "stime" },
[234] = { 3, TF|TSF, SEN(statfs64), "statfs64" },
[235] = { 3, TD|TFSF, SEN(fstatfs64), "fstatfs64" },
[234] = { 3, TF|TSF|TSFA, SEN(statfs64), "statfs64" },
[235] = { 3, TD|TFSF|TSFA, SEN(fstatfs64), "fstatfs64" },
[236] = { 5, TD, SEN(llseek), "_llseek" },
[237] = { 2, TM, SEN(mlock), "mlock" },
[238] = { 2, TM, SEN(munlock), "munlock" },

View File

@ -153,8 +153,8 @@
[154] = { 3, TD, SEN(getdents64), "getdents64" },
[155] = { },
[156] = { 2, TD, SEN(inotify_rm_watch), "inotify_rm_watch" },
[157] = { 2, TF|TSF, SEN(statfs), "statfs" },
[158] = { 2, TD|TFSF, SEN(fstatfs), "fstatfs" },
[157] = { 2, TF|TSF|TSFA, SEN(statfs), "statfs" },
[158] = { 2, TD|TFSF|TSFA, SEN(fstatfs), "fstatfs" },
[159] = { 1, TF, SEN(umount), "umount" },
[160] = { 3, 0, SEN(sched_setaffinity), "sched_set_affinity" },
[161] = { 3, 0, SEN(sched_getaffinity), "sched_get_affinity" },
@ -164,7 +164,7 @@
[165] = { 4, TF, SEN(quotactl), "quotactl" },
[166] = { 1, 0, SEN(set_tid_address), "set_tid_address" },
[167] = { 5, TF, SEN(mount), "mount" },
[168] = { 2, 0, SEN(ustat), "ustat" },
[168] = { 2, TSFA, SEN(ustat), "ustat" },
[169] = { 5, TF, SEN(setxattr), "setxattr" },
[170] = { 5, TF, SEN(setxattr), "lsetxattr" },
[171] = { 5, TD, SEN(fsetxattr), "fsetxattr" },
@ -230,8 +230,8 @@
[231] = { },
[232] = { 6, TD, SEN(splice), "splice" },
[233] = { 1, 0, SEN(stime), "stime" },
[234] = { 3, TF|TSF, SEN(statfs64), "statfs64" },
[235] = { 3, TD|TFSF, SEN(fstatfs64), "fstatfs64" },
[234] = { 3, TF|TSF|TSFA, SEN(statfs64), "statfs64" },
[235] = { 3, TD|TFSF|TSFA, SEN(fstatfs64), "fstatfs64" },
[236] = { 5, TD, SEN(llseek), "_llseek" },
[237] = { 2, TM, SEN(mlock), "mlock" },
[238] = { 2, TM, SEN(munlock), "munlock" },

View File

@ -134,9 +134,9 @@
[133] = { 3, TF, SEN(mknod), "mknod" },
[134] = { 1, TF, SEN(printargs), "64:uselib" },
[135] = { 1, NF, SEN(personality), "personality" },
[136] = { 2, 0, SEN(ustat), "ustat" },
[137] = { 2, TF|TSF, SEN(statfs), "statfs" },
[138] = { 2, TD|TFSF, SEN(fstatfs), "fstatfs" },
[136] = { 2, TSFA, SEN(ustat), "ustat" },
[137] = { 2, TF|TSF|TSFA, SEN(statfs), "statfs" },
[138] = { 2, TD|TFSF|TSFA, SEN(fstatfs), "fstatfs" },
[139] = { 3, 0, SEN(sysfs), "sysfs" },
[140] = { 2, 0, SEN(getpriority), "getpriority" },
[141] = { 3, 0, SEN(setpriority), "setpriority" },

View File

@ -134,9 +134,9 @@
[133] = { 3, TF, SEN(mknod), "mknod" },
[134] = { 1, TF, SEN(uselib), "uselib" },
[135] = { 1, NF, SEN(personality), "personality" },
[136] = { 2, 0, SEN(ustat), "ustat" },
[137] = { 2, TF|TSF, SEN(statfs), "statfs" },
[138] = { 2, TD|TFSF, SEN(fstatfs), "fstatfs" },
[136] = { 2, TSFA, SEN(ustat), "ustat" },
[137] = { 2, TF|TSF|TSFA, SEN(statfs), "statfs" },
[138] = { 2, TD|TFSF|TSFA, SEN(fstatfs), "fstatfs" },
[139] = { 3, 0, SEN(sysfs), "sysfs" },
[140] = { 2, 0, SEN(getpriority), "getpriority" },
[141] = { 3, 0, SEN(setpriority), "setpriority" },

View File

@ -175,11 +175,11 @@
[180] = { 1, NF, SEN(setfsuid), "setfsuid" },
[181] = { 1, NF, SEN(setfsgid), "setfsgid" },
[182] = { 3, 0, SEN(sysfs), "sysfs" },
[183] = { 2, 0, SEN(ustat), "ustat" },
[184] = { 2, TF|TSF, SEN(statfs), "statfs" },
[185] = { 2, TD|TFSF, SEN(fstatfs), "fstatfs" },
[186] = { 3, TF|TSF, SEN(statfs64), "statfs64" },
[187] = { 3, TD|TFSF, SEN(fstatfs64), "fstatfs64" },
[183] = { 2, TSFA, SEN(ustat), "ustat" },
[184] = { 2, TF|TSF|TSFA, SEN(statfs), "statfs" },
[185] = { 2, TD|TFSF|TSFA, SEN(fstatfs), "fstatfs" },
[186] = { 3, TF|TSF|TSFA, SEN(statfs64), "statfs64" },
[187] = { 3, TD|TFSF|TSFA, SEN(fstatfs64), "fstatfs64" },
[188] = { 2, 0, SEN(setrlimit), "setrlimit" },
[189] = { 2, 0, SEN(getrlimit), "getrlimit" },
[190] = { 2, 0, SEN(getrusage), "getrusage" },

View File

@ -264,6 +264,7 @@ lookup_class(const char *s)
{ "%network", TRACE_NETWORK },
{ "%statfs", TRACE_STATFS },
{ "%fstatfs", TRACE_FSTATFS },
{ "%%statfs", TRACE_STATFS_LIKE },
};
unsigned int i;

View File

@ -446,6 +446,12 @@ The same effect can be achieved with
.BR "\-e\ trace" = /fstatv?fs
regular expression.
.TP
.BR "\-e\ trace" = %%statfs
Trace syscalls related to file system statistics (statfs-like, fstatfs-like,
and ustat). The same effect can be achieved with
.BR "\-e\ trace" = /statv?fs|ustat
regular expression.
.TP
\fB\-e\ abbrev\fR=\,\fIset\fR
Abbreviate the output from printing each member of large structures.
The default is

View File

@ -78,6 +78,7 @@
#define TM TRACE_MEMORY
#define TSF TRACE_STATFS
#define TFSF TRACE_FSTATFS
#define TSFA TRACE_STATFS_LIKE
#define NF SYSCALL_NEVER_FAILS
#define MA MAX_ARGS
#define SI STACKTRACE_INVALIDATE_CACHE
@ -115,6 +116,7 @@ static const struct_sysent sysent2[] = {
#undef TM
#undef TSF
#undef TFSF
#undef TSFA
#undef NF
#undef MA
#undef SI

View File

@ -23,5 +23,6 @@ typedef struct sysent {
#define COMPAT_SYSCALL_TYPES 00004000 /* A compat syscall that uses compat types. */
#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. */
#endif /* !STRACE_SYSENT_H */

View File

@ -338,6 +338,7 @@ EXTRA_DIST = \
sun_path.expected \
trace_fstatfs.in \
trace_statfs.in \
trace_statfs_like.in \
uio.expected \
umode_t.c \
umovestr.expected \

View File

@ -306,6 +306,7 @@ times -esignal=none
times-fail -a12 -e trace=times
trace_fstatfs test_trace_expr '' -e%fstatfs
trace_statfs test_trace_expr '' -e%statfs
trace_statfs_like test_trace_expr '' -e%%statfs
truncate
truncate64
ugetrlimit -a28

View File

@ -42,6 +42,7 @@
#define TM 0
#define TSF 0
#define TFSF 0
#define TSFA 0
#define NF 0
#define MA 0
#define SI 0

View File

@ -43,6 +43,7 @@
#define TM 0
#define TSF 0
#define TFSF 0
#define TSFA 0
#define NF 0
#define MA 0
#define SI 0

View File

@ -0,0 +1,5 @@
statfs -a17
statfs64 -a23
fstatfs -a18
fstatfs64 -a24
ustat -a33