diff options
Diffstat (limited to 'security')
| -rw-r--r-- | security/lsm_audit.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/security/lsm_audit.c b/security/lsm_audit.c index 293b8c45b1d1..8b8f0902f6e5 100644 --- a/security/lsm_audit.c +++ b/security/lsm_audit.c | |||
| @@ -313,12 +313,8 @@ static void dump_common_audit_data(struct audit_buffer *ab, | |||
| 313 | } | 313 | } |
| 314 | case AF_UNIX: | 314 | case AF_UNIX: |
| 315 | u = unix_sk(sk); | 315 | u = unix_sk(sk); |
| 316 | if (u->dentry) { | 316 | if (u->path.dentry) { |
| 317 | struct path path = { | 317 | audit_log_d_path(ab, " path=", &u->path); |
| 318 | .dentry = u->dentry, | ||
| 319 | .mnt = u->mnt | ||
| 320 | }; | ||
| 321 | audit_log_d_path(ab, " path=", &path); | ||
| 322 | break; | 318 | break; |
| 323 | } | 319 | } |
| 324 | if (!u->addr) | 320 | if (!u->addr) |
