config: add HAVE_DEQUEUE_SIGNAL_3ARG_SIGINFO #16662
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When I use the latest stable version of ZFS(2.3-release), I find that it cannot compile on my Kylin OS, which is based on the 4.19 kernel version.
Motivation and Context
I have figured out that both 4.18 and 4.19 still use siginfo_t as the third parameter of the dequeue_signal function, which takes three parameters.
https://elixir.bootlin.com/linux/v4.18/source/include/linux/sched/signal.h
https://elixir.bootlin.com/linux/v4.19.322/source/include/linux/sched/signal.h
Description
Besides the current 3arg version checking, I add kthread_dequeue_signal_3arg_siginfo.
How Has This Been Tested?
Types of changes
Checklist:
Signed-off-by
.