HomeAbout Us A-Z IndexSearch * Contact Us Register LoginPress Shop

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 0784 Details

Help Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges

This page provides all information on Problem Report 0784.


Report 0784 Actions


    Problem Report Number 0784
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0299
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1998-04-28 08:00
    Product Standard Commands and Utilities V3 (UNIX 98)
    Certification Program The Open Brand certification program
    Test Suite VSC version 5.0.1
    Test Identification XOPEN.cmd/ipcrm 1010,1012,1014,1016,1018,1020,1021
    Problem Summary TSD4C.00212 This test may fail on all implementations.
    Problem Text


    The ipcrm test cases 1010,1012,1014,1016,1018,1020,1021 all have
    a common problem with the permissions. The test cases use common
    routines to create a message queue, shared memory and semaphores
    with privileged user permssion of 0624 ("rw--w-r--") with the
    user as root. In all cases, there is verification code to verify
    the message queue, shared memory or semaphore exists for a user
    message prior to being removed by "ipcrm" and verification that the
    message was removed. The verification code uses the command "ipcs -q"
    to attempt to read an ipc facility. In all cases the, "ipcs -q" fails.
    In XSH5, page 36 defines acceptable permissions for read/write functions
    which access the ipc facilities. The "ipcs -q" is executed as the test suite
    user without any special privileges. The test user does not have read
    permission when executing "ipcs -q" as the ipc facility is owned by root. The
    ipc facility was also created without group read permissions so the test
    user can not access the ipc facility even with belonging to the same group.


    Test Output


    520|1 1 10877 1 1|Assertion #1010 (A): Privileged user can remove a message que
    520|1 1 10877 1 2| <LC> ue using -q
    520|1 1 10877 1 11|SETUP: create shared memory
    520|1 1 10877 1 12|VERIFY: shared memory exists
    520|1 1 10877 1 13|Command failed: 'ipcs -q | grep 0x10000000 >/dev/null'
    520|1 1 10877 1 14|TEST: ipcrm -q 902
    520|1 1 10877 1 15|VERIFY: shared memory is gone
    220|1 1 1 13:06:49|FAIL

    520|1 1 10877 1 1|Assertion #1012 (A): Privileged user can remove a shared memo
    520|1 1 10877 1 2| <LC> ry using -m
    520|1 1 10877 1 11|SETUP: create shared memory
    520|1 1 10877 1 12|VERIFY: shared memory exists
    520|1 1 10877 1 13|Command failed: 'ipcs -m | grep 0x10000000 >/dev/null'
    520|1 1 10877 1 14|TEST: ipcrm -m 5001
    520|1 1 10877 1 15|VERIFY: shared memory is gone
    220|1 1 1 13:06:54|FAIL

    520|1 1 10877 1 1|Assertion #1014 (A): Privileged user can remove a semaphore u
    520|1 1 10877 1 2| <LC> sing -s
    520|1 1 10877 1 11|SETUP: create semaphore
    520|1 1 10877 1 12|VERIFY: semaphore exists
    520|1 1 10877 1 13|Command failed: 'ipcs -s | grep 0x10000000 >/dev/null'
    520|1 1 10877 1 14|TEST: ipcrm -s 3670016
    520|1 1 10877 1 15|VERIFY: semaphore is gone
    220|1 1 1 13:06:59|FAIL

    520|1 1 10877 1 1|Assertion #1016 (A): User with privilege can remove a message
    520|1 1 10877 1 2| <LC> queue using -Q
    520|1 1 10877 1 11|SETUP: create message queue
    520|1 1 10877 1 12|VERIFY: message queue exists
    520|1 1 10877 1 13|Command failed: 'ipcs -q | grep 0x10000000 >/dev/null'
    520|1 1 10877 1 14|TEST: ipcrm -Q 0x10000000
    520|1 1 10877 1 15|VERIFY: message queue is gone
    220|1 1 1 13:07:04|FAIL


    520|1 1 10877 1 1|Assertion #1018 (A): User with privilege can remove a shared
    520|1 1 10877 1 2| <LC> memory using -M
    520|1 1 10877 1 11|SETUP: create shared memory
    520|1 1 10877 1 12|VERIFY: shared memory exists
    520|1 1 10877 1 13|Command failed: 'ipcs -m | grep 0x10000000 >/dev/null'
    520|1 1 10877 1 14|TEST: ipcrm -M 0x10000000
    520|1 1 10877 1 15|VERIFY: shared memory is gone
    220|1 1 1 13:07:09|FAIL

    520|1 1 10877 1 1|Assertion #1020 (A): User with privilege can remove a semapho
    520|1 1 10877 1 2| <LC> re using -S
    520|1 1 10877 1 11|SETUP: create semaphore
    520|1 1 10877 1 12|VERIFY: semaphore exists
    520|1 1 10877 1 13|Command failed: 'ipcs -s | grep 0x10000000 >/dev/null'
    520|1 1 10877 1 14|TEST: ipcrm -S 0x10000000
    520|1 1 10877 1 15|VERIFY: semaphore is gone 220|1 1 1 13:07:14|FAIL

    520|1 1 10877 1 1|Assertion #1021 (A): Non-privileged non-owner user not allowe
    520|1 1 10877 1 2| <LC> d to remove ipc
    520|1 1 10877 1 11|PREP: message queue case
    520|1 1 10877 1 12|SETUP: create privilaged message queue
    520|1 1 10877 1 13|SETUP: message queue exists
    520|1 1 10877 1 14|Command failed: 'ipcs -q | grep 0x10000000 >/dev/null'



    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    We agree this is a test suite deficiency in the test
    suite version(s) listed.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion
    This is an agreed Test Suite Deficiency.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority