Question regarding xwayland and ptrace
Hello, I've been writing apparmor profiles for things recently, and I happened to notice that xwayland tries to ptrace other processes, such as the compositor.. So, I'd like to ask: Is this normal, expected behavior? Why does it do that? apparmor="DENIED" operation="ptrace" class="ptrace" profile="xwayland" comm="Xwayland" requested_mask="read" denied_mask="read" peer="xprop" apparmor="DENIED" operation="ptrace" class="ptrace" profile="xwayland" comm="Xwayland" requested_mask="read" denied_mask="read" peer="hyprland" apparmor="DENIED" operation="ptrace" class="ptrace" profile="xwayland" comm="Xwayland" requested_mask="read" denied_mask="read" peer="xhost" apparmor="DENIED" operation="ptrace" class="ptrace" profile="xwayland" comm="Xwayland" requested_mask="read" denied_mask="read" peer="unconfined" Thank you in advance.
Re: Question regarding xwayland and ptrace
On 2024-07-18 09:31, Olivier Fourdan wrote: Hi On Wed, Jul 17, 2024 at 11:05 PM wrote: Hello, I've been writing apparmor profiles for things recently, and I happened to notice that xwayland tries to ptrace other processes, such as the compositor.. So, I'd like to ask: Is this normal, expected behavior? Why does it do that? I'm not aware of that, is this with an unpatched version of Xwayland from upstream? Cheers .o/ Thanks for the reply! I'm using the package provided by arch. Looking at the PKGBUILD, it doesn't look like any patches are applied. The version is 24.1.1-1.