
With CFI, a callback function passed to __kthread_queue_delayed_work from a module can point to a jump table entry defined in the module instead of the one used in the core kernel, which breaks this test: WARN_ON_ONCE(timer->function != kthread_delayed_work_timer_fn); To work around the problem, disable the warning when CFI and modules are both enabled. Bug: 145210207 Change-Id: I5b0a60bb69ce8e2bc0d8e4bf6736457b6425b6cf Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
37 KiB
37 KiB