Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4043868ybv; Mon, 10 Feb 2020 11:11:31 -0800 (PST) X-Google-Smtp-Source: APXvYqxe/Wc49C0bt+zK73UQ8Fz18E6vthIdtq88lY38PpaKXhmIOMlBLMfqEKwYA5FJUitKmU4Q X-Received: by 2002:a05:6830:18c4:: with SMTP id v4mr2099126ote.265.1581361890964; Mon, 10 Feb 2020 11:11:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1581361890; cv=pass; d=google.com; s=arc-20160816; b=yJhTxqkKU6UCF0SYViW9FgVjGW1IHJMqZIarg3F6dV4ew7BtzUpl4vfKrf2PrN3p+t z3pk3GTem/zJZZwafk6KBo6hZ8RVB4LpCqe/xXyy8Q8IK2cjNYr5qbw95OBfgQEpPKyt dP7yZkMPMx3qD1KSxdlpw4F6maQtCseCe7zvgHAW+YDVLLSBqOpWXcwZUroEj5CWRehr BTCdEnRykd3QRWqM5ancQGEALc/pMqsrL+k4xn2Tys59Z+vt+23mw9wpTKatBG2c0v6W AretvSZ4N+EVAj3v1O2QmB3s36vn7FNbmLBD5Co8olGffh2qFbISW45g3wefkRzUzreq k0qQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :msip_labels:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=SUonBlm7aVaGK7EYs7h6Ney6j9ixxBap8mfOS2kcrtQ=; b=B+UrSxbRjNI8vNrXK9EbeZ+6kREUQ/h/80LXHN7YfhPc0kGmz36klNun8PLEGJWN9y GZK/+zI3SNTSftVD4q00tHBeH2jbLKWoB1HjOJpXccPCBtlT5Zhw1zZo0gYofwr9G1oQ 5nPRq3jv2bfiOALIDF2CXwTfdjMfxO+KKZ4JTMO3Q7xp4qRl2Nm0vuUo3FgfvXdHt+Pl yo7qeV17JIQUyEFZxXP8hIoXrFWj1TvPySE6cDE9hkKnC2+MxvYRg5eyHjA3YbBjB/b0 v5rAU4HrMeH29dPe9ZuRXIU5nk9vyHE1lm/aGiM0SNuZOlY8jysDMdUDWiZ3DpTBMQ/q u7Xg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=NYo9A5tY; arc=pass (i=1 spf=pass spfdomain=microsoft.com dkim=pass dkdomain=microsoft.com dmarc=pass fromdomain=microsoft.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v21si489835oie.178.2020.02.10.11.11.18; Mon, 10 Feb 2020 11:11:30 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=NYo9A5tY; arc=pass (i=1 spf=pass spfdomain=microsoft.com dkim=pass dkdomain=microsoft.com dmarc=pass fromdomain=microsoft.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727516AbgBJTKE (ORCPT + 99 others); Mon, 10 Feb 2020 14:10:04 -0500 Received: from mail-dm6nam11on2123.outbound.protection.outlook.com ([40.107.223.123]:6900 "EHLO NAM11-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726831AbgBJTKD (ORCPT ); Mon, 10 Feb 2020 14:10:03 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hOF+sIQXd3T93zveUUSb3M28V2kGacTb86NwPlOVnDlG0IQHyao1ihHtRG7IJCF1CBvPAJWs9we2wKUrDLaHTDUtjAf3rru8teNJhzKncz36aJ7OQ8sXE+L84vrbHm/IVKzPAi7E3/UnFGQBYQX1SCexcTV1O2Op/9iLCNEkodXIj9cb1shG6VdLXIEhSelrXaBA0aGX1m6HRE82ep/avdLIqNkZ3A6sCz+DosCn2naWnoVJZKDiAXvrZG1TQXq4Fm+68YafnUiZ/0nt9lr6eipGGWUQwOtu13SUxWzwJpRQbqsICiSG1h5RjiTDxUFuiywAo6GE435wh3vuFLUUQQ== 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=SUonBlm7aVaGK7EYs7h6Ney6j9ixxBap8mfOS2kcrtQ=; b=DZROV7OaL8EO+wvKiaf7VT6vogTbX/gTEECp2lZzeWAwGrg8aN1B9T26xveyibXX5C29jfqxU+TosG6WGyrs5vsXi8+1sj4ighmqhbHAKSRuZ54DDsF/HlVaKRxMuCOvMhEUTuzu8Atn4KEySYJf3tyR/rYyvYxxxG0TdqHgl/kHzLLUWYjJDCbg7wb8mxMqTzPreMP6PuZOHIMX+JkbadFSjPWlCD2MM97X/ByubupQ7HflkfzdQPlG+Wr1L35pxCskpUoHOPlPKsnBPKeEjZwTbHSp+dJLTR8AUkNah0M6Jx1QcTQTHDscGzYAFrQwEUtXnnQFFivHIRe48IYtKQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SUonBlm7aVaGK7EYs7h6Ney6j9ixxBap8mfOS2kcrtQ=; b=NYo9A5tYLjZ4ZSCtK0svUmsLU6tuvS4f0BcJ/Yic0XA0JrVQtHyfWTWZknLhzvpjsNOnCuVW3GMLb8XrJRiu0ukGiZ4QG2t6dE9THQbhW99lutNToy8d+2N9DvyKSewcNtpmGCy/eFlsg7XM6Lk+OJHHY0OH5Wxsc0K7fUbnH48= Received: from BY5PR21MB1427.namprd21.prod.outlook.com (20.180.34.88) by BY5PR21MB1395.namprd21.prod.outlook.com (20.180.34.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2729.6; Mon, 10 Feb 2020 19:10:00 +0000 Received: from BY5PR21MB1427.namprd21.prod.outlook.com ([fe80::5068:3086:b32b:a096]) by BY5PR21MB1427.namprd21.prod.outlook.com ([fe80::5068:3086:b32b:a096%9]) with mapi id 15.20.2729.016; Mon, 10 Feb 2020 19:10:00 +0000 From: Pavel Shilovskiy To: Greg Kroah-Hartman , "linux-kernel@vger.kernel.org" CC: "stable@vger.kernel.org" , Aurelien Aptel , Steven French Subject: RE: [EXTERNAL] [PATCH 5.4 303/309] cifs: fix mode bits from dir listing when mounted with modefromsid Thread-Topic: [EXTERNAL] [PATCH 5.4 303/309] cifs: fix mode bits from dir listing when mounted with modefromsid Thread-Index: AQHV4A8XQX7KgvLaXECjh2i8bk7beKgUynYw Date: Mon, 10 Feb 2020 19:10:00 +0000 Message-ID: References: <20200210122406.106356946@linuxfoundation.org> <20200210122436.056141941@linuxfoundation.org> In-Reply-To: <20200210122436.056141941@linuxfoundation.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Owner=pshilov@microsoft.com; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2020-02-10T19:09:58.3081963Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=General; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Application=Microsoft Azure Information Protection; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=6d2fce8b-2f99-4754-9fda-69ba2a25b7b0; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Extended_MSFT_Method=Automatic authentication-results: spf=none (sender IP is ) smtp.mailfrom=pshilov@microsoft.com; x-originating-ip: [2001:4898:80e8:b:1087:cfa5:b59a:daa8] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: b7398ad3-1feb-4cab-0523-08d7ae5cd3a1 x-ms-traffictypediagnostic: BY5PR21MB1395:|BY5PR21MB1395: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:669; x-forefront-prvs: 03094A4065 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(4636009)(39860400002)(136003)(346002)(376002)(366004)(396003)(189003)(199004)(8936002)(8676002)(7696005)(33656002)(81166006)(71200400001)(54906003)(86362001)(81156014)(110136005)(53546011)(186003)(6506007)(5660300002)(316002)(2906002)(4326008)(8990500004)(66476007)(66556008)(66946007)(55016002)(66446008)(64756008)(9686003)(76116006)(478600001)(10290500003)(52536014)(107886003);DIR:OUT;SFP:1102;SCL:1;SRVR:BY5PR21MB1395;H:BY5PR21MB1427.namprd21.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: vXZnKnXpoyx4sifPXISsmVOfM82BsRcXAEl39tLn6BxsYzQaFeow9c4iOQ83yigIiYn/xzOvKe5+xusJ6quZa6va7Tq/warbpajzmSCuQWGvSQuyTUxHial7EbCcjlducWH7DXuvOPaHCWqbIKusVfj72aQkBbFxbndmLpM2KFb3UjdDne0QtYpcTpIpLvUP5veukHvvR5MqzF82SrUt4vJGCP9OG5RPhZYzxxshxYH3SYfpOrufYaPsGrpqAGGyEtl+53qLRHfT6UPnerKFqNhGRVxk1QiYA1p9WQkzNkEfsKxVApbR+8VgktkdudHwqIrbK0eGT1ezhj8IVVzNwH/10q/N3zeKRBe0MR2ddRH6maz6JdZ1PX2LHcEKMGNR/ngZTzZwf+t0D4vbMSF5/1ZrCHwN4ER/S1yIOvbXQWNb1OEYQMlq+VcNSxsH1ONz x-ms-exchange-antispam-messagedata: /eBxiaXju2PsB+2d2mHpEDoE/Jcyt8AznfndZOVjZkAxsrRg8O9g1jL0waLkisIK78pHbPI9hGZDbd6RL262kiDIMScOJkfa7rGidAzP8O/EZjRJhwxLJuFPAX/I8E0Qg19gCbdXuqR+apAtZczhPar1LK2Aq9/iUlI7sLUJwHn/uWQUY3oUQjpR5ujrf1Sx67im0Pc8OqjGvXw408EVFw== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: b7398ad3-1feb-4cab-0523-08d7ae5cd3a1 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Feb 2020 19:10:00.5888 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 12pMZXSGJZ34ayMpzklMzl31CDN+C7LgrzWjuHeDZgAuiBnoGtaRRXa5qIbPdthhT97cYamAf0pwWX5yraRAGQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR21MB1395 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID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