Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2368779imm; Thu, 18 Oct 2018 13:29:22 -0700 (PDT) X-Google-Smtp-Source: ACcGV62CeXrqOGYWshnGDZMUxYY/FKsxDjJxxYiMMXbeGQzBGpEC41tftcYSriKTE5bJqC6SPerM X-Received: by 2002:a17:902:292a:: with SMTP id g39-v6mr31369364plb.269.1539894562308; Thu, 18 Oct 2018 13:29:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539894562; cv=none; d=google.com; s=arc-20160816; b=cWaIOdz/l6AWWneGRWLcEswg99RXvU3HXhTZMtyQz/4QUTH1oH0puagLq/m+FLpA4N iJ3MjWCJWkeEeGNEsDT43+l3LqJyTN2vpQdJwA8pQanRsyDHLBYxG0/Glk7t3nzk8zWq +8U3mZpdGx1gzBEpIC6CvnfcCy/Q/2imLfLllnZrQDnCyHatu/vEG+sL/F4fl8oEvDND /ybH6bi+PTlLzSe2l358vCfA57+tdTyaKQ0p2tunumdn6aedhTlK/LnlAOEcarAAw58z +kGES7pzyqk8a2/9Q1O4sTeczOBuSO77oIg8sQpDYsJbfmmsG/FzZCFMgUp1cf5x23hq oLmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=Hly2oUMA4ot411L6DSDfk9YNjlagS/xfdJw5kHnDPUE=; b=js1FtWMqsUjiMfaA6UyrcHJUMeQ1s0leaMLLPSsTq94U9Tuy7yudylFmCLoDPhbrqj V/lNasjknoOFa+jJE+aBT2AHMhulbst/peL5oeLYtT9TiQUwKj43W+cpA0MjfG8672B2 n0j+5CZIqKYsw0njDUAuNcdtJpe2O3NC/1tUvQHT5yY16JzDDRUuA4MwAD5vEqacTx7S Ck83lxszgEh1ZO/OcnZlG/32t9JMFLH7ZnjgjbGyNc4gB1Cu/I98w8u9JQI78m/8QuzT mWp6fbvMxuwVmyYbwubm1JtjiFgNaTj6kBYOySHl12KrTM5mITkxaiEb9RYgpthhfHwN SoRw== 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 z191-v6si20370213pgd.451.2018.10.18.13.29.06; Thu, 18 Oct 2018 13:29:21 -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 S1726979AbeJSDqc (ORCPT + 99 others); Thu, 18 Oct 2018 23:46:32 -0400 Received: from www.llwyncelyn.cymru ([82.70.14.225]:45016 "EHLO fuzix.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726325AbeJSDqc (ORCPT ); Thu, 18 Oct 2018 23:46:32 -0400 Received: from alans-desktop (82-70-14-226.dsl.in-addr.zen.co.uk [82.70.14.226]) by fuzix.org (8.15.2/8.15.2) with ESMTP id w9IJhjeW001890; Thu, 18 Oct 2018 20:43:45 +0100 Date: Thu, 18 Oct 2018 20:43:44 +0100 From: Alan Cox To: "Gustavo A. R. Silva" Cc: Dmitry Torokhov , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Input: uinput - fix Spectre v1 vulnerability Message-ID: <20181018204344.4c135203@alans-desktop> In-Reply-To: <2856297d-9af0-e005-f926-e9596d437fad@embeddedor.com> References: <20181016111313.GA28307@embeddedor.com> <20181016172107.GA230131@dtor-ws> <26EEA6BC-43B0-42F7-A237-572D32EB2309@gmail.com> <2856297d-9af0-e005-f926-e9596d437fad@embeddedor.com> Organization: Intel Corporation X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 16 Oct 2018 20:12:43 +0200 "Gustavo A. R. Silva" wrote: > On 10/16/18 8:09 PM, Dmitry Torokhov wrote: > > > > > /dev/uinput > > I've got it. This explains it all. :) > > > must be 0600, or accessible to equally privileged user, or you'll be opening your system to much mischief. Still a correct change. CAP_SYS_RAWIO is not the same as being root, especially in a container. Alan