This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] sparc64: remove bind, listen and setsockopt from syscalls.list
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: Aurelien Jarno <aurelien at aurel32 dot net>
- Cc: libc-alpha at sourceware dot org, "David S . Miller" <davem at davemloft dot net>
- Date: Tue, 01 Mar 2016 17:06:19 +0100
- Subject: Re: [PATCH] sparc64: remove bind, listen and setsockopt from syscalls.list
- Authentication-results: sourceware.org; auth=none
- References: <1456845449-1871-1-git-send-email-aurelien at aurel32 dot net>
* Aurelien Jarno:
> The bind, listen and setsockopt syscalls have recently been added in
> kernel 4.4. They should therefore not appear in syscalls.list as it
> means they are use inconditionally instead of possibly using the
> the socketcall fallback.
Right.
> All other syscalls from syscalls.list with an equivalent socketcall
> version are available in kernel 3.2, which is the required minimum.
Doesn't this still cause unnecessary code duplication because there
are now two implementations, one in generic code and one generated for
sparc64? (I'm not familiar with the way the sysdeps mechanism works.)