Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 62608
b: refs/heads/master
c: c926e4f
h: refs/heads/master
v: v3
  • Loading branch information
Klaus Weidner authored and Al Viro committed Jul 22, 2007
1 parent 8c00722 commit 4543f65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 5b9a4262232d632c28990fcdf4f36d0e0ade5f18
refs/heads/master: c926e4f432af0f61ac2b9b637fb51a4871a3fc91
2 changes: 1 addition & 1 deletion trunk/kernel/auditfilter.c
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ int __init audit_register_class(int class, unsigned *list)

int audit_match_class(int class, unsigned syscall)
{
if (unlikely(syscall >= AUDIT_BITMASK_SIZE * sizeof(__u32)))
if (unlikely(syscall >= AUDIT_BITMASK_SIZE * 32))
return 0;
if (unlikely(class >= AUDIT_SYSCALL_CLASSES || !classes[class]))
return 0;
Expand Down

0 comments on commit 4543f65

Please sign in to comment.