diff options
author | Eugene Syromyatnikov <evgsyr@gmail.com> | 2017-04-18 02:23:05 +0200 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2017-04-21 19:49:03 +0000 |
commit | 9a36c8e55db039492f000f16045db318461faa06 (patch) | |
tree | e6a5c319cc86e6dc7b8230fe697f8459b66afc35 /linux/sh64/syscallent.h | |
parent | aad36c50dc57531e7c5f5702fb4b463901c37d44 (diff) | |
download | strace-9a36c8e55db039492f000f16045db318461faa06.tar.gz |
Implement -e trace=%lstat option
linux/*/syscallent*.h part is updated automatically by:
sed -i '/TSTA,.*lx\?stat/ s/TSTA,/TLST|&/' linux/*/syscallent*.h
* sysent.h (TRACE_LSTAT): New macro.
* syscall.c: Alias TLST to TRACE_LSTAT around syscallent.h inclusion.
* qualify.c (lookup_class): Add TRACE_LSTAT for "%lstat".
* strace.1 (.SS Filtering): Add information about %lstat syscall class.
* NEWS: Mention this change.
* linux/aarch64/syscallent.h (lstat): Likewise.
* linux/ia64/syscallent.h: Likewise.
* linux/mips/syscallent-n32.h: Likewise.
* linux/mips/syscallent-n64.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/x32/syscallent.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.
* linux/arm/syscallent.h (lstat, lstat64, oldlstat): Likewise.
* linux/bfin/syscallent.h: Likewise.
* linux/crisv10/syscallent.h: Likewise.
* linux/i386/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/microblaze/syscallent.h: Likewise.
* linux/mips/syscallent-o32.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/avr32/syscallent.h (lstat, lstat64): Likewise.
* linux/hppa/syscallent.h: Likewise.
* linux/powerpc64/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/xtensa/syscallent.h: Likewise.
* linux/alpha/syscallent.h (lstat, lstat64, osf_lstat, osf_old_lstat): Likewise.
* linux/mips/syscallent-compat.h (bsd43_lstat, posix_lstat, svr4_lstat,
sysv_lstat): Likewise.
* tests/gen_tests.in (trace_lstat): New entry.
* tests/trace_lstat.in: New file.
* tests/Makefile.am (EXTRA_DIST): Add it.
* tests/ksysent.c (TLST): New macro, defined to 0.
* tests/nsyscalls.c: Likewise.
Diffstat (limited to 'linux/sh64/syscallent.h')
-rw-r--r-- | linux/sh64/syscallent.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/sh64/syscallent.h b/linux/sh64/syscallent.h index 4f202bdff..06186966c 100644 --- a/linux/sh64/syscallent.h +++ b/linux/sh64/syscallent.h @@ -110,7 +110,7 @@ [ 81] = { 2, 0, SEN(setgroups16), "setgroups" }, [ 82] = { }, [ 83] = { 2, TF, SEN(symlink), "symlink" }, -[ 84] = { 2, TF|TSTA, SEN(oldlstat), "oldlstat" }, +[ 84] = { 2, TF|TLST|TSTA, SEN(oldlstat), "oldlstat" }, [ 85] = { 3, TF, SEN(readlink), "readlink" }, [ 86] = { 1, TF, SEN(uselib), "uselib" }, [ 87] = { 2, TF, SEN(swapon), "swapon" }, @@ -133,7 +133,7 @@ [104] = { 3, 0, SEN(setitimer), "setitimer" }, [105] = { 2, 0, SEN(getitimer), "getitimer" }, [106] = { 2, TF|TSTA, SEN(stat), "stat" }, -[107] = { 2, TF|TSTA, SEN(lstat), "lstat" }, +[107] = { 2, TF|TLST|TSTA, SEN(lstat), "lstat" }, [108] = { 2, TD|TFST|TSTA, SEN(fstat), "fstat" }, [109] = { 1, 0, SEN(olduname), "olduname" }, [110] = { 1, 0, SEN(iopl), "iopl" }, @@ -221,7 +221,7 @@ [193] = { 2, TF, SEN(truncate), "truncate64" }, [194] = { 2, TD, SEN(ftruncate), "ftruncate64" }, [195] = { 2, TF|TSTA, SEN(stat64), "stat64" }, -[196] = { 2, TF|TSTA, SEN(lstat64), "lstat64" }, +[196] = { 2, TF|TLST|TSTA, SEN(lstat64), "lstat64" }, [197] = { 2, TD|TFST|TSTA, SEN(fstat64), "fstat64" }, [198] = { 3, TF, SEN(chown), "lchown32" }, [199] = { 0, NF, SEN(getuid), "getuid32" }, |