Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2038587imu; Wed, 21 Nov 2018 05:56:40 -0800 (PST) X-Google-Smtp-Source: AFSGD/Xg+1rM9aTUBAUPeV5ryywCWDSqV6Fk6zqoeCwfjW9D6sQW3kUG/s2rZ8D94VTp5rRNc31u X-Received: by 2002:a17:902:6686:: with SMTP id e6-v6mr6806423plk.173.1542808600641; Wed, 21 Nov 2018 05:56:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542808600; cv=none; d=google.com; s=arc-20160816; b=GGew7zeZhY8G/z4yXISLh1QK9D4oMKKSpejQaGMNH8hmevKzhYKr7IfnL7g9ds55wG MQZwok9AOl9AaY1hdW6iyDbqeU3h89S7LS8KjokFynQEQXdKUWd3jwXhuX5ZuX5MzwSh ulVxr74IEe16BZ3aC+WEmFiJM9oRGQVTR1BV29Ke/dqW+lcriNxPaksifW5xGSzNcPrZ LeNjKsNQIJl1xMIvsZYq4E4YsGPDjuyWwxhVWVRzqRmzF1DpydjRDY+GgV457YuJoWqv eTgt04JqL4sDH1fEHregvosHTGFjK0edBbgWSLggMqXdrQtoG5fgfky20xH2l1LAW9ga 5bfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:in-reply-to :content-disposition:mime-version:references:subject:cc:to:from:date; bh=A6nPZ7tqw8gfCi/c2P7zS9NHoC+bnQTJEUGwepMZaqs=; b=D6dI11Y0vnqNfQeiWqHP3KaJmz0kpVPA1EA3e6/G0TW/hozaZDPyGHgjJCkXaXoKu1 H9QzJKhOrZxt52CnLXqmoUw2HT9LTU1O+vQk0sqXeZTar8BnSue2YOQHdAC9usr8KZSz suH5chbPUOisqd8JuX3qvDc7rD9a7pxrJ7M7vobd921jstThOY0vUMkyN5VWKTXDrMk4 k1vSX/rrRCnl0wUaRgzcYE0kHy+nu+FFgunlrLhP8ZNcxAoZCyoonbxfpFe+yekrjhlH 06nt6/pUi7AuzE8RZZBM8XMDfs/5Z/6tzu5XgNK5qhKoCKo+MrKc6AdMwhaMy4CXPfki Y7Qw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p4si28853548pga.514.2018.11.21.05.56.20; Wed, 21 Nov 2018 05:56:40 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730116AbeKUWjZ (ORCPT + 99 others); Wed, 21 Nov 2018 17:39:25 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:51102 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729157AbeKUWjY (ORCPT ); Wed, 21 Nov 2018 17:39:24 -0500 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id wALBxRei082130 for ; Wed, 21 Nov 2018 07:05:16 -0500 Received: from e06smtp01.uk.ibm.com (e06smtp01.uk.ibm.com [195.75.94.97]) by mx0b-001b2d01.pphosted.com with ESMTP id 2nw4wtxnh0-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 21 Nov 2018 07:05:16 -0500 Received: from localhost by e06smtp01.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 21 Nov 2018 12:05:14 -0000 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp01.uk.ibm.com (192.168.101.131) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 21 Nov 2018 12:05:11 -0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id wALC5AUp58523874 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 21 Nov 2018 12:05:11 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CC531AE061; Wed, 21 Nov 2018 12:05:10 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 900BAAE053; Wed, 21 Nov 2018 12:05:10 +0000 (GMT) Received: from localhost (unknown [9.152.212.229]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Wed, 21 Nov 2018 12:05:10 +0000 (GMT) Date: Wed, 21 Nov 2018 13:05:09 +0100 From: Vasily Gorbik To: David Howells , James Morris Cc: Martin Schwidefsky , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org Subject: [PATCH next-lockdown 0/1] debugfs EPERM fix for 'Kernel lockdown for secure boot' patch series References: <4136.1522452584@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4136.1522452584@warthog.procyon.org.uk> X-TM-AS-GCONF: 00 x-cbid: 18112112-4275-0000-0000-000002E46EEE X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18112112-4276-0000-0000-000037F19A45 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-11-21_05:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=2 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=599 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1811210107 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Not sure whom to offer the fix, since 'Kernel lockdown for secure boot' in not upstream, but it has been picked by fedora and ubuntu. And I see it in next-lockdown branch of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git So, in addition to (prior to) opening bug reports to distributions I'm sending this patch hoping to reach its origin from where distributions had picked it. Vasily Gorbik (1): debugfs: avoid EPERM when no open file operation defined fs/debugfs/file.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) -- 2.18.0.13.gd42ae10