Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#73 Test case for ioperm doesn't work for >2.6.8 kernels

System Calls
closed-invalid
nobody
Testcases (113)
5
2007-05-14
2005-07-13
Sharyathi Nagesh
No

Test case : ioperm02.c
Test case ioperm02 doesn't update the variable to
take care of feature modification in 2.6.8 kenel and
above. Test case expects ioperm to fail for address
1021. Since this is a valid address in linux kernels
2.6.8 and above the ioperm test comes out with success
rather than failure. This seems to be primarily because
of failure on part of the progrm ioperm02.c to update
IO_BITMAP_BITS in case of 2.6.8 kernel. So let us know
how we can change the test case to reflect the feature
enhancement.
Regards
Sharyathi Nagesh

Discussion

  • Subrata Modak
    Subrata Modak
    2007-05-14

    Logged In: YES
    user_id=1737361
    Originator: NO

    I think i get the following failures:
    # ./testcases/bin/ioperm02
    ioperm02 1 PASS : Expected failure for Invalid I/O address, errno: 22
    ioperm02 2 FAIL : Unexpected results for Non super-user ; returned -1 (expected -1), errno 22 (expected errno 1)
    for the following Kernel:
    Linux 2.6.9-42.0.3.EL #1 Mon Sep 25 17:14:19 EDT 2006 i686 i686 i386 GNU/Linux
    Regards--
    Subrata

     
  • Subrata Modak
    Subrata Modak
    2007-05-14

    • status: open --> closed-invalid