lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <s5h4oogpdop.wl%tiwai@suse.de>
Date:	Fri, 27 Nov 2009 09:36:06 +0100
From:	Takashi Iwai <tiwai@...e.de>
To:	Ralf Baechle <ralf@...ux-mips.org>
Cc:	wuzhangjin@...il.com, Andreas Mohr <andi@...as.de>,
	linux-kernel@...r.kernel.org
Subject: Re: snd_usb_audio OOPS on MIPSEL - is that the mmap issue?

At Thu, 26 Nov 2009 18:15:54 +0000,
Ralf Baechle wrote:
> 
> On Thu, Nov 26, 2009 at 10:09:04AM +0100, Takashi Iwai wrote:
> 
> > I guess it won't, because usb audio driver provides its own page
> > callback.  It uses vmalloced buffer as the primary buffer, then
> > copies to the urb transfer buffer.  So, mmap should work as long as
> > the page returned from vmalloc_to_page() can be mapped.
> 
> You mean mapping a page that is mapped to the vmalloc area of the kernel
> also to userland?  That's a fairly safe way to create cache aliases on
> those platforms that suffer from them.

Yes.  Thanks for clarification!


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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ