BACKPORT: LSM: Introduce security hook calling Macros
authorCasey Schaufler <casey@schaufler-ca.com>
Sat, 2 May 2015 22:11:29 +0000 (15:11 -0700)
committerRafal Krypa <r.krypa@samsung.com>
Mon, 21 Nov 2016 16:02:00 +0000 (17:02 +0100)
commit189176f60ac57162833084e4399fbc8774e05c75
tree6ed96cd0ffbf63f8b1f66db3e9a000f5ff3825f0
parent636b021450140c96b47d59ea2137fc3a22da42e8
BACKPORT: LSM: Introduce security hook calling Macros

Introduce two macros around calling the functions in the
security operations vector. The marco versions here do not
change any behavior.

Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Acked-by: John Johansen <john.johansen@canonical.com>
Acked-by: Kees Cook <keescook@chromium.org>
Acked-by: Paul Moore <paul@paul-moore.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Acked-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <james.l.morris@oracle.com>
(cherry-picked from upstream f25fce3e8f1f15d6d2a22620ebf98a68a4641f06)
security/security.c