This is the same code as was previously posted in the RFC PR but has been rebased and shuffled to avoid churn. The libaudit changes are all posted first with the minor changes in the caller needed. The rest of the series has been compressed into a single commit and I've moved Charu's artifact changes to the end.
The diff between this and the previous PR is in whitespace and the removal of an obsolete comment. The code is identical.
This is the same code as was previously posted in the RFC PR but has been rebased and shuffled to avoid churn. The libaudit changes are all posted first with the minor changes in the caller needed. The rest of the series has been compressed into a single commit and I've moved Charu's artifact changes to the end.
The diff between this and the previous PR is in whitespace and the removal of an obsolete comment. The code is identical.