From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BC221E82CA1 for ; Wed, 27 Sep 2023 15:33:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232464AbjI0Pd3 (ORCPT ); Wed, 27 Sep 2023 11:33:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232431AbjI0Pd2 (ORCPT ); Wed, 27 Sep 2023 11:33:28 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B00E9121 for ; Wed, 27 Sep 2023 08:33:27 -0700 (PDT) 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: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: 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