projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
usblp: do not set TASK_INTERRUPTIBLE before lock
[cascardo/linux.git]
/
kernel
/
audit_tree.c
diff --git
a/kernel/audit_tree.c
b/kernel/audit_tree.c
index
94ecdab
..
5efe9b2
100644
(file)
--- a/
kernel/audit_tree.c
+++ b/
kernel/audit_tree.c
@@
-197,13
+197,13
@@
struct audit_chunk *audit_tree_lookup(const struct inode *inode)
return NULL;
}
return NULL;
}
-
int
audit_tree_match(struct audit_chunk *chunk, struct audit_tree *tree)
+
bool
audit_tree_match(struct audit_chunk *chunk, struct audit_tree *tree)
{
int n;
for (n = 0; n < chunk->count; n++)
if (chunk->owners[n].owner == tree)
{
int n;
for (n = 0; n < chunk->count; n++)
if (chunk->owners[n].owner == tree)
- return
1
;
- return
0
;
+ return
true
;
+ return
false
;
}
/* tagging and untagging inodes with trees */
}
/* tagging and untagging inodes with trees */