Skip to content

dragonfly: Move INHERIT_ZERO to the freebsd module - #5587

Merged
tgross35 merged 1 commit into
rust-lang:mainfrom
chitao1234:dragonfly-inherit-zero
Oct 1, 2026
Merged

tgross35 merged 1 commit into
rust-lang:mainfrom
chitao1234:dragonfly-inherit-zero

Conversation

@chitao1234

Copy link
Copy Markdown
Contributor

INHERIT_ZERO is a FreeBSD addition to minherit(2) (2017) that DragonFly has never picked up. It is absent from DragonFly's <sys/mman.h> on current master and on the 6.0, 6.2 and 6.4 releases.

Move it next to the other FreeBSD-only <sys/mman.h> constants and drop it from the DragonFly semver baseline.

Link: https://github.com/freebsd/freebsd-src/blob/a68d11d310dd5100a18f187c1108df6703315989/sys/sys/mman.h#L42-L45
Link: https://github.com/DragonFlyBSD/DragonFlyBSD/blob/d1f4fb943c73e2b61ddabff6aa48ce7551db72f4/sys/sys/mman.h#L58-L60
Link: freebsd/freebsd-src@78d7964

`INHERIT_ZERO` is a FreeBSD addition to `minherit(2)` (2017) that
DragonFly has never picked up. It is absent from DragonFly's
`<sys/mman.h>` on current master and on the 6.0, 6.2 and 6.4 releases.

Move it next to the other FreeBSD-only `<sys/mman.h>` constants and drop
it from the DragonFly semver baseline.

Link: https://github.com/freebsd/freebsd-src/blob/a68d11d310dd5100a18f187c1108df6703315989/sys/sys/mman.h#L42-L45
Link: https://github.com/DragonFlyBSD/DragonFlyBSD/blob/d1f4fb943c73e2b61ddabff6aa48ce7551db72f4/sys/sys/mman.h#L58-L60
Link: freebsd/freebsd-src@78d7964

@tgross35 tgross35 left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@tgross35
tgross35 enabled auto-merge October 1, 2026 17:58
@tgross35 tgross35 added the stable-nominated This PR should be considered for cherry-pick to libc's stable release branch label Oct 1, 2026
@tgross35
tgross35 added this pull request to the merge queue Oct 1, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 1, 2026
@tgross35
tgross35 added this pull request to the merge queue Oct 1, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 1, 2026
@tgross35
tgross35 added this pull request to the merge queue Oct 1, 2026
Merged via the queue into rust-lang:main with commit e08cc43 Oct 1, 2026
60 checks passed
@tgross35 tgross35 mentioned this pull request Oct 1, 2026
renovate-bot pushed a commit to renovate-bot/rust-lang-_-libc that referenced this pull request Oct 1, 2026
`INHERIT_ZERO` is a FreeBSD addition to `minherit(2)` (2017) that
DragonFly has never picked up. It is absent from DragonFly's
`<sys/mman.h>` on current master and on the 6.0, 6.2 and 6.4 releases.

Move it next to the other FreeBSD-only `<sys/mman.h>` constants and drop
it from the DragonFly semver baseline.

Link: https://github.com/freebsd/freebsd-src/blob/a68d11d310dd5100a18f187c1108df6703315989/sys/sys/mman.h#L42-L45
Link: https://github.com/DragonFlyBSD/DragonFlyBSD/blob/d1f4fb943c73e2b61ddabff6aa48ce7551db72f4/sys/sys/mman.h#L58-L60
Link: freebsd/freebsd-src@78d7964

(backport <rust-lang#5587>)
(cherry picked from commit e08cc43)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

O-bsd O-dragonfly O-freebsd O-unix stable-nominated This PR should be considered for cherry-pick to libc's stable release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants