diff options
| author | Richard Guy Briggs <[email protected]> | 2020-07-03 16:56:19 +0000 |
|---|---|---|
| committer | Paul Moore <[email protected]> | 2020-07-08 23:02:11 +0000 |
| commit | d7481b24b816b8c3955a9eaf01b97e2bd7f61a37 (patch) | |
| tree | 0809d95b1ab314464940e38ffaa640eb9670fe65 /drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c | |
| parent | audit: use the proper gfp flags in the audit_log_nfcfg() calls (diff) | |
| download | kernel-d7481b24b816b8c3955a9eaf01b97e2bd7f61a37.tar.gz kernel-d7481b24b816b8c3955a9eaf01b97e2bd7f61a37.zip | |
audit: issue CWD record to accompany LSM_AUDIT_DATA_* records
The LSM_AUDIT_DATA_* records for PATH, FILE, IOCTL_OP, DENTRY and INODE
are incomplete without the task context of the AUDIT Current Working
Directory record. Add it.
This record addition can't use audit_dummy_context to determine whether
or not to store the record information since the LSM_AUDIT_DATA_*
records are initiated by various LSMs independent of any audit rules.
context->in_syscall is used to determine if it was called in user
context like audit_getname.
Please see the upstream issue
https://github.com/linux-audit/audit-kernel/issues/96
Adapted from Vladis Dronov's v2 patch.
Signed-off-by: Richard Guy Briggs <[email protected]>
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c')
0 files changed, 0 insertions, 0 deletions
