UPSTREAM: security: add ioctl specific auditing to lsm_audit

Add information about ioctl calls to the LSM audit data. Log the
file path and command number.

Signed-off-by: Jeff Vander Stoep <jeffv@google.com>
Acked-by: Nick Kralevich <nnk@google.com>
[PM: subject line tweak]
Signed-off-by: Paul Moore <pmoore@redhat.com>

Bug: 25923642
Patchset: rk3036 evb bring up

(cherry picked from commit 671a2781ff01abf4fdc8904881fc3abd3a8279af)
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>

Change-Id: Ic91f79259490d25c2cafc6e49de0d6b8aa9a815a
2 files changed