xdp-tools icon indicating copy to clipboard operation
xdp-tools copied to clipboard

How to identify whether the loading xdp object is what expected

Open ami-GS opened this issue 1 year ago • 3 comments

As far as I understand, xdp object is loaded from application program by its object file name. What happen if the object is replaced? How usually application identify the replacement?

ami-GS avatar Jun 12 '24 17:06 ami-GS

Daiki AMINAKA @.***> writes:

As far as I understand, xdp object is loaded from application program by its object file name. What happen if the object is replaced? How usually application identify the replacement?

What do you mean, replaced? In the kernel after load? Or between opening and loading?

tohojo avatar Jun 13 '24 14:06 tohojo

opening and loading.

ami-GS avatar Jun 13 '24 16:06 ami-GS

Daiki AMINAKA @.***> writes:

opening and loading.

Erm, I am not aware of any way the object could be replaced in-memory between opening the file and loading into the kernel. Are you running into any particular issue where this happens?

tohojo avatar Jun 17 '24 10:06 tohojo