Received: by 2002:a25:5b86:0:0:0:0:0 with SMTP id p128csp1789803ybb; Fri, 29 Mar 2019 11:21:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqyF/J83bgQF+FVyPfIwhfbD1iSViPYCFnZX55M2hEpcsqenouC+SQmUUOYB4xyHtaN3E3Zk X-Received: by 2002:a17:902:b717:: with SMTP id d23mr31870915pls.260.1553883702196; Fri, 29 Mar 2019 11:21:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553883702; cv=none; d=google.com; s=arc-20160816; b=TiMJbkKAFrfsj/TL0Y2JtjNlI0yj3LQshdDfVxkRryv84oqndK1iU3WL1F8nuuVBKt tuI7M4XWzwcXaWOPSI49mxRPXYUWLoFXnEameo/TjEmVV0C19QOATGPCVpDaJ1IL1Umb qSoPjH2meUX7BCEZ+2SEOrrqjek7OopUuIJ04qXg3nGX+hu3IhY20UpLtzFb4Ev73i6W mtL6xUkwTWGCL52RqGW8dAfIjl4nAEiCNNEcnHmuUd1RxwaJBjTr5JByiYwOxcIQZ75E 7hovTVV16YqUjnwLN0q2ilMzW3NHvs+LXSknZx6IHKO6s6ru/HsENaVN8MBGTpP+TAnp BD/g== 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:dkim-signature; bh=e0e8+89c8WqHpS92sAwslvgKe3+T9VMjo4MG/AIaEJ0=; b=gAUKv4f/m/2QzppGFJ5lJQkYLlN0OXI6jo9LM4OKFyRArXWqXRSz/5h2uNlSmdCvDk YSPwcf61yEfzAL80G25KSz4uGk91ywKQDQtGifDHlEVJPuL/uX6IVXj9GpOqExSSLY3Q g2Vb0/XlqVNUsUlIex62ZWGj1K0rZ6+43lz9BcTd+6hQDAu7OgYwLalnx0H4Rd7YlFG1 jL+u4clfO7vDPFdo5XnAh5eSZW1xjM/+LlMBE1akK0F/ZDbpuUa58rMonJiioEZD2PiL 8pzUZzZ/+7HA3dO/JLbt5tGQxS1JDBnUNl2J/7TXVSKhntGQ/P16bNcKt4KBKC34eyi8 P3PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=Bwnj99rs; 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 d9si2262890pgp.336.2019.03.29.11.21.25; Fri, 29 Mar 2019 11:21:42 -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; dkim=pass header.i=@linux-foundation.org header.s=google header.b=Bwnj99rs; 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 S1730003AbfC2SUl (ORCPT + 99 others); Fri, 29 Mar 2019 14:20:41 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:33603 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729949AbfC2SUl (ORCPT ); Fri, 29 Mar 2019 14:20:41 -0400 Received: by mail-lf1-f66.google.com with SMTP id v14so2103641lfi.0 for ; Fri, 29 Mar 2019 11:20:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=e0e8+89c8WqHpS92sAwslvgKe3+T9VMjo4MG/AIaEJ0=; b=Bwnj99rswxnG2idbOHUyJZMdAA6/RX9IKmqsbaohnDits4oHDao0NNuz88t9FgVDVK HRjuq1haxuwp5ifwqwyiLFG21kWwmC4z+oVljARKqov0I9ykSer92dg1r3W3KuqmbHbb yDmOCYVj9u/+sMrAJ7ea8buStjFkLspM1rnco= 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=e0e8+89c8WqHpS92sAwslvgKe3+T9VMjo4MG/AIaEJ0=; b=NLRzeiY/FvyAb1u3DqDCzYUO/TeBejhgKPmu8U/bpMjcDomJhriUaTV0eNVH9kFWSD 4+ceqk623GD9uvmqJOziAD107zN4igGu5CrPgQ40lCO1Ug5co8d6LMQr0ICq3bosQCW3 JQ1VJAWq8CydUtfa+9f3+/yNk8ToJJ42gDeEEJ2T/RF1cvlr8SrSVBqdQS63gfMsD0+D kdCgbwRLjYRVn0H5n1E+pEspWro9Et244ht3w+0y+CNBA5m3kEZSdewTeTmd/eMTV1ps 48/rfm09QW4+kHC24FLbbzeXr3mVNiVrXCvNHmbm/nv8udtWpqep7sviUQvATn2PIyOf wr1w== X-Gm-Message-State: APjAAAV44fESsOyAn3OUnMEFBOOkYodt/N9M4t5TlcxdwBoyOV0kdH12 puSO0HDc7v5+1hw2krTk7hQm8k9C7Mg= X-Received: by 2002:a19:9107:: with SMTP id t7mr26014894lfd.48.1553883639348; Fri, 29 Mar 2019 11:20:39 -0700 (PDT) Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com. [209.85.208.179]) by smtp.gmail.com with ESMTPSA id z20sm407675lfh.66.2019.03.29.11.20.38 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 29 Mar 2019 11:20:39 -0700 (PDT) Received: by mail-lj1-f179.google.com with SMTP id r24so2811664ljg.3 for ; Fri, 29 Mar 2019 11:20:38 -0700 (PDT) X-Received: by 2002:a2e:9ac8:: with SMTP id p8mr11854185ljj.79.1553883154094; Fri, 29 Mar 2019 11:12:34 -0700 (PDT) MIME-Version: 1.0 References: <20190328230512.486297455@goodmis.org> <20190329134045.3fb2e69f@gandalf.local.home> In-Reply-To: <20190329134045.3fb2e69f@gandalf.local.home> From: Linus Torvalds Date: Fri, 29 Mar 2019 11:12:18 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC][PATCH 0/4 v2] sycalls: Remove args i and n from syscall_get_arguments() To: Steven Rostedt Cc: Linux List Kernel Mailing , Ingo Molnar , Andrew Morton , Andy Lutomirski , Roland McGrath , Oleg Nesterov , linux-arch , Peter Zijlstra , Thomas Gleixner , "Gustavo A. R. Silva" , Borislav Petkov , "H. Peter Anvin" , "the arch/x86 maintainers" , Dominik Brodowski , Andy Lutomirski , Kees Cook , "Eric W. Biederman" , "Dmitry V. Levin" 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 Fri, Mar 29, 2019 at 10:40 AM Steven Rostedt wrote: > > I'll keep it around for now, but this should go as a warning to Dmitry, > to get something using it soon, or they may be dropped. I don't think _that_ is the argument. Quite the reverse: nobody has ever used it, why have it around, and much less try to hurry some new pointless user to use it? The "get system call arguments" code at least can be used somewhat generically for things like tracing and strace. The "set system call arguments" can NOT. Anybody who sets system call arguments had better intimately know the details anyway, and any user code has to have any legacy ptrace interface anyway for all but the newest kernels. So I will just say "NO". No new stupid interface that doesn't have a truly immensely convincing reason for it. And definitely not hurried along by "nobody has ever usefully done this before and now people are noticing how bad the interfaces are, so let's cobble some sh*t together quickly". Linus