Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
audit.h
Go to the documentation of this file.
1 /*
2  * SELinux support for the Audit LSM hooks
3  *
4  * Most of below header was moved from include/linux/selinux.h which
5  * is released under below copyrights:
6  *
7  * Author: James Morris <[email protected]>
8  *
9  * Copyright (C) 2005 Red Hat, Inc., James Morris <[email protected]>
10  * Copyright (C) 2006 Trusted Computer Solutions, Inc. <[email protected]>
11  * Copyright (C) 2006 IBM Corporation, Timothy R. Chavez <[email protected]>
12  *
13  * This program is free software; you can redistribute it and/or modify
14  * it under the terms of the GNU General Public License version 2,
15  * as published by the Free Software Foundation.
16  */
17 
18 #ifndef _SELINUX_AUDIT_H
19 #define _SELINUX_AUDIT_H
20 
32 int selinux_audit_rule_init(u32 field, u32 op, char *rulestr, void **rule);
33 
41 void selinux_audit_rule_free(void *rule);
42 
55  struct audit_context *actx);
56 
62 int selinux_audit_rule_known(struct audit_krule *krule);
63 
64 #endif /* _SELINUX_AUDIT_H */
65