feat(selinux): Get rid of all file WX of Trivalent's Selinux trivalent_domain#666
Open
PhysicsIsAwesome wants to merge 10 commits intosecureblue:livefrom
Open
feat(selinux): Get rid of all file WX of Trivalent's Selinux trivalent_domain#666PhysicsIsAwesome wants to merge 10 commits intosecureblue:livefrom
PhysicsIsAwesome wants to merge 10 commits intosecureblue:livefrom
Conversation
…valent_exec_flatpaks tunable Signed-off-by: PhysicsIsAwesome <69597878+PhysicsIsAwesome@users.noreply.github.com>
This is used for widevine to mmap execute files. It is useful to introduce a new type, so more general types like trivalent_home_t don't need execute permission. At the moment trivalent_home_t is WX, so this is a first step get rid of execute for that type. Signed-off-by: PhysicsIsAwesome <69597878+PhysicsIsAwesome@users.noreply.github.com>
Signed-off-by: PhysicsIsAwesome <69597878+PhysicsIsAwesome@users.noreply.github.com>
Signed-off-by: PhysicsIsAwesome <69597878+PhysicsIsAwesome@users.noreply.github.com>
Signed-off-by: PhysicsIsAwesome <69597878+PhysicsIsAwesome@users.noreply.github.com>
…as a file Signed-off-by: PhysicsIsAwesome <69597878+PhysicsIsAwesome@users.noreply.github.com>
Signed-off-by: PhysicsIsAwesome <69597878+PhysicsIsAwesome@users.noreply.github.com>
Signed-off-by: PhysicsIsAwesome <69597878+PhysicsIsAwesome@users.noreply.github.com>
…tory Signed-off-by: PhysicsIsAwesome <69597878+PhysicsIsAwesome@users.noreply.github.com>
…pm spec file Signed-off-by: PhysicsIsAwesome <69597878+PhysicsIsAwesome@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This gets rid of all file WX of Trivalent's Selinux trivalent_domain I could find:
It introduces a new on-by-default tunable trivalent_exec_flatpaks so people can disable execution of Flatpaks. Execution is needed for certain extensions being able to talk to their app counterpart like Keepassxc.
Additionally there is a tunable trivalent_drm which is on by-default. This allows file WX and needs to be turned off by users who want W^X at the expense of not being able to use DRM restricted content.
Testing done:
Basically secureblue/secureblue#2029 plus the tmpfiles.d file