From: Jonathan Corbet <corbet@lwn.net>
To: Siddharth Menon <simeddon@gmail.com>, linux-doc@vger.kernel.org
Cc: linux-kernel-mentees@lists.linuxfoundation.org,
Siddharth Menon <simeddon@gmail.com>
Subject: Re: [PATCH] Docs: Update LSM/apparmor.rst
Date: Mon, 29 Jul 2024 08:34:16 -0600 [thread overview]
Message-ID: <87zfq0b72v.fsf@trenco.lwn.net> (raw)
In-Reply-To: <20240727043315.36554-1-simeddon@gmail.com>
Hi, Siddharth, thanks for working to make our documentation better!
I do have a few comments, needless to say...:)
First is that you always need to send a patch to the appropriate
maintainers; scripts/get_maintainer.pl will help you there.
Siddharth Menon <simeddon@gmail.com> writes:
> Docs: Update LSM/apparmor.rst
>
> Update AppArmor documentation after deprication of CONFIG_DEFAULT_SECURITY to enable and configuring AppArmor.
Please try to stick to the 80-column limit whenever you can. Also,
"deprecation".
> Signed-off-by: Siddharth Menon <simeddon@gmail.com>
>
> Signed-off-by: Siddharth Menon <simeddon@gmail.com>
> ---
> Documentation/admin-guide/LSM/apparmor.rst | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/admin-guide/LSM/apparmor.rst b/Documentation/admin-guide/LSM/apparmor.rst
> index 6cf81bbd7ce8..f324d750468a 100644
> --- a/Documentation/admin-guide/LSM/apparmor.rst
> +++ b/Documentation/admin-guide/LSM/apparmor.rst
> @@ -18,8 +18,10 @@ set ``CONFIG_SECURITY_APPARMOR=y``
>
> If AppArmor should be selected as the default security module then set::
>
> - CONFIG_DEFAULT_SECURITY="apparmor"
> - CONFIG_SECURITY_APPARMOR_BOOTPARAM_VALUE=1
> + CONFIG_DEFAULT_SECURITY_APPARMOR=y
> +
> +Since kernel 5.0, `CONFIG_SECURITY_APPARMOR_BOOTPARAM_VALUE` is no longer used.
> +Instead, the `CONFIG_LSM` parameter manages the order and selection of LSMs.
The documentation covers the current state of the kernel, so we do not
normally put historical information like that. Best to just describe
how things work now.
Thanks,
jon
prev parent reply other threads:[~2024-07-29 14:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-27 4:33 [PATCH] Docs: Update LSM/apparmor.rst Siddharth Menon
2024-07-29 14:34 ` Jonathan Corbet [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zfq0b72v.fsf@trenco.lwn.net \
--to=corbet@lwn.net \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel-mentees@lists.linuxfoundation.org \
--cc=simeddon@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).