BACKPORT: Make Smack operate on smack_known struct where it still used char*
authorLukasz Pawelczyk <l.pawelczyk@samsung.com>
Fri, 29 Aug 2014 15:02:55 +0000 (17:02 +0200)
committerRafal Krypa <r.krypa@samsung.com>
Thu, 30 Jun 2016 12:57:40 +0000 (14:57 +0200)
commitb86349ff0d7f9d23ba44669623e71ee3b676f2d8
tree2c0ef163236b9388217d8b51aa0132639e47d73a
parentd8a20f740776404d3370d50ede8d661fdff6e30b
BACKPORT: Make Smack operate on smack_known struct where it still used char*

Smack used to use a mix of smack_known struct and char* throughout its
APIs and implementation. This patch unifies the behaviour and makes it
store and operate exclusively on smack_known struct pointers when managing
labels.

Signed-off-by: Lukasz Pawelczyk <l.pawelczyk@samsung.com>
(cherry-picked from upstream 21c7eae21a2100a89cfb8cebaf7b770271f32c6e)
security/smack/smack.h
security/smack/smack_access.c
security/smack/smack_lsm.c
security/smack/smackfs.c