Skip to content

kernel: Remove sepolicy of kernel domain#3019

Merged
aviraxp merged 3 commits into
mainfrom
aviraxp-patch-1
Dec 2, 2025
Merged

kernel: Remove sepolicy of kernel domain#3019
aviraxp merged 3 commits into
mainfrom
aviraxp-patch-1

Conversation

@aviraxp

@aviraxp aviraxp commented Nov 30, 2025

Copy link
Copy Markdown
Collaborator

Now that we have switched most workqueues to task work, file operations are all under non kernel context, either init, system server or su.

Moreover, dac_override for kernel make kernel read file it doesn't have access to, and break oneplus ace 3v wifi because a wrong config path is chosen.

Fix it by cleaning up unnecessary policies. Note that loop mount related policies are removed too, so meta modules should deal with module image context itself by chconing image.

@aviraxp aviraxp mentioned this pull request Nov 30, 2025
3 tasks
@aviraxp aviraxp closed this Nov 30, 2025
@5ec1cff 5ec1cff reopened this Dec 1, 2025
@5ec1cff 5ec1cff changed the title Comment out kernel file access permissions remove sepolicy of kernel Dec 2, 2025
aviraxp and others added 3 commits December 2, 2025 17:56
@aviraxp aviraxp changed the title remove sepolicy of kernel kernel: Remove sepolicy of kernel Dec 2, 2025
@aviraxp aviraxp changed the title kernel: Remove sepolicy of kernel kernel: Remove sepolicy of kernel domain Dec 2, 2025
@aviraxp aviraxp merged commit 0b243c2 into main Dec 2, 2025
15 checks passed
@aviraxp aviraxp deleted the aviraxp-patch-1 branch December 2, 2025 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants