linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] Keys: Set 1 - Miscellany for 5.3
@ 2019-07-05 21:03 David Howells
  2019-07-09  3:15 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: David Howells @ 2019-07-05 21:03 UTC (permalink / raw)
  To: torvalds; +Cc: dhowells, jmorris, keyrings, linux-security-module, linux-kernel

Hi Linus,

Here's my first block of keyrings changes for the next merge window.  I've
divided up the set into four blocks, but they need to be applied in order
as they would otherwise conflict with each other.

These are some miscellaneous keyrings fixes and improvements:

 (1) Fix a bunch of warnings from sparse, including missing RCU bits and
     kdoc-function argument mismatches

 (2) Implement a keyctl to allow a key to be moved from one keyring to
     another, with the option of prohibiting key replacement in the
     destination keyring.

 (3) Grant Link permission to possessors of request_key_auth tokens so that
     upcall servicing daemons can more easily arrange things such that only
     the necessary auth key is passed to the actual service program, and
     not all the auth keys a daemon might possesss.

 (4) Improvement in lookup_user_key().

 (5) Implement a keyctl to allow keyrings subsystem capabilities to be
     queried.

The keyutils next branch has commits to make available, document and test
the move-key and capabilities code:

	https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/log

They're currently on the 'next' branch.

David
---
The following changes since commit a188339ca5a396acc588e5851ed7e19f66b0ebd9:

  Linux 5.2-rc1 (2019-05-19 15:47:09 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git tags/keys-misc-20190619

for you to fetch changes up to 45e0f30c30bb131663fbe1752974d6f2e39611e2:

  keys: Add capability-checking keyctl function (2019-06-19 13:27:45 +0100)

----------------------------------------------------------------
Keyrings miscellany

----------------------------------------------------------------
David Howells (9):
      keys: sparse: Fix key_fs[ug]id_changed()
      keys: sparse: Fix incorrect RCU accesses
      keys: sparse: Fix kdoc mismatches
      keys: Change keyring_serialise_link_sem to a mutex
      keys: Break bits out of key_unlink()
      keys: Hoist locking out of __key_link_begin()
      keys: Add a keyctl to move a key between keyrings
      keys: Grant Link permission to possessers of request_key auth keys
      keys: Add capability-checking keyctl function

Eric Biggers (1):
      keys: Reuse keyring_index_key::desc_len in lookup_user_key()

 Documentation/security/keys/core.rst |  21 +++
 include/linux/key.h                  |  13 +-
 include/uapi/linux/keyctl.h          |  17 +++
 kernel/cred.c                        |   4 +-
 security/keys/compat.c               |   6 +
 security/keys/internal.h             |   7 +
 security/keys/key.c                  |  27 +++-
 security/keys/keyctl.c               |  90 +++++++++++-
 security/keys/keyring.c              | 278 ++++++++++++++++++++++++++++-------
 security/keys/process_keys.c         |  26 ++--
 security/keys/request_key.c          |   9 +-
 security/keys/request_key_auth.c     |   4 +-
 12 files changed, 418 insertions(+), 84 deletions(-)

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

* Re: [GIT PULL] Keys: Set 1 - Miscellany for 5.3
  2019-07-05 21:03 [GIT PULL] Keys: Set 1 - Miscellany for 5.3 David Howells
@ 2019-07-09  3:15 ` pr-tracker-bot
  0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2019-07-09  3:15 UTC (permalink / raw)
  To: David Howells
  Cc: torvalds, dhowells, jmorris, keyrings, linux-security-module,
	linux-kernel

The pull request you sent on Fri, 05 Jul 2019 22:03:39 +0100:

> git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git tags/keys-misc-20190619

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/504b69eb3c95180bc59f1ae9096ad4b10bbbf254

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker

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

end of thread, other threads:[~2019-07-09  3:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-05 21:03 [GIT PULL] Keys: Set 1 - Miscellany for 5.3 David Howells
2019-07-09  3:15 ` pr-tracker-bot

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