Files
flatpak/doc
Ryan Brue 02587b5676 flatpak-metadata: Note host-root symlink pitfalls
Following symlinks from /run/host/root naively (for example, with
realpath()) is wrong.

This commit warns about this problem, and provides examples of how to
avoid it when using the host-root permission, either by using
https://man7.org/linux/man-pages/man2/openat2.2.html for modern kernels,
or 65adfdd5fc/steam-runtime-tools/resolve-in-sysroot.c
for older kernels.

Signed-off-by: Ryan Brue <ryanbrue.dev@gmail.com>
2025-09-24 17:19:21 +00:00
..
2020-08-10 15:14:38 +02:00
2020-08-10 15:14:38 +02:00
2020-08-10 15:14:38 +02:00
2025-09-24 17:19:21 +00:00
2020-08-10 15:14:38 +02:00
2020-08-10 15:14:38 +02:00
2020-08-10 15:14:38 +02:00
2020-08-10 15:14:38 +02:00
2022-08-16 10:50:29 +02:00
2020-08-10 15:14:38 +02:00
2020-08-10 15:14:38 +02:00
2022-08-16 10:50:29 +02:00
2022-08-16 10:50:29 +02:00
2025-09-24 17:19:21 +00:00
2020-08-10 15:14:38 +02:00
2020-08-10 15:14:38 +02:00
2022-08-16 10:50:29 +02:00
2020-08-10 15:14:38 +02:00
2020-08-10 15:14:38 +02:00
2025-09-24 17:19:21 +00:00
2017-04-14 10:43:40 -04:00