From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753108Ab3LMPpT (ORCPT ); Fri, 13 Dec 2013 10:45:19 -0500 Received: from mx1.redhat.com ([209.132.183.28]:17702 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753066Ab3LMPpR (ORCPT ); Fri, 13 Dec 2013 10:45:17 -0500 Subject: [PATCH 0/4] Keys patches From: David Howells To: torvalds@linux-foundation.org, jmorris@namei.org Cc: dhowells@redhat.com, keyrings@linux-nfs.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Date: Fri, 13 Dec 2013 15:45:08 +0000 Message-ID: <20131213154508.3155.20275.stgit@warthog.procyon.org.uk> User-Agent: StGit/0.17-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, James, Here are some more keyrings fixes plus some module signing documentation (if you want it). They can be found here also: http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=keys-devel There are four items: (1) A patch to fix X.509 certificate gathering. The problem was that I was coming up with a different path for signing_key.x509 in the build directory if it didn't exist to if it did exist. This meant that the X.509 cert container object file would be rebuilt on the second rebuild in a build directory and the kernel would get relinked. (2) Unconditionally remove files generated by SYSTEM_TRUSTED_KEYRING=y when doing make mrproper. (3) Actually initialise the persistent-keyring semaphore for init_user_ns. I have no idea why this works at all for users in the base user namespace unless it's something to do with systemd containerising the system. (4) Documentation for module signing. Do you want this now or the next merge window? David --- David Howells (1): X.509: Fix certificate gathering James Solner (1): Add Documentation/module-signing.txt file Kirill Tkhai (1): KEYS: Remove files generated when SYSTEM_TRUSTED_KEYRING=y Xiao Guangrong (1): KEYS: fix uninitialized persistent_keyring_register_sem Documentation/module-signing.txt | 240 ++++++++++++++++++++++++++++++++++++++ kernel/Makefile | 7 + kernel/user.c | 6 - 3 files changed, 247 insertions(+), 6 deletions(-) create mode 100644 Documentation/module-signing.txt