Slide 16
Slide 16 text
Copyright © 2024 TOYOTA MOTOR CORPORATION All rights reserved.
The behavior of bpf_send_signal (2/2)
⚫ Q. If I tried to stop linkat(2) by bpf_send_signal(), the process
is killed but the new link file is created.
⚫ A. The kernel checks the flag of signals before returning to user
space.
⚫ Some kernel components check signals in fatal_signal_pending().
✓For example, when the page cache is written back to storage in
generic_perform_write(), fatal_signal_pending() is executed.
⚫ But it depends on the kernel side implementation.
⚫ After linkat(2) is done, the process is killed.
16