[strace/strace] Add -n/--syscall-number option (#149)
Dmitry V. Levin
notifications at github.com
Fri Aug 21 15:26:09 UTC 2020
@ldv-alt commented on this pull request.
> @@ -0,0 +1,42 @@
+/*
+ * Test strace's -n option.
+ *
+ * Copyright (c) 2020 The strace developers.
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+#include "tests.h"
+#include "scno.h"
+
+#if defined __NR_socketcall && defined __NR_listen && defined __i386__
Assuming that every architecture has at least one of ```__NR_listen``` or ```__NR_socketcall``` defined, it seems to me now that the test would make sense for any architecture.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/strace/strace/pull/149#discussion_r474768972
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20200821/d30e67e1/attachment.htm>
More information about the Strace-devel
mailing list