D22571: Allow blacklisting some wayland interfaces

Fabian Vogt <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
fvogt added a comment.


  IMO there should be a clear warning or error message if and why a request was declined.
  
  Currently this would break use of those interfaces from sandboxes and inside containers, others can do whatever they want to anyway (if they were "evil" it's already game-over).

INLINE COMMENTS

> wayland_server.cpp:252
> +
> +        if (client->executablePath().isEmpty()) {
> +            return false;

Looking at `/proc/pid/*` requires ptrace permissions, which aren't always available and containerization technologies usually block those.

REPOSITORY
  R108 KWin

REVISION DETAIL
  https://phabricator.kde.org/D22571

To: apol, #plasma, #kwin
Cc: fvogt, zzag, broulik, graesslin, davidedmundson, kwin, LeGast00n, fmonteiro, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.