Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp680565imm; Thu, 6 Sep 2018 08:30:37 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZd3RKnWS3EMkzlKbF1Un5hswxtPwuuTUDY0RWc9/+DcmHXwChg6bUEZyCJrQuYhxBEEgK7 X-Received: by 2002:a62:cac5:: with SMTP id y66-v6mr3372403pfk.187.1536247837403; Thu, 06 Sep 2018 08:30:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536247837; cv=none; d=google.com; s=arc-20160816; b=GvGu1FqkZDGWWsTZ1kYZf1RODx612kpX7YylyxwJ2CALByq4Afe4iugvHz08gS7NTP h2udODA6YLESUy262BikrxazIAXAiFwK5VLh9oRWYZoyY9gaU1cRz2YOTSmDvZa161PK Da2wG6N6XmzPVgVv6nBMmY/dIqo9DERUnoMnqIhBact/rzD4FZxhPyTfbnwMa423eypu oKYjsq7tUkwJr8VipuVsfd3axPg6dgFubW3dH3rZSkMOJrc3ziwxmZqcVYoGfDI5pz3l bQMNbhg4JRQ+izphBQ99TOPhosRU6Iji1Pxw1qN0MXesjzs1tEs6NhfVYDtcR86x2kov pu9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=f6cQpQ345DsLp02m4kjcmGxLJPLw08FXKuedqrSy6mg=; b=CrS9BWe1Z70C+m8MH+LiIMaSHxXM72FYtX9zKzziA/Vg28gEuwY6JlNAByDCnCiXRt 7baIVfG/s2xRGusCKWm5DO7gLxUcDmsbIlhATz8Gf1b7ho+jYfTPM1vD2U7rzO1wJP6+ OGyQK+GbRUUt+aDZevdfP9bw813SA+Tf9ZhpxVQYiA5v1wap5V2eXBdd+s3Ce8xYV8ic X/mYEUYRh3xS53438mfdVC5yuqAl35rdtUdKi6yucD6/D7vurhhkhFzMdJ0Og5uiMcWU PknpN1YkRgp0G8s/xXuEv04Y3SQsjkLScZHa7JPYwbj+qSCu3MMvTEEkepqw/CpfwCPP f8Bw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l26-v6si5338700pfj.188.2018.09.06.08.30.20; Thu, 06 Sep 2018 08:30:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730272AbeIFUEn (ORCPT + 99 others); Thu, 6 Sep 2018 16:04:43 -0400 Received: from mail-qt0-f193.google.com ([209.85.216.193]:42565 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729991AbeIFUEn (ORCPT ); Thu, 6 Sep 2018 16:04:43 -0400 Received: by mail-qt0-f193.google.com with SMTP id z8-v6so12705035qto.9; Thu, 06 Sep 2018 08:28:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=f6cQpQ345DsLp02m4kjcmGxLJPLw08FXKuedqrSy6mg=; b=hbaCk8mRfU0d8fICXPzJWIdc8H6B2xGGBEXvatPVteCM3WdY+7j5HbmJp6WfPj7SKq 0APVHw8VN6ASHvuaC6u8RPXJ82TQDDVxoSzNJW0TEOIijo7CaDKvKN+XX26bZN5In5Ia 8B6MpIJ1I5LKRlDqcK3xPOFhCorUUylpWWWf01jct8y64EICVMT8s537wGucLMFtqZ+r cVbJRL5bEHUNSU3EZ8P0XvyLVVNuolZQ0WETKs38jOQJYKT9tNIDKmigFVKSAsTkluGr tIItUXdBJXI3tUPJdyTFs40W8GSiwXJNradk0zn8sUpDMuBHQxl/tMTNWywiL9OgI/nv y4ew== X-Gm-Message-State: APzg51AchasQgptVTA2ve+pL+WNCqB9sU9KXel2bpLWOg2obaqOELON2 O21/v7ZkFn3x5MJkAjXDhXdoU2IowlI5faBbczx/8xMU X-Received: by 2002:ac8:c9:: with SMTP id d9-v6mr2551797qtg.213.1536247721175; Thu, 06 Sep 2018 08:28:41 -0700 (PDT) MIME-Version: 1.0 References: <1536036087-15260-1-git-send-email-firoz.khan@linaro.org> <1536036087-15260-2-git-send-email-firoz.khan@linaro.org> In-Reply-To: <1536036087-15260-2-git-send-email-firoz.khan@linaro.org> From: Arnd Bergmann Date: Thu, 6 Sep 2018 17:28:24 +0200 Message-ID: Subject: Re: [PATCH 1/4] sparc: Move __IGNORE* entries to non uapi header To: Firoz Khan Cc: David Miller , sparclinux , gregkh , Philippe Ombredanne , Thomas Gleixner , Kate Stewart , y2038 Mailman List , Linux Kernel Mailing List , linux-arch , Deepa Dinamani , Marcin Juszkiewicz Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 4, 2018 at 6:42 AM Firoz Khan wrote: > +++ b/arch/sparc/include/uapi/asm/unistd.h > @@ -15,12 +15,6 @@ > #ifndef _UAPI_SPARC_UNISTD_H > #define _UAPI_SPARC_UNISTD_H > > -#ifndef __32bit_syscall_numbers__ > -#ifndef __arch64__ > -#define __32bit_syscall_numbers__ > -#endif > -#endif This is certainly required in the uapi header as of this patch, without it all the numbers are wrong when you include the file from user space. I suppose it can be removed later once the header is replaced with the two generated versions, > -/* Bitmask values returned from kern_features system call. */ > -#define KERN_FEATURE_MIXED_MODE_STACK 0x00000001 I'm fairly sure this also needs to remain in the uapi/asm/unistd.h header as a start, so that user space can call the sys_kern_features() system call and interpret its result when only the first patch is applied. > -#ifdef __32bit_syscall_numbers__ > -/* Sparc 32-bit only has the "setresuid32", "getresuid32" variants, > - * it never had the plain ones and there is no value to adding those > - * old versions into the syscall table. > - */ > -#define __IGNORE_setresuid > -#define __IGNORE_getresuid > -#define __IGNORE_setresgid > -#define __IGNORE_getresgid > -#endif > - > -/* Sparc doesn't have protection keys. */ > -#define __IGNORE_pkey_mprotect > -#define __IGNORE_pkey_alloc > -#define __IGNORE_pkey_free > - This part is fine. Arnd