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

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 0898 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 0898.


Report 0898 Actions


    Problem Report Number 0898
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0413
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1995-10-11 08:00
    Product Standard Commands and Utilities V2 (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSC version 4.1.4
    Test Identification POSIX.upe/ps 1008
    Problem Summary TSD4C.00096 This test may fail on implementations which use a privieleged setuid ps comand.
    Problem Text
    This test may fail on implementations which use a privieleged
    setuid ps comand.

    This test uses ps -u $VSC_UserName -o user= to generate a list of
    running processes belonging to $VSC_UserName. Our implementation
    of ps changes the effective user id of the ps process to 'root'
    (setuid root). Since the -u user= option selects processes based
    on the real user id, the output, printed using the effective user
    id, contains the ps processes whose listed user id, root, does not
    match $VSC_UserName.

    We suggest changing the test line from
    ps -u $myname -o pid= -o user=
    to:
    ps -u $myname -o pid= -o ruser=

    The test should then pass.
    Test Output
    200|1 1 08:57:47|TP Start
    520|1 1 23102 1 1|Assertion #1008 (A): ps -u userlist writes info for
    processes whose user ID numbers or login names are given in userlist.
    520|1 1 23102 1 1|23142 wasn't found in standard output
    520|1 1 23102 1 2|ps -u 1001 reported process not owned by user 1001 (jeffhe)
    520|1 1 23102 1 3|Contents of ps_tmp_1008_2:
    520|1 1 23102 1 4|23142 testusr1
    520|1 1 23102 1 5|23023 testusr1
    520|1 1 23102 1 6|23090 testusr1
    520|1 1 23102 1 7|23157 root
    520|1 1 23102 1 8|22631 testusr1
    520|1 1 23102 1 9|23133 testusr1
    520|1 1 23102 1 10|23030 testusr1
    220|1 1 1 08:58:07|FAIL

    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