Searched refs:kfprog (Results 1 – 1 of 1) sorted by relevance
325 struct sock_fprog __user *kfprog = compat_alloc_user_space(sizeof(struct sock_fprog)); in get_compat_bpf_fprog() local334 if (copy_to_user(kfprog, &f, sizeof(struct sock_fprog))) in get_compat_bpf_fprog()337 return kfprog; in get_compat_bpf_fprog()344 struct sock_fprog __user *kfprog; in do_set_attach_filter() local346 kfprog = get_compat_bpf_fprog(optval); in do_set_attach_filter()347 if (!kfprog) in do_set_attach_filter()350 return sock_setsockopt(sock, level, optname, (char __user *)kfprog, in do_set_attach_filter()