Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp687405imj; Wed, 13 Feb 2019 15:45:25 -0800 (PST) X-Google-Smtp-Source: AHgI3Ibm1PYSBEMt+ipQA0FWEBVfwvsOVwn6aISe3i92XBRnCl9qZHD09QgJIsTp21lOmOu1Ny34 X-Received: by 2002:a62:e50b:: with SMTP id n11mr810409pff.212.1550101525013; Wed, 13 Feb 2019 15:45:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550101525; cv=none; d=google.com; s=arc-20160816; b=kor1mHPyQ7/FxHJwcCyK58h7RLEJxx3PJ+KK3yOMJs7y3OCg+KrAkyBeu5aTeEZ+Bw Gy17S+Ts44T2VHDd9qugv3ZJO9K2SOJeYipABL7eTQ3JS++XlOl5M0eUaLk5B9KYXiPh T9z5I8JVJa+VczSozAQ1pFjacJ1rKQEpekb1FFSlGXDJerneVY3DIPujSPWMxupxRLDL gONUijuYP3GXTtoObG86AJF/Fb3WvNu99WLRrdkeGHZnYAczG8FaVIYpbz1qeqxHdQHZ MXXe8sLulDJscVHyAAjj0u+lh1Pm9r1tQViQ07Y+057npGIDhtVvBI0MWJMRpNAKrFQq ChOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=aN1s9tu9AmF3yH1aY+MXkUOGvQ6QExlfUSQKv3t1oFk=; b=IK3zE6rGV1oLd95yhaETtgOdV+2QWC5cE4EiloljGTaDAQlWsLu2T7I8uJKE3o6YZI lhDAbTMRXK9uGqe97e7HOwEFksbwGP3y7MVpU7oiPE9y1MqdUKnjV+f8NM1ZrL0n7pGC UErSNCL4dmoUneUgdfh06Fr2JPEDm6iqni97aatojFTp+HD209m9fcj5ZsyQQyND2lK9 +cLAAyfM382e3q6gquDpJugywNzgCVvND9J3iCtD7APSs83Wf3wMKQo7ZcSl1tcKil3R dFkzsiLgy1WfrMvmq2WI56d6RhCf20ZgIjzFjYqyQPDaP+hMNeo+ubtkoDjLLvv2AgAj dJVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qyxXejgL; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o4si703724pgr.78.2019.02.13.15.45.09; Wed, 13 Feb 2019 15:45:25 -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=@kernel.org header.s=default header.b=qyxXejgL; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405352AbfBMSkG (ORCPT + 99 others); Wed, 13 Feb 2019 13:40:06 -0500 Received: from mail.kernel.org ([198.145.29.99]:38138 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729495AbfBMSkD (ORCPT ); Wed, 13 Feb 2019 13:40:03 -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 6F2E2222D5; Wed, 13 Feb 2019 18:40:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1550083202; bh=YQkO9hEHx/uFzZpxYpRtl3XsxxfgohwJwxw8GGGOso0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qyxXejgLycfgB72nmsZL1MnLRI+2OGNucAQ03EgrEmm9Smuv5+QuGmRtFIrOIKdWs sF0yoxOF7637xZq1LcPTc37jchuR+qD6D9LIiqtjL5PmP2iVQWia+9aPI04ASN779s nRYhd8kgHi2UXWr1QzT1GMD8L4NhjmtAokUZhH6I= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "zhangyi (F)" , Steve French , Pavel Shilovsky , Sasha Levin Subject: [PATCH 4.9 20/24] Revert "cifs: In Kconfig CONFIG_CIFS_POSIX needs depends on legacy (insecure cifs)" Date: Wed, 13 Feb 2019 19:38:17 +0100 Message-Id: <20190213183649.139747626@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190213183647.333441569@linuxfoundation.org> References: <20190213183647.333441569@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 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Greg Kroah-Hartman This reverts commit 4cd376638c893cf5bf1072eeaac884f62b7ac71e which is commit 6e785302dad32228819d8066e5376acd15d0e6ba upstream. Yi writes: I notice that 4.4.169 merged 60da90b224ba7 ("cifs: In Kconfig CONFIG_CIFS_POSIX needs depends on legacy (insecure cifs)") add a Kconfig dependency CIFS_ALLOW_INSECURE_LEGACY, which was not defined in 4.4 stable, so after this patch we are not able to enable CIFS_POSIX anymore. Linux 4.4 stable didn't merge the legacy dialects codes, so do we really need this patch for 4.4? So revert this patch in 4.9 as well. Reported-by: "zhangyi (F)" Cc: Steve French Cc: Pavel Shilovsky Cc: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- fs/cifs/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- 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 && CIFS_ALLOW_INSECURE_LEGACY && CIFS_XATTR + depends on 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