On Mon, Dec 7, 2020 at 6:07 AM Toke Høiland-Jørgensen <[email protected]> wrote:
>
> Alexei Starovoitov <[email protected]> writes:
>
> > On Fri, Dec 4, 2020 at 7:11 PM Andrii Nakryiko <[email protected]> wrote:
> >> +                               return -EOPNOTSUPP;
> >
> > $ cd kernel/bpf
> > $ git grep ENOTSUPP|wc -l
> > 46
> > $ git grep EOPNOTSUPP|wc -l
> > 11
>
> But also
>
> $ cd kernel/include/uapi
> $ git grep ENOTSUPP | wc -l
> 0
> $ git grep EOPNOTSUPP | wc -l
> 8
>
> (i.e., ENOTSUPP is not defined in userspace headers at all)

that's irrelevant. The kernel returns it already. It's a known constant
regardless of .h

Reply via email to