Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Very WIP atm. PR created early such that others can give feedback as it progresses given that Wayland is still very novel in reference policy.
@pebenito Couple questions while I'm working on this:
$1_sway_tapproach - do you think this is useful? I noticed that we don't rely solely on UBAC for protection (e.g. with$1_systemd_tand hence I think given the scope of the compositor this might be desirable.wayland_compositortypeattribute manage files perms onwayland_compositor_tmpfs_type, but decided against this so that different running compositors can't "contaminate" each others tmpfs's - I don't think this is a huge deal, but it adds a bit of repetition for consumers of the Wayland module (each compositor needs to give itself manage file perms + map on its tmpfs). Would you like me to change this? I personally think having them be separate is the best approach, but of course open to suggestions/ideas.Anyone else please also free to leave reviews and/or comment, very much open to opinions for this.
cc @aerusso @0xC0ncord
Thanks!