From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753945AbbICKHO (ORCPT ); Thu, 3 Sep 2015 06:07:14 -0400 Received: from smtp-out6.electric.net ([192.162.217.190]:61806 "EHLO smtp-out6.electric.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753087AbbICKHL (ORCPT ); Thu, 3 Sep 2015 06:07:11 -0400 From: David Laight To: "'H. Peter Anvin'" , Geert Uytterhoeven , Andy Lutomirski CC: X86 ML , Network Development , Tulio Magno Quites Machado Filho , Andy Lutomirski , "linux-kernel@vger.kernel.org" , Alexander Larsson , Cosimo Cecchi , Dan Nicholson , libc-alpha , "Rajalakshmi Srinivasaraghavan" , Linux-Arch Subject: RE: [PATCH] x86: Wire up 32-bit direct socket calls Thread-Topic: [PATCH] x86: Wire up 32-bit direct socket calls Thread-Index: AQHQ5bxK83Gtov+yxkSQ3YDAzte2LZ4qlG3w Date: Thu, 3 Sep 2015 10:06:24 +0000 Message-ID: <063D6719AE5E284EB5DD2968C1650D6D1CB8CE25@AcuExch.aculab.com> References: <55E75913.5050605@zytor.com> In-Reply-To: <55E75913.5050605@zytor.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.202.99.200] Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-Outbound-IP: 213.249.233.130 X-Env-From: David.Laight@ACULAB.COM X-PolicySMART: 3396946, 3397078 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id t83A7Krw031678 From: Peter Anvin > Sent: 02 September 2015 21:16 > On 09/02/2015 02:48 AM, Geert Uytterhoeven wrote: > > > > Should all other architectures follow suit? > > Or should we follow the s390 approach: > > > > It is up to the maintainer(s), largely dependent on how likely you are > going to want to support this in your libc, but in general, socketcall > is an abomination which there is no reason not to bypass. The other (worse) abomination is the way SCTP overloads setsockopt() to perform actions that change state. Rather unfortunately that got documented in the protocol standard :-( David ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ¥Šwÿº{.nÇ+‰·¥Š{±þG«�éÿŠ{ayºʇڙë,j­¢f£¢·hš�ï�êÿ‘êçz_è®(­éšŽŠÝ¢j"�ú¶m§ÿÿ¾«þG«�éÿ¢¸?™¨è­Ú&£ø§~�á¶iO•æ¬z·švØ^¶m§ÿÿà ÿ¶ìÿ¢¸?–I¥