Re: [PATCH v2] libdwfl: resolve all paths relative to sysroot

2025-06-02 Thread Michal Sekletar
On Thu, May 29, 2025 at 1:49 AM Aaron Merey wrote: > That's right, we can move the bash binary up one directory level, for > instance, then place a symlink to it in sysroot/usr/bin. Thanks for getting back to me. I've sent v3 (with this addressed) to the list now. Cheers, Michal

Re: [PATCH v2] libdwfl: resolve all paths relative to sysroot

2025-05-28 Thread Aaron Merey
Hi Michal, On Wed, May 28, 2025 at 8:30 AM Michal Sekletar wrote: > > I finally got back to this patchset but I am wondering how to address your > nitpick. Difference is that in one case $sysroot/usr/bin/bash is an actual > binary and in another case it is a symlink. Hence it can't be both at t

Re: [PATCH v2] libdwfl: resolve all paths relative to sysroot

2025-05-28 Thread Michal Sekletar
On Tue, Apr 8, 2025 at 5:53 PM Aaron Merey wrote: Hi Aaron, > Thanks for adding these testcases. I have one nitpick, instead of > adding a whole new testfile-sysroot-link.tar.bz2 can you just add the > needed symlinks to testfile-sysroot.tar.bz2? With these changes plus > those recommended by Dm

Re: [PATCH v2] libdwfl: resolve all paths relative to sysroot

2025-04-10 Thread Aaron Merey
Hi Michal, On Tue, Apr 1, 2025 at 2:56 PM Michal Sekletar wrote: > > Whenever possible, resolve all symlinks as if the sysroot path were a > chroot environment. This prevents potential interactions with files from > the host filesystem. > > Signed-off-by: Michal Sekletar > --- > configure.ac

Re: [PATCH v2] libdwfl: resolve all paths relative to sysroot

2025-04-03 Thread Dmitry V. Levin
On Tue, Apr 01, 2025 at 08:54:04PM +0200, Michal Sekletar wrote: > Whenever possible, resolve all symlinks as if the sysroot path were a > chroot environment. This prevents potential interactions with files from > the host filesystem. > > Signed-off-by: Michal Sekletar > --- > configure.ac