Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 352836
b: refs/heads/master
c: e908056
h: refs/heads/master
v: v3
  • Loading branch information
Dmitry Kasatkin authored and Mimi Zohar committed Jan 16, 2013
1 parent fc1b730 commit 114338e
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 17 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7163a993840f0906d4ce1e3f193575c99dac21e1
refs/heads/master: e90805656d4683f84d360276102ae63adc777a38
1 change: 0 additions & 1 deletion trunk/security/integrity/evm/evm.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,5 @@ extern int evm_calc_hash(struct dentry *dentry, const char *req_xattr_name,
extern int evm_init_hmac(struct inode *inode, const struct xattr *xattr,
char *hmac_val);
extern int evm_init_secfs(void);
extern void evm_cleanup_secfs(void);

#endif
9 changes: 0 additions & 9 deletions trunk/security/integrity/evm/evm_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -427,15 +427,6 @@ static int __init init_evm(void)
return error;
}

static void __exit cleanup_evm(void)
{
evm_cleanup_secfs();
if (hmac_tfm)
crypto_free_shash(hmac_tfm);
if (hash_tfm)
crypto_free_shash(hash_tfm);
}

/*
* evm_display_config - list the EVM protected security extended attributes
*/
Expand Down
6 changes: 0 additions & 6 deletions trunk/security/integrity/evm/evm_secfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,3 @@ int __init evm_init_secfs(void)
error = -EFAULT;
return error;
}

void __exit evm_cleanup_secfs(void)
{
if (evm_init_tpm)
securityfs_remove(evm_init_tpm);
}

0 comments on commit 114338e

Please sign in to comment.