mbox series

[GIT,PULL] KEYS: fixes for v5.1

Message ID alpine.LRH.2.21.1902160914180.4453@namei.org (mailing list archive)
State New, archived
Headers show
Series [GIT,PULL] KEYS: fixes for v5.1 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git fixes-v5.1-rc6

Message

James Morris Feb. 15, 2019, 10:16 p.m. UTC
Hi Linus,

Please pull these fixes for the Keys subsystem.

From David Howells:

" (1) Handle quotas better, allowing full quota to be reached.

 (2) Fix the creation of shortcuts in the assoc_array internal
     representation when the index key needs to be an exact multiple of the
     machine word size.

 (3) Fix a dependency loop between the request_key contruction record and
     the request_key authentication key.  The construction record isn't
     really necessary and can be dispensed with.

 (4) Set the timestamp on a new key rather than leaving it as 0.  This
     would ordinarily be fine - provided the system clock is never set to a
     time before 1970."

---

The following changes since commit 5ded5871030eb75017639148da0a58931dfbfc25:

  Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi (2019-02-15 13:36:43 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git fixes-v5.1-rc6

for you to fetch changes up to 7c1857bdbdf1e4c541e45eab477ee23ed4333ea4:

  keys: Timestamp new keys (2019-02-15 14:12:09 -0800)

----------------------------------------------------------------
David Howells (3):
      assoc_array: Fix shortcut creation
      keys: Fix dependency loop between construction record and auth key
      keys: Timestamp new keys

Eric Biggers (1):
      KEYS: allow reaching the keys quotas exactly

 fs/nfs/nfs4idmap.c                   | 31 +++++++++-------
 include/keys/request_key_auth-type.h | 36 ++++++++++++++++++
 include/linux/key-type.h             | 22 +++--------
 lib/assoc_array.c                    |  8 ++--
 security/keys/internal.h             | 13 +------
 security/keys/key.c                  |  5 ++-
 security/keys/keyctl.c               |  1 +
 security/keys/process_keys.c         |  1 +
 security/keys/request_key.c          | 72 +++++++++++++++---------------------
 security/keys/request_key_auth.c     | 16 ++++----
 10 files changed, 108 insertions(+), 97 deletions(-)
 create mode 100644 include/keys/request_key_auth-type.h

Comments

Linus Torvalds Feb. 17, 2019, 1:46 a.m. UTC | #1
On Fri, Feb 15, 2019 at 2:16 PM James Morris <jmorris@namei.org> wrote:
>
> Please pull these fixes for the Keys subsystem.

For 5.0 or early pull request for 5.1? The subject says 5.1..

             Linus
James Morris Feb. 19, 2019, 7:06 p.m. UTC | #2
On Sat, 16 Feb 2019, Linus Torvalds wrote:

> On Fri, Feb 15, 2019 at 2:16 PM James Morris <jmorris@namei.org> wrote:
> >
> > Please pull these fixes for the Keys subsystem.
> 
> For 5.0 or early pull request for 5.1? The subject says 5.1..

Sorry, it's for current -rc.
pr-tracker-bot@kernel.org Feb. 20, 2019, 5:50 p.m. UTC | #3
The pull request you sent on Sat, 16 Feb 2019 09:16:00 +1100 (AEDT):

> git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git fixes-v5.1-rc6

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/1f5a018c5b15c2e3e519ae8ca9bfb03a00384448

Thank you!