[Wayland-bugs] [Bug 98894] Add an API for taking screenshots and recording screencasts
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Feb 21 14:23:21 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=98894
--- Comment #3 from James Henstridge <james at jamesh.id.au> ---
> Afaik, applications can't lie about /proc/[pid]/exe and the compositor could
> use .desktop files from /usr/share/applications for identification (with both
> name and icon).
It is pretty easy to spoof the result of readlink() on /proc/[pid]/exe though.
With user and mount namespaces, a regular user could bind mount a different
executable over a trusted one before executing it.
This could be detected by comparing stat() information, but that would also
give false positives when upgrading a running application.
There's not an obvious generic solution.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20180221/ad535dee/attachment.html>
More information about the wayland-bugs
mailing list