On Fri, Jul 26, 2024 at 1:56 AM Matt Bobrowski <mattbobrowski@xxxxxxxxxx> wrote: > [...] > + len = buf + buf__sz - ret; > + memmove(buf, ret, len); > + return len; > +} > +__bpf_kfunc_end_defs(); > + > +BTF_KFUNCS_START(bpf_fs_kfunc_set_ids) > +BTF_ID_FLAGS(func, bpf_get_task_exe_file, > + KF_ACQUIRE | KF_TRUSTED_ARGS | KF_SLEEPABLE | KF_RET_NULL) > +BTF_ID_FLAGS(func, bpf_put_file, KF_RELEASE | KF_SLEEPABLE) Do we really need KF_SLEEPABLE for bpf_put_file? Thanks, Song > +BTF_ID_FLAGS(func, bpf_path_d_path, KF_TRUSTED_ARGS | KF_SLEEPABLE) > +BTF_KFUNCS_END(bpf_fs_kfunc_set_ids) > + [...]