Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/debugging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ is doing. For example, to trace ``openat(), read()`` calls::

$ strace -e trace=openat,read -o strace.log -f /app/bin/<application-binary>

`Perf <https://perf.wiki.kernel.org/index.php/Main_Page>`_ requires
`Perf <https://perfwiki.github.io/main/>`_ requires
access to ``--filesystem=/sys`` to run::

$ flatpak run --command=perf --filesystem=/sys --filesystem=$(pwd) --devel $FLATPAK_ID record -v -- <command>
Expand Down
3 changes: 2 additions & 1 deletion docs/sandbox-permissions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,8 @@ to them with ``--filesystem`` will have no effect::

The entire ``/run`` is not allowed and all subpaths of ``/run`` except
``/run/flatpak, /run/host`` is allowed to be exposed via
``--filesystem``.
``--filesystem``. Additionally, if ``/var/run`` on host is a symlink to
``../run``, exposing it or a subpath of it, is not allowed.

Additionally the following directories from host need to be explicitly
requested with ``--filesystem`` and are not available with
Expand Down