QUERY: Regarding bpf link cleanup for invalid binary path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Team!

We were looking into the bpf-link and bpf-program-attach-uprobe-opts
implementation and wanted to know if a bpf-link on a binary path
resulted out of bpf-program-attach-uprobe-opts([a binary path]),
remains valid and leaks memory post the binary path getting invalid
(say due to the file getting deleted or path does not exist anymore).

Does calling bpf-link-destroy on that link give any additional safety
w.r.t the invalid binary path, or is it not needed to invoke and the
internal implementation of the bpf-link takes care of the essential
cleanup?

Thanks,
Abhik




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux