Re: [LTP] [CONCURRENCY] remap_file_pages01

2008-02-26 Thread Subrata Modak
On Mon, 2008-02-25 at 16:21 +0100, Renaud Lottiaux wrote: Hi ! This patch fix a concurrency issue due to the (false) sharing of file /dev/shm/cache. This patch just create a different file for each process and unlink the file before exiting. Thanks Renaud for these concurrency fixes.

Re: [LTP] [CONCURRENCY] remap_file_pages01

2008-02-26 Thread Renaud Lottiaux
Hi Subrata ! Thanks Renaud for these concurrency fixes. In fact you are helping to do lots'of cleanup in LTP. I was thinking whether i can enter in to some agreement with you for this. Hah Hah. Just joking. Yes, we need lots of cleanup everywhere for some reason or the other. Happy to see

[LTP] [CONCURRENCY] shmat02.c: need advices

2008-02-26 Thread Renaud Lottiaux
Hi ! the shmat02 test has a concurrency issue. The problem is the following. The test creates 2 IPC segments, the first one using a key generated by getipckey and the second one being the previous one + 1. So, key2 = key1 + 1. If we have 2 instances of the test running at the same time, we can

Re: [LTP] [PATCH] Overhauling LTP Timer Test Cases

2008-02-26 Thread Subrata Modak
Thanks Anoop. This has been applied to. Mike, Hope with these changes, our decision to add timers in the kernel/Makefile will be productive as this timer test cases will now run properly. Regards-- Subrata Hi All, Recently our engineers detected failures with the existing LTP Timer Test

Re: [LTP] [PATCH][realtime] Clean ups and fixes - Round 3

2008-02-26 Thread Sebastien Dugue
Hi Sudhanshu, sorry for comming late to the discussion, but this patch has reintroduced some bugs which I fixed and undone some cleanups committed on January 18th and on February 20th. It seems to me you forgot to rebase your patch on the latest CVS tree and it was merrily committed as

Re: [LTP] [PATCH] rwtest01, 02,03,04 from LTP suite are failing

2008-02-26 Thread Subrata Modak
On Tue, 2008-02-26 at 16:05 +0530, Sudeesh John wrote: Hi, I have written a new patch for the rwtest case . And hope its enough for solving this issue. I have tested this patch both in lvm and fdisk partitions and found its working fine. (See attached file: new_rwtest_patch) Thanks

Re: [LTP] [CONCURRENCY] remap_file_pages01

2008-02-26 Thread Subrata Modak
On Tue, 2008-02-26 at 09:42 +0100, Renaud Lottiaux wrote: Hi Subrata ! Thanks Renaud for these concurrency fixes. In fact you are helping to do lots'of cleanup in LTP. I was thinking whether i can enter in to some agreement with you for this. Hah Hah. Just joking. Yes, we need lots of

Re: [LTP] [PATCH] Add Necessary Headers

2008-02-26 Thread Subrata Modak
On Mon, 2008-02-25 at 16:00 +0530, Dinakar Guniguntala wrote: On Mon, Feb 25, 2008 at 03:07:02PM +0530, Chirag Jog wrote: Hi, These patches adds missing headers to the following files. func/pi-tests/parse-testpi1.py| 26 ++

[LTP] [PATCH] Fix for ltp/testcases/ltp/testcases/commands/ade/file/file_test.sh

2008-02-26 Thread Subrata Modak
Hi, Please see the problem definition and then a fix for the above file_test.sh script in LTP: == Lin Feng Shen Reported: == Problem description: I am testing

[LTP] [PATCH] [CONCURRENCY] mremap04

2008-02-26 Thread Renaud Lottiaux
Hi ! Here is a patch fixing concurrency issue in mremap04. Just use a shm key returned from the getipckey() function instead of a fixed hardcoded value. R. -- Renaud Lottiaux Kerlabs Bâtiment Germanium 80, avenue des buttes de Coësmes 35700 Rennes - France Phone : (+33|0)6 80 89 19 34 Fax

Re: [LTP] ltp selinux patch

2008-02-26 Thread Jeff Burke
Subrata Modak wrote: On Mon, 2008-02-25 at 09:08 -0500, Stephen Smalley wrote: On Mon, 2008-02-25 at 18:56 +0530, Subrata Modak wrote: Stephen, Any new Patches for LTP-Selinux ? I don't have any updates, no. I have noticed that on x86_64, there are a number of FAILs that are not present

Re: [LTP] ltp selinux patch

2008-02-26 Thread Jeff Burke
Stephen Smalley wrote: On Tue, 2008-02-26 at 08:48 -0500, Jeff Burke wrote: Subrata Modak wrote: On Mon, 2008-02-25 at 09:08 -0500, Stephen Smalley wrote: On Mon, 2008-02-25 at 18:56 +0530, Subrata Modak wrote: Stephen, Any new Patches for LTP-Selinux ? I don't have any updates, no. I

Re: [LTP] update filecaps test

2008-02-26 Thread Andrew G. Morgan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Serge E. Hallyn wrote: | Good point. Though note that the cap_to_text manpage is confusing here | - do i free(capstxt), or do I cap_free(cap) as the manpage implies and | automatically free capstxt that way? Reading the manpage on my system | kind

Re: [LTP] ltp selinux patch

2008-02-26 Thread Jeff Burke
Jeff Burke wrote: Stephen Smalley wrote: On Tue, 2008-02-26 at 08:48 -0500, Jeff Burke wrote: Subrata Modak wrote: On Mon, 2008-02-25 at 09:08 -0500, Stephen Smalley wrote: On Mon, 2008-02-25 at 18:56 +0530, Subrata Modak wrote: Stephen, Any new Patches for LTP-Selinux ? I don't have any

[LTP] [PATCH] Various fixes in kill05

2008-02-26 Thread Renaud Lottiaux
Hi ! Here are 3 patches to apply in the following order. LTP-kill05-bad-check-fix.patch LTP-kill05-shmid_delete-fix.patch LTP-kill05-concurrency-fix.patch LTP-kill05-bad-check-fix.patch: - Fix return value check from shmat. In case of error, this wrong check was leading to a seg-fault.

Re: [LTP] ltp selinux patch

2008-02-26 Thread Serge E. Hallyn
Quoting Jeff Burke ([EMAIL PROTECTED]): Jeff Burke wrote: Stephen Smalley wrote: On Tue, 2008-02-26 at 08:48 -0500, Jeff Burke wrote: Subrata Modak wrote: On Mon, 2008-02-25 at 09:08 -0500, Stephen Smalley wrote: On Mon, 2008-02-25 at 18:56 +0530, Subrata Modak wrote: Stephen, Any

Re: [LTP] [PATCH] Add Necessary Headers

2008-02-26 Thread Chirag Jog
* Subrata Modak [EMAIL PROTECTED] [2008-02-26 17:14:43]: On Mon, 2008-02-25 at 16:00 +0530, Dinakar Guniguntala wrote: On Mon, Feb 25, 2008 at 03:07:02PM +0530, Chirag Jog wrote: Hi, These patches adds missing headers to the following files.