Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[chrome] porting sandbox #12

Conversation

unicornx
Copy link

@unicornx unicornx commented Feb 28, 2023

This PR contains 2 commits. First one is just applying a basic patch from sifive(for linux), the second one is doing some cleanup work for android and catch up with our baseline(which is newer than that used by sifive).

sifive chrome patches repo:
https://github.com/starfive-tech/riscv-nwjs-patch

cd <SRC>
patch -d . -f -p1 --no-backup-if-mismatch \
-i <PATH_TO>/0010-sandbox-add-riscv-arch-definition-and-define-syscall.patch

note: there is a failure when
patching file sandbox/linux/seccomp-bpf-helpers/syscall_sets.h
Hunk chromium#3 FAILED at 120.
1 out of 3 hunks FAILED -- saving rejects to file sandbox/linux/seccomp-bpf-helpers/syscall_sets.h.rej

Signed-off-by: Wang Chen <wangchen20@iscas.ac.cn>
Signed-off-by: McKnight22 <tao.wang.2261@gmail.com>
- fixed the confiction of patch
- updated to new version due to the base of sifive patch is older.

Signed-off-by: Wang Chen <wangchen20@iscas.ac.cn>
Signed-off-by: McKnight22 <tao.wang.2261@gmail.com>
@unicornx unicornx self-assigned this Feb 28, 2023
@unicornx unicornx changed the title porting sandbox [chrome] porting sandbox Feb 28, 2023
@unicornx unicornx merged commit 4519da5 into aosp-riscv:riscv64_109.0.5414.87_dev Feb 28, 2023
@unicornx unicornx deleted the dev-chrome-build-sandbox branch February 28, 2023 23:55
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.

None yet

2 participants