}
#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
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifndef HAVE_STRUCT___OLD_KERNEL_STAT
+#define sys_oldfstat printargs
+#define sys_oldstat printargs
+#endif
+
/* still unfinished */
#define sys_add_key printargs
#define sys_fanotify_init printargs
#define sys_geteuid sys_getuid
#define sys_getgid sys_getuid
#define sys_getresgid sys_getresuid
+#define sys_lstat sys_stat
+#define sys_lstat64 sys_stat64
#define sys_mlock sys_munmap
#define sys_mq_unlink sys_chdir
#define sys_munlock sys_munmap
+#define sys_oldlstat sys_oldstat
#define sys_pivotroot sys_link
#define sys_rename sys_link
#define sys_rmdir sys_chdir
#if (!defined(SPARC) && !defined(SPARC64)) || !defined(SYS_putpmsg)
#define sys_putpmsg printargs
#endif
-
-#ifndef HAVE_STRUCT___OLD_KERNEL_STAT
-#define sys_oldfstat printargs
-#define sys_oldlstat printargs
-#define sys_oldstat printargs
-#endif
/* Our second set comes from the i386 files. */
-#define sys_lstat64 sys_stat64
#define sys_truncate64 sys_truncate
#define sys_ftruncate64 sys_ftruncate
#include "../i386/syscallent.h"