Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6240276rwb; Sun, 11 Dec 2022 22:02:35 -0800 (PST) X-Google-Smtp-Source: AA0mqf6EQIi949CQmLEcvIdv9VVEXep67KfAqPgq8jEz3ZQCeznStIdJUBP5MCMgSZkHu96W5SO9 X-Received: by 2002:a17:906:2288:b0:7c1:1001:600a with SMTP id p8-20020a170906228800b007c11001600amr16432594eja.77.1670824955359; Sun, 11 Dec 2022 22:02:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670824955; cv=none; d=google.com; s=arc-20160816; b=q3iSdEcWrod89l0ByQWY40To9gqY5/NYX2zq9XpHMrS9HNSIkcEQngV6KWEAPtJeRT 9d/G6u5W3wbY2/QIY1RgMaXd0egkYLMh84HdFDy22DaSBOz06/ndWPADRAlLekY7/I5s 7XgJ2OBV6XvRipnGTMf1iCH2PPNr/obvi5LeBrn5gS77oO81jC0oXQaAvZ/l+EyEOorG lEUOFQnpUVqZ+lSBsgGn2hR0fqbkhyJFIKemBtNrgtV0/jVVhHxm9qDT1at6xx7ASA+T T01w1wMAVYqyE5xHip+/2kr80m0iwnDqtFpT3WGlqF5oT8yH10rg06xPfZUyeJ1MWaF/ eKuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from; bh=0a5wtZL9LclLUPRd8J+8WJilOdKAsB5LhovX3fSMAlA=; b=Urq4Lhfm6aFf0t9jDPQsc86xD3nnrgjTLYfTAZbgIFo2Y8CT+NIs78+1R7FqUpny3P rhq+H09UbXnRsvJc4kTP3RZ4LEMFTpSddcQC1k7QHcKPeTZs9ZJ2QY6R9157dew94QyY cWd2Fl2vGpEuZ4Y2J35l0O8LuY4sM4ADqRKvRoVEXk3VBYVO1uM5YpHhKeFLUlP445eo EyEhj71NwRay7N+sQktU4X2nJf87NoRwWkaaexHE7cUkGHdtDdE5OBO8dZcoWgfruRDa jsIhd0VAhQHAjdJKWYxQ8HJZGbGrTQHdrdINpdzT8cudTVFTPPmh0wf1LwZMh8HRKS8Y IJfQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q19-20020a056402519300b00461f10cb543si7859815edd.154.2022.12.11.22.02.02; Sun, 11 Dec 2022 22:02:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231174AbiLLGAf (ORCPT + 99 others); Mon, 12 Dec 2022 01:00:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230427AbiLLGAf (ORCPT ); Mon, 12 Dec 2022 01:00:35 -0500 Received: from mail.valinux.co.jp (mail.valinux.co.jp [210.128.90.3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F6581130 for ; Sun, 11 Dec 2022 22:00:33 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by mail.valinux.co.jp (Postfix) with ESMTP id 99786A8F56; Mon, 12 Dec 2022 15:00:31 +0900 (JST) X-Virus-Scanned: Debian amavisd-new at valinux.co.jp Received: from mail.valinux.co.jp ([127.0.0.1]) by localhost (mail.valinux.co.jp [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TeRna_4rSsN2; Mon, 12 Dec 2022 15:00:31 +0900 (JST) Received: from brer (vagw.valinux.co.jp [210.128.90.14]) by mail.valinux.co.jp (Postfix) with ESMTP id 72B6BA8F50; Mon, 12 Dec 2022 15:00:31 +0900 (JST) From: =?iso-2022-jp?B?TUlOT1VSQSBNYWtvdG8gLyAbJEJMJzE6GyhCIBskQj8/GyhC?= To: =?iso-2022-jp?B?U0hJTUFNT1RPIEhJUk9TSEkoGyRCRWdLXCEhTTU7VhsoQik=?= Cc: Trond Myklebust , "linux-nfs\@vger.kernel.org" Subject: Re: [PATCH v2] SUNRPC: serialize gss upcalls for the same uid References: <20221209003032.3211581-1-h-shimamoto@nec.com> <17D036AA-5F8A-497B-9D66-879E9D201BDD@hammerspace.com> Date: Mon, 12 Dec 2022 15:00:31 +0900 In-Reply-To: ("SHIMAMOTO \=\?iso-2022-jp\?B\?SElST1NISSgbJEJFZ0tcISFNNTtWGyhCKSIncw\=\=\?\= message of "Mon, 12 Dec 2022 03:33:24 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_SORBS_DUL, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org > One question, how about simultaneous upcalls AUTH_GSS and AUTH_UNIX? > I'm not sure there is the such case, but an error could be taken for the successful case, no? This is the auth_gss module, and we always come here to obtain a GSS security context. In sec=sys case we might come here with RPC_AUTH_GSS_KRB5I (see nfs4_alloc_client() in nfs4client.c), though. In such case gssd might return an EACCESS error. -- Minoura Makoto