Re: [RFC PATCH -tip 1/5] kprobes: Use ENOTSUPP instead of ENOSYS

From: Ingo Molnar
Date: Fri Oct 20 2017 - 04:57:33 EST



* Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:

> Use ENOTSUPP instead of ENOSYS because ENOSYS is reserved
> only for invalid syscall number.

Is this actually true? We use -ENOSYS in a ton of code in kernel/ already, not
just for non-existing syscall number.

Ingo