diff options
author | James Morris <james.l.morris@oracle.com> | 2014-07-24 21:36:19 +1000 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2014-07-24 21:36:19 +1000 |
commit | 4ca332e11df42604e784bd7da9e483160636d05e (patch) | |
tree | 82e6ba6dff978edc2132e751c19197de50218c7e /security/integrity/integrity.h | |
parent | 6d6f3328422a3bc56b0d8dd026a5de845d2abfa7 (diff) | |
parent | 633706a2ee81637be37b6bc02c5336950cc163b5 (diff) | |
download | linux-4ca332e11df42604e784bd7da9e483160636d05e.tar.bz2 |
Merge tag 'keys-next-20140722' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs into next
Diffstat (limited to 'security/integrity/integrity.h')
-rw-r--r-- | security/integrity/integrity.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/security/integrity/integrity.h b/security/integrity/integrity.h index 33c0a70f6b15..09c440d9aaee 100644 --- a/security/integrity/integrity.h +++ b/security/integrity/integrity.h @@ -124,6 +124,7 @@ struct integrity_iint_cache *integrity_iint_find(struct inode *inode); int integrity_digsig_verify(const unsigned int id, const char *sig, int siglen, const char *digest, int digestlen); +int integrity_init_keyring(const unsigned int id); #else static inline int integrity_digsig_verify(const unsigned int id, @@ -133,6 +134,10 @@ static inline int integrity_digsig_verify(const unsigned int id, return -EOPNOTSUPP; } +static inline int integrity_init_keyring(const unsigned int id) +{ + return 0; +} #endif /* CONFIG_INTEGRITY_SIGNATURE */ #ifdef CONFIG_INTEGRITY_ASYMMETRIC_KEYS |