Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp882877rdf; Tue, 21 Nov 2023 22:07:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IHtvISyx6GdKzsoFpelTx6PzStX4yk4xYs9JuCqsb9d5aXvQiflxEjJXit8ZtEvrCksk9nm X-Received: by 2002:a05:620a:1981:b0:778:9813:6cad with SMTP id bm1-20020a05620a198100b0077898136cadmr7959463qkb.4.1700633275474; Tue, 21 Nov 2023 22:07:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700633275; cv=none; d=google.com; s=arc-20160816; b=ZBUK9GH/dFe004XHI7R7yls/6BY8y10Xn0FPSCzAUchd82x2fndikTlp/XzdQp55Zl PD3WHYn9I1eC897AzZl9t01lvZPaZn8QdouR11rlYErbSJSAGG2Hdl2jtFn6bYD5pP5x 2+bFxLhGebvDBBcvvIibynuSRkPzaz9LcTFvw5Cizx+k4hs1lV0HgrLc7p2Q/TuSzgva L0C+9gpFwCD9V683z8OnS0J59PavzeSOcWXvYOKgOMWiSguuKSNUwLs66/q41cGbSdsT eYU9wXkBS2CTfmihelXzsFgA592UfyhyPiWaK2mmpwSSyBu7fyDs+qxMlnAh3b61WdiT 1IPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=ZuJ+FGqFAIqsPH6/f+SFWhtOihZa8pB1zGedGnXzVdE=; fh=wfxWRH1pFEDgW4CYghciMTOKBvE9Swpp3AWaOAf3LBc=; b=TYdWXZN+qNyY8nhip8k/zMzaHTqh0C6dMTfs+XvWmc1oErEOvPIs2Ux5ReuCY/9CKz 2gIPSUHFiU+5LKZU6iMvJuHpEBEJCGiR5x9a6PF8mL3s3oL07vAMOmfnVlRX8g5C7v03 G4TV1nCJwkNE7NXaF2Ti9tlNaPfUTjf7zLGAGyinczkqzH0y1K0wr8dkicoCJTREb+vC buADM+K0y+Y/SIta6/N76NIPeYbFnOZK72VVOh+2raayUwBc8BBWj+jL/LQaoCEK7vy9 f4vb6X+04TrPM0fb2TrhFYba7dbix4Y4u6iX+ztuUnV3VqswGN7bhfN6b0RviGXgMlFR FfUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@umich.edu header.s=google-2016-06-03 header.b=dl1hxa1y; spf=pass (google.com: domain of linux-nfs+bounces-28-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-nfs+bounces-28-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=umich.edu Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id iw15-20020a0562140f2f00b00679e5717bc8si4015034qvb.532.2023.11.21.22.07.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 22:07:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-28-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@umich.edu header.s=google-2016-06-03 header.b=dl1hxa1y; spf=pass (google.com: domain of linux-nfs+bounces-28-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-nfs+bounces-28-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=umich.edu 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 293801C20DF2 for ; Wed, 22 Nov 2023 06:07:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 96A76BA24; Wed, 22 Nov 2023 06:07:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=umich.edu header.i=@umich.edu header.b="dl1hxa1y" X-Original-To: linux-nfs@vger.kernel.org Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41A1CB9 for ; Tue, 21 Nov 2023 22:07:50 -0800 (PST) Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-2c6eac9c053so18590081fa.1 for ; Tue, 21 Nov 2023 22:07:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=google-2016-06-03; t=1700633268; x=1701238068; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ZuJ+FGqFAIqsPH6/f+SFWhtOihZa8pB1zGedGnXzVdE=; b=dl1hxa1yGsf1Ywa0F9egrWEiNocGB+fHtmquRgC0D2iQJDOGhPVSicV0SZrc+fFH5d 0H/5g91ENKuASFSklRXyEXgm+veKxuUP3x7FAcIoM2kogH/qhErIJMGLCcrXZVCilAup H81y8RV8jdm9AuBciDHmgYCS4nAtkoFQ7eKbiZFscyGu0dXL6rtCGc1y0BfJhHifvu59 sf+QX/PvAzO4Tdp32TCfN3G0z6IrF7EeRUIJEcdfgMTaZKW9KLZKTrj8cotU2plKDmIC L7JHmtOOSaS/UyiY7rl2lbc/GUv6Yy1E/q0F0c0ssJEPVcq3/ylX2ggJCEHMJSBLrmnu vY8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700633268; x=1701238068; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZuJ+FGqFAIqsPH6/f+SFWhtOihZa8pB1zGedGnXzVdE=; b=TlrzCv//AVfaueY9XLYv2I4U1UBYFjvX3Ihbbxb89oyQWdBVbI95b3M3UyADKuZNw0 0FCZTJ9KttU9HUBWhv//9hf7PrQx30eu3F4tvaB36K68YUcljqOT3BmsXuBqbNjGNP77 sX4CDt4wGn+Q9ZiVbr9gtAXRQ8k0/a47jKWmPjoXUlyOLHT73dbuqea3AV7tYv4cn6EG 5cxvyx976OMjh7SLWW0BWGKPhQw9AM1B6IPwZI2TeZQ/lC92Q0ttMAHS65pTRg7B1JiA qc4YGkiM9msTYzVRSkpUXmcd4U323cXUh3deixAdLNTxLDIgeViEZSmFgfvzNL+FMtDN IUwA== X-Gm-Message-State: AOJu0Yxy9dbSkXLZNFdt5Kq4wG8ZAr23J6Ma3HO5F0JAaF9/DbqsJJ8i c+3/E9iv5tyWqJEEW/2cZhmsGlT6mheG56Ou+9E= X-Received: by 2002:a2e:720d:0:b0:2c8:38b2:2c33 with SMTP id n13-20020a2e720d000000b002c838b22c33mr772499ljc.3.1700633268205; Tue, 21 Nov 2023 22:07:48 -0800 (PST) Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <97AE695C-8F9F-4E9C-9460-427C284FBD32@oracle.com> In-Reply-To: <97AE695C-8F9F-4E9C-9460-427C284FBD32@oracle.com> From: Olga Kornievskaia Date: Tue, 21 Nov 2023 20:07:36 -1000 Message-ID: Subject: Re: changes to struct rpc_gss_sec To: Chuck Lever III Cc: Olga Kornievskaia , Steve Dickson , Linux NFS Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Chuck, A quick reply as I'm on vacation but I can take a look when I get back. I'm just thinking there must be a reason why gssd is using the authgss api and not calling the rpc_gss one. On Tue, Nov 21, 2023 at 6:59=E2=80=AFAM Chuck Lever III wrote: > > Hey Olga- > > I see that f5b6e6fdb1e6 ("gss-api: expose gss major/minor error in > authgss_refresh()") added a couple of fields in structure rpc_gss_sec. > Later, there are some nfs-utils changes that start using those fields. > > That breaks building the latest upstream nfs-utils on Fedora 38, whose > current libtirpc doesn't have those new fields. > > IMO struct rpc_gss_sec is part of the libtirpc API/ABI, thus we really > shouldn't change it. > > Instead, if gssd needs GSS status codes, can't it call > rpc_gss_seccreate(3), which explicitly takes a struct > rpc_gss_options_ret_t * argument? > > ie, just replace the authgss_create_default() call with a call to > rpc_gss_seccreate(3) .... > > > -- > Chuck Lever > > >