diff options
| author | Takashi Iwai <tiwai@suse.de> | 2012-05-21 12:45:18 +0200 | 
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2012-05-21 12:45:18 +0200 | 
| commit | 775b2449bdba7c97dda9f274c92bf7a83dac4142 (patch) | |
| tree | b4bee45c13762ea93642b1e38c62de454e51cf5d /security/apparmor/include/audit.h | |
| parent | 21363cf0ca5c9c62e34e37422fb1d13d70d3de3c (diff) | |
| parent | 5fb86e5d4a951ddb0474cdfd809380c8e2a8d101 (diff) | |
| download | olio-linux-3.10-775b2449bdba7c97dda9f274c92bf7a83dac4142.tar.xz olio-linux-3.10-775b2449bdba7c97dda9f274c92bf7a83dac4142.zip  | |
Merge branch 'topic/asoc' into for-linus
Diffstat (limited to 'security/apparmor/include/audit.h')
| -rw-r--r-- | security/apparmor/include/audit.h | 28 | 
1 files changed, 27 insertions, 1 deletions
diff --git a/security/apparmor/include/audit.h b/security/apparmor/include/audit.h index 4ba78c203af..3868b1e5d5b 100644 --- a/security/apparmor/include/audit.h +++ b/security/apparmor/include/audit.h @@ -103,7 +103,33 @@ enum aa_ops {  }; -/* define a short hand for apparmor_audit_data portion of common_audit_data */ +struct apparmor_audit_data { +	int error; +	int op; +	int type; +	void *profile; +	const char *name; +	const char *info; +	union { +		void *target; +		struct { +			long pos; +			void *target; +		} iface; +		struct { +			int rlim; +			unsigned long max; +		} rlim; +		struct { +			const char *target; +			u32 request; +			u32 denied; +			uid_t ouid; +		} fs; +	}; +}; + +/* define a short hand for apparmor_audit_data structure */  #define aad apparmor_audit_data  void aa_audit_msg(int type, struct common_audit_data *sa,  |