On Thu, Jan 09, 2025 at 01:43:49PM -0800, Blaise Boscaccy wrote: > The new LOAD_FD subcommand keys off of a sysfs entry file descriptor > and a file descriptor pointing to a raw elf object file. A sysfs file descriptor? That feels very odd and is not how sysfs should be used, as it's only for text files and binary pass-through stuff. > +static void bpf_loader_show_fdinfo(struct seq_file *m, struct file *filp) > +{ > + int i; > + struct bpf_obj *obj = filp->private_data; > + > + for (i = 0; i < obj->nr_programs; i++) > + seq_printf(m, "program: %s\n", obj->progs[i].name); So what file is printing this out in sysfs? Where is the Documentation/ABI/ entry for it? confused, greg k-h