X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=kernel%2Faudit.h;h=a3370232a390eff1560b0f98c1e4ebd8f18948f6;hp=8323e4132a3308fe2d679eeb167c6c9b9f86a830;hb=e86070c83e9110e89800274385c013db602b1444;hpb=dbe1ab9514c231c9b062140a107d9dea0eabefcc diff --git a/kernel/audit.h b/kernel/audit.h index 8323e4132a33..a3370232a390 100644 --- a/kernel/audit.h +++ b/kernel/audit.h @@ -81,6 +81,7 @@ struct audit_krule { u32 mask[AUDIT_BITMASK_SIZE]; u32 buflen; /* for data alloc on list rules */ u32 field_count; + char *filterkey; /* ties events to rules */ struct audit_field *fields; struct audit_field *inode_f; /* quick access to an inode field */ struct audit_watch *watch; /* associated watch */ @@ -103,6 +104,7 @@ static inline int audit_hash_ino(u32 ino) return (ino & (AUDIT_INODE_BUCKETS-1)); } +extern int audit_match_class(int class, unsigned syscall); extern int audit_comparator(const u32 left, const u32 op, const u32 right); extern int audit_compare_dname_path(const char *dname, const char *path, int *dirlen);