[Patch]Add a function kernel_string2 for copy non-0-terminated string with fixed length from kernel space at given address.

Stone, Joshua I joshua.i.stone@intel.com
Fri Oct 12 01:41:00 GMT 2007


Cai Fei wrote:
> So I added a function kernel_string2 for copy non-0-terminated string
> with fixed length from kernel space at given address. Also, the man
> paged is updated.

The new function looks fine.  My only suggestion is that a more
meaningful name would be nice.  Maybe kernel_string_n or
kernel_string_max.

Oh, tests would also be nice.

Thanks,

Josh



More information about the Systemtap mailing list