You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think you need to be careful that ptrace use is tightly restricted by other means (e.g. AppArmor), as otherwise the suggested setup is always one vulnerability short of giving wineserver and wine-preloader unrestricted root powers.
A related question is if WINE was written with capabilities in mind at all.
Activity
madaidan commentedon Mar 6, 2020
We already use apparmor to restrict ptrace. Individual apparmor profiles for apps restrict it.
https://github.com/Whonix?q=apparmor-profile-&type=&language=
The full system apparmor policy also restricts it a bit.
https://github.com/Whonix/apparmor-profile-everything/blob/master/etc/apparmor.d/abstractions/init-systemd#L37
More fine-grained restrictions are planned.
We don't add those capabilities to WINE by default anyway. It's the user's choice.
adrelanos commentedon Apr 4, 2020
Please comment / re-open if you think this isn't solved.
coverity: migrate to consumer-template architecture