On 1/6/22 12:55 PM, Hao Luo wrote:
The second parameter of bpf_d_path() can only accept writable memories. Rdonly_mem obtained from bpf_per_cpu_ptr() can not be passed into bpf_d_path for modification. This patch adds a selftest to verify this behavior. Signed-off-by: Hao Luo <haoluo@xxxxxxxxxx>
Acked-by: Yonghong Song <yhs@xxxxxx>