diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2013-05-01 15:56:22 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2013-05-01 15:56:22 +0000 |
commit | 44f0ed1ca560cad60194ae0542b9e223bdeff92b (patch) | |
tree | f73b80470f44ce9617ee54753fa7fb8bc9e9a3b9 /file.c | |
parent | e67e9f89ca8109ae31be07fbc1dd4d425c1f13da (diff) | |
download | strace-44f0ed1ca560cad60194ae0542b9e223bdeff92b.tar.gz |
Alias sys_*lstat* syscall printing functions
* file.c (sys_lstat, sys_lstat64, sys_oldlstat): Remove.
* linux/dummy.h: Move !HAVE_STRUCT___OLD_KERNEL_STAT aliases forward.
(sys_lstat): Alias to sys_stat.
(sys_lstat64): Alias to sys_stat64.
(sys_oldlstat): Alias to sys_oldstat.
* linux/syscall.h (sys_lstat, sys_lstat64, sys_oldlstat): Remove.
* linux/x32/syscallent1.h (sys_lstat64): Remove.
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 42 |
1 files changed, 0 insertions, 42 deletions
@@ -1360,48 +1360,6 @@ sys_oldfstat(struct tcb *tcp) } #endif -int -sys_lstat(struct tcb *tcp) -{ - if (entering(tcp)) { - printpath(tcp, tcp->u_arg[0]); - tprints(", "); - } else { - printstat(tcp, tcp->u_arg[1]); - } - return 0; -} - -int -sys_lstat64(struct tcb *tcp) -{ -#ifdef HAVE_STAT64 - if (entering(tcp)) { - printpath(tcp, tcp->u_arg[0]); - tprints(", "); - } else { - printstat64(tcp, tcp->u_arg[1]); - } - return 0; -#else - return printargs(tcp); -#endif -} - -#if defined(HAVE_STRUCT___OLD_KERNEL_STAT) -int -sys_oldlstat(struct tcb *tcp) -{ - if (entering(tcp)) { - printpath(tcp, tcp->u_arg[0]); - tprints(", "); - } else { - printoldstat(tcp, tcp->u_arg[1]); - } - return 0; -} -#endif - #if defined(SPARC) || defined(SPARC64) int |