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

refactor(backend): refine approach of funcs forbidding #4409

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Lazark0x
Copy link
Member

Resolves #4399 .

Moved syscalls forbiddenes check to backend side

@Lazark0x Lazark0x requested a review from breathx December 19, 2024 09:37
@Lazark0x Lazark0x self-assigned this Dec 19, 2024
@breathx breathx added the A0-pleasereview PR is ready to be reviewed by the team label Jan 11, 2025
Copy link
Member

@breathx breathx left a comment

Choose a reason for hiding this comment

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

Except the comment, looks good 👍🏻

core-backend/src/funcs.rs Outdated Show resolved Hide resolved
core/src/env.rs Outdated Show resolved Hide resolved
core-backend/src/runtime.rs Outdated Show resolved Hide resolved
core-processor/src/executor.rs Outdated Show resolved Hide resolved
Comment on lines +171 to +172
.ext_mut()
.endpoint_dispatch_kind()
Copy link
Member

Choose a reason for hiding this comment

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

doesn't it make more sense from where we take this value?

Suggested change
.ext_mut()
.endpoint_dispatch_kind()
.ext_mut()
.msg_ctx()
.dispatch_kind()
.forbids(x)

Copy link
Member

Choose a reason for hiding this comment

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

it's not like it belongs to endpoint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A0-pleasereview PR is ready to be reviewed by the team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

refactor(backend): refine approach of funds forbidding
2 participants