D22571: Allow blacklisting some wayland interfaces
David Edmundson <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
davidedmundson added a comment.
> diff -s /proc/$(pidof cat)/exe /proc/$(pidof cat)/root/usr/bin/cat
Files /proc/21994/exe and /proc/21994/root/usr/bin/cat are identical
> diff -s /proc/$(pidof cat)/exe /usr/bin/cat
Binary files /proc/21994/exe and /usr/bin/cat differ
I got the same results with docker.
Though /proc/someFlatPakApp/root/bin/cat is different to my system one which is where my logic came from.
But given you're right about readlink (exe) and read(exe) behaving differently, we should be able to simplify things and have it work.
I shall do that now.
> It's also responsible for breaking xdg-desktop-portal-kde currently.
The bug outlined above is not responsible for that. It's something else. (Possibly the NoDisplay flag?)
If anything, it is a sign that the general filter does work though...
Lets track xdg-desktop-portal in a bug report, and let's make use of the task https://phabricator.kde.org/T4437#111632 for any new approaches. There were some other suggestions there.
REPOSITORY
R108 KWin
REVISION DETAIL
https://phabricator.kde.org/D22571
To: apol, #plasma, #kwin, davidedmundson
Cc: fvogt, zzag, broulik, graesslin, davidedmundson, kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart