Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp651780imc; Sun, 10 Mar 2019 17:26:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqzIVTQUnbQQXOj8zPRXsIsgdpGIHe8SW/IynGAYnYaRemLzjAU2TKuDNCPPnCX18X2SkrI+ X-Received: by 2002:a63:4342:: with SMTP id q63mr1337677pga.6.1552264014335; Sun, 10 Mar 2019 17:26:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552264014; cv=none; d=google.com; s=arc-20160816; b=X4o+xFyXoh4FV5jH0jTOLvf35xXRvo5Sei73Yz5Ir9ov7pVtzDQxJuwe5+L0qKEJpF J9+KVD9sZAIWTThv3echflTpFzRY8hAouAD/6jDVr1FFG8tVgdLDpbewyL76ZlI0XXvP 0cggOxcB+xB+pMukjRmreX0hA6GZuKsPpLlJkiUjZju5iDCpMKYNpXmsLBflX9gqgMP1 fCiYZYoQlUMLTw+eYPGgkN+iW5D1LOA0gt6AkV8+1iTo/eO/VFHz+BqtaODLMAcBkQlA DglIsfBGtqqimo8QsadxpqVCjxJkiZs3BYwldWFgMVkIVHM4hzUP3Srf6gDu6KLtDjdX M8ww== 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; bh=mkJqV/fI2yvNRlmO4ENiWlkP78+3exqerJWv8oysXQw=; b=ooBkhbJ4ox9JMqHFLDEazhb45RM7/+qtNgGTWJEyePGhQtK1esSO6i01TSyyDstLCp nP0gN+AqYVQJ+bM9fSSZo3ue57MMP3N669olZMsS6JNsdqaO/60P+NB92TrGsUBf86NQ QfQzMVxNYrsgUDHZcpfRMOb9HxH2plCOebbpJlY+EHzdW5Yt0IfQgldxFYx2c7rR6CLz yMzk9zLdfuuHy1uMMOw4GI1U4V/HmwU+Jml9uOXKcDUxjFN0nxjAOovkxhUsXimM+F5O 6JqbQGKhTpSAjfB9JDcHFcTgyELebEm42t6AbSNya59YbuAR2br3lJjc+3OKIMcrMvQV bHUw== 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 y20si3784568pgh.341.2019.03.10.17.26.27; Sun, 10 Mar 2019 17:26:54 -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 S1727028AbfCJXTf (ORCPT + 99 others); Sun, 10 Mar 2019 19:19:35 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:45262 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727007AbfCJXTe (ORCPT ); Sun, 10 Mar 2019 19:19:34 -0400 Received: from viro by ZenIV.linux.org.uk with local (Exim 4.92 #3 (Red Hat Linux)) id 1h37it-0002fT-GW; Sun, 10 Mar 2019 23:19:15 +0000 Date: Sun, 10 Mar 2019 23:19:15 +0000 From: Al Viro To: Linus Torvalds Cc: Matt Turner , Borislav Petkov , Alan Cox , Matthew Wilcox , Jann Horn , Thomas Gleixner , kernel list , linux-fsdevel , the arch/x86 maintainers , Linux API , Andrew Morton , Richard Weinberger , Anton Ivanov , linux-alpha , linux-m68k@lists.linux-m68k.org Subject: Re: [PATCH] x86: Deprecate a.out support Message-ID: <20190310231915.GG2217@ZenIV.linux.org.uk> References: <20190305122218.GD13380@bombadil.infradead.org> <20190305134347.4be2449c@alans-desktop> <20190305145717.GD8256@zn.tnic> <20190305173134.GE8256@zn.tnic> <20190305181138.GG8256@zn.tnic> <20190305181808.GH8256@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 10, 2019 at 03:40:20PM -0700, Linus Torvalds wrote: > SYSCALL_DEFINE3(osf_readv, unsigned long, fd, > const struct iovec __user *, vector, unsigned long, count) > { > -#ifdef CONFIG_OSF4_COMPAT > - if (unlikely(personality(current->personality) == PER_OSF4)) > - if (osf_fix_iov_len(vector, count)) > - return -EFAULT; > -#endif > - > return sys_readv(fd, vector, count); > } > > SYSCALL_DEFINE3(osf_writev, unsigned long, fd, > const struct iovec __user *, vector, unsigned long, count) > { > -#ifdef CONFIG_OSF4_COMPAT > - if (unlikely(personality(current->personality) == PER_OSF4)) > - if (osf_fix_iov_len(vector, count)) > - return -EFAULT; > -#endif > return sys_writev(fd, vector, count); > } Might as well kill those two off, while we are at it - just use sys_readv/sys_writev in arch/alpha/kernel/syscalls/syscall.tbl and be done with that...