On Tue, Oct 18, 2022 at 3:11 PM Milan Broz <gmazyland at gmail.com> wrote: > > The problem is that ioctl() are often just translated to -EINVAL. Oh, that's absolutely a real problem. Don't use one single error number. Linus