]> granicus.if.org Git - strace/commitdiff
syscall.c: remove arch check for SEN_execv usage
authorEugene Syromyatnikov <evgsyr@gmail.com>
Tue, 29 Jan 2019 13:07:46 +0000 (14:07 +0100)
committerDmitry V. Levin <ldv@altlinux.org>
Sat, 9 Feb 2019 22:44:40 +0000 (22:44 +0000)
SEN_* declarations are always present and can be used regardless
of architecture.

* syscall.c (syscall_entering_trace): Remove "#if defined SPARC ||
defined SPARC64" guard.

syscall.c

index d770e861d0e1db9fc4e975b92662f6da0ba40d7d..5e3733a45372810a7be6fa05675530d47f758472 100644 (file)
--- a/syscall.c
+++ b/syscall.c
@@ -602,9 +602,7 @@ syscall_entering_trace(struct tcb *tcp, unsigned int *sig)
                switch (tcp->s_ent->sen) {
                        case SEN_execve:
                        case SEN_execveat:
-#if defined SPARC || defined SPARC64
                        case SEN_execv:
-#endif
                                /*
                                 * First exec* syscall makes the log visible.
                                 */