From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751986AbbIKJyz (ORCPT ); Fri, 11 Sep 2015 05:54:55 -0400 Received: from mail-ob0-f170.google.com ([209.85.214.170]:33546 "EHLO mail-ob0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751713AbbIKJyv (ORCPT ); Fri, 11 Sep 2015 05:54:51 -0400 MIME-Version: 1.0 In-Reply-To: <49726621.LPTnfQXYGz@wuerfel> References: <3193269.4TGcgnGPrm@wuerfel> <20150911082429.GA12452@osiris> <49726621.LPTnfQXYGz@wuerfel> Date: Fri, 11 Sep 2015 11:54:50 +0200 X-Google-Sender-Auth: p315-zkuIffHsibbj5XtJz_GAAQ Message-ID: Subject: Re: [PATCH] x86: Wire up 32-bit direct socket calls From: Geert Uytterhoeven To: Arnd Bergmann Cc: Heiko Carstens , "H. Peter Anvin" , Andy Lutomirski , 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 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 11, 2015 at 10:46 AM, Arnd Bergmann wrote: > On Friday 11 September 2015 10:24:29 Heiko Carstens wrote: >> >> FWIW, the s390 approach (ignoring the "new" system calls) is only temporarily. >> I'll enable the seperate calls later when I have time to test everything, >> especially the glibc stuff. > > Ok, thanks for clarifying. > >> The same is true for the ipc system call. (any reason why the seperate system >> calls haven't been enabled on x86 now as well?) > > Agreed, we should split that out on all architectures as well. > Almost the same set of architectures that have sys_socketcall also > have sys_ipc, and the reasons for changing are identical. I don't > think we have any other system calls that are handled like this > on some architectures but not on others. There are a couple of > system calls (e.g. futex) that are also multiplexers, but at > least they do it consistently. To make sure I don't miss any (it seems I missed recvmmsg and sendmmsg for the socketcall case, sigh), this is the list of ipc syscalls to implement? sys_msgget sys_msgctl sys_msgrcv sys_msgsnd sys_semget sys_semctl sys_semtimedop sys_shmget sys_shmctl sys_shmat sys_shmdt sys_semop() seems to be unneeded because it can be implemented using sys_semtimedop()? Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds