linux-audit / audit-kernel

GitHub mirror of the Linux Kernel's audit repository
https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit.git
Other
138 stars 36 forks source link

RFE: rename FILTER_TYPE to FILTER_EXCL #89

Closed rgbriggs closed 6 years ago

rgbriggs commented 6 years ago

The AUDIT_FILTER_TYPE name is vague and misleading due to not describing where or when the filter is applied and obsolete due to its available filter fields having been expanded.

Userspace has already renamed it from AUDIT_FILTER_TYPE to AUDIT_FILTER_EXCLUDE without checking if it already exists. In order to not cause userspace compile problems from duplicate definitions and to more accurately and inclusively rename it in the kernel, while providing a migration path for userspace, rename it to AUDIT_FILTER_EXCL.

rgbriggs commented 6 years ago

Posted v1 patch upstream: https://www.redhat.com/archives/linux-audit/2018-May/msg00215.html

rgbriggs commented 6 years ago

Posted v2 patch upstream: https://www.redhat.com/archives/linux-audit/2018-June/msg00011.html

rgbriggs commented 6 years ago

Posted v3 patch upstream: https://www.redhat.com/archives/linux-audit/2018-June/msg00043.html

rgbriggs commented 6 years ago

Merged d904ac0