lkml.org 
[lkml]   [2006]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subjectbug report: mem_write
Date
From
Hi,

Alright, I know that "mem_write" (fs/proc/base.c) is a "security hazard",
but I need to use it anyway (as super-user only), and find it broken,
somewhere between Linux-2.6.17 and Linux-2.6.18-rc4.

The point is that in the beginning of the routine, "copied" is set to 0,
but it is no good because in lines 805 and 812 it is set to other values.
Finally, the routine returns as if it copied 12 (=ENOMEM) bytes less than
it actually did.

Amnon.

-
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: 2006-08-24 10:33    [W:0.067 / U:0.524 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site