From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6790EC43387 for ; Thu, 20 Dec 2018 09:20:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3A2E62177E for ; Thu, 20 Dec 2018 09:20:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1545297617; bh=W2GGUoZNSdk2EXqsaX+8B3OP3sSpyOB2DCjSj+DOQa4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=cM9Rwv2fLRxN9DR245YAXSJlMWr/R3tDbPwJ0L0lzEyep8Xvg6V+ci3wM/keVg/q0 HI4gQoR9vMudpVCvSLBsQ3491JcarKvF84oMChu21xEv2yARGaZVpWhScnaX9C3kPj APAgKhoJ0jQYj1iHEjWP+2pR50BZy4Kg3XBg4mn8= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730639AbeLTJUQ (ORCPT ); Thu, 20 Dec 2018 04:20:16 -0500 Received: from mail.kernel.org ([198.145.29.99]:50088 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730616AbeLTJUM (ORCPT ); Thu, 20 Dec 2018 04:20:12 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 94AD82177B; Thu, 20 Dec 2018 09:20:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1545297612; bh=W2GGUoZNSdk2EXqsaX+8B3OP3sSpyOB2DCjSj+DOQa4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=j71+LZSlPzRk1vEbhQQoON4SuluxDuJ6GKZz29DVx863JeaTMyoQlb8PRgtF2hBN5 LoR/SkE3RAVuhgni9GlIMpH+30d2nWuxzG6CEU+tMTybjbZXOZ+YS84Ykkp03joYIW aYEh1QHWghAJlQeEGsocaTghvPB08Or/xjCoz7tY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Steve French , Pavel Shilovsky , Sasha Levin Subject: [PATCH 3.18 24/31] cifs: In Kconfig CONFIG_CIFS_POSIX needs depends on legacy (insecure cifs) Date: Thu, 20 Dec 2018 10:18:36 +0100 Message-Id: <20181220085743.564655787@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20181220085742.601260254@linuxfoundation.org> References: <20181220085742.601260254@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.18-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit 6e785302dad32228819d8066e5376acd15d0e6ba ] Missing a dependency. Shouldn't show cifs posix extensions in Kconfig if CONFIG_CIFS_ALLOW_INSECURE_DIALECTS (ie SMB1 protocol) is disabled. Signed-off-by: Steve French Reviewed-by: Pavel Shilovsky Signed-off-by: Sasha Levin --- fs/cifs/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/cifs/Kconfig b/fs/cifs/Kconfig index a2172f3f69e3..35bbf6b64982 100644 --- a/fs/cifs/Kconfig +++ b/fs/cifs/Kconfig @@ -111,7 +111,7 @@ config CIFS_XATTR config CIFS_POSIX bool "CIFS POSIX Extensions" - depends on CIFS_XATTR + depends on CIFS && CIFS_ALLOW_INSECURE_LEGACY && CIFS_XATTR help Enabling this option will cause the cifs client to attempt to negotiate a newer dialect with servers, such as Samba 3.0.5 -- 2.19.1