1) This patch fixes a concurrency issue in shmctl02. Same issue as in shmat02,
2) Fix return value check from shmat. In case of error, this wrong check was leading to a seg-fault. Same problem as in kill05,
3) Fixes a concurrency issue in shmget02. Same issue as in shmat02 : second key can conflict with the key from another process,
4) Fix a NFS warning when running rename14 concurrently. In this case, due to the large number of running processes and scheduler decisions, the father task can exit before its sons. Thus, leading to the removal of a file still opened by a son... NFS don't like
that,

Signed-off-by: Renaud Loittiaux <Renaud.Lottiaux@kerlabs.com>
4 files changed