diff options
| author | Eric Paris <eparis@redhat.com> | 2014-04-02 16:00:58 -0400 |
|---|---|---|
| committer | Eric Paris <eparis@redhat.com> | 2014-09-23 16:19:59 -0400 |
| commit | 7e51aa4486bcf72daeb5d30227c4c01563f37044 (patch) | |
| tree | 885de35c7de35cd571bdd2ba7a74f4080660a754 /include/uapi/linux | |
| parent | 19583ca584d6f574384e17fe7613dfaeadcdc4a6 (diff) | |
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: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/audit.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/uapi/linux/audit.h b/include/uapi/linux/audit.h index cf6714752b69..df71b1d2cbb8 100644 --- a/include/uapi/linux/audit.h +++ b/include/uapi/linux/audit.h | |||
| @@ -444,17 +444,4 @@ struct audit_rule_data { | |||
| 444 | char buf[0]; /* string fields buffer */ | 444 | char buf[0]; /* string fields buffer */ |
| 445 | }; | 445 | }; |
| 446 | 446 | ||
| 447 | /* audit_rule is supported to maintain backward compatibility with | ||
| 448 | * userspace. It supports integer fields only and corresponds to | ||
| 449 | * AUDIT_ADD, AUDIT_DEL and AUDIT_LIST requests. | ||
| 450 | */ | ||
| 451 | struct audit_rule { /* for AUDIT_LIST, AUDIT_ADD, and AUDIT_DEL */ | ||
| 452 | __u32 flags; /* AUDIT_PER_{TASK,CALL}, AUDIT_PREPEND */ | ||
| 453 | __u32 action; /* AUDIT_NEVER, AUDIT_POSSIBLE, AUDIT_ALWAYS */ | ||
| 454 | __u32 field_count; | ||
| 455 | __u32 mask[AUDIT_BITMASK_SIZE]; | ||
| 456 | __u32 fields[AUDIT_MAX_FIELDS]; | ||
| 457 | __u32 values[AUDIT_MAX_FIELDS]; | ||
| 458 | }; | ||
| 459 | |||
| 460 | #endif /* _UAPI_LINUX_AUDIT_H_ */ | 447 | #endif /* _UAPI_LINUX_AUDIT_H_ */ |
