From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 86940 invoked by alias); 8 Nov 2016 14:20:43 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 85785 invoked by uid 89); 8 Nov 2016 14:20:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy= X-HELO: mx6.bahnhof.se X-Spam-Score: 0.653 Message-ID: <5821DF2E.8070002@gaisler.com> Date: Tue, 08 Nov 2016 14:20:00 -0000 From: Andreas Larsson User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Joseph Myers CC: GNU C Library , David Miller , Adhemerval Zanella , software@gaisler.com Subject: Re: [PATCH] sparc32: Make no sendmsg/recvmsg syscalls for older Linux kernels than 4.4 References: <1478504615-11054-1-git-send-email-andreas@gaisler.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2016-11/txt/msg00270.txt.bz2 On 2016-11-07 16:48, Joseph Myers wrote: > On Mon, 7 Nov 2016, Andreas Larsson wrote: > >> The sendmsg and recvmsg systems calls were not available for 32-bit >> sparc Linux kernels before Linux kernel version 4.4. > > Given the conditional you are putting this under: should I take it it is > specifically for 32-bit kernels and the system calls *are* available for > 32-bit binaries executed under 64-bit kernels? Yes, the intention is specifically for 32-bit kernels. This patch makes interfacing older 32-bit kernels work. The system calls are available in 64-bit kernels since before Linux 3.2. I don't have the possibility to test the case with 32-bit binaries under a 64-bit kernel, so I don't want to touch the behavior for that case. Best regards, Andreas Larsson