diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2020-06-14 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2020-06-14 08:00:00 +0000 |
commit | 7269a215cbcd59a167e231c33cbaf1d4233e6e17 (patch) | |
tree | f4b70af43860f8521ae43fc9aee8f57c5fd0ccd3 /linux | |
parent | 29b8b02d87b2f38e914968140d62db3cef0628f1 (diff) | |
download | strace-7269a215cbcd59a167e231c33cbaf1d4233e6e17.tar.gz |
Add statx syscall to %fstat trace class
statx syscall with AT_EMPTY_PATH flag is similar to newfstatat/fstatat64
syscall with AT_EMPTY_PATH flag.
* linux/32/syscallent.h (statx): Add TFST flag.
* linux/64/syscallent.h: Likewise.
* linux/alpha/syscallent.h: Likewise.
* linux/arm/syscallent.h: Likewise.
* linux/hppa/syscallent.h: Likewise.
* linux/i386/syscallent.h: Likewise.
* linux/ia64/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/microblaze/syscallent.h: Likewise.
* linux/mips/syscallent-n32.h: Likewise.
* linux/mips/syscallent-n64.h: Likewise.
* linux/mips/syscallent-o32.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/powerpc64/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
* linux/x32/syscallent.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.
* linux/xtensa/syscallent.h: Likewise.
* strace.1.in (.SS Filtering): Document it.
* NEWS: Mention this fix.
* tests/trace_fstat.in (statx): New entry.
Diffstat (limited to 'linux')
-rw-r--r-- | linux/32/syscallent.h | 2 | ||||
-rw-r--r-- | linux/64/syscallent.h | 2 | ||||
-rw-r--r-- | linux/alpha/syscallent.h | 2 | ||||
-rw-r--r-- | linux/arm/syscallent.h | 2 | ||||
-rw-r--r-- | linux/hppa/syscallent.h | 2 | ||||
-rw-r--r-- | linux/i386/syscallent.h | 2 | ||||
-rw-r--r-- | linux/ia64/syscallent.h | 2 | ||||
-rw-r--r-- | linux/m68k/syscallent.h | 2 | ||||
-rw-r--r-- | linux/microblaze/syscallent.h | 2 | ||||
-rw-r--r-- | linux/mips/syscallent-n32.h | 2 | ||||
-rw-r--r-- | linux/mips/syscallent-n64.h | 2 | ||||
-rw-r--r-- | linux/mips/syscallent-o32.h | 2 | ||||
-rw-r--r-- | linux/powerpc/syscallent.h | 2 | ||||
-rw-r--r-- | linux/powerpc64/syscallent.h | 2 | ||||
-rw-r--r-- | linux/s390/syscallent.h | 2 | ||||
-rw-r--r-- | linux/s390x/syscallent.h | 2 | ||||
-rw-r--r-- | linux/sh/syscallent.h | 2 | ||||
-rw-r--r-- | linux/sparc/syscallent.h | 2 | ||||
-rw-r--r-- | linux/sparc64/syscallent.h | 2 | ||||
-rw-r--r-- | linux/x32/syscallent.h | 2 | ||||
-rw-r--r-- | linux/x86_64/syscallent.h | 2 | ||||
-rw-r--r-- | linux/xtensa/syscallent.h | 2 |
22 files changed, 22 insertions, 22 deletions
diff --git a/linux/32/syscallent.h b/linux/32/syscallent.h index 5e1f06dcc..42dff5601 100644 --- a/linux/32/syscallent.h +++ b/linux/32/syscallent.h @@ -288,7 +288,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|TSTA, SEN(statx), "statx" }, +[291] = { 5, TD|TF|TFST|TSTA,SEN(statx), "statx" }, /* [292] io_pgetevents */ [293] = { 4, 0, SEN(rseq), "rseq" }, [294] = { 5, TD, SEN(kexec_file_load), "kexec_file_load" }, diff --git a/linux/64/syscallent.h b/linux/64/syscallent.h index 9531a05be..a352193ad 100644 --- a/linux/64/syscallent.h +++ b/linux/64/syscallent.h @@ -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|TSTA, SEN(statx), "statx" }, +[291] = { 5, TD|TF|TFST|TSTA,SEN(statx), "statx" }, [292] = { 6, 0, SEN(io_pgetevents_time64), "io_pgetevents" }, [293] = { 4, 0, SEN(rseq), "rseq" }, [294] = { 5, TD, SEN(kexec_file_load), "kexec_file_load" }, diff --git a/linux/alpha/syscallent.h b/linux/alpha/syscallent.h index b0d680b65..3924478a2 100644 --- a/linux/alpha/syscallent.h +++ b/linux/alpha/syscallent.h @@ -465,7 +465,7 @@ [519] = { 6, TD, SEN(copy_file_range), "copy_file_range" }, [520] = { 6, TD, SEN(preadv2), "preadv2" }, [521] = { 6, TD, SEN(pwritev2), "pwritev2" }, -[522] = { 5, TD|TF|TSTA, SEN(statx), "statx" }, +[522] = { 5, TD|TF|TFST|TSTA,SEN(statx), "statx" }, [523] = { 6, 0, SEN(io_pgetevents_time64), "io_pgetevents" }, [524] = { 4, TM|SI, SEN(pkey_mprotect), "pkey_mprotect" }, [525] = { 2, 0, SEN(pkey_alloc), "pkey_alloc" }, diff --git a/linux/arm/syscallent.h b/linux/arm/syscallent.h index e9eee9f83..9bc6b8040 100644 --- a/linux/arm/syscallent.h +++ b/linux/arm/syscallent.h @@ -404,7 +404,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|TSTA, SEN(statx), "statx" }, +[397] = { 5, TD|TF|TFST|TSTA,SEN(statx), "statx" }, [398] = { 4, 0, SEN(rseq), "rseq" }, [399] = { 6, 0, SEN(io_pgetevents_time32), "io_pgetevents" }, [400] = { 4, TM, SEN(migrate_pages), "migrate_pages" }, diff --git a/linux/hppa/syscallent.h b/linux/hppa/syscallent.h index dca6c4199..3651cf4a1 100644 --- a/linux/hppa/syscallent.h +++ b/linux/hppa/syscallent.h @@ -352,7 +352,7 @@ [346] = { 6, TD, SEN(copy_file_range), "copy_file_range" }, [347] = { 6, TD, SEN(preadv2), "preadv2" }, [348] = { 6, TD, SEN(pwritev2), "pwritev2" }, -[349] = { 5, TD|TF|TSTA, SEN(statx), "statx" }, +[349] = { 5, TD|TF|TFST|TSTA,SEN(statx), "statx" }, [350] = { 6, 0, SEN(io_pgetevents_time32), "io_pgetevents" }, [351] = { 4, TM|SI, SEN(pkey_mprotect), "pkey_mprotect" }, [352] = { 2, 0, SEN(pkey_alloc), "pkey_alloc" }, diff --git a/linux/i386/syscallent.h b/linux/i386/syscallent.h index 042787018..b74305eea 100644 --- a/linux/i386/syscallent.h +++ b/linux/i386/syscallent.h @@ -389,7 +389,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|TSTA, SEN(statx), "statx" }, +[383] = { 5, TD|TF|TFST|TSTA,SEN(statx), "statx" }, [384] = { 2, TP, SEN(arch_prctl), "arch_prctl" }, [385] = { 6, 0, SEN(io_pgetevents_time32), "io_pgetevents" }, [386] = { 4, 0, SEN(rseq), "rseq" }, diff --git a/linux/ia64/syscallent.h b/linux/ia64/syscallent.h index 9098488e4..480268d6a 100644 --- a/linux/ia64/syscallent.h +++ b/linux/ia64/syscallent.h @@ -346,7 +346,7 @@ [BASE_NR + 323] = { 6, TD, SEN(copy_file_range), "copy_file_range" }, [BASE_NR + 324] = { 6, TD, SEN(preadv2), "preadv2" }, [BASE_NR + 325] = { 6, TD, SEN(pwritev2), "pwritev2" }, -[BASE_NR + 326] = { 5, TD|TF|TSTA, SEN(statx), "statx" }, +[BASE_NR + 326] = { 5, TD|TF|TFST|TSTA,SEN(statx), "statx" }, [BASE_NR + 327] = { 6, 0, SEN(io_pgetevents_time64), "io_pgetevents" }, [BASE_NR + 328] = { 5, TD, SEN(perf_event_open), "perf_event_open" }, [BASE_NR + 329] = { 3, 0, SEN(seccomp), "seccomp" }, diff --git a/linux/m68k/syscallent.h b/linux/m68k/syscallent.h index 315dbb6c1..3f16d27eb 100644 --- a/linux/m68k/syscallent.h +++ b/linux/m68k/syscallent.h @@ -385,7 +385,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|TSTA, SEN(statx), "statx" }, +[379] = { 5, TD|TF|TFST|TSTA,SEN(statx), "statx" }, [380] = { 3, 0, SEN(seccomp), "seccomp" }, [381] = { 4, TM|SI, SEN(pkey_mprotect), "pkey_mprotect" }, [382] = { 2, 0, SEN(pkey_alloc), "pkey_alloc" }, diff --git a/linux/microblaze/syscallent.h b/linux/microblaze/syscallent.h index c17aad120..0f4775838 100644 --- a/linux/microblaze/syscallent.h +++ b/linux/microblaze/syscallent.h @@ -404,7 +404,7 @@ [395] = { 4, TM|SI, SEN(pkey_mprotect), "pkey_mprotect" }, [396] = { 2, 0, SEN(pkey_alloc), "pkey_alloc" }, [397] = { 1, 0, SEN(pkey_free), "pkey_free" }, -[398] = { 5, TD|TF|TSTA, SEN(statx), "statx" }, +[398] = { 5, TD|TF|TFST|TSTA,SEN(statx), "statx" }, [399] = { 6, 0, SEN(io_pgetevents_time32), "io_pgetevents" }, [400] = { 4, 0, SEN(rseq), "rseq" }, /* [401 ... 402] - unused */ diff --git a/linux/mips/syscallent-n32.h b/linux/mips/syscallent-n32.h index 38773f8aa..8978664f8 100644 --- a/linux/mips/syscallent-n32.h +++ b/linux/mips/syscallent-n32.h @@ -338,7 +338,7 @@ [BASE_NR + 327] = { 4, TM|SI, SEN(pkey_mprotect), "pkey_mprotect" }, [BASE_NR + 328] = { 2, 0, SEN(pkey_alloc), "pkey_alloc" }, [BASE_NR + 329] = { 1, 0, SEN(pkey_free), "pkey_free" }, -[BASE_NR + 330] = { 5, TD|TF|TSTA, SEN(statx), "statx" }, +[BASE_NR + 330] = { 5, TD|TF|TFST|TSTA,SEN(statx), "statx" }, [BASE_NR + 331] = { 4, 0, SEN(rseq), "rseq" }, [BASE_NR + 332] = { 6, 0, SEN(io_pgetevents_time32), "io_pgetevents" }, # include "syscallent-common-32.h" diff --git a/linux/mips/syscallent-n64.h b/linux/mips/syscallent-n64.h index 0dfd64e28..bdaa249aa 100644 --- a/linux/mips/syscallent-n64.h +++ b/linux/mips/syscallent-n64.h @@ -334,7 +334,7 @@ [BASE_NR + 323] = { 4, TM|SI, SEN(pkey_mprotect), "pkey_mprotect" }, [BASE_NR + 324] = { 2, 0, SEN(pkey_alloc), "pkey_alloc" }, [BASE_NR + 325] = { 1, 0, SEN(pkey_free), "pkey_free" }, -[BASE_NR + 326] = { 5, TD|TF|TSTA, SEN(statx), "statx" }, +[BASE_NR + 326] = { 5, TD|TF|TFST|TSTA,SEN(statx), "statx" }, [BASE_NR + 327] = { 4, 0, SEN(rseq), "rseq" }, [BASE_NR + 328] = { 6, 0, SEN(io_pgetevents_time64), "io_pgetevents" }, # include "syscallent-common.h" diff --git a/linux/mips/syscallent-o32.h b/linux/mips/syscallent-o32.h index f4e67e87f..c9c102353 100644 --- a/linux/mips/syscallent-o32.h +++ b/linux/mips/syscallent-o32.h @@ -375,7 +375,7 @@ [BASE_NR + 363] = { 4, TM|SI, SEN(pkey_mprotect), "pkey_mprotect" }, [BASE_NR + 364] = { 2, 0, SEN(pkey_alloc), "pkey_alloc" }, [BASE_NR + 365] = { 1, 0, SEN(pkey_free), "pkey_free" }, -[BASE_NR + 366] = { 5, TD|TF|TSTA, SEN(statx), "statx" }, +[BASE_NR + 366] = { 5, TD|TF|TFST|TSTA,SEN(statx), "statx" }, [BASE_NR + 367] = { 4, 0, SEN(rseq), "rseq" }, [BASE_NR + 368] = { 6, 0, SEN(io_pgetevents_time32), "io_pgetevents" }, /* room for arch specific calls */ diff --git a/linux/powerpc/syscallent.h b/linux/powerpc/syscallent.h index 6958edae2..da894fdb3 100644 --- a/linux/powerpc/syscallent.h +++ b/linux/powerpc/syscallent.h @@ -379,7 +379,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|TSTA, SEN(statx), "statx" }, +[383] = { 5, TD|TF|TFST|TSTA,SEN(statx), "statx" }, [384] = { 2, 0, SEN(pkey_alloc), "pkey_alloc" }, [385] = { 1, 0, SEN(pkey_free), "pkey_free" }, [386] = { 4, TM|SI, SEN(pkey_mprotect), "pkey_mprotect" }, diff --git a/linux/powerpc64/syscallent.h b/linux/powerpc64/syscallent.h index 608caedfd..6a0b84b1c 100644 --- a/linux/powerpc64/syscallent.h +++ b/linux/powerpc64/syscallent.h @@ -374,7 +374,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|TSTA, SEN(statx), "statx" }, +[383] = { 5, TD|TF|TFST|TSTA,SEN(statx), "statx" }, [384] = { 2, 0, SEN(pkey_alloc), "pkey_alloc" }, [385] = { 1, 0, SEN(pkey_free), "pkey_free" }, [386] = { 4, TM|SI, SEN(pkey_mprotect), "pkey_mprotect" }, diff --git a/linux/s390/syscallent.h b/linux/s390/syscallent.h index c61ad77bf..e7af074b9 100644 --- a/linux/s390/syscallent.h +++ b/linux/s390/syscallent.h @@ -388,7 +388,7 @@ [376] = { 6, TD, SEN(preadv2), "preadv2" }, [377] = { 6, TD, SEN(pwritev2), "pwritev2" }, [378] = { 2, 0, SEN(s390_guarded_storage), "s390_guarded_storage" }, -[379] = { 5, TD|TF|TSTA, SEN(statx), "statx" }, +[379] = { 5, TD|TF|TFST|TSTA,SEN(statx), "statx" }, [380] = { 4, 0, SEN(s390_sthyi), "s390_sthyi" }, [381] = { 5, TD, SEN(kexec_file_load), "kexec_file_load" }, [382] = { 6, 0, SEN(io_pgetevents_time32), "io_pgetevents" }, diff --git a/linux/s390x/syscallent.h b/linux/s390x/syscallent.h index c49375791..71f55bc48 100644 --- a/linux/s390x/syscallent.h +++ b/linux/s390x/syscallent.h @@ -372,7 +372,7 @@ [376] = { 6, TD, SEN(preadv2), "preadv2" }, [377] = { 6, TD, SEN(pwritev2), "pwritev2" }, [378] = { 2, 0, SEN(s390_guarded_storage), "s390_guarded_storage" }, -[379] = { 5, TD|TF|TSTA, SEN(statx), "statx" }, +[379] = { 5, TD|TF|TFST|TSTA,SEN(statx), "statx" }, [380] = { 4, 0, SEN(s390_sthyi), "s390_sthyi" }, [381] = { 5, TD, SEN(kexec_file_load), "kexec_file_load" }, [382] = { 6, 0, SEN(io_pgetevents_time64), "io_pgetevents" }, diff --git a/linux/sh/syscallent.h b/linux/sh/syscallent.h index 61eb72838..6d3563016 100644 --- a/linux/sh/syscallent.h +++ b/linux/sh/syscallent.h @@ -389,7 +389,7 @@ [380] = { 6, TD, SEN(copy_file_range), "copy_file_range" }, [381] = { 6, TD, SEN(preadv2), "preadv2" }, [382] = { 6, TD, SEN(pwritev2), "pwritev2" }, -[383] = { 5, TD|TF|TSTA, SEN(statx), "statx" }, +[383] = { 5, TD|TF|TFST|TSTA,SEN(statx), "statx" }, [384] = { 4, TM|SI, SEN(pkey_mprotect), "pkey_mprotect" }, [385] = { 2, 0, SEN(pkey_alloc), "pkey_alloc" }, [386] = { 1, 0, SEN(pkey_free), "pkey_free" }, diff --git a/linux/sparc/syscallent.h b/linux/sparc/syscallent.h index 3417e7fc5..551c08fed 100644 --- a/linux/sparc/syscallent.h +++ b/linux/sparc/syscallent.h @@ -365,7 +365,7 @@ [357] = { 6, TD, SEN(copy_file_range), "copy_file_range" }, [358] = { 6, TD, SEN(preadv2), "preadv2" }, [359] = { 6, TD, SEN(pwritev2), "pwritev2" }, -[360] = { 5, TD|TF|TSTA, SEN(statx), "statx" }, +[360] = { 5, TD|TF|TFST|TSTA,SEN(statx), "statx" }, [361] = { 6, 0, SEN(io_pgetevents_time32), "io_pgetevents" }, [362] = { 4, TM|SI, SEN(pkey_mprotect), "pkey_mprotect" }, [363] = { 2, 0, SEN(pkey_alloc), "pkey_alloc" }, diff --git a/linux/sparc64/syscallent.h b/linux/sparc64/syscallent.h index dd77685c2..df9eee742 100644 --- a/linux/sparc64/syscallent.h +++ b/linux/sparc64/syscallent.h @@ -363,7 +363,7 @@ [357] = { 6, TD, SEN(copy_file_range), "copy_file_range" }, [358] = { 6, TD, SEN(preadv2), "preadv2" }, [359] = { 6, TD, SEN(pwritev2), "pwritev2" }, -[360] = { 5, TD|TF|TSTA, SEN(statx), "statx" }, +[360] = { 5, TD|TF|TFST|TSTA,SEN(statx), "statx" }, [361] = { 6, 0, SEN(io_pgetevents_time64), "io_pgetevents" }, [362] = { 4, TM|SI, SEN(pkey_mprotect), "pkey_mprotect" }, [363] = { 2, 0, SEN(pkey_alloc), "pkey_alloc" }, diff --git a/linux/x32/syscallent.h b/linux/x32/syscallent.h index 30e295f39..6f8ffbcee 100644 --- a/linux/x32/syscallent.h +++ b/linux/x32/syscallent.h @@ -337,7 +337,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|TSTA, SEN(statx), "statx" }, +[332] = { 5, TD|TF|TFST|TSTA,SEN(statx), "statx" }, [333] = { 6, 0, SEN(io_pgetevents_time64), "io_pgetevents" }, [334] = { 4, 0, SEN(rseq), "rseq" }, /* [335 ... 423] - reserved to sync up with other architectures */ diff --git a/linux/x86_64/syscallent.h b/linux/x86_64/syscallent.h index 8423c7db7..6f850c699 100644 --- a/linux/x86_64/syscallent.h +++ b/linux/x86_64/syscallent.h @@ -337,7 +337,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|TSTA, SEN(statx), "statx" }, +[332] = { 5, TD|TF|TFST|TSTA,SEN(statx), "statx" }, [333] = { 6, 0, SEN(io_pgetevents_time64), "io_pgetevents" }, [334] = { 4, 0, SEN(rseq), "rseq" }, /* [335 ... 423] - reserved to sync up with other architectures */ diff --git a/linux/xtensa/syscallent.h b/linux/xtensa/syscallent.h index 385630a9b..1c02a991f 100644 --- a/linux/xtensa/syscallent.h +++ b/linux/xtensa/syscallent.h @@ -346,7 +346,7 @@ [348] = { 4, TM|SI, SEN(pkey_mprotect), "pkey_mprotect" }, [349] = { 2, 0, SEN(pkey_alloc), "pkey_alloc" }, [350] = { 1, 0, SEN(pkey_free), "pkey_free" }, -[351] = { 5, TD|TF|TSTA, SEN(statx), "statx" }, +[351] = { 5, TD|TF|TFST|TSTA,SEN(statx), "statx" }, [352] = { 4, 0, SEN(rseq), "rseq" }, /* [353 ... 402] - reserved to sync up with other architectures */ #include "syscallent-common-32.h" |