Skip to content

Clean up some workarounds after upgrading minimum kernel version #74519

Closed
@tesuji

Description

@tesuji

Besides O_CLOEXEC, which other things would we be able to clean up?

Good question! There are 6 workarounds in libstd for older Linux versions (that I could find).
Increasing the minimum version to 2.6.32 (aka 3rd Kernel LTS, aka RHEL 6) would fix 5 of them.
Code links are inline:

As you can see, the workarounds fixed by this proposal all have a similar flavor.

Originally posted by @josephlr in #62516 (comment)

Metadata

Metadata

Assignees

Labels

C-cleanupCategory: PRs that clean code up or issues documenting cleanup.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions