Hi Dong,

Please don't send the patch as attachment, you can use git send-email
to send the patch. And please add the "Upstream-Status: Submitted"
inside the patch 0001-ltp-vma03-fix-the-alginment-of-page-size.patch,
right before the Signed-off-by line.

// Robert

On 06/03/2015 04:06 PM, cdong wrote:
Hi,
     This patch fix a vma03 bug,the info below detail it:

     the offset which is parameter of mmap2() function doesn't align the
     page size,but,this parameter is allowed multiple of the page size
     as returned by sysconf(_SC_PAGE_SIZE),meanwhile offset * 4096 must be
     a multiple of the system page size,so modify the input parameter
     pgoff = (ULONG_MAX - 1)&(~((pgsz-1)>>12));

     Regards
     Chuang


--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to