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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2711 Actions


    Problem Report Number 2711
    Submitter's Classification Minor System Fault
    State Resolved
    Resolution Minor System Fault (MSF)
    Problem Resolution ID MSF.X.0123
    Raised 2020-06-11 14:02
    Updated 2020-06-11 09:44
    Published 2020-06-11 09:44
    Expiry Date 2021-06-11
    Product Standard Internationalised System Calls and Libraries Extended V3 (UNIX 03)
    Certification Program The Open Brand certification program
    Test Suite VSU version 5.3.18NW
    Test Identification /tset/CAPI.os/procenv/setrlimit/T.setrlimit{5}
    Specification Base Definitions Issue 6
    Location in Spec https://pubs.opengroup.org/onlinepubs/009695399/functions/setrlimit.html
    Problem Summary Our system will not allow a process to have an RLIMIT_STACK limit
    (either current or max) set to
    RLIM_INFINITY.
    Problem Text In VSU tset/CAPI.os/procenv/setrlimit/, the test for Assertion 5
    attempts to use setrlimit() to change
    the rlim_cur and rlim_max limits to RLIM_INFINITY for the following
    system resources:
    RLIMIT_CORE
    RLIMIT_CPU
    RLIMIT_DATA
    RLIMIT_FSIZE
    RLIMIT_NOFILE
    RLIMIT_STACK
    RLIMIT_AS
    On our implementation this test fails for RLIMIT_STACK, as we do not
    support extending the stack
    segment without limit. Making stack size unlimited has potential
    security concerns related to buffer
    overflows and we will need more time to investigate the impact.
    Test Output 400|259 5 1 12:12:34|IC Start
    520|259 5 00009714 1 1|PREP: Obtain the limits for RLIMIT_CORE
    520|259 5 00009714 1 2|TEST: Call to setrlimit(RLIMIT_CORE, rlp) when
    520|259 5 00009714 1 3| RLIM_INFINITY is specified as the limit value
    520|259 5 00009714 1 4| shall inhibit enforcement of that resource
    520|259 5 00009714 1 5|PREP: Obtain the limits for RLIMIT_CPU
    520|259 5 00009714 1 6|TEST: Call to setrlimit(RLIMIT_CPU, rlp) when
    520|259 5 00009714 1 7| RLIM_INFINITY is specified as the limit value
    520|259 5 00009714 1 8| shall inhibit enforcement of that resource
    520|259 5 00009714 1 9|PREP: Obtain the limits for RLIMIT_DATA
    520|259 5 00009714 1 10|TEST: Call to setrlimit(RLIMIT_DATA, rlp) when
    520|259 5 00009714 1 11| RLIM_INFINITY is specified as the limit value
    520|259 5 00009714 1 12| shall inhibit enforcement of that resource
    520|259 5 00009714 1 13|PREP: Obtain the limits for RLIMIT_FSIZE
    520|259 5 00009714 1 14|TEST: Call to setrlimit(RLIMIT_FSIZE, rlp) when
    520|259 5 00009714 1 15| RLIM_INFINITY is specified as the limit value
    520|259 5 00009714 1 16| shall inhibit enforcement of that resource
    520|259 5 00009714 1 17|PREP: Obtain the limits for RLIMIT_NOFILE
    520|259 5 00009714 1 18|TEST: Call to setrlimit(RLIMIT_NOFILE, rlp) when
    520|259 5 00009714 1 19| RLIM_INFINITY is specified as the limit value
    520|259 5 00009714 1 20| shall inhibit enforcement of that resource
    520|259 5 00009714 1 21|PREP: Obtain the limits for RLIMIT_STACK
    520|259 5 00009714 1 22|TEST: Call to setrlimit(RLIMIT_STACK, rlp) when
    520|259 5 00009714 1 23| RLIM_INFINITY is specified as the limit value
    520|259 5 00009714 1 24| shall inhibit enforcement of that resource
    520|259 5 00009714 1 25|ERROR: setrlimit failed, errno = 22 (EINVAL -
    Invalid argument)
    520|259 5 00009714 1 26|PREP: Obtain the limits for RLIMIT_AS
    520|259 5 00009714 1 27|TEST: Call to setrlimit(RLIMIT_AS, rlp) when
    520|259 5 00009714 1 28| RLIM_INFINITY is specified as the limit value
    520|259 5 00009714 1 29| shall inhibit enforcement of that resource
    220|259 5 2 12:12:34|UNRESOLVED
    410|259 5 1 12:12:34|IC End

    Review Information

    Review Type SA Review
    Start Date 2020-06-11 14:02
    Last Updated 2020-06-11 09:44
    Completed 2020-06-11 09:44
    Status Complete
    Review Resolution Minor System Fault (MSF)
    Review Conclusion A minor system fault is granted.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority