Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Mon, 3 Aug 2020 17:11:59 +0930
From: David Timber <mieabby@...il.com>
To: musl@...ts.openwall.com
Subject: Add SYSCALL_USE_SOCKETCALL for old arch

The following arches do not have __NR_SOCKET in kernel version 2.4.x,
but musl makes call to socket(), resulting in ENOSYS:

* arm
* powerpc
* powerpc64
* sh (32bit only)

Adding `#define SYSCALL_USE_SOCKETCALL` would solve the problem, but
doing so will incur a bit of overhead. uClibc checks if `__NR_socket`
is defined. I suggest you do the same.

https://git.uclibc.org/uClibc/tree/libc/inet/socketcalls.c#n387

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.