Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 264496
b: refs/heads/master
c: 5a4730b
h: refs/heads/master
v: v3
  • Loading branch information
Mimi Zohar authored and James Morris committed Aug 11, 2011
1 parent 6345d52 commit ffc6f8b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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: e1c9b23adbe86c725738402857397d7a29f9d6ef
refs/heads/master: 5a4730ba9517cf2793175991243436a24b1db18f
2 changes: 1 addition & 1 deletion trunk/include/linux/evm.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ static inline int evm_inode_init_security(struct inode *inode,
const struct xattr *xattr_array,
struct xattr *evm)
{
return -EOPNOTSUPP;
return 0;
}

#endif /* CONFIG_EVM_H */
Expand Down
2 changes: 1 addition & 1 deletion trunk/security/integrity/evm/evm_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ int evm_inode_init_security(struct inode *inode,
int rc;

if (!evm_initialized || !evm_protected_xattr(lsm_xattr->name))
return -EOPNOTSUPP;
return 0;

xattr_data = kzalloc(sizeof(*xattr_data), GFP_NOFS);
if (!xattr_data)
Expand Down

0 comments on commit ffc6f8b

Please sign in to comment.