Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1469378imm; Sat, 11 Aug 2018 14:20:45 -0700 (PDT) X-Google-Smtp-Source: AA+uWPznirMQW++RnU67jKp8hVF02MrJ9Ir49trFf5tKuKg4VmIFwtmeKCmyl7a1Oz057s6YN9U/ X-Received: by 2002:a17:902:8c84:: with SMTP id t4-v6mr11301856plo.100.1534022445693; Sat, 11 Aug 2018 14:20:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534022445; cv=none; d=google.com; s=arc-20160816; b=IplE8qSNW4T4BFVLMKUvH/iZolbXvjHB2HQIIIDzAfZQaRJGW+FZauKetylINgybUY km+PTQyK/R5F2ull/9T+1X7z93mB7snujIA2omFJlvCymgHdgdfPD+O0N9ahoua+BWuQ CHIRjPk528emsLcO376XXsvRhQl9NJTNRLoFA3W/iEOf+mt46x64J/JlacoUbbsKuOYG Rx0n8PKo8OCyscaN0c4RseD1UEugW6ULJZnAQEU/vJlYpnIbLMPmzSz6gLIZ2nnNFS6f Pamg49I1op5VI7K9HqXBN8AFUtjK0zSozVOzuzoFNqYecIB16WOfDuDWP0w4mKyBGBFF km2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=1IqDZnQS/6+zC9Q8qKMmZfMTNQgYdJAXPOrekl9ax5w=; b=ZpXBxAaO79hmwsBxE048juBgYQ19yG/+IgaBBSh2R6hmoynjCW5uxVwuA/c8jDbylc PiTBWaOVQNCsl7tqUb4t99j6PXMu4VTC6/ujsRM+qK8WZlyUHrQUh/97CyXhSzRzE7Z4 EUA9AJs1qtxd8zIFGVOQ2jAjO+RmT9rd0Q0P1B7PQv1bP34CD+Y8d1uPcChS0SVbzAuT yGn6BV2DnvkzgGMQeGj6QZ+vV8rMwrSafmvlVjOD4CPWCa5EUNuK2LTkbefl3p/mgeR/ 40ws6oe6Rz5zgOXlL6jVmD45u22iecfizJj+iSKi2vmzaeUJrjuvvUW20GZ7TWwaJlsm l4CA== 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 a72-v6si14175501pge.497.2018.08.11.14.20.01; Sat, 11 Aug 2018 14:20:45 -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 S1727707AbeHKXx5 (ORCPT + 99 others); Sat, 11 Aug 2018 19:53:57 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:46460 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727041AbeHKXx5 (ORCPT ); Sat, 11 Aug 2018 19:53:57 -0400 Received: from viro by ZenIV.linux.org.uk with local (Exim 4.87 #1 (Red Hat Linux)) id 1foZYS-0001JQ-EN; Sat, 11 Aug 2018 19:28:04 +0000 Date: Sat, 11 Aug 2018 20:28:04 +0100 From: Al Viro To: Firoz Khan Cc: linux-alpha@vger.kernel.org, rth@twiddle.net, ink@jurassic.park.msu.ru, mattst88@gmail.com, y2038@lists.linaro.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, arnd@arndb.de, deepa.kernel@gmail.com Subject: Re: [PATCH 1/6] alpha: Move __IGNORE* entries to non uapi header Message-ID: <20180811192804.GI6515@ZenIV.linux.org.uk> References: <1531736638-15294-1-git-send-email-firoz.khan@linaro.org> <1531736638-15294-2-git-send-email-firoz.khan@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1531736638-15294-2-git-send-email-firoz.khan@linaro.org> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 16, 2018 at 03:53:53PM +0530, Firoz Khan wrote: > It is correct to keep __IGNORE* entry in non uapi header > asm/unistd.h while uapi/asm/unistd.h must hold information > only useful for user space applications. > diff --git a/arch/alpha/include/uapi/asm/unistd.h b/arch/alpha/include/uapi/asm/unistd.h > index e153ca6..3bb6ac1 100644 > --- a/arch/alpha/include/uapi/asm/unistd.h > +++ b/arch/alpha/include/uapi/asm/unistd.h > @@ -481,9 +481,4 @@ > #define __NR_pwritev2 521 > #define __NR_statx 522 > > -/* Alpha doesn't have protection keys. */ > -#define __IGNORE_pkey_mprotect > -#define __IGNORE_pkey_alloc > -#define __IGNORE_pkey_free > - > #endif /* _UAPI_ALPHA_UNISTD_H */ Hmm... There's also #define __IGNORE_alarm #define __IGNORE_creat #define __IGNORE_getegid #define __IGNORE_geteuid #define __IGNORE_getgid #define __IGNORE_getpid #define __IGNORE_getppid #define __IGNORE_getuid #define __IGNORE_pause #define __IGNORE_time #define __IGNORE_utime #define __IGNORE_umount2 in there...