diff options
author | Casey Schaufler <casey@schaufler-ca.com> | 2018-11-20 22:55:02 +0300 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2019-01-09 00:18:45 +0300 |
commit | ecd5f82e05ddd9b06c258167ec7467ac79741d77 (patch) | |
tree | 9cefea64fc40202a284fcb07ecf50f871f7562b0 /include/linux | |
parent | 019bcca4626a9ed119e1d9ebfadb9fdbdcf9b35b (diff) | |
download | linux-ecd5f82e05ddd9b06c258167ec7467ac79741d77.tar.xz |
LSM: Infrastructure management of the ipc security blob
Move management of the kern_ipc_perm->security and
msg_msg->security blobs out of the individual security
modules and into the security infrastructure. Instead
of allocating the blobs from within the modules the modules
tell the infrastructure how much space is required, and
the space is allocated there.
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
[kees: adjusted for ordered init series]
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/lsm_hooks.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/lsm_hooks.h b/include/linux/lsm_hooks.h index 9b39fefa88c4..40511a8a5ae6 100644 --- a/include/linux/lsm_hooks.h +++ b/include/linux/lsm_hooks.h @@ -2034,6 +2034,8 @@ struct lsm_blob_sizes { int lbs_cred; int lbs_file; int lbs_inode; + int lbs_ipc; + int lbs_msg_msg; int lbs_task; }; |