[LTP] [PATCH v2] finit_module02: fix exp. errno for O_WRONLY testcase
Jan Stancek
jstancek@redhat.com
Tue Oct 26 17:15:28 CEST 2021
On Tue, Oct 26, 2021 at 5:07 PM Cyril Hrubis <chrubis@suse.cz> wrote:
>
> Hi!
> > > Also I'm starting to wonder if the errno from dir_setup() should be
> > > fixed in the kernel as well. I guess that EISDIR sounds much better
> > > error than EINVAL.
> >
> > It does.
>
> Will you send a kernel patch or should I do it?
Since you found it, I'll leave it to you :-).
On second thought, EBADF might be better, since it covers other fd
types as well.
>
> --
> Cyril Hrubis
> chrubis@suse.cz
>
More information about the ltp
mailing list