Problem Report Number |
0070 |
Submitter's Classification |
Test Suite problem |
State |
Resolved |
Resolution |
Test Suite Deficiency (TSD) |
Problem Resolution ID |
TSD.PX.0038 |
Raised |
2019-10-12 07:43 |
Updated |
2019-10-14 09:41 |
Published |
2019-10-14 09:41 |
Product Standard |
PSE52 Realtime Controller 1003.1-2003 System |
Certification Program |
POSIX Certified by IEEE and The Open Group |
Test Suite |
VSRT-PSE version 5.4.17 |
Test Identification |
/tset/rt.os/timers/clock_settime/T.clock_settime 1 |
Specification |
IEEE Std 1003.13-2003 |
Problem Summary |
clock_settime 1 test case expects an application to have the ability
to obtain privilege to set the CLOCK_REALTIME. Certain RTOS do not
provide this privilege. |
Problem Text |
The following test case fails on our RTOS but we are not
able to fix it because the permissions on setting the CLOCK_REALTIME
clock is only permissible as a kernel thread and not as an
application thread.
Hence clock_settime returns EPERM.
------------------
/tset/rt.os/timers/clock_settime/T.clock_settime 1 Failed
Test Description:
If _POSIX_TIMERS is defined or the implementation supports the
clock_settime() function as described in XSH:
A successful call to clock_settime() shall set the specified clock
to the value specified by tp and return 0.
Test Information:
clock_settime failed, errno = 1 (EPERM)
-----------------------
In the following opengroup description for
clock_settime():https://pubs.opengroup.org/onlinepubs/7908799/xsh/cl
ock_settime.html, it is indicated that a clock_settime()
implementation may fail with a return of "EPERM".
Inquiring this via the support line here: https://ts-
help.opengroup.org/hc/en-us/requests/920, it was suggested that I
file a TSD, hence this Problem Report.
|
Test Output |
/tset/rt.os/timers/clock_settime/T.clock_settime 1 Failed
Test Description:
If _POSIX_TIMERS is defined or the implementation supports the
clock_settime() function as described in XSH:
A successful call to clock_settime() shall set the specified clock
to the value specified by tp and return 0.
Test Information:
clock_settime failed, errno = 1 (EPERM)
-----------------------
In the following opengroup description for
clock_settime():https://pubs.opengroup.org/onlinepubs/7908799/xsh/clock_
set
time.html, it is indicated that a clock_settime() implementation may
fail
with a return of "EPERM". |