e8489d8fa1ce7864a2ddd4eb87bcae30bb7f3749 |
|
09-Apr-2014 |
Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com> |
shm_open_23-1: modified memory protection attributes POSIX doesn't state that if mmap() is given only PROT_WRITE, then that memory region will have read access too. It's an implementation issue of the platform. On a platform which don't imply read access when only PROT_WRITE is given, such a situation happens: 1) a child process decrements the semaphore with sem_wait(sem) 2) then tries to dereference create_cnt via (*create_cnt)++. This will result in a SIGSEGV, and the child will be terminated. Therefore the semaphore will be left in a "decremented" state and this test case will hang. To overcome this problem we should explicitly pass PROT_READ to mmap(). Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/23-1.c
|
4ca2bbdcd3003f3c8df4e6129e9c7b2bd1514f87 |
|
25-Mar-2013 |
Cyril Hrubis <chrubis@suse.cz> |
open_posix_testsuite/conformace/interfaces: Fix. Change the main() and main(argc, argv) to main(void). This fixes a lot of warnings in the latter case. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/23-1.c
|
354ebb48db8e66a853a58379a4808d5dcd1ceac3 |
|
07-Dec-2012 |
Wanlong Gao <gaowanlong@cn.fujitsu.com> |
cleanup code indent Cleanup the code indent using: find . -name *.c -exec Lindent {} \; It's really a big change, but can fix almost all of the indent problem in C code, although we can't ensure all of the changes are right, but the error changes are really few. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/23-1.c
|
ec6edca7aa42b6affd989ef91b5897f96795e40f |
|
18-Oct-2012 |
Chris Dearman <chris@mips.com> |
Add missing newline at end of file This is a scripted change done using the following command: find . -type d -name .git -prune -o \ -type f \! -name \*\~ \! -name .\#\* \ \! -name \*.gz \! -name \*.pdf \! -name \*.patch -print0 | \ xargs -0 sed -i -e '$a\' Signed-off-by: Chris Dearman <chris@mips.com>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/23-1.c
|
2c28215423293e443469a07ae7011135d058b671 |
|
16-Dec-2010 |
Garrett Cooper <yanegomi@gmail.com> |
Style and conformance changes. 1. Strip all leading space. 2. Move tst_exit() to main(). 3. Remove tst_exit() from cleanup(). 4. Remove cluebat comments. 5. Reduce some unnecessary whitespace. Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/23-1.c
|
8fb1cdb0538640f295691929650408688537fb7f |
|
29-Nov-2010 |
Garrett Cooper <yanegomi@gmail.com> |
More style cleanup. Do a better job at detecting spurious leading and trailing whitespace in branches and loop statements. Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/23-1.c
|
df3eb16e38c6a163b0a7367c885679eed6140964 |
|
29-Nov-2010 |
Garrett Cooper <yanegomi@gmail.com> |
Deal with a lot of annoying style nits. Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/23-1.c
|
0dc076565f772bb1953209fb69ea150b494aaa40 |
|
03-Jun-2005 |
robbiew <robbiew> |
Updated the open_posix_testsuite: ------------------------------------------ June 3, 2005 Version 1.5.1 Released * PTS-1.5.1 has a plenty of AIO interface test additions and bug-fixes by Sebastien Decugis. Also there are a lot of bug fixes by other people. Thanks to Sebastien Decugis and other people for continued support and contributions. * This release has been tested on glibc-2.3.3 and kernel 2.6.10 with libposix-aio-0.3. The test result for this release can be found here: http://posixtest.sourceforge.net/testpass/PTS_1.5.1-2.6.10-PAIO_ia32.htm * PTS Downloads and Release information: https://sourceforge.net/project/showfiles.php?group_id=64592&release_id= 332108 PTS Notes and Changelog: https://sourceforge.net/project/shownotes.php?release_id=332108 Thanks Ling Yu POSIX Test Suite maintainer http://posixtest.sf.net
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/23-1.c
|
19b5dc744e2b73f745491e5a081873f6c1417528 |
|
03-Jun-2005 |
robbiew <robbiew> |
Removed old version of Open POSIX Test Suite (OPTS).
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/23-1.c
|
1b8a2eaac9978e1f9a829e5e38dc39c892c77c75 |
|
04-May-2004 |
robbiew <robbiew> |
Update to 1.4.1
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/23-1.c
|
a473f3896711a5f3bb43e6ad943e41323ccb75df |
|
04-May-2004 |
robbiew <robbiew> |
Update to 1.4.1
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/23-1.c
|
cd982aa8e09595b888a30de2634acd614aee0ed0 |
|
04-May-2004 |
robbiew <robbiew> |
Update to 1.4.1
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/23-1.c
|
259d7fa4cf46856d92a904c59db0dd61f0feead8 |
|
01-Aug-2003 |
robbiew <robbiew> |
Update to 1.2
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/23-1.c
|