lkml.org 
[lkml]   [2005]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [BUG/PATCH/RFC] Oops while completing async USB via usbdevio
* Harald Welte (laforge@gnumonks.org) 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-10-10 20:10    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog