Skip to content

Remove legacy __sys_exit syscall. NFC #14463

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

Merged
merged 1 commit into from
Jun 16, 2021
Merged

Remove legacy __sys_exit syscall. NFC #14463

merged 1 commit into from
Jun 16, 2021

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Jun 16, 2021

This was replaced by the WASI proc_exit syscall a while
back.

@sbc100 sbc100 requested review from kripken and aheejin June 16, 2021 18:25
@sbc100 sbc100 force-pushed the remove_sys_exit branch from d032a89 to 657def2 Compare June 16, 2021 18:33
This was replaced by the WASI `proc_exit` syscall a while
back.
@sbc100 sbc100 force-pushed the remove_sys_exit branch from 657def2 to 70ae1a3 Compare June 16, 2021 18:36
#if SANITIZER_FREEBSD || SANITIZER_SOLARIS
#if SANITIZER_EMSCRIPTEN
__wasi_proc_exit(exitcode);
#elif SANITIZER_FREEBSD || SANITIZER_SOLARIS
internal_syscall(SYSCALL(exit), exitcode);
Copy link
Member

Choose a reason for hiding this comment

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

I guess it's unlikely that we have users that call syscalls like this, but what do you think about a changelog mention of this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We have not generally made changelog entries for syscall naming changes as far as I am aware.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I guess back in v1.39.12 I wrote: Rename syscalls to have meaningful names (#10750). .. but that was after renaming all of them at once :)

@sbc100 sbc100 enabled auto-merge (squash) June 16, 2021 19:27
@sbc100 sbc100 merged commit 3205328 into main Jun 16, 2021
@sbc100 sbc100 deleted the remove_sys_exit branch June 16, 2021 19:29
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.

2 participants