[GIT PULL] apparmor updates for v4.15

From: John Johansen
Date: Tue Nov 21 2017 - 12:08:05 EST


Hi,

No features this time, just minor cleanups and bug fixes.

Please pull these apparmor changes for v4.15

Thanks!

- John


The following changes since commit 0b07194bb55ed836c2cc7c22e866b87a14681984:

Linux 4.14-rc7 (2017-10-29 13:58:38 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparmor tags/apparmor-pr-2017-11-21

for you to fetch changes up to feb3c766a3ab32d233aaff7db13afd9ba5bc142d:

apparmor: fix possible recursive lock warning in __aa_create_ns (2017-11-21 02:17:16 -0800)

----------------------------------------------------------------
+ Cleanups
- apparmor: fix spelling mistake: "resoure" -> "resource"
- apparmor: remove unused redundant variable stop
- apparmor: Fix bool initialization/comparison

+ Bug Fixes
- apparmor: initialized returned struct aa_perms
- apparmor: fix leak of null profile name if profile allocation fails
- apparmor: ensure that undecidable profile attachments fail
- apparmor: fix profile attachment for special unconfined profiles
- apparmor: fix locking when creating a new complain profile.
- apparmor: fix possible recursive lock warning in __aa_create_ns

----------------------------------------------------------------
Arnd Bergmann (1):
apparmor: initialized returned struct aa_perms

Colin Ian King (2):
apparmor: fix spelling mistake: "resoure" -> "resource"
apparmor: remove unused redundant variable stop

John Johansen (5):
apparmor: fix leak of null profile name if profile allocation fails
apparmor: ensure that undecidable profile attachments fail
apparmor: fix profile attachment for special unconfined profiles
apparmor: fix locking when creating a new complain profile.
apparmor: fix possible recursive lock warning in __aa_create_ns

Thomas Meyer (1):
apparmor: Fix bool initialization/comparison

security/apparmor/apparmorfs.c | 22 ++++++-------
security/apparmor/domain.c | 68 ++++++++++++++++++++++++++++-----------
security/apparmor/file.c | 8 +----
security/apparmor/label.c | 2 +-
security/apparmor/lib.c | 16 +++------
security/apparmor/lsm.c | 8 ++---
security/apparmor/mount.c | 13 ++++----
security/apparmor/policy.c | 11 ++++---
security/apparmor/policy_ns.c | 8 ++---
security/apparmor/policy_unpack.c | 2 +-
security/apparmor/resource.c | 4 +--
11 files changed, 91 insertions(+), 71 deletions(-)

Attachment: signature.asc
Description: OpenPGP digital signature