Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | audit_entry |
struct | audit_netlink_list |
Macros | |
#define | AUDIT_DEBUG 0 |
#define | AUDIT_INODE_BUCKETS 32 |
#define | AUDIT_NAME_FULL -1 |
#define | audit_put_watch(w) {} |
#define | audit_get_watch(w) {} |
#define | audit_to_watch(k, p, l, o) (-EINVAL) |
#define | audit_add_watch(k, l) (-EINVAL) |
#define | audit_remove_watch_rule(k) BUG() |
#define | audit_watch_path(w) "" |
#define | audit_watch_compare(w, i, d) 0 |
#define | audit_remove_tree_rule(rule) BUG() |
#define | audit_add_tree_rule(rule) -EINVAL |
#define | audit_make_tree(rule, str, op) -EINVAL |
#define | audit_trim_trees() (void)0 |
#define | audit_put_tree(tree) (void)0 |
#define | audit_tag_tree(old, new) -EINVAL |
#define | audit_tree_path(rule) "" /* never called */ |
#define | audit_kill_trees(list) BUG() |
#define | audit_signal_info(s, t) AUDIT_DISABLED |
#define | audit_filter_inodes(t, c) AUDIT_DISABLED |
Enumerations | |
enum | audit_state { AUDIT_DISABLED, AUDIT_BUILD_CONTEXT, AUDIT_RECORD_CONTEXT } |
Functions | |
int | audit_match_class (int class, unsigned syscall) |
int | audit_comparator (const u32 left, const u32 op, const u32 right) |
int | audit_uid_comparator (kuid_t left, u32 op, kuid_t right) |
int | audit_gid_comparator (kgid_t left, u32 op, kgid_t right) |
int | parent_len (const char *path) |
int | audit_compare_dname_path (const char *dname, const char *path, int plen) |
struct sk_buff * | audit_make_reply (int pid, int seq, int type, int done, int multi, const void *payload, int size) |
void | audit_panic (const char *message) |
int | audit_send_list (void *) |
int | selinux_audit_rule_update (void) |
void | audit_free_rule_rcu (struct rcu_head *) |
struct audit_entry * | audit_dupe_rule (struct audit_krule *old) |
char * | audit_unpack_string (void **, size_t *, size_t) |
#define audit_filter_inodes | ( | t, | |
c | |||
) | AUDIT_DISABLED |
#define audit_signal_info | ( | s, | |
t | |||
) | AUDIT_DISABLED |
enum audit_state |
Definition at line 1230 of file auditfilter.c.
audit_compare_dname_path - compare given dentry name with last component in given path. Return of 0 indicates a match. : dentry name that we're comparing : full pathname that we're comparing : length of the parent if known. Passing in AUDIT_NAME_FULL here indicates that we must compute this value.
Definition at line 1339 of file auditfilter.c.
|
read |
Definition at line 810 of file auditfilter.c.
Definition at line 89 of file auditfilter.c.
Definition at line 1278 of file auditfilter.c.
Definition at line 178 of file auditfilter.c.
Definition at line 1255 of file auditfilter.c.
Definition at line 117 of file auditfilter.c.
parent_len - find the length of the parent portion of a pathname : pathname of which to determine length
Definition at line 1305 of file auditfilter.c.
Definition at line 48 of file auditfilter.c.
struct list_head audit_inode_hash[AUDIT_INODE_BUCKETS] |