Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp625346rdb; Tue, 16 Jan 2024 10:32:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IEsYz0c6lhoe/C2VO20u1+vtmmts8Ippp++oGMqgNVDLuu4wtWJsjKU1PmgQ9pu6cwd5Ygr X-Received: by 2002:a05:6e02:152b:b0:360:d98:b5d1 with SMTP id i11-20020a056e02152b00b003600d98b5d1mr10451413ilu.60.1705429930277; Tue, 16 Jan 2024 10:32:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705429930; cv=pass; d=google.com; s=arc-20160816; b=V6Wu2SWEcZAEZIw4Lw4gStd5FF3dsO8RqP3AbCCwmGt4+dJSfnA35ltyUVnaCWTiPg xUeLTf32cRbraf6BebSLrYXeAzC/83ZMXmtMD1jRGJ+gSXZFjYp7GJ7vW2u2iuYAkvxj IUaW9/KuzanxgyrG12W5EY6XX3ycdzsfglpEt2JHBrp/Io0G3XYwKZzDf/5+gRL/57Fo GVbW4WNNOzb6ORS9aJt0xt67gs9yjscDBX2sg+S5kRH8foMIMWmD9+cb+JqsJx8pBsHS 3FZNBle21AF/HUnrr1i9ZputOBUoOiJCi9KuGBvs71FHbUE/vY2ealRkavnzd2VMd/2S FPeQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:organization:autocrypt:from :references:cc:to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=fyzXUOOEL+zRBN6qGMyB6wL+dhZyv/h6QB3vjt39SE8=; fh=wAdsK7/rbNIvyg0rpA02ooP4zk3HWIclVFXktlrsJVk=; b=EmKb2/xHbJgnGTJXCMdkX9RDPD9pptBvNnCYYrgYXF+pYD7pur42CgjI0CnCnVKPwN 45XcqWzXfQPD41kUNhPux5IIYqOnMD0rlUKMdjam5fYdKaIqHfzN/+M2tii0ULN3XuFq ElRnw+233qqbHfti5QhbFVZB5hci58nSovkbVKk5yBlPurerACMUOjoWPU1KmJGNUxOa FBMQjzgUTQJy1E5PY5gh+6qaDD0ADdmS5dtg1bV83/z3di8Y7dVfUrnFfvRO8h2++vrU HbbZPicFIfmC9A+mP6f8TAOfhPUajBT9ILJXtET40jHxhnjXThuwH/pNuz/mbySKkIIe xyrw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=Q6zTZRse; arc=pass (i=1 dkim=pass dkdomain=canonical.com); spf=pass (google.com: domain of linux-kernel+bounces-27653-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27653-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id i5-20020a6561a5000000b005c6deead022si11619188pgv.603.2024.01.16.10.32.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 10:32:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-27653-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=Q6zTZRse; arc=pass (i=1 dkim=pass dkdomain=canonical.com); spf=pass (google.com: domain of linux-kernel+bounces-27653-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27653-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.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 834D2287038 for ; Tue, 16 Jan 2024 18:10:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2016C1CD2C; Tue, 16 Jan 2024 18:10:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=canonical.com header.i=@canonical.com header.b="Q6zTZRse" Received: from smtp-relay-canonical-0.canonical.com (smtp-relay-canonical-0.canonical.com [185.125.188.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AFBE11CD14; Tue, 16 Jan 2024 18:10:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canonical.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canonical.com Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.125.188.120 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705428625; cv=none; b=ZSQF6qTzqD7QMGU1r1c6T2nr65qeogWwbfomUmuYnrH6cpiHfY/RpQodJ1YaNrMUg77X/uTdTlMGdsOdrO7jewMY4+xZPkqBQVVCef7zykkZnsDAGdVMOW2Q5JhSqXGcW9RiDxTsLVkbilFwYmKvTekinhTf6JB7JeupwzB59+o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705428625; c=relaxed/simple; bh=HKMeSq1CvvR0ifd7kUvkbyWIGnf9TiWo23dGO2t6Rfo=; h=Received:DKIM-Signature:Message-ID:Date:MIME-Version:User-Agent: Subject:Content-Language:To:Cc:References:From:Autocrypt: Organization:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=MPoORMJYH0RGy7gu277Rw3I3FoUXmYn72sooQ+RP3/nfJEIgks3K504M6tb3tOfwq5Uysx9bGLnMqKEec1LYb27kPhDj2v7NxwrH8daMKKWPwuhCW4KM6zyI7s0CwwntM8ii/0J0yJVK/SMfK7ShCPGolc60hfDnuXZzry81h5g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=canonical.com header.i=@canonical.com header.b=Q6zTZRse; arc=none smtp.client-ip=185.125.188.120 Received: from [192.168.192.85] (unknown [50.39.103.33]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPSA id 8B76D3F2D0; Tue, 16 Jan 2024 18:10:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1705428614; bh=fyzXUOOEL+zRBN6qGMyB6wL+dhZyv/h6QB3vjt39SE8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Q6zTZRseRHutC7xlc7sTWoVotqFPaJ+nTKa0Us8pWOCACIE6GJE7Y6tBUIV/9DS9y 9g0hYGxsIrnFBl0yPlxAZOYqUJT3TOZ13VwbQWN6AOVtgQf16n+yKToRw5d5bXvToJ uHpf197MOKXmjdaW6KkVn7hiTmZzP0Gloz7iTFTW2jUNpwX06SN228nqF67ejCWgLx Tu90GgBlHEr6VT7Ru50+Ee2e/49lrwglJikniuldFXpucJpLVBm+egxlAQ4zpDZrC7 tUc7N9RsSozlIVrfhhOEFynk7oYPZMSfDNu5SvacJ2SyPDBg7d4Y5l2fyMrEppsojo E3m6nIHb5nwag== Message-ID: Date: Tue, 16 Jan 2024 10:10:03 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird 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 Autocrypt: addr=john.johansen@canonical.com; keydata= xsFNBE5mrPoBEADAk19PsgVgBKkImmR2isPQ6o7KJhTTKjJdwVbkWSnNn+o6Up5knKP1f49E BQlceWg1yp/NwbR8ad+eSEO/uma/K+PqWvBptKC9SWD97FG4uB4/caomLEU97sLQMtnvGWdx rxVRGM4anzWYMgzz5TZmIiVTZ43Ou5VpaS1Vz1ZSxP3h/xKNZr/TcW5WQai8u3PWV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vRJzPEEyujduesuGy a+O6dNgi+ywFm0HhpUmO4sgs9SWeEWprt9tWrRlCNuJX+u3aMEQ12b2lslnoaOelghwBs8IJ r998vj9JBFJgdeiEaKJLjLmMFOYrmW197As7DTZ+R7Ef4gkWusYFcNKDqfZKDGef740Xfh9d yb2mJrDeYqwgKb7SF02Hhp8ZnohZXw8ba16ihUOnh1iKH77Ff9dLzMEJzU73DifOU/aArOWp JZuGJamJ9EkEVrha0B4lN1dh3fuP8EjhFZaGfLDtoA80aPffK0Yc1R/pGjb+O2Pi0XXL9AVe qMkb/AaOl21F9u1SOosciy98800mr/3nynvid0AKJ2VZIfOP46nboqlsWebA07SmyJSyeG8c XA87+8BuXdGxHn7RGj6G+zZwSZC6/2v9sOUJ+nOna3dwr6uHFSqKw7HwNl/PUGeRqgJEVu++ +T7sv9+iY+e0Y+SolyJgTxMYeRnDWE6S77g6gzYYHmcQOWP7ZMX+MtD4SKlf0+Q8li/F9GUL p0rw8op9f0p1+YAhyAd+dXWNKf7zIfZ2ME+0qKpbQnr1oizLHuJX/Telo8KMmHter28DPJ03 lT9Q Organization: Canonical In-Reply-To: <20230612093537.536441207@infradead.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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) Acked-by: John Johansen > --- > 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); \ > >