LSM: Split security.h
authorCasey Schaufler <casey@schaufler-ca.com>
Sat, 2 May 2015 22:10:46 +0000 (15:10 -0700)
committerJames Morris <james.l.morris@oracle.com>
Tue, 12 May 2015 05:00:16 +0000 (15:00 +1000)
commit3c4ed7bdf5997d8020cbb8d4abbef2fcfb9f1284
tree6137d6577f72d7f15b2693b44a973bc94cad1b6e
parentb787f68c36d49bb1d9236f403813641efa74a031
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>
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