[lkml]   [2005]   [Dec]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[WTF?] sys_tas() on m32r
asmlinkage int sys_tas(int *addr)
int oldval;
unsigned long flags;

if (!access_ok(VERIFY_WRITE, addr, sizeof (int)))
return -EFAULT;
oldval = *addr;
if (!oldval)
*addr = 1;
return oldval;
in arch/m32r/kernel/sys_m32r.c. Trivial oops *AND* ability to trigger
IO with interrupts disabled.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-12-23 07:18    [W:0.153 / U:5.048 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site