>From comparing logs of normal apps and the app in Flatpak sasndbox, looks like sandboxed app does not find /usr/libexec/droid-hybris. Is there a way to let it search under
> /usr/lib/arm-linux-gnueabihf/GL/default/libexec/droid-hybris instead? Any env variable to tune? Seems like HYBRIS_LD_LIBRARY_PATH is ignored while AT_SECURE is zero. Corresponding part of strace: openat(AT_FDCWD, "/usr/lib/arm-linux-gnueabihf/GL/default/lib/libhybris/linker/o.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3 read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0|\370\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=221216, ...}) = 0 mmap2(NULL, 306916, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xe2f9f000 mprotect(0xe2fd4000, 61440, PROT_NONE) = 0 mmap2(0xe2fe3000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x34000) = 0xe2fe3000 mmap2(0xe2fe5000, 20196, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xe2fe5000 close(3) = 0 mprotect(0xe2fe3000, 4096, PROT_READ) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0xeae5e000 prctl(PR_SET_VMA, 0, 0xeae5e000, 0x1000, 0xe2fcd60c) = 0 lstat64("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat64("/usr/libexec", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat64("/usr/libexec/droid-hybris", 0xfff54d18) = -1 ENOENT (No such file or directory) lstat64("/vendor", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat64("/vendor/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 Cheers, Rinigus PS:
_______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org