|
@@ -228,7 +228,7 @@ static int audit_match_signal(struct audit_entry *entry)
|
|
#endif
|
|
#endif
|
|
|
|
|
|
/* Common user-space to kernel rule translation. */
|
|
/* Common user-space to kernel rule translation. */
|
|
-static inline struct audit_entry *audit_to_entry_common(struct audit_rule *rule)
|
|
|
|
|
|
+static inline struct audit_entry *audit_to_entry_common(struct audit_rule_data *rule)
|
|
{
|
|
{
|
|
unsigned listnr;
|
|
unsigned listnr;
|
|
struct audit_entry *entry;
|
|
struct audit_entry *entry;
|
|
@@ -405,7 +405,7 @@ static struct audit_entry *audit_data_to_entry(struct audit_rule_data *data,
|
|
int i;
|
|
int i;
|
|
char *str;
|
|
char *str;
|
|
|
|
|
|
- entry = audit_to_entry_common((struct audit_rule *)data);
|
|
|
|
|
|
+ entry = audit_to_entry_common(data);
|
|
if (IS_ERR(entry))
|
|
if (IS_ERR(entry))
|
|
goto exit_nofree;
|
|
goto exit_nofree;
|
|
|
|
|