[ktap] Re: [PATCH 0/2] small fixes (cross-compile and copy_from_user)

  • From: Jovi Zhangwei <jovi.zhangwei@xxxxxxxxx>
  • To: ktap <ktap@xxxxxxxxxxxxx>
  • Date: Tue, 12 Nov 2013 13:44:32 +0800

Hi Anders,

On Mon, Nov 11, 2013 at 9:09 PM, Anders Darander <anders@xxxxxxxxxxxxxx> wrote:
> There's two patches in this series:
>
> 1) When building using e.g. buildroot, PWD was incorrectly set to the 
> buildroot
>    topdir. Make sure that we explicitly set it in the ktap Makefile.
>
> 2) Functions as copy_from_user, ..., were explicitly defined when compiling
>    interpreter/vm.c. Fix this by adding uaccess.h.
>
> These patches were tested on a 3.8.11 kernel, for a BeagleBone. I've also 
> tested
> them both on the ktap-v0.3 tarball, as well as on the current git HEAD.
>
Thanks for your patches, all applied.

> Sofar, I've not gone through building ktap (userspace application) from HEAD 
> in
> buildroot. This will likely require more patches, at least if no libelf is 
> made
> available. But that's for the future.
>
I think that bug also fixed in github HEAD, you can try it again.

Thank you.

Jovi

Other related posts: