Re: [BUG/PATCH/RFC] Oops while completing async USB via usbdevio

From: Chris Wright
Date: Mon Oct 10 2005 - 13:08:29 EST


* Harald Welte (laforge@xxxxxxxxxxxx) wrote:
> diff --git a/kernel/signal.c b/kernel/signal.c
> --- a/kernel/signal.c
> +++ b/kernel/signal.c
> @@ -1193,6 +1193,40 @@ kill_proc_info(int sig, struct siginfo *
> return error;
> }
>
> +/* like kill_proc_info(), but doesn't use uid/euid of "current" */

Maybe additional comment reminding that you most likely don't want this
interface.

Also, looks like there's same issue again:

drivers/usb/core/devio.c::usbdev_open()
...
ps->disctask = current;

drivers/usb/core/inode.c::usbfs_remove_device()
...
send_sig_info(ds->discsignr, &sinfo, ds->disctask);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/