Question regarding xwayland and ptrace

moenyan at cock.li moenyan at cock.li
Wed Jul 17 20:54:59 UTC 2024


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.


More information about the xorg mailing list