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
Register arch_prctl
through UK_LLSYSCALL_R_U_DEFINE
#65
Conversation
2492d14
to
d297932
Compare
Latest force-push does nothing but rebase against newest #64 and s/UK_LLSYSCALL_R_DEFINE/UK_LLSYSCALL_R_U_DEFINE in commit message. |
arch_prctl
through UK_LLSYCALL_R_DEFINE
arch_prctl
through UK_LLSYSCALL_R_U_DEFINE
d297932
to
38b91d8
Compare
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.
Reviewed-by: Michalis Pappas michalis@unikraft.io
38b91d8
to
3256b5f
Compare
The core repository's thread creation API has undergone changes so that the programmer may be able to allocate a custom/default auxiliary stack for each thread they may create. Signed-off-by: Sergiu Moga <sergiu@unikraft.io>
Allow the `arch_prctl` system call to have knowledge of the whole context of the system call caller by registering it through a macro that gives `arch_prctl` access to the caller's context through `struct uk_syscall_regs`. Signed-off-by: Sergiu Moga <sergiu@unikraft.io>
Now that all userland switching functionality has been migrated into `ukarch_sysregs*` API's, adapt TLS store/restore accordingly. Signed-off-by: Sergiu Moga <sergiu@unikraft.io>
77cdb0b
to
3f688df
Compare
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.
Approved-by: Razvan Deaconescu razvand@unikraft.io
The core repository's thread creation API has undergone changes so that the programmer may be able to allocate a custom/default auxiliary stack for each thread they may create. Signed-off-by: Sergiu Moga <sergiu@unikraft.io> Reviewed-by: Michalis Pappas <michalis@unikraft.io> Approved-by: Razvan Deaconescu <razvand@unikraft.io> GitHub-Closes: #65
Allow the `arch_prctl` system call to have knowledge of the whole context of the system call caller by registering it through a macro that gives `arch_prctl` access to the caller's context through `struct uk_syscall_regs`. Signed-off-by: Sergiu Moga <sergiu@unikraft.io> Reviewed-by: Michalis Pappas <michalis@unikraft.io> Approved-by: Razvan Deaconescu <razvand@unikraft.io> GitHub-Closes: #65
Now that all userland switching functionality has been migrated into `ukarch_sysregs*` API's, adapt TLS store/restore accordingly. Signed-off-by: Sergiu Moga <sergiu@unikraft.io> Reviewed-by: Michalis Pappas <michalis@unikraft.io> Approved-by: Razvan Deaconescu <razvand@unikraft.io> GitHub-Closes: #65
The core repository's thread creation API has undergone changes so that the programmer may be able to allocate a custom/default auxiliary stack for each thread they may create. Signed-off-by: Sergiu Moga <sergiu@unikraft.io> Reviewed-by: Michalis Pappas <michalis@unikraft.io> Approved-by: Razvan Deaconescu <razvand@unikraft.io> GitHub-Closes: #65
Allow the `arch_prctl` system call to have knowledge of the whole context of the system call caller by registering it through a macro that gives `arch_prctl` access to the caller's context through `struct uk_syscall_regs`. Signed-off-by: Sergiu Moga <sergiu@unikraft.io> Reviewed-by: Michalis Pappas <michalis@unikraft.io> Approved-by: Razvan Deaconescu <razvand@unikraft.io> GitHub-Closes: #65
Now that all userland switching functionality has been migrated into `ukarch_sysregs*` API's, adapt TLS store/restore accordingly. Signed-off-by: Sergiu Moga <sergiu@unikraft.io> Reviewed-by: Michalis Pappas <michalis@unikraft.io> Approved-by: Razvan Deaconescu <razvand@unikraft.io> GitHub-Closes: #65
Allow the
arch_prctl
system call to have knowledge of the wholecontext of the system call caller by registering it through a macro
that gives
arch_prctl
access to the caller's context throughstruct uk_syscall_regs
.Depends on #63, #64 and #1175.