linux-integrity.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v0 0/1] KEYS: LSM Hook for key_create_or_update
@ 2019-10-15 23:17 Lakshmi Ramasubramanian
  2019-10-15 23:17 ` [PATCH v0 1/1] " Lakshmi Ramasubramanian
  0 siblings, 1 reply; 5+ messages in thread
From: Lakshmi Ramasubramanian @ 2019-10-15 23:17 UTC (permalink / raw)
  To: linux-integrity, zohar, sashal, jamorris, kgoldman, mjg59,
	dhowells
  Cc: balajib, prsriva, jorhand, patatash

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-10-16 16:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-15 23:17 [PATCH v0 0/1] KEYS: LSM Hook for key_create_or_update Lakshmi Ramasubramanian
2019-10-15 23:17 ` [PATCH v0 1/1] " Lakshmi Ramasubramanian
2019-10-16  0:30   ` Mimi Zohar
2019-10-16 15:04     ` Lakshmi Ramasubramanian
2019-10-16 16:41   ` James Morris

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).