[LTP] [PATCH] mm/include: add config.h header file

2011-08-02 Thread Caspar Zhang
include/config.h is missing which leads to HAVE_MADV_MERGABLE macro not found. This causes some KSM-related tests failing. Signed-off-by: Caspar Zhang czh...@redhat.com --- testcases/kernel/mem/include/mem.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

[LTP] [PATCH] mm/ksm05: new testcase

2011-08-02 Thread Caspar Zhang
KSM - NULL pointer dereference in ksm_do_scan() (CVE-2011-2183) This is a testcase from upstream commit: 2b472611a32a72f4a118c069c2d62a1a3f087afd. an exiting task can race against ksmd::scan_get_next_rmap_item (http://lkml.org/lkml/2011/6/1/742) easily triggering a NULL pointer dereference in

Re: [LTP] How to test Linux Kernel using LTP on Beagleboard (ARM Cortex-A8 based board)

2011-08-02 Thread G Rajender
Hi Maxin, Thank you very much for your reply. I have done all the steps that you've mentioned and created LTP-Cross compiled binary images for beagleboard. I have copied the LTP binaries along with required boot-able kernel (2.6.32) images on to the SD card formating with FAT32 file system.

Re: [LTP] Running only kernel syscall tests

2011-08-02 Thread Serge E. Hallyn
Quoting Garrett Cooper (yaneg...@gmail.com): On Mon, Aug 1, 2011 at 9:28 PM, Shakthi Kannan skan...@redhat.com wrote: Hi, Are there any options to runltp or any other means to just run the kernel syscall tests? runltp -f syscalls How long does it take to run the runalltests.sh on

Re: [LTP] How to test Linux Kernel using LTP on Beagleboard (ARM Cortex-A8 based board)

2011-08-02 Thread Garrett Cooper
On Tue, Aug 2, 2011 at 6:27 AM, G Rajender g.rajen...@lnties.com wrote: Hi Maxin, Thank you very much for your reply. I have done all the steps that you've mentioned and created LTP-Cross compiled binary images for beagleboard. I have copied the LTP binaries along with required boot-able