BACKPORT: LSM: Split security.h
authorCasey Schaufler <casey@schaufler-ca.com>
Sat, 2 May 2015 22:10:46 +0000 (15:10 -0700)
committerRafal Krypa <r.krypa@samsung.com>
Mon, 21 Nov 2016 16:01:59 +0000 (17:01 +0100)
commitfeac470ea26f0ce0127dcc12c16783c7a9ee8c78
tree5dbeeb32671c771eba68a56dc2fd6243c5153bd5
parentad0ed451dd79cc6119cd8c13e49e278acb282775
BACKPORT: LSM: Split security.h

The security.h header file serves two purposes,
interfaces for users of the security modules and
interfaces for security modules. Users of the
security modules don't need to know about what's
in the security_operations structure, so pull it
out into it's own header, lsm_hooks.h

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 3c4ed7bdf5997d8020cbb8d4abbef2fcfb9f1284)
include/linux/lsm_hooks.h [new file with mode: 0644]
include/linux/security.h
security/apparmor/lsm.c
security/capability.c
security/security.c
security/selinux/hooks.c
security/smack/smack.h
security/tomoyo/tomoyo.c
security/yama/yama_lsm.c