[PATCH v3 14/16] LSM: Infrastructure management of the task security blob
Kees Cook
keescook at chromium.org
Thu Sep 20 17:39:26 UTC 2018
On Wed, Sep 19, 2018 at 5:21 PM, Casey Schaufler <casey at schaufler-ca.com> wrote:
> diff --git a/security/security.c b/security/security.c
> index 2501cdcbebff..7e11de7eec21 100644
> --- a/security/security.c
> +++ b/security/security.c
> @@ -116,7 +116,8 @@ int __init security_init(void)
> #ifdef CONFIG_SECURITY_LSM_DEBUG
> pr_info("LSM: cred blob size = %d\n", blob_sizes.lbs_cred);
> pr_info("LSM: file blob size = %d\n", blob_sizes.lbs_file);
> - pr_info("LSM: inode blob size = %d\n", blob_sizes.lbs_inode);
> + pr_info("LSM: inode blob size = %d\n", blob_sizes.lbs_inode);
> + pr_info("LSM: task blob size = %d\n", blob_sizes.lbs_task);
> #endif
This alignment adjustment should be moved to the patch that adds the inode line.
(And this patch might want to mention it is changing the only task
blob user, AppArmor, or split that out into a separate patch.)
-Kees
--
Kees Cook
Pixel Security
More information about the Linux-security-module-archive
mailing list