On 27/10/2023 20:37, Zachary Leaf wrote:
I'm not certain copy_bpf_attr_from_user() is that much of an improvement once we add in the check_attr() etc - see what you think.
I think I can live with 3 extra lines :) Especially since check_attr() takes a void *, so no need for a cast. The other copy-in functions are not affected.
Kevin