Re: Patch for prctl(2)
Richard Henderson (rth@cygnus.com)
Tue, 26 Aug 1997 17:15:04 -0700 (PDT)
> > +asmlinkage int sys_prctl(int option, unsigned long arg2, unsigned long arg3,
> > + unsigned long arg4, unsigned long arg5)
> > +{
> > + switch (option) {
> > + default:
> > + error = -EINVAL;
>
> Shouldn't that rather be -ENOSYS?
No, ENOSYS says that the entire syscall is not supported. You
are thinking of EOPNOTSUPP, I believe.
r~