From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 D8CC938F90 for ; Wed, 27 Sep 2023 15:33:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D42A7C433C7; Wed, 27 Sep 2023 15:33:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1695828807; bh=JiQClH+wrT5+gpdkMYYCI4fuk08UiSBAjezXUD3crFQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mssSikQWBmYELpuZ9obsEimc2JhsPBI7oC0bpkyGVowZ0lU3o7cLAi1WdE8+eMhtc BKtgNaIcqX0PCpffM+euv1Z+f8HXclZ3V/qTSHCVEbj0geZyFHkZ2gYlOIKvWy8bE9 RzQAcm4LiV9nX1FB8WXA8LcssMCzofg3q30i5oI0= Date: Wed, 27 Sep 2023 17:33:24 +0200 From: Greg KH To: Tetsuo Handa Cc: linux-security-module , Casey Schaufler , KP Singh , Paul Moore , bpf , Kees Cook , Linus Torvalds Subject: Re: [RFC PATCH 1/2] LSM: Allow dynamically appendable LSM modules. Message-ID: <2023092740-psychic-debating-da77@gregkh> References: Precedence: bulk X-Mailing-List: bpf@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Thu, Sep 28, 2023 at 12:08:47AM +0900, Tetsuo Handa wrote: > +extern int register_loadable_lsm(struct security_hook_list *hooks, int count, > + const char *lsm); naming nit, this should be "noun_verb" where ever possible to make it easier to handle global symbols. So "lsm_register()" perhaps? thanks, greg k-h