summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorRichard Guy Briggs <rgb@redhat.com>2018-11-30 16:13:16 -0500
committerPaul Moore <paul@paul-moore.com>2018-12-03 19:26:10 -0500
commit9a547c7e575fc2501c12081558fda3027d0f2a5e (patch)
treee21f5e34764d4ad44a16b1d54b7e15be3614ecd6 /security
parent2a1fe215e7300c7ebd6a7a24afcab71db5107bb0 (diff)
downloadblackbird-obmc-linux-9a547c7e575fc2501c12081558fda3027d0f2a5e.tar.gz
blackbird-obmc-linux-9a547c7e575fc2501c12081558fda3027d0f2a5e.zip
audit: shorten PATH cap values when zero
Since the vast majority of files (99.993% on a typical system) have no fcaps, display "0" instead of the full zero-padded 16 hex digits in the two PATH record cap_f* fields to save netlink bandwidth and disk space. Simply changing the format to %x won't work since the value is two (or possibly more in the future) 32-bit hexadecimal values concatenated and bits in higher order values will be misrepresented. Passes audit-testsuite and userspace tools already work fine. Please see the github issue tracker for more details https://github.com/linux-audit/audit-kernel/issues/101 Signed-off-by: Richard Guy Briggs <rgb@redhat.com> Acked-by: Steve Grubb <sgrubb@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud