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

signal: fix name for SIGBUS on darwin #72

Merged
merged 1 commit into from Aug 5, 2021

Conversation

thaJeztah
Copy link
Member

I noticed that the name for SIGBUS on Darwin was mapped to BUG. To be sure that a BUG signal is not actually a "thing", I looked at the history for this; this mapping was originally added in: moby/moby@10dc16d (moby/moby#4563),

Looking at the Darwin headers, I also don't see a mention of a BUG signal:
https://github.com/apple/darwin-xnu/blob/b6dbbb99918752ac84da97aa9b473bd974afc609/bsd/sys/signal.h#L98,

So, I'm assuming this was a rather funny slip-up, which makes this a "BUS-FIX" ?

I noticed that the name for `SIGBUS` on Darwin was mapped to `BUG`. To be sure
that a `BUG` signal is not actually a "thing", I looked at the history for this;
this mapping was originally added in:
moby/moby@10dc16d,

Looking at the Darwin headers, I also don't see a mention of a `BUG` signal:
https://github.com/apple/darwin-xnu/blob/b6dbbb99918752ac84da97aa9b473bd974afc609/bsd/sys/signal.h#L98,

So, I'm assuming this was a rather funny slip-up, which makes this a "BUS-FIX" ?

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah
Copy link
Member Author

@tianon @cpuguy83 @kolyshkin PTAL 😂

Copy link
Member

@tianon tianon left a comment

Choose a reason for hiding this comment

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

😂

@tianon
Copy link
Member

tianon commented Aug 5, 2021

(sorry @creack, @thaJeztah finally caught your SIGBUG! 😂)

@thaJeztah
Copy link
Member Author

One more incoming, but this one was too funny not to keep it separate

@creack
Copy link
Contributor

creack commented Aug 5, 2021

nice one :)

Copy link
Member

@cpuguy83 cpuguy83 left a comment

Choose a reason for hiding this comment

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

LGTM

@cpuguy83 cpuguy83 merged commit 00369c7 into moby:master Aug 5, 2021
@thaJeztah thaJeztah deleted the s/bugfix/busfix/g branch August 5, 2021 21:40
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

4 participants