On Sat, 1 Oct 2005, Harald Welte wrote:
> 
> please find the patch below.  It compiles, but I didn't yet have the
> time to verify it makes the bug disappear and the async urb delivery is
> still working.

No, you can't re-use "check_kill_permissions()" like this, even though I 
do understand the appeal.

The generic kill permissions check things like the current session, and 
whether the caller has extra permissions, neither of which is sensible in 
the context of "group_send_sig_info_as_uid()". So you do need to write out 
the uid/euid checks separately, and have a different function for this 
thing.

                Linus


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to