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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Harald Welte ([email protected]) 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux