Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754588Ab0KCKM3 (ORCPT ); Wed, 3 Nov 2010 06:12:29 -0400 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:58079 "EHLO out1.smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754157Ab0KCKMZ (ORCPT ); Wed, 3 Nov 2010 06:12:25 -0400 X-Sasl-enc: 1EzzRRfSXEB4P5miBxUEI4lVlxG29i/nQKUxEYwV01u9 1288779144 To: tyhicks@linux.vnet.ibm.com Subject: [PATCH 0/5] ecryptfs fixes From: Roberto Sassu Organization: Politecnico di Torino Date: Wed, 3 Nov 2010 11:11:06 +0100 MIME-Version: 1.0 Cc: kirkland@canonical.com, jmorris@namei.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Message-Id: <201011031111.06669.roberto.sassu@polito.it> Content-Type: multipart/signed; boundary="nextPart1768355.OPhhKglSx7"; protocol="application/pkcs7-signature"; micalg=sha1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 7700 Lines: 121 --nextPart1768355.OPhhKglSx7 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This patch set applies to the latest kernel 2.6.37-rc1. Roberto Sassu (5): ecryptfs: moved ECRYPTFS_SUPER_MAGIC definition to linux/magic.h ecryptfs: missing initialization of the superblock 'magic' field ecryptfs: test lower_file pointer when lower_file_mutex is locked ecryptfs: fixed testing of file descriptor flags ecryptfs: open lower files with kthread credentials fs/ecryptfs/ecryptfs_kernel.h | 4 +--- fs/ecryptfs/file.c | 20 +++++++++----------- fs/ecryptfs/inode.c | 32 ++++++++++++++------------------ fs/ecryptfs/kthread.c | 17 +++++++++++++---- fs/ecryptfs/main.c | 5 +++-- include/linux/magic.h | 1 + 6 files changed, 41 insertions(+), 38 deletions(-) =2D-=20 1.7.2.3 --nextPart1768355.OPhhKglSx7 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIQCTCCBLMw ggOboAMCAQICARQwDQYJKoZIhvcNAQEFBQAwQTEQMA4GA1UEChMHRXVyb1BLSTEtMCsGA1UEAxMk RXVyb1BLSSBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA2MTAyNDEzMzEzM1oXDTEw MTIzMTEyNTk1OVowUTELMAkGA1UEBhMCSVQxEDAOBgNVBAoTB0V1cm9QS0kxMDAuBgNVBAMTJ0V1 cm9QS0kgSXRhbGlhbiBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTCCASIwDQYJKoZIhvcNAQEBBQAD ggEPADCCAQoCggEBAPbJ3y5bE0iL2iFW59R4KGHS3iTc22mq2GlDaOZLE3Xz1wTvB/yBl5e4ntMZ eEeWTW9JInNRTtfC3mcLk0gnEdK1rQZbe4lQwBVHdkG8LvRQDWHIkZNuccoUpQXMv+JbZjI6m7rH fU2CN/YCvFY9QL08xXsfDxvX2Ee4S7EwJiSEEJSiy+R00uTfvfn27d8a6LCqYLzlInRlz4C2CUbk +U2UAwjYEPTP2ziqFxztysbxC3fjqH8e6P5wIPXOS5cSYnVaEyp21VXhAOamVJEGlQCdVoTHs+pP BYqCBuNhBfienUPaEDHHUUYHZ2nS4eNzd9XOu+5hFi1/8hVZxN4sbdECAwEAAaOCAaQwggGgMEwG CWCGSAGG+EIBDQQ/Fj1Jc3N1ZWQgdW5kZXIgcG9saWN5OgogaHR0cDovL3d3dy5ldXJvcGtpLm9y Zy9jYS9yb290L2Nwcy8xLjEvMGUGCCsGAQUFBwEBBFkwVzAoBggrBgEFBQcwAYYcaHR0cDovL29j c3AuZXVyb3BraS5vcmc6ODAyNjArBggrBgEFBQcwAoYfaHR0cD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AAAAAA --nextPart1768355.OPhhKglSx7-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/