Revert "doc: posix: mark posix signals supported with undefined behaviour"

This reverts commit b10f1ca3a6.

PR #73978 introduced a regression.
Unfortunately this PR cannot be reverted without reverting also
Let's revert both PRs to stabilize main again towards the 3.7 release.

For more details on the issue see
https://github.com/zephyrproject-rtos/zephyr/issues/75205

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
Alberto Escolar Piedras 2024-07-01 12:06:52 +02:00 committed by Anas Nashif
commit b2ca594f47
2 changed files with 12 additions and 20 deletions

View file

@ -50,8 +50,8 @@ The *Minimal Realtime System Profile* (PSE51) includes all of the
:ref:`POSIX_C_LANG_JUMP <posix_option_group_c_lang_jump>`, yes, :ref:`POSIX_C_LANG_JUMP <posix_option_group_c_lang_jump>`, yes,
:ref:`POSIX_C_LANG_SUPPORT <posix_option_group_c_lang_support>`, yes, :ref:`POSIX_C_LANG_SUPPORT <posix_option_group_c_lang_support>`, yes,
:ref:`POSIX_DEVICE_IO <posix_option_group_device_io>`,yes, :kconfig:option:`CONFIG_POSIX_DEVICE_IO` :ref:`POSIX_DEVICE_IO <posix_option_group_device_io>`, yes, :kconfig:option:`CONFIG_POSIX_DEVICE_IO`
:ref:`POSIX_SIGNALS <posix_option_group_signals>`, yes, :kconfig:option:`CONFIG_POSIX_SIGNALS` :ref:`†<posix_undefined_behaviour>` :ref:`POSIX_SIGNALS <posix_option_group_signals>`,, :kconfig:option:`CONFIG_POSIX_SIGNALS`
:ref:`POSIX_SINGLE_PROCESS <posix_option_group_single_process>`, yes, :kconfig:option:`CONFIG_POSIX_SINGLE_PROCESS` :ref:`POSIX_SINGLE_PROCESS <posix_option_group_single_process>`, yes, :kconfig:option:`CONFIG_POSIX_SINGLE_PROCESS`
:ref:`XSI_THREADS_EXT <posix_option_group_xsi_threads_ext>`, yes, :kconfig:option:`CONFIG_XSI_THREADS_EXT` :ref:`XSI_THREADS_EXT <posix_option_group_xsi_threads_ext>`, yes, :kconfig:option:`CONFIG_XSI_THREADS_EXT`

View file

@ -244,34 +244,26 @@ POSIX_SIGNALS
Signal services are a basic mechanism within POSIX-based systems and are Signal services are a basic mechanism within POSIX-based systems and are
required for error and event handling. required for error and event handling.
.. note::
As processes are not yet supported in Zephyr, the ISO C functions ``abort()``, ``signal()``,
and ``raise()``, as well as the other POSIX functions listed below, may exhibit undefined
behaviour. The POSIX functions ``kill()``, ``pause()``, ``sigaction()``, ``sigpending()``,
``sigsuspend()``, and ``sigwait()`` are implemented to ensure that conformant applications can
link, but they are expected to fail, setting errno to ``ENOSYS``
:ref:`†<posix_undefined_behaviour>`.
.. csv-table:: POSIX_SIGNALS .. csv-table:: POSIX_SIGNALS
:header: API, Supported :header: API, Supported
:widths: 50,10 :widths: 50,10
abort(),yes :ref:`†<posix_undefined_behaviour>` abort(),yes
alarm(),yes :ref:`†<posix_undefined_behaviour>` alarm(),
kill(),yes :ref:`†<posix_undefined_behaviour>` kill(),
pause(),yes :ref:`†<posix_undefined_behaviour>` pause(),
raise(),yes :ref:`†<posix_undefined_behaviour>` raise(),
sigaction(),yes :ref:`†<posix_undefined_behaviour>` sigaction(),
sigaddset(),yes sigaddset(),yes
sigdelset(),yes sigdelset(),yes
sigemptyset(),yes sigemptyset(),yes
sigfillset(),yes sigfillset(),yes
sigismember(),yes sigismember(),yes
signal(),yes :ref:`†<posix_undefined_behaviour>` signal(),
sigpending(),yes :ref:`†<posix_undefined_behaviour>` sigpending(),
sigprocmask(),yes sigprocmask(),yes
sigsuspend(),yes :ref:`†<posix_undefined_behaviour>` sigsuspend(),
sigwait(),yes :ref:`†<posix_undefined_behaviour>` sigwait(),
strsignal(),yes strsignal(),yes
.. _posix_option_group_device_io: .. _posix_option_group_device_io: