Re: context switch vs. signal delivery [was: Re: Accelerating user mode

From: Jeff Dike (jdike@karaya.com)
Date: Tue Aug 06 2002 - 09:12:25 EST


us15@os.inf.tu-dresden.de said:
> Does this work for you?

No :-)

> It doesn't for me, for the reason I described
> earlier.

Indeed. I misread the !capable(CAP_KILL) as "I am not allowed to kill the
other guy", which clearly you are when you just forked it.

This looks like a bug to me. If you own the process, you can send it any
signal you want, so you should be allowed to sign it up for SIGURG/SIGIO via
F_SETOWN.

                                Jeff

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:31 EST