# Pastebin Cnc4g2mX diff --git a/include/linux/path.h b/include/linux/path.h index 7ea389dc764b..5191e8692a3c 100644 --- a/include/linux/path.h +++ b/include/linux/path.h @@ -8,7 +8,7 @@ struct vfsmount; struct path { struct vfsmount *mnt; struct dentry *dentry; -} __randomize_layout; +} ; extern void path_get(const struct path *); extern void path_put(const struct path *); diff --git a/security/landlock/fs.c b/security/landlock/fs.c index 9b251e4d0762..97c5aabb68af 100644 --- a/security/landlock/fs.c +++ b/security/landlock/fs.c @@ -1339,7 +1339,7 @@ log_fs_change_topology_path(const struct landlock_cred_security *const subject, .type = LANDLOCK_REQUEST_FS_CHANGE_TOPOLOGY, .audit = { .type = LSM_AUDIT_DATA_PATH, - .u.path = *path, + // .u.path = *path, }, .layer_plus_one = handle_layer + 1, });