Skip to content

test: Include linux/pidfd.h on linux#5191

Draft
tgross35 wants to merge 1 commit into
rust-lang:mainfrom
tgross35:test-pidfd
Draft

test: Include linux/pidfd.h on linux#5191
tgross35 wants to merge 1 commit into
rust-lang:mainfrom
tgross35:test-pidfd

Conversation

@tgross35

Copy link
Copy Markdown
Contributor

No description provided.

@tgross35 tgross35 force-pushed the test-pidfd branch 2 times, most recently from 8b14a38 to f668bb1 Compare June 22, 2026 09:58
Check whether there is really a conflict
@tgross35

Copy link
Copy Markdown
Contributor Author

linux/pidfd.h pulls in linux/fnctl.h, which conflicts with the libc fnctl.h. The flock conflict can be hacked around by defining HAVE_ARCH_STRUCT_FLOCK, which disables the definitions of struct flock* in the kernel, but there doesn't seem to be anything similar for struct f_owner_ex. So close...

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.

1 participant