mirror of
https://github.com/torvalds/linux.git
synced 2024-12-18 17:12:55 +00:00
54f586a915
Again new complaints surfaced that we had broken the ABI here,
although previously all the userspace tools had agreed that it
was their mistake and fixed it. Yet now there are cases (e.g.
RHEL) that want to run old userspace with newer kernels, and
thus are broken.
Since this is a bit of a whack-a-mole thing, change the whole
extensibility scheme of rfkill to no longer just rely on the
message lengths, but instead require userspace to opt in via a
new ioctl to a given maximum event size that it is willing to
understand.
By default, set that to RFKILL_EVENT_SIZE_V1 (8), so that the
behaviour for userspace not calling the ioctl will look as if
it's just running on an older kernel.
Fixes:
|
||
---|---|---|
.. | ||
core.c | ||
input.c | ||
Kconfig | ||
Makefile | ||
rfkill-gpio.c | ||
rfkill.h |