Skip to content

Avoid openat2 on OpenHarmony - #435

Open
richerfu wants to merge 1 commit into
sunfishcode:mainfrom
richerfu:fix/ohos-confined-open
Open

richerfu wants to merge 1 commit into
sunfishcode:mainfrom
richerfu:fix/ohos-confined-open

Conversation

@richerfu

Copy link
Copy Markdown

OpenHarmony’s app sandbox can terminate the process when openat2 is called. Use the same directory-relative path resolution as Android.

Verified on a HarmonyOS device and cross-checked with cargo check for OHOS, Android, and Linux.

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.

1 participant