a15b593c5957ea240bdba0455ca923629ec793f0 |
|
09-Nov-2017 |
Sandeep Patil <sspatil@google.com> |
syscalls/cma: Make process_vm_{readv, writev} tests bionic friendly All testcases under testcases/kernel/syscalls/cma depend on SysV semaphore to do event notification from parent<->child processes. Since bionic / android doesn't have SysV IPC, the tests can't be built against bionic. Fix this by using the ltp TST_SAFE_CHECKPOINT APIs taht are based on futexes. The change enables following tests for Android devices. process_vm01, process_vm_readv0[23], process_vm_writev02 Bug: 31146782 Signed-off-by: Sandeep Patil <sspatil@google.com> Acked-by: Jan Stancek <jstancek@redhat.com> (cherry picked from commit 414a2e26a29db993954f85662b0bd6796df2b91f) Change-Id: Ib5a671bb333cfbdaafec3c0952ab446f9c05e8eb
/external/ltp/testcases/kernel/syscalls/cma/process_vm.h
|
b681672752634a70ba1bd6b1c6b5ae2967ac13e5 |
|
12-Apr-2015 |
Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com> |
Keep the definition of union semun in one place Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com> Acked-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/cma/process_vm.h
|
905095e82506d83920cd6630bcc23440320cfdfc |
|
12-Jul-2012 |
Caspar Zhang <caspar@casparzhang.com> |
syscall/process_vm_readv02: new testcase This testcase is one of the simple CMA syscalls (process_vm_readv, process_vm_writev) tests originally written by Chris Yeoh <yeohc@au1.ibm.com>. I made some modifications to make it match the code style in LTP. Test Assertion and Strategy: Fork two children, one child allocates memory and initializes it; then the other one calls process_vm_readv and reads from the same memory location, it then verifies if process_vm_readv returns correct data. Signed-off-by: Caspar Zhang <caspar@casparzhang.com> Signed-off-by: Jan Stancek <jstancek@redhat.com>
/external/ltp/testcases/kernel/syscalls/cma/process_vm.h
|
77e0be8ee49f70621b875dabfe08cc83a99f1a43 |
|
11-Jun-2012 |
Jan Stancek <jstancek@redhat.com> |
cma: add process_vm.h header file shared by tests, defines: test_process_vm_readv test_process_vm_writev Signed-off-by: Jan Stancek <jstancek@redhat.com> Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/syscalls/cma/process_vm.h
|