Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7e51aa44 authored by Eric Paris's avatar Eric Paris
Browse files

audit: drop unused struct audit_rule definition



The kernel only uses struct audit_rule_data.  We dropped support for
struct audit_rule a long time ago.  Drop the definition in the header
file.

Signed-off-by: default avatarEric Paris <eparis@redhat.com>
parent 19583ca5
Loading
Loading
Loading
Loading
+0 −13
Original line number Original line Diff line number Diff line
@@ -444,17 +444,4 @@ struct audit_rule_data {
	char		buf[0];	/* string fields buffer */
	char		buf[0];	/* string fields buffer */
};
};


/* audit_rule is supported to maintain backward compatibility with
 * userspace.  It supports integer fields only and corresponds to
 * AUDIT_ADD, AUDIT_DEL and AUDIT_LIST requests.
 */
struct audit_rule {		/* for AUDIT_LIST, AUDIT_ADD, and AUDIT_DEL */
	__u32		flags;	/* AUDIT_PER_{TASK,CALL}, AUDIT_PREPEND */
	__u32		action;	/* AUDIT_NEVER, AUDIT_POSSIBLE, AUDIT_ALWAYS */
	__u32		field_count;
	__u32		mask[AUDIT_BITMASK_SIZE];
	__u32		fields[AUDIT_MAX_FIELDS];
	__u32		values[AUDIT_MAX_FIELDS];
};

#endif /* _UAPI_LINUX_AUDIT_H_ */
#endif /* _UAPI_LINUX_AUDIT_H_ */