This patch enables unlimited model in POSIX key manger and have a decent
runtime on POSIX key searching, adding and deleting operations. Memory
overhead is lower than current implementation when the size of key and key
value becomes big.
Script does what is expected and tries to do it as
smartly as possible.
+ remove occurrences of two blank comment lines
next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
contain CVS Ids
+ If the processing left a blank line at the top of
a file, it was removed.
PR 1855/cpukit
* Makefile.am, configure.ac: Correct signal processing during
pthread_join. We are supposed to unblock the thread waiting on a
pthread_join(), dispatch the signal handler, account for it
potentially overwriting errno, and then have the thread return to
blocking within pthread_join().
* psxeintr_join/.cvsignore, psxeintr_join/Makefile.am,
psxeintr_join/init.c, psxeintr_join/psxeintr_join.doc,
psxeintr_join/psxeintr_join.scn: New files.
PR 1867/cpukit
* Makefile.am, configure.ac, psx12/task.c, psxkey03/init.c,
psxrwlock01/test.c: Correct implementation of pthread_exit() and
pthread_join() to support the case where a thread is joinable but
calls pthread_exit() before a thread has attempted to join.
PR 1759/cpukit
* Makefile.am, configure.ac: Add test to use some pthread calls with
Classic Tasks.
* psxclassic01/.cvsignore, psxclassic01/Makefile.am,
psxclassic01/init.c, psxclassic01/psxclassic01.doc,
psxclassic01/psxclassic01.scn: New files.
* Makefile.am, configure.ac: New test to ensure pthread_cond_wait() and
sleep() (e.g. interruptible blocking and sleeping) are interruptible
by signal.
* psxsignal06/.cvsignore, psxsignal06/Makefile.am, psxsignal06/init.c,
psxsignal06/psxsignal06.doc, psxsignal06/psxsignal06.scn: New files.
PR 1613/testing
* psxfchx01/init.c, psxfchx01/Makefile.am, psxfchx01/.cvsignore,
psxfchx01/psxfchx01.doc, psxfchx01/psxfchx01.scn: New
tests. Improves coverage of fchdir, fchmod, fchown directives.
* configure.ac, Makefile.am: Changes to accommodate new test.
* psxstat/test.c, psxstat/psxstat.scn: Added new test case to test
statvfs routine under libcsupport.
PR 1610/testing
* psx13/test.c, psx13/psx13.scn: Remove the test cases which
exercise pipe. These are new a new test under psxpipe01/
* psxpipe01/init.c, psxpipe01/Makefile.am,
psxpipe01/psxpipe01.scn, psxpipe01/psxpipe01.doc: Added new test.
* Makefile.am, configure.ac: Changes due to addition of new test:
psxpipe01.
* Makefile.am, configure.ac: Add test for various forms of times() and
getrusage().
* psxgetrusage01/.cvsignore, psxgetrusage01/Makefile.am,
psxgetrusage01/init.c, psxgetrusage01/psxgetrusage01.doc,
psxgetrusage01/psxgetrusage01.scn, psxtimes01/.cvsignore,
psxtimes01/Makefile.am, psxtimes01/init.c, psxtimes01/psxtimes01.doc,
psxtimes01/psxtimes01.scn: New files.
PR 1598/testing
* Makefile.am, configure.ac, psxpasswd01/init.c,
psxpasswd01/psxpasswd01.doc, psxpasswd01/psxpasswd01.scn: Add testing
for POSIX user database (e.g. /etc/group and /etc/passwd) access
routines which are implemented in libcsupport/src/getpwent.c.
* psxpasswd02/.cvsignore, psxpasswd02/Makefile.am, psxpasswd02/init.c,
psxpasswd02/psxpasswd02.doc, psxpasswd02/psxpasswd02.scn: New files.
* Makefile.am, configure.ac: Add tests for file lock stubs as well as
various POSIX methods that access UID, PID, and GID.
* psxfilelock01/.cvsignore, psxfilelock01/Makefile.am,
psxfilelock01/init.c, psxfilelock01/psxfilelock01.doc,
psxfilelock01/psxfilelock01.scn, psxid01/.cvsignore,
psxid01/Makefile.am, psxid01/init.c, psxid01/psxid01.doc,
psxid01/psxid01.scn: New files.
* Makefile.am, configure.ac: Add test to exercise IMFS behaviour with
files of maximum sizes.
* psximfs01/.cvsignore, psximfs01/Makefile.am, psximfs01/init.c,
psximfs01/psximfs01.doc, psximfs01/psximfs01.scn: New files.
* Makefile.am, configure.ac: Added test case for calls that check for
an unopened file descriptor.
* psxfile02/.cvsignore, psxfile02/Makefile.am, psxfile02/init.c,
psxfile02/psxfile02.doc, psxfile02/psxfile02.scn: New files.
* Makefile.am, configure.ac: New test to exercise getgrnam and getpwnam
families.
* psxpasswd01/.cvsignore, psxpasswd01/Makefile.am, psxpasswd01/init.c,
psxpasswd01/psxpasswd01.doc, psxpasswd01/psxpasswd01.scn: New files.
PR 1466/tests
* Makefile.am, configure.ac, psxclock/init.c, psxclock/psxclock.doc,
psxclock/psxclock.scn, psxkey03/init.c, psxsignal02/init.c,
psxsignal03/init.c, psxstack01/init.c: Remove usleep() from tests.
Add test specifically to test it since it is deprecated as of
POSIX.1-2008.
* psxusleep/.cvsignore, psxusleep/Makefile.am, psxusleep/init.c,
psxusleep/psxusleep.doc, psxusleep/psxusleep.scn: New files.
* configure.ac: Check for pthread_rwlock_unlock in pthread.h.
* psxrwlock01/test.c: Conditionally add local prototype for
pthread_rwlock_unlock() if pthread.h doesn't supply it.
* psxcleanup/system.h: Fix typo.
* Makefile.am, configure.ac: Add new test for exercising pushing
and popping a clean up handler without actually executing it.
* psxcleanup01/.cvsignore, psxcleanup01/Makefile.am,
psxcleanup01/init.c, psxcleanup01/psxcleanup01.doc,
psxcleanup01/psxcleanup01.scn: New files.
* Makefile.am, configure.ac: Add new test to ensure that canceling an
alarm works as defined.
* psxalarm01/.cvsignore, psxalarm01/Makefile.am, psxalarm01/init.c,
psxalarm01/psxalarm01.doc, psxalarm01/psxalarm01.scn: New files.
* Makefile.am, configure.ac: Add new test for calling pthread_cancel()
from an ISR.
* psxcancel01/.cvsignore, psxcancel01/Makefile.am, psxcancel01/init.c,
psxcancel01/psxcancel01.doc, psxcancel01/psxcancel01.scn: New files.
* Makefile.am, configure.ac, psx01/init.c, psx01/psx01.scn: Add new
test to exercise clock and delay services enabled when POSIX threads
are disabled. This is split from psx01. POSIX test suite now enabled
when POSIX threads are disabled so only enable tests which are
appropriate.
* psxclock/.cvsignore, psxclock/Makefile.am, psxclock/init.c,
psxclock/psxclock.doc, psxclock/psxclock.scn: New files.