Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1014928rwd; Tue, 13 Jun 2023 03:45:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6HjMpgj/LKbWfJrrJfr/fD1JWK+gA2b6V/k+CL5cXvJMPs/pc8XUcBNwtgZau5NU+Wl5HQ X-Received: by 2002:a17:90a:8902:b0:256:d262:e686 with SMTP id u2-20020a17090a890200b00256d262e686mr10528185pjn.19.1686653159283; Tue, 13 Jun 2023 03:45:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686653159; cv=none; d=google.com; s=arc-20160816; b=v3SCDCXwxFNTiBeqX1bxo5wQwGCdIOM6B2ffHWmJPihnwo93rUMNtDcC7k9rxfeUn8 3BS6bHZ4E2fSI3uRJ2LE4dnbtTx58sYgC0GMp29C46ev0ERGLaV5LxuwgAIuGzz6OUXd PxgMIofaFpGGIg0MY5myFR+ELEZ0pqGTQinmlP+Nw3DHR68K5FxJGiTPTdOctvMrCrj4 7MOSTs7iuRhUWXP16RKQxaZRt8183VBq5iVLZnDHHUp6FPZTLK+cHvyYjRLFKWbpHsVY rgeTBlgJ2pbdzQ27aJ6nwBfd0IgVAqouD6Xu9j9v8Vksh7irf+uAHT3JfQBYPdFfvDfq aLWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=yuUVupheiX+fA0yIsT77K8SHvi7G/28fKE1KdCvB4EI=; b=0QnTaDPKGFzuBKlb3YjSIbvQrar7MjNyrDCv/CjbiId6dn+I3ZFI/BfMZWdU2mTqop ppZF0A7fe/+KW4bkhE8RxL4eNINVwk74h82G114YM1Qna3sT5SqygtwmYkzgquJtvDWp Iy+N6nO6J+eKNGcu60gHu/NV9/7qJ9o9dQNcxx4z5eQ7xhf0Oh9Y/mLojJ1iXyRbIBaf /X18vxp4MC8ONXFIlxO5gJScAL/wDnM0kzt+IwX6lWqrK827bMu4lTG2V1eMN+XizmGW p3h7nEyIUGnwuBr3uE0GpjFRzCWVPSdSiy0ln4Ty1buxUk1gQz3/a/ECC5rIMcT5Ci0o hmSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=kIFXkXLw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ck22-20020a17090afe1600b002535c2c4c8esi4762227pjb.150.2023.06.13.03.45.47; Tue, 13 Jun 2023 03:45:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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; dkim=pass header.i=@canonical.com header.s=20210705 header.b=kIFXkXLw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240535AbjFMK2w (ORCPT + 99 others); Tue, 13 Jun 2023 06:28:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239319AbjFMK2s (ORCPT ); Tue, 13 Jun 2023 06:28:48 -0400 Received: from smtp-relay-canonical-0.canonical.com (smtp-relay-canonical-0.canonical.com [185.125.188.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CAA113A; Tue, 13 Jun 2023 03:28:47 -0700 (PDT) Received: from [192.168.192.83] (unknown [50.47.134.245]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPSA id 4DFF73F29E; Tue, 13 Jun 2023 10:28:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1686652118; bh=yuUVupheiX+fA0yIsT77K8SHvi7G/28fKE1KdCvB4EI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=kIFXkXLwTi8Vhwl0B3KgUjKplp+GFiivWWmc+2H0HmoQR0YefI3BYzum4LwGZzC77 QmPA++ao2gD5e+Gir8KMpheXayrFbjQbgvhTgIvEoMCqaAWLOHfZYYR+Vy0TFf21HB paNpbj3orVkN8mM8UJlHzWQX37Anoe4WSQiBJgkcE98XU4QnJ5VG5EfPehu/YN+Sv2 wbW9cmWYhBIbVqk37fU+RG9eItXgqNmPixJRU5jkTamWtfae/OnFI0AgDxdoQydsBe 18OhuzXboVgUDhTR109MkQ86KaVZllNbA6C9EbYYfLJ8+T7fXrIeCM1PZH+aSkOuZ5 caCW3j5bzB3uA== Message-ID: Date: Tue, 13 Jun 2023 03:28:23 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v3 02/57] apparmor: Free up __cleanup() name Content-Language: en-US To: Peter Zijlstra , torvalds@linux-foundation.org, keescook@chromium.org, gregkh@linuxfoundation.org, pbonzini@redhat.com Cc: masahiroy@kernel.org, nathan@kernel.org, ndesaulniers@google.com, nicolas@fjasle.eu, catalin.marinas@arm.com, will@kernel.org, vkoul@kernel.org, trix@redhat.com, ojeda@kernel.org, mingo@redhat.com, longman@redhat.com, boqun.feng@gmail.com, dennis@kernel.org, tj@kernel.org, cl@linux.com, acme@kernel.org, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, jolsa@kernel.org, namhyung@kernel.org, irogers@google.com, adrian.hunter@intel.com, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, bristot@redhat.com, vschneid@redhat.com, paulmck@kernel.org, frederic@kernel.org, quic_neeraju@quicinc.com, joel@joelfernandes.org, josh@joshtriplett.org, mathieu.desnoyers@efficios.com, jiangshanlai@gmail.com, rientjes@google.com, vbabka@suse.cz, roman.gushchin@linux.dev, 42.hyeyoo@gmail.com, apw@canonical.com, joe@perches.com, dwaipayanray1@gmail.com, lukas.bulwahn@gmail.com, paul@paul-moore.com, jmorris@namei.org, serge@hallyn.com, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, llvm@lists.linux.dev, linux-perf-users@vger.kernel.org, rcu@vger.kernel.org, linux-security-module@vger.kernel.org, tglx@linutronix.de, ravi.bangoria@amd.com, error27@gmail.com, luc.vanoostenryck@gmail.com References: <20230612090713.652690195@infradead.org> <20230612093537.536441207@infradead.org> From: John Johansen Organization: Canonical In-Reply-To: <20230612093537.536441207@infradead.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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-kernel@vger.kernel.org On 6/12/23 02:07, Peter Zijlstra wrote: > In order to use __cleanup for __attribute__((__cleanup__(func))) the > name must not be used for anything else. Avoid the conflict. > > Signed-off-by: Peter Zijlstra (Intel) if you want, I can just pull this small change into the apparmor tree so you don't have to carry it anymore as part of the series. > --- > security/apparmor/include/lib.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > --- a/security/apparmor/include/lib.h > +++ b/security/apparmor/include/lib.h > @@ -232,7 +232,7 @@ void aa_policy_destroy(struct aa_policy > */ > #define fn_label_build(L, P, GFP, FN) \ > ({ \ > - __label__ __cleanup, __done; \ > + __label__ __do_cleanup, __done; \ > struct aa_label *__new_; \ > \ > if ((L)->size > 1) { \ > @@ -250,7 +250,7 @@ void aa_policy_destroy(struct aa_policy > __new_ = (FN); \ > AA_BUG(!__new_); \ > if (IS_ERR(__new_)) \ > - goto __cleanup; \ > + goto __do_cleanup; \ > __lvec[__j++] = __new_; \ > } \ > for (__j = __count = 0; __j < (L)->size; __j++) \ > @@ -272,7 +272,7 @@ void aa_policy_destroy(struct aa_policy > vec_cleanup(profile, __pvec, __count); \ > } else \ > __new_ = NULL; \ > -__cleanup: \ > +__do_cleanup: \ > vec_cleanup(label, __lvec, (L)->size); \ > } else { \ > (P) = labels_profile(L); \ > >