-
Notifications
You must be signed in to change notification settings - Fork 91
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
add effective user context manipulation routines #1127
base: master
Are you sure you want to change the base?
Conversation
a130fb4
to
868512e
Compare
868512e
to
8af5e3f
Compare
381fabd
to
010fd7e
Compare
stack_end = reinterpret_cast<char *>(get_context_stack_ptr_portable(exit_context)) + get_context_stack_size_portable(exit_context); | ||
|
||
#if defined(__linux__) && defined(__x86_64__) | ||
// The PhpScript::error may be produced in process of signal handling. The default behavior on Linux-based platforms |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also have own implementation for darwin aarch64
. Do we need same logic for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will check it. Previously, we also had own implementation for darwin aarch64
but no needed a special handling for this case. I may be a result of different signal subsystems.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checked, thanks for notice, fixed for darwin aarch64
Signed-off-by: Petr Shumilov <[email protected]>
Signed-off-by: Petr Shumilov <[email protected]>
Signed-off-by: Petr Shumilov <[email protected]>
Signed-off-by: Petr Shumilov <[email protected]>
Signed-off-by: Petr Shumilov <[email protected]>
Signed-off-by: Petr Shumilov <[email protected]>
Signed-off-by: Petr Shumilov <[email protected]>
6afd8ee
to
9635dab
Compare
Goals:
rt_sigprocmask
syscall invocation during user context manipulationRelated issues: KPHP-1944