Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp8289141pxb; Fri, 19 Feb 2021 12:10:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJyTUvAiaPe7YD9Yv8oYYTbnQ173kDgT1fnxApSDIHO6jvJ2KJ92wQh5U4EUNSmISAiee6Aq X-Received: by 2002:a17:906:380b:: with SMTP id v11mr10443565ejc.183.1613765433025; Fri, 19 Feb 2021 12:10:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1613765433; cv=pass; d=google.com; s=arc-20160816; b=r6xbBgw3uEOCIl6RtnnQnRNzBGXM672rq8CNwsaHOETb9Xd6aSWuZWcCGauM/XJrox hbLPdIoapQb5fnO4bDWapLvjSaAoYDOCQrLf0rdKzGT1nnf9OVZbs6TOF0qvPYOX+n2z yDyRPxEdxrnTHRKzrXJKbsZ44iUDKyeVd/B4G2C4V8a7qq1vncAy1w9yYk0Bc3eCldqz KbERr/Rs4DaHEbQEgPVreHk4rdm+D0KS5tKTpxbqdtOgbWGM1tUWNbPfw9TnqJxGpEOK Odl20MwJ1aKyG8M670joWGPwSUB+rjrkvPRvpXlZP81AT+ibnNkRB+/wP0Tv87RgIO44 s21w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=k0ybscqcnMLaYFF4VCo3oaj8TyffdXh5wdC06aa5rYY=; b=CBXrgLEnxe6uCie7606fdWd74EQqbG28tmG9wVrHHNrddlO2X7sBm3iuk/tUUGwuuC Tg808Yo+LskeRc79KYSYczwTc4g7E9awgo+E1O2R4R20WShPAgG1u2sgWwgCMuL1q5tt qfz2Gt6KOmPrtxFjAeQPiVZqFp0DiVU/cePWeDFxV0Dafqy24MU7nUOSVXELbZo8T820 9rz2jbIFlGU07h8B1tvgMw0q+hDyIPjoFzK+bNrA8dCUYY7pVvJrYD4GX8mbcI30wv2l /pmUidT2DhLXteTPuQ/lmTN7S9AcPKw07ddQnq+z0wCDX/tBUT1i7l/YMsB4FCPUToRf A8Gg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b=UxcNaoFz; arc=pass (i=1 spf=pass spfdomain=hammerspace.com dkim=pass dkdomain=hammerspace.com dmarc=pass fromdomain=hammerspace.com); spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hammerspace.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gt11si2701161ejb.750.2021.02.19.12.10.01; Fri, 19 Feb 2021 12:10:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b=UxcNaoFz; arc=pass (i=1 spf=pass spfdomain=hammerspace.com dkim=pass dkdomain=hammerspace.com dmarc=pass fromdomain=hammerspace.com); spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hammerspace.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229726AbhBSUIS (ORCPT + 99 others); Fri, 19 Feb 2021 15:08:18 -0500 Received: from mail-mw2nam10on2113.outbound.protection.outlook.com ([40.107.94.113]:44449 "EHLO NAM10-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229555AbhBSUIP (ORCPT ); Fri, 19 Feb 2021 15:08:15 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iMSiB3ll5WxT+KRfCWYrafWja0+cPu5KxPJvm8NpmsbWTeeCqxJhj5K4gylG/KDy+/aIuNMyzqpk4aKfNnsLmx7/jh5/29XruwISQTmvG1RWX44q3/w43l10cw1MgfSNn99g/4azx5aIa8/skcbxLlgW7/tmwTyGb1rrBL09EWRwCx/2km58vE2OSjS7YzDsig6YEnxrFGuQE6Nfnwg99P24/XFa1i3srduDzUaOlAnbE92kWXPv+WIpXzhYfRZ2Fm2LJ/C2iSNI1oiDHjML//tQT6pa02pCM/2fpCS/pljceZOLIvEDTTU+7JhdhG8XcQXyDlIf864b81Dcu5SPqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=k0ybscqcnMLaYFF4VCo3oaj8TyffdXh5wdC06aa5rYY=; b=Wzz55sQWUBD4ROu8rP0JIe7jhsfMneWDVZ8DrSl93qCGvaUxo5bPJzZ//zgi0gN3/GHcW3zouqt0Jrgrp80nud+gw6+kzUgiA5U0HB4a1kHovsYOvYw3NzsO3mJAReDXLdAK9B9kKHdDs1gSjJtY0fIqHkFDNxQ0DhK04SJYLI2BZ1Fog47G2JYE/Rr0zQ+5x8beKK1ozlUS7DQHrXvvKJbOFDIJ3E+0at0q2+OW/7K0o05f+7ZOGPGMXpRLRr8JcBZmx2E5YZne4HRNLhyZWJ319l7Gmvxh7XUQlMfQB/5mhvd5lQmWuvWRcPjZw9azcTkz12uWVv23d2OVXCAJxQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hammerspace.com; dmarc=pass action=none header.from=hammerspace.com; dkim=pass header.d=hammerspace.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hammerspace.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=k0ybscqcnMLaYFF4VCo3oaj8TyffdXh5wdC06aa5rYY=; b=UxcNaoFzIawPAH2WZGyl5sI5S3u+eBbWqAwIcpmpclUx8AYK2NzpjngQW3liT4mWJPGtNUgsFTHMpuMGV2H4eaQsq0sruK8p4puzwxUL1L7xtgt1QpRhQylhmW4QW+dj3orT/utyjDDy/gvXbWplzis6Dcu0g5csS1uTsWQ3ljw= Received: from CH2PR13MB3525.namprd13.prod.outlook.com (2603:10b6:610:21::29) by CH2PR13MB3623.namprd13.prod.outlook.com (2603:10b6:610:98::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3868.11; Fri, 19 Feb 2021 20:07:20 +0000 Received: from CH2PR13MB3525.namprd13.prod.outlook.com ([fe80::f453:2dd2:675:d063]) by CH2PR13MB3525.namprd13.prod.outlook.com ([fe80::f453:2dd2:675:d063%3]) with mapi id 15.20.3868.025; Fri, 19 Feb 2021 20:07:20 +0000 From: Trond Myklebust To: "dan.carpenter@oracle.com" , "olga.kornievskaia@gmail.com" , "schumaker.anna@gmail.com" CC: "kbuild-all@lists.01.org" , "selinux@vger.kernel.org" , "linux-nfs@vger.kernel.org" , "linux-security-module@vger.kernel.org" , "kbuild@lists.01.org" , "lkp@intel.com" Subject: Re: [PATCH v2 2/2] NFSv4 account for selinux security context when deciding to share superblock Thread-Topic: [PATCH v2 2/2] NFSv4 account for selinux security context when deciding to share superblock Thread-Index: AQHXBi9e6cNIt3rRBUGTinwY+Y3SlKpfI2oAgACXVQCAAC6HAA== Date: Fri, 19 Feb 2021 20:07:19 +0000 Message-ID: <9fa77d94ac515e4318877607ec9e65a4eee2856c.camel@hammerspace.com> References: <20210218195046.19280-2-olga.kornievskaia@gmail.com> <20210219081908.GQ2087@kadam> In-Reply-To: Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: oracle.com; dkim=none (message not signed) header.d=none;oracle.com; dmarc=none action=none header.from=hammerspace.com; x-originating-ip: [68.36.133.222] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ec82cd6b-92cb-4499-70a8-08d8d511f6a4 x-ms-traffictypediagnostic: CH2PR13MB3623: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: y2yDh0cQjxxiSaANl8nH4fkBMkpSh1T88vXoluOfkbV4FdlPOPdutJhfJFZfThLgMvwI2GsaQvx2weY17Yw27s4rDQkxRFu2NvOF8gjutvql/8M4ZC5wWpvQggGrgpw3sMCHmp+DoRMj1SUycmH7HSd0iA499Y3UULh+iKaOnyy7iat5pIROA8lJbKArN7oJUcJ55DAIFrE8jVe0aefGB1cXaojNOpnSVdPRxf2A4CdwjzSzKG+DK8SQPuUK5gKehJAReeBbSjElFDuGo8ka71dwRfIB7g2X9DfkK4kMkH6i5u/p81+lzPwEteEo7XDqm5a03FtViNlgkFqKXp20IKrJ2ZfFfcWWIMk23Qyz2g6LjF1lSnQM2gUNQdAwiDkx4I/Q5V90U5hMGD15oPLUbioN95XirBlnS2lbwz7rkwUOr/nU7gFoFshtG5ikZbZcAswvb1H5C0kM8q7PzpbjjeXxe7e7GUJjZPGJD6HvnbuZ3cXca/bt82/j6Btyc6PuGhHl6Uy69z8rLnqUfm1ZQQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH2PR13MB3525.namprd13.prod.outlook.com;PTR:;CAT:NONE;SFS:(136003)(39840400004)(366004)(376002)(346002)(396003)(478600001)(66446008)(6512007)(66556008)(36756003)(4326008)(316002)(8936002)(66946007)(54906003)(6506007)(110136005)(8676002)(186003)(76116006)(26005)(2906002)(2616005)(6486002)(5660300002)(71200400001)(66476007)(64756008)(86362001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?utf-8?B?cWNYbzRHT3cvU29Vc2M5UGFD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content-Type: text/plain; charset="utf-8" Content-ID: <5DE7654C7CBE4548BA656C7BF99DEB24@namprd13.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: hammerspace.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH2PR13MB3525.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ec82cd6b-92cb-4499-70a8-08d8d511f6a4 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Feb 2021 20:07:20.0608 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 0d4fed5c-3a70-46fe-9430-ece41741f59e X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: wPtkhK93mj4tZof9KxyKs1YL0tcF83+SPDOQhMEVs81298V/0q6GZDxP0yWg6biGRC1dbgjOcG0MAvt4uQX/2w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR13MB3623 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org T24gRnJpLCAyMDIxLTAyLTE5IGF0IDEyOjIwIC0wNTAwLCBPbGdhIEtvcm5pZXZza2FpYSB3cm90 ZToNCj4gVHJvbmQvQW5uYSwNCj4gDQo+IEknZCBsaWtlIHlvdXIgb3BpbmlvbiBoZXJlLiBTb21l IHN0YXRpYyBjaGVja2luZyBmbGFncyBhICJjdHgiDQo+IGFzc2lnbm1lbnQgaW4gbmZzX2ZpbGxf c3VwZXIoKSBpbiB0aGUgbmV3IHBhdGNoLiBJbiBhbiBleGlzdGluZyBjb2RlDQo+IHRoZXJlIGlz IGEgY2hlY2sgZm9yIGl0IGlzIE5VTEwgYmVmb3JlIGRlcmVmZXJlbmNpbmcuIEhvd2V2ZXIsICJj dHgiDQo+IGNhbiBuZXZlciBiZSBudWxsLiBuZnNfZ2V0X3RyZWVfY29tbW9uKCkgd2hpY2ggY2Fs bHMgbmZ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