From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752881AbaLAKRN (ORCPT ); Mon, 1 Dec 2014 05:17:13 -0500 Received: from mx1.redhat.com ([209.132.183.28]:48824 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752596AbaLAKRM convert rfc822-to-8bit (ORCPT ); Mon, 1 Dec 2014 05:17:12 -0500 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells To: jmorris@namei.org cc: dhowells@redhat.com, linux-nfs@vger.kernel.org, linux-security-module@vger.kernel.org, keyrings@linux-nfs.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] Keyrings (& NFS) fixes MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <12125.1417429021.1@warthog.procyon.org.uk> Content-Transfer-Encoding: 8BIT Date: Mon, 01 Dec 2014 10:17:01 +0000 Message-ID: <12126.1417429021@warthog.procyon.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi James, Can you pass these patches on to Linus please? The first one fixes the handling of maximum buffer size for key descriptions, fixing the size at 4095 + NUL char rather than whatever PAGE_SIZE happens to be and permits you to read back the full description without it getting clipped because some extra information got prepended. The second and third fix a bug in NFS idmapper handling whereby a key representing a mapping between an id and a name expires and causing EKEYEXPIRED to be seen internally in NFS (which prevents the mapping from happening) rather than re-looking up the mapping. Thanks, David --- The following changes since commit a6aacbde406eeb6f8fc218b2c6172825f5e73fcf: Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity into next (2014-11-19 21:36:07 +1100) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git tags/keys-fixes-20141121 for you to fetch changes up to 15761d91a57e3ff8032e31c5d82bf7836f6a1b20: KEYS: request_key() should reget expired keys rather than give EKEYEXPIRED (2014-11-20 13:38:17 +0000) ---------------------------------------------------------------- (from the branch description for keys-fixes local branch) Keyrings fixes Keyrings fixes ---------------------------------------------------------------- David Howells (3): KEYS: Fix the size of the key description passed to/from userspace KEYS: Simplify KEYRING_SEARCH_{NO,DO}_STATE_CHECK flags KEYS: request_key() should reget expired keys rather than give EKEYEXPIRED security/keys/internal.h | 1 + security/keys/keyctl.c | 56 +++++++++++++++++++--------------------- security/keys/keyring.c | 10 ++++--- security/keys/request_key.c | 2 ++ security/keys/request_key_auth.c | 1 + 5 files changed, 36 insertions(+), 34 deletions(-)