]> git.baikalelectronics.ru Git - kernel.git/commit
Merge tag 'selinux-pr-20180530' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 May 2018 21:35:07 +0000 (16:35 -0500)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 May 2018 21:35:07 +0000 (16:35 -0500)
commitbfa9c1918a6472ded0a78c08c33934c2ab342ebf
tree0f41a7d08f725701203530978b6180d6cb340ea7
parentad4c35aa1e5e1b815a238057690346b27f976896
parent893f59a140d22a9f0fc18ae741f3d1f882e05995
Merge tag 'selinux-pr-20180530' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux

Pull SELinux fix from Paul Moore:
 "One more small fix for SELinux: a small string length fix found by
  KASAN.

  I dislike sending patches this late in the release cycle, but this
  patch fixes a legitimate problem, is very small, limited in scope, and
  well understood.

  There are two threads with more information on the problem, the latest
  is linked below:

    https://marc.info/?t=152723737400001&r=1&w=2

  Stephen points out in the thread linked above:

   'Such a setxattr() call can only be performed by a process with
    CAP_MAC_ADMIN that is also allowed mac_admin permission in SELinux
    policy. Consequently, this is never possible on Android (no process
    is allowed mac_admin permission, always enforcing) and is only
    possible in Fedora/RHEL for a few domains (if enforcing)'"

* tag 'selinux-pr-20180530' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux:
  selinux: KASAN: slab-out-of-bounds in xattr_getsecurity