Skip to content

Migrate magiskinit selinux.cpp to Rust#8922

Merged
topjohnwu merged 2 commits intomasterfrom
dev
Apr 8, 2025
Merged

Migrate magiskinit selinux.cpp to Rust#8922
topjohnwu merged 2 commits intomasterfrom
dev

Conversation

@topjohnwu
Copy link
Copy Markdown
Owner

No description provided.

@vvb2060
Copy link
Copy Markdown
Collaborator

vvb2060 commented Apr 6, 2025

will fix #8888 ?

@yujincheng08 yujincheng08 requested a review from Copilot April 7, 2025 01:47
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 9 out of 10 changed files in this pull request and generated no comments.

Files not reviewed (1)
  • native/src/Android.mk: Language not supported
Comments suppressed due to low confidence (2)

native/src/base/files.rs:202

  • Ensure that automatically adding the O_CREAT flag in file creation is intentional and does not conflict with any caller expectations regarding file opening semantics.
Ok(File::from(open_fd!(self, O_CREAT | flags, mode)?))

native/src/base/mount.rs:32

  • Consider adding unit tests to verify that remount_with_data correctly passes mount data options and handles error scenarios as expected.
pub fn remount_with_data(&self, data: &Utf8CStr) -> std::io::Result<()> {

@topjohnwu topjohnwu merged commit eb54bc1 into master Apr 8, 2025
53 of 54 checks passed
@topjohnwu topjohnwu deleted the dev branch April 8, 2025 09:33
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