On Sat, Mar 7, 2009 at 12:02 PM, Michael Kerrisk
<[email protected]> wrote:
> On Sun, Mar 8, 2009 at 6:58 AM, Andrew Vagin <[email protected]> wrote:
>> we have many messages about this bug in mail lists.
>> Let's add proper comment in code.
>
> Hi Andrew,
>
> Can you say more about what the bug is?  Pointers to discussions, etc.
>  I ask because it may be worth adding something to the manual page
> about the bug.
>
> Cheers,
>
> Michael
>
>> ---
>>  testcases/kernel/syscalls/inotify/inotify02.c      |    4 ++++
>>  1 files changed, 4 insertions(+), 0 deletions(-)
>>  mode change 100644 => 100755 
>> testcases/kernel/containers/netns/container_ftp.pl
>>
>> diff --git a/testcases/kernel/containers/netns/container_ftp.pl 
>> b/testcases/kernel/containers/netns/container_ftp.pl
>> old mode 100644
>> new mode 100755
>> diff --git a/testcases/kernel/syscalls/inotify/inotify02.c 
>> b/testcases/kernel/syscalls/inotify/inotify02.c
>> index b8b94d6..48627a2 100644
>> --- a/testcases/kernel/syscalls/inotify/inotify02.c
>> +++ b/testcases/kernel/syscalls/inotify/inotify02.c
>> @@ -250,6 +250,10 @@ int main(int ac, char **av){
>>             struct inotify_event *event;
>>             event = (struct inotify_event *) &event_buf[i];
>>             if (test_num >= TST_TOTAL){
>> +               if (tst_kvercmp(2,6,25) < 0)
>> +                       tst_resm(TWARN, "Mainstream kernels have bug in this"
>> +                                       "place before 2.6.25, which has been 
>> "
>> +                                       "fixed by Yan Zheng");
>>                 tst_resm(TFAIL, "get unnecessary event: "
>>                     "wd=%d mask=%x cookie=%u len=%u"
>>                     "name=\"%s\"",event->wd, event->mask,
>> --
>> 1.6.0.6

    I agree with Michael because in the future all tested Linux
kernels will not have this bug, and as such this make become nothing
more than a confusing, benign warning.
HTH,
-Garrett

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to