audit: add support for fcaps v3
authorRichard Guy Briggs <rgb@redhat.com>
Thu, 24 Jan 2019 02:36:25 +0000 (21:36 -0500)
committerPaul Moore <paul@paul-moore.com>
Fri, 25 Jan 2019 18:31:23 +0000 (13:31 -0500)
commit2fec30e245a3b46fef89c4cb1f74eefc5fbb29a6
tree30f896171576cf88bf31c1cdd6c26140ab1ab47f
parent4b7d248b3a1de483ffe9d05c1debbf32a544164d
audit: add support for fcaps v3

V3 namespaced file capabilities were introduced in
commit 8db6c34f1dbc ("Introduce v3 namespaced file capabilities")

Add support for these by adding the "frootid" field to the existing
fcaps fields in the NAME and BPRM_FCAPS records.

Please see github issue
https://github.com/linux-audit/audit-kernel/issues/103

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Acked-by: Serge Hallyn <serge@hallyn.com>
[PM: comment tweak to fit an 80 char line width]
Signed-off-by: Paul Moore <paul@paul-moore.com>
include/linux/capability.h
kernel/audit.c
kernel/audit.h
kernel/auditsc.c
security/commoncap.c