From: Lakshmi Ramasubramanian <nramas@linux.microsoft.com>
To: linux-integrity@vger.kernel.org, zohar@linux.ibm.com,
sashal@kernel.org, jamorris@linux.microsoft.com,
kgoldman@us.ibm.com, mjg59@google.com, dhowells@redhat.com
Cc: balajib@linux.microsoft.com, prsriva@linux.microsoft.com,
jorhand@linux.microsoft.com, patatash@linux.microsoft.com
Subject: [PATCH v0 0/1] KEYS: LSM Hook for key_create_or_update
Date: Tue, 15 Oct 2019 16:17:49 -0700 [thread overview]
Message-ID: <20191015231750.25992-1-nramas@linux.microsoft.com> (raw)
Add a LSM Hook for key_create_or_update function. The motive behind
this change is enable subsystems to receive notification when
a new key is created or updated. IMA will be one of the subsystems
that will use this hook to measure the newly created key.
Lakshmi Ramasubramanian (1):
KEYS: LSM Hook for key_create_or_update
certs/system_keyring.c | 23 +++++++++++++++++++++++
include/keys/system_keyring.h | 4 ++++
include/linux/ima.h | 8 ++++++++
include/linux/lsm_hooks.h | 14 ++++++++++++++
include/linux/security.h | 10 ++++++++++
security/integrity/ima/ima.h | 1 +
security/integrity/ima/ima_main.c | 19 +++++++++++++++++++
security/keys/key.c | 8 ++++++++
security/security.c | 11 +++++++++++
9 files changed, 98 insertions(+)
--
2.17.1
next reply other threads:[~2019-10-15 23:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-15 23:17 Lakshmi Ramasubramanian [this message]
2019-10-15 23:17 ` [PATCH v0 1/1] KEYS: LSM Hook for key_create_or_update Lakshmi Ramasubramanian
2019-10-16 0:30 ` Mimi Zohar
2019-10-16 15:04 ` Lakshmi Ramasubramanian
2019-10-16 16:41 ` James Morris
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=20191015231750.25992-1-nramas@linux.microsoft.com \
--to=nramas@linux.microsoft.com \
--cc=balajib@linux.microsoft.com \
--cc=dhowells@redhat.com \
--cc=jamorris@linux.microsoft.com \
--cc=jorhand@linux.microsoft.com \
--cc=kgoldman@us.ibm.com \
--cc=linux-integrity@vger.kernel.org \
--cc=mjg59@google.com \
--cc=patatash@linux.microsoft.com \
--cc=prsriva@linux.microsoft.com \
--cc=sashal@kernel.org \
--cc=zohar@linux.ibm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.