From patchwork Wed Dec 6 09:50:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 120798 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6843025qgn; Wed, 6 Dec 2017 01:52:30 -0800 (PST) X-Google-Smtp-Source: AGs4zMZeuPDKlw9htmcXbgWI3sm7DOJseteMgjVM/Mrd0xmotLs14nVpK5PTIoCrrZR8dBPJVZte X-Received: by 10.101.72.193 with SMTP id o1mr20444382pgs.197.1512553950180; Wed, 06 Dec 2017 01:52:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512553950; cv=none; d=google.com; s=arc-20160816; b=GXxsFxO0QfntwPo+PJ/+LBB3KpvFrUL/uj1EYmtc7/VEyPF2+V/JW/8mZN0O73dZBS Y8Ccsra64EbJOaRKHJl9qlKlNCUfAdPPRPJuXsy3mqR3+5UUnAj3lw64hRGF4Qql+LX4 QlJX87E2ciyc09/0LUOYwHy5BhB/CK6RgokNWsU71bxd0VR3f8i6+KSjnzXlvJSEILs1 w6O62ZkW7Xa7kB8qaiPgWwyL6uwiIm7aicd8gZXjP3JL97E311SDNsEVKUt8y7g1Gajv sYcCMfdMSrGKa+CkayTjMT7VDJab2soZGTFqwOpbyIjs43wOFDDVl7qre1wkv8avsNqt CzEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=XDMWixMhfOL5J5ztfqDc0UhFXPZWkyr8nvDnJo5ITTY=; b=RF6wgiack8YyIIlMQb4hVEO5XKu2/PSK13Bybff+8FYOF0PoxeOHyhDehtnM9vnPtf OCkgCt/KEk7czR/fThAbz5VvP5LqyrsDa0IBpe6LgbtjMQqokqbtY7gyEI4MH/uX+Hp6 YP74QhagZlzGYH7QaOQ4LGpRdoHou3QAyUkPRbzQQkDoJBiKRNLkKZmfLs1n+T/9lYIs 0mde8IwrW0i7q4pbrb+1AgsbURdHnEsHd7I7J3UsT96Jayy/2w+fUE6gzCCPpv5jDOnx 3DIfFekzBAHFM49TifWcfvWjN9UUi/BpfWhNCAeBCKaXUTlWP2gGfHR6d0T8qwfhOqk4 tUiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=R6ynURBI; spf=pass (google.com: best guess record for domain of linux-efi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-efi-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m11si1690431pln.195.2017.12.06.01.52.29; Wed, 06 Dec 2017 01:52:30 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-efi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=R6ynURBI; spf=pass (google.com: best guess record for domain of linux-efi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-efi-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752160AbdLFJw3 (ORCPT + 2 others); Wed, 6 Dec 2017 04:52:29 -0500 Received: from mail-wr0-f195.google.com ([209.85.128.195]:44634 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752084AbdLFJw0 (ORCPT ); Wed, 6 Dec 2017 04:52:26 -0500 Received: by mail-wr0-f195.google.com with SMTP id l22so3193438wrc.11 for ; Wed, 06 Dec 2017 01:52:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=UdXYMZ7RNn45axeAUHRMg83/mzEFm6+o2nef8tVrNrE=; b=R6ynURBIgxA+HpRY/ZAIXav+xQ/YptK0KHU/af1+qJJNmKrWJvI9U/McERrspFcZ8z IwM/sDkQX0XqVfg3ChDvf32ROhmcGwitYyexhCyjAF4fFMr4gXcfmLDJxPEa4t2eMUf9 zLdXVpvWHUEruTqpB2s3yd6i9fRTQf5M+hHnQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=UdXYMZ7RNn45axeAUHRMg83/mzEFm6+o2nef8tVrNrE=; b=udddMAnTEZS9XbYVw1BB1zlXYPeiXbF5fFUQFyks8SMj0Z7Ucbx0ExYiXRJgvaSCoD vOe7kvcW+LxgQJ9/ppXJ90fQosi6Q+omNMBhdPSafpZEWc47T0EcR2vKLJk4pVabk0Ty ClWl6e1MDxxxbeGVgnMCop6bUCgrQs/jC0rJUP1ny/k+oSVeCE5O11S8CwT2M/GGHLH6 HIbFGOIY9E7+dbdJt7IM1WCRX6+14wA/HXNylYhcmpdV5mOykFLhJte7I+DZvx7EIVAO qr+Ru1dCexOFH8Njy4Z43qQbZAEsbWVvACNw/YZtQoV2uHUUVpwdAf5pWUhcpSRztL9p EQOw== X-Gm-Message-State: AJaThX4JZypmQ0M7fyEF1uAooXVpLfF35U9ilYIPXCSEC0QNSfsVAgx3 oOBexwTRh2BVmiIXIaAbYZVXlW+7GDE= X-Received: by 10.223.134.5 with SMTP id 5mr16143424wrv.186.1512553944458; Wed, 06 Dec 2017 01:52:24 -0800 (PST) Received: from localhost.localdomain ([105.150.171.234]) by smtp.gmail.com with ESMTPSA id w133sm2543113wmg.9.2017.12.06.01.52.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Dec 2017 01:52:23 -0800 (PST) From: Ard Biesheuvel To: linux-efi@vger.kernel.org, Ingo Molnar , Thomas Gleixner , "H . Peter Anvin" Cc: Ard Biesheuvel , linux-kernel@vger.kernel.org, Dave Young , Greg Kroah-Hartman , Linus Torvalds , Matt Fleming , Pan Bian Subject: [GIT PULL 0/3] EFI fixes for v4.15 Date: Wed, 6 Dec 2017 09:50:07 +0000 Message-Id: <20171206095010.24170-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 Sender: linux-efi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-efi@vger.kernel.org The following changes since commit ae64f9bd1d3621b5e60d7363bc20afb46aede215: Linux 4.15-rc2 (2017-12-03 11:01:47 -0500) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git efi-urgent for you to fetch changes up to bfe89df500c99e29fbd0fd6f18e396f1625efcee: efi: add comment to avoid future expanding of sysfs systab (2017-12-05 18:11:36 +0000) ---------------------------------------------------------------- A couple of fixes for v4.15: - limit the permissions of EFI related sysfs nodes to 0400 - use memunmap not kfree for a mapping created with memremap - add a comment to the code that produces the contents of /sys/firmware/efi/systab that it already violates policy, and no new entries should be added to it ---------------------------------------------------------------- Dave Young (1): efi: add comment to avoid future expanding of sysfs systab Greg Kroah-Hartman (1): efi: move some sysfs files to be read-only by root Pan Bian (1): efi/esrt: use memunmap rather kfree to free the remapping drivers/firmware/efi/efi.c | 5 +++-- drivers/firmware/efi/esrt.c | 17 +++++++---------- drivers/firmware/efi/runtime-map.c | 10 +++++----- include/linux/sysfs.h | 6 ++++++ 4 files changed, 21 insertions(+), 17 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html