You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2026/10/02 18:38:59 UTC
(nuttx) branch master updated (40c91176516 -> 8df6e2a3f45)
This is an automated email from the ASF dual-hosted git repository.
acassis pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
from 40c91176516 arm/nrf54l: add Bluetooth SoftDevice Controller support
new 07c81e26732 sched/signal: nxstyle
new 8df6e2a3f45 sched/signal: run no cleanup handlers on signal termination
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
sched/signal/sig_default.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
(nuttx) 02/02: sched/signal: run no cleanup handlers on signal termination
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 8df6e2a3f45bf4a6cef791fb3cf9fb36e34cdb30
Author: Royyan Zahir <ro...@gmail.com>
AuthorDate: Fri Oct 2 17:25:38 2026 +0400
sched/signal: run no cleanup handlers on signal termination
nxsig_abnormal_termination() popped the thread's pthread cleanup
handlers in the kernel, so in the protected and kernel builds a process
could get its own code called with kernel privilege by raising a fatal
signal. POSIX runs cleanup handlers on pthread_exit() and on acting upon
a cancellation; termination by a signal is as if by _exit(), which runs
none.
Signed-off-by: Royyan Zahir <ro...@gmail.com>
---
sched/signal/sig_default.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sched/signal/sig_default.c b/sched/signal/sig_default.c
index ecb1adf8a70..75f05cbcd1c 100644
--- a/sched/signal/sig_default.c
+++ b/sched/signal/sig_default.c
@@ -228,8 +228,6 @@ static void nxsig_abnormal_termination(int signo)
group_kill_children(rtcb);
#endif
- tls_cleanup_popall(tls_get_info());
-
#ifndef CONFIG_DISABLE_PTHREAD
/* Check if the currently running task is actually a pthread */
(nuttx) 01/02: sched/signal: nxstyle
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 07c81e2673207bab34483d57cef9cd8118c97496
Author: Royyan Zahir <ro...@gmail.com>
AuthorDate: Fri Oct 2 17:25:53 2026 +0400
sched/signal: nxstyle
No functional change; the next commit touches this file.
Signed-off-by: Royyan Zahir <ro...@gmail.com>
---
sched/signal/sig_default.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sched/signal/sig_default.c b/sched/signal/sig_default.c
index 1d027362324..ecb1adf8a70 100644
--- a/sched/signal/sig_default.c
+++ b/sched/signal/sig_default.c
@@ -313,7 +313,7 @@ static void nxsig_stop_task(int signo)
if (group->tg_statloc != NULL)
{
*group->tg_statloc = 0;
- group->tg_statloc = NULL;
+ group->tg_statloc = NULL;
}
/* tg_waitflags == 0 means that the flags are available to another