diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/audit.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/audit.h b/include/linux/audit.h index 4b2983e25ce0..611a59a56f1a 100644 --- a/include/linux/audit.h +++ b/include/linux/audit.h | |||
| @@ -102,6 +102,12 @@ struct filename; | |||
| 102 | 102 | ||
| 103 | extern void audit_log_session_info(struct audit_buffer *ab); | 103 | extern void audit_log_session_info(struct audit_buffer *ab); |
| 104 | 104 | ||
| 105 | #ifdef CONFIG_COMPAT | ||
| 106 | #define audit_is_compat(arch) (!((arch) & __AUDIT_ARCH_64BIT)) | ||
| 107 | #else | ||
| 108 | #define audit_is_compat(arch) false | ||
| 109 | #endif | ||
| 110 | |||
| 105 | #ifdef CONFIG_AUDITSYSCALL | 111 | #ifdef CONFIG_AUDITSYSCALL |
| 106 | /* These are defined in auditsc.c */ | 112 | /* These are defined in auditsc.c */ |
| 107 | /* Public API */ | 113 | /* Public API */ |
