Re: [libvirt] [PATCH] virt-aa-helper: resolve file symlinks

2018-03-19 Thread Michal Privoznik
On 03/19/2018 11:10 AM, Christian Ehrhardt wrote: > In a recent change b932ed69: "virt-aa-helper: resolve yet to be created > paths" several cases with symlinks in paths were fixed, but it regressed > cases where the file being last element of the path was the actual link. > > In the case of the

[libvirt] [PATCH] virt-aa-helper: resolve file symlinks

2018-03-19 Thread Christian Ehrhardt
In a recent change b932ed69: "virt-aa-helper: resolve yet to be created paths" several cases with symlinks in paths were fixed, but it regressed cases where the file being last element of the path was the actual link. In the case of the last element being the symlink realpath can (and shall) be