[strace/strace] Add -n/--syscall-number option (#149)

Elvira Khabirova notifications at github.com
Fri Aug 21 14:53:56 UTC 2020

@parport0 commented on this pull request.

> +		const long args[] = { 0, 0 };
+		syscall(__NR_socketcall, SC_listen, args);
+		printf("[%4u] listen(0, 0) = -1 ENOTSOCK (%m)\n", SYS_socket_subcall + SC_listen);

Those __NR_* numbers would have to depend on the personality, wouldn't they?

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20200821/fa4fde71/attachment.htm>

More information about the Strace-devel mailing list