lkml.org 
[lkml]   [2005]   [Dec]   [23]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 23 Dec 2005 07:54:52 +0000
FromAl Viro <>
SubjectRe: [WTF?] sys_tas() on m32r
On Fri, Dec 23, 2005 at 03:50:32PM +0800, liyu wrote:
> >in arch/m32r/kernel/sys_m32r.c. Trivial oops *AND* ability to trigger
> >IO with interrupts disabled.

> The memory that parameter addr pointer is in user-space.
> To access these memory, you should use function like copy_from_user().

... which is deadly with interrupts disabled/under a spinlock. Exactly.
-
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-12-23 08:57    [from the cache]
©2003-2009