From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8233 Path: news.gmane.org!not-for-mail From: Alexander Larsson Newsgroups: gmane.linux.lib.musl.general Subject: Re: Using direct socket syscalls on x86_32 where available? Date: Tue, 28 Jul 2015 09:44:26 +0200 Message-ID: References: <20150726165907.GM16376@brightrain.aerifal.cx> <55B6C543.1020108@amacapital.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1438132837 30491 80.91.229.3 (29 Jul 2015 01:20:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Jul 2015 01:20:37 +0000 (UTC) Cc: musl@lists.openwall.com To: Andy Lutomirski Original-X-From: musl-return-8246-gllmg-musl=m.gmane.org@lists.openwall.com Wed Jul 29 03:20:37 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1ZKG2t-0007CW-Nz for gllmg-musl@m.gmane.org; Wed, 29 Jul 2015 03:20:35 +0200 Original-Received: (qmail 19960 invoked by uid 550); 29 Jul 2015 01:20:34 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 5236 invoked from network); 28 Jul 2015 07:44:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Zd/eUytQEHp0aayf1bfvnndc8D+0XTJkwZLLBA5Urlg=; b=0/mSk/HNita/HmDWNE2b6jDYMJc673Tl1AXQwkTqcwLbmoAMPrOPD+0wBhIdP5U0KR t/zE7KUFr2Gwjz21dUutsTZnWSt0SvVLG+SFFIwxygtJ/WzlTB6ReJBpdjnoq1uU5VU/ A31Pfjt3wMEeuvl2cDQiVhZsdKA9luOcooEbFtlrv3gwJcI+OTPtatqDQ57alk7mmDqd /6pdRG3DWUdw0J8A5pdG+i+U8DKEX5LFfHXvHL2e9zvL/gF4GegKfh/YfmNT7NAMgGwX R2mrA6OGbB788D1TrR+RXG0qOU1OXenzQ5OBZmRdJ5pNYsGzb8+AcKCeWw7GyKJUFKYr Un5g== X-Received: by 10.180.75.243 with SMTP id f19mr31166442wiw.52.1438069466301; Tue, 28 Jul 2015 00:44:26 -0700 (PDT) In-Reply-To: <55B6C543.1020108@amacapital.net> Xref: news.gmane.org gmane.linux.lib.musl.general:8233 Archived-At: On Tue, Jul 28, 2015 at 1:56 AM, Andy Lutomirski wrote: > > One way to implement it would be to favor the new syscalls but to set some > variable the first time one of them returns ENOSYS. Once that happens, > either all of them could fall back to socketcall or just that one syscall > could. > > Or you could just avoid implementing it and see if anyone complains. It's > plausible that xdg-app might start requiring the new syscalls (although it > would presumably not kill you if tried to use socketcall). > > Alex, if glibc started using the new syscalls, would you want to require > them inside xdg-app? Probably not. At this point 32bit x86 just is not interesting enough for such extra pain. We'll just not filter on address types on 32bit.