Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1268302rdb; Wed, 6 Dec 2023 13:33:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IFCyoWwHmgIzZPD7DvO0knn2NcwqQgMUGK3RT9pS4tyeMBVqvSSYjpdlerLLg38zhUuKTZX X-Received: by 2002:a05:6a20:160c:b0:18c:531a:a503 with SMTP id l12-20020a056a20160c00b0018c531aa503mr2674379pzj.2.1701898432268; Wed, 06 Dec 2023 13:33:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701898432; cv=none; d=google.com; s=arc-20160816; b=dIFa1O/GMbwVaq5YzT8+URjCe1TDUc6JdtiOBP5/g+LraZqdHYq3GfWAz4X3GjKxdT 387snlFekM7St4yMbdXG5sixXxJPtbUQ5RF/NbXG+6cqBb0qjlXmawIVLnZ7oMZ2MWli TK3UQeBOjxcAek1KiSI3eWM3Mn39KUUWuAu8t8b2i2J0CN6cGg0MNMM8lF8uVjNAJrGX ixwsPthBtRl9v2W65AkXPD+nDnHybP0CoBF/HQ3K8zZ8XMxxW9XYT7IeRQ3qYw8uIaGJ eNNpcwqXUqLQtooU3Hh3By9Pss833NtnNOzXaWVlf/bg+ihbVZuKuOd1wP2D8zvG57x8 mCrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=5USLAotu/Ir6n/IBLfon1cOlR9qpajMvoZiPWq4vufA=; fh=ZJPgNAZwOCbSyBfjFAqnBpYgRpjZ5EFFW6v1xl7kDFw=; b=FJVQ3G9F8dBe3XoPJEeZuTOSzYUbXztIOr+wIpDnTkW1qZVXXP7DjfNUKZInzDg8pc iUSk6kYrYcz5RkfCvs1g88ZKjU1pWvKbZk+bAfzS0fbwaj3squwduRHeB2xaQznh5nQx 1gev6MRqoL7wwZFSlIbPlTrQfOp9zoXt/VOfh890qVEJDJuO+9fri850puC47IK3NvU+ K2j2idOwv2NoUPxHpOu7EA9gckYr1ubBtoA7nzsg+0Wcz6QRM4xfWsOOzxwtfBCILe3b UWR8x1sSf/61WxxuOslIx/nMxrHCVvAobEuAJRthp5PUDUi1FhXLPer54nrLC9btc+Ja ld6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="WVY9/Iwd"; spf=pass (google.com: domain of linux-nfs+bounces-377-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-377-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id b21-20020a056a000cd500b006cb65cfde7fsi567045pfv.91.2023.12.06.13.33.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 13:33:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-377-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="WVY9/Iwd"; spf=pass (google.com: domain of linux-nfs+bounces-377-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-377-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E82152824AF for ; Wed, 6 Dec 2023 21:33:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6AA0D70976; Wed, 6 Dec 2023 21:33:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="WVY9/Iwd" X-Original-To: linux-nfs@vger.kernel.org Received: from mail-oo1-xc34.google.com (mail-oo1-xc34.google.com [IPv6:2607:f8b0:4864:20::c34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85F02F7 for ; Wed, 6 Dec 2023 13:33:43 -0800 (PST) Received: by mail-oo1-xc34.google.com with SMTP id 006d021491bc7-590638ff680so41537eaf.1 for ; Wed, 06 Dec 2023 13:33:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701898423; x=1702503223; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=5USLAotu/Ir6n/IBLfon1cOlR9qpajMvoZiPWq4vufA=; b=WVY9/IwdIDEiKGByu2Yy09RfTLnFiJeIBvXDj7u4HhGTGYhOYdxhaSOCWWcro/GKUj 6BXtFJ5Ij3fzGFqGAXBVp3CQMfPWjAHKH0AH9r0Oltvd0ZSp0U3KCFc1ULscGpPsDkMK PwNF8sjX8lhj6D9QdO0gxJBBMgVTFW/JfX9Ni+uCd4I7jzOjklNsv4qPsvyrmV5hXS2G tn6GjAURWXG2w3BkJkjubfKHxJEbX7Dv1HwR9z8BePbsoSQUXiT0yZoRH4b+aL6gdX1a 7uYZML+uuCuV+ZQYVOh5HBu4OtdAVt0Qf1hNbEw8pnZES0kg6Ga83JW/+K72e221Fm1X xXhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701898423; x=1702503223; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5USLAotu/Ir6n/IBLfon1cOlR9qpajMvoZiPWq4vufA=; b=dMum13R32fQiuM8kMnnjCgn4TanZg1CIRRaG+bqj7pbgsY/PNYBWxrHUjGRBMiotww oLbdaF7Ob7NdD7PvbYdnPenfgMtU2d9QRH758EtCaiQ5JLRQCb2yIwDAOQnvx1BEniI4 thDJ9f5+J85p87HsmUkhQrKBTsSS+byxU1cKB8LLLQUF6SHHXyfXkudgFoaRPgrXRUXc FgnxCJvtUqvmYRYitWKHd4gHi1irtLtaiVReUquERDfYWSbjYDF+cw+70wpQMtbUb72P oxfQZOpd1YS5iogZ4GmxMPu030lcYjF0f/9bxzmYtDucsFYn1hjG9bCfPLIhPJNvvrd3 OF6w== X-Gm-Message-State: AOJu0YyW0si1iobS8O1yhN2XTNQC+HTOatDfIwlpT4wUBrCbeP1ix9ZO rGybcrgi6SeatmcW11opLD7ehEb4WJU= X-Received: by 2002:a4a:dc43:0:b0:58d:5302:5b18 with SMTP id q3-20020a4adc43000000b0058d53025b18mr2908281oov.1.1701898422814; Wed, 06 Dec 2023 13:33:42 -0800 (PST) Received: from kolga-mac-1.attlocal.net ([2600:1700:6a10:2e90:b4ac:108b:be40:79b]) by smtp.gmail.com with ESMTPSA id ro3-20020a05620a398300b0077da601f06csm256435qkn.10.2023.12.06.13.33.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 13:33:42 -0800 (PST) From: Olga Kornievskaia To: steved@redhat.com Cc: linux-nfs@vger.kernel.org, chuck.lever@oracle.com Subject: [PATCH 6/6] configure: check for rpc_gss_seccreate Date: Wed, 6 Dec 2023 16:33:32 -0500 Message-Id: <20231206213332.55565-7-olga.kornievskaia@gmail.com> X-Mailer: git-send-email 2.30.1 (Apple Git-130) In-Reply-To: <20231206213332.55565-1-olga.kornievskaia@gmail.com> References: <20231206213332.55565-1-olga.kornievskaia@gmail.com> Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Olga Kornievskaia If we have rpc_gss_sccreate in tirpc library define HAVE_TIRPC_GSS_SECCREATE, which would allow us to handle bad_integrity errors. Signed-off-by: Olga Kornievskaia --- aclocal/libtirpc.m4 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/aclocal/libtirpc.m4 b/aclocal/libtirpc.m4 index bddae022..ef48a2ae 100644 --- a/aclocal/libtirpc.m4 +++ b/aclocal/libtirpc.m4 @@ -26,6 +26,11 @@ AC_DEFUN([AC_LIBTIRPC], [ [Define to 1 if your tirpc library provides libtirpc_set_debug])],, [${LIBS}])]) + AS_IF([test -n "${LIBTIRPC}"], + [AC_CHECK_LIB([tirpc], [rpc_gss_seccreate], + [AC_DEFINE([HAVE_TIRPC_GSS_SECCREATE], [1], + [Define to 1 if your tirpc library provides rpc_gss_seccreate])],, + [${LIBS}])]) AC_SUBST([AM_CPPFLAGS]) AC_SUBST(LIBTIRPC) -- 2.39.1