<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/components/lwp, branch copilot/fix-sys-getaddrinfo-bug</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/components/lwp?h=copilot%2Ffix-sys-getaddrinfo-bug</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/components/lwp?h=copilot%2Ffix-sys-getaddrinfo-bug'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2026-06-09T06:57:25Z</updated>
<entry>
<title>chore: align getaddrinfo hints copy flow</title>
<updated>2026-06-09T06:57:25Z</updated>
<author>
<name>copilot-swe-agent[bot]</name>
<email>198982749+Copilot@users.noreply.github.com</email>
</author>
<published>2026-06-09T06:57:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=7ccb5cbcedeb16f1fea6d0594e8053d7dd09eb22'/>
<id>urn:sha1:7ccb5cbcedeb16f1fea6d0594e8053d7dd09eb22</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chore: simplify getaddrinfo user copy checks</title>
<updated>2026-06-09T06:56:37Z</updated>
<author>
<name>copilot-swe-agent[bot]</name>
<email>198982749+Copilot@users.noreply.github.com</email>
</author>
<published>2026-06-09T06:56:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=c7ff65ca6e8eb08620dd8caf09f588bbe31e27b5'/>
<id>urn:sha1:c7ff65ca6e8eb08620dd8caf09f588bbe31e27b5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chore: tighten getaddrinfo user checks</title>
<updated>2026-06-09T06:55:42Z</updated>
<author>
<name>copilot-swe-agent[bot]</name>
<email>198982749+Copilot@users.noreply.github.com</email>
</author>
<published>2026-06-09T06:55:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=f8866f57a79f1156c9bb7af300069fe1115a3176'/>
<id>urn:sha1:f8866f57a79f1156c9bb7af300069fe1115a3176</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chore: clarify getaddrinfo user pointer handling</title>
<updated>2026-06-09T06:54:39Z</updated>
<author>
<name>copilot-swe-agent[bot]</name>
<email>198982749+Copilot@users.noreply.github.com</email>
</author>
<published>2026-06-09T06:54:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=1cf0530745936b2341ea61f6aecbd06b7ff3209a'/>
<id>urn:sha1:1cf0530745936b2341ea61f6aecbd06b7ff3209a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chore: refine getaddrinfo validation locals</title>
<updated>2026-06-09T06:53:21Z</updated>
<author>
<name>copilot-swe-agent[bot]</name>
<email>198982749+Copilot@users.noreply.github.com</email>
</author>
<published>2026-06-09T06:53:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=fb72c2aa264632aa7a08c966a2276abd56959639'/>
<id>urn:sha1:fb72c2aa264632aa7a08c966a2276abd56959639</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: validate nested getaddrinfo user pointers</title>
<updated>2026-06-09T06:51:59Z</updated>
<author>
<name>copilot-swe-agent[bot]</name>
<email>198982749+Copilot@users.noreply.github.com</email>
</author>
<published>2026-06-09T06:51:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=cf03fb33224f9ac8c233075e61447e57a940bdcd'/>
<id>urn:sha1:cf03fb33224f9ac8c233075e61447e57a940bdcd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lwp: fix pid leak on exec failure before task startup</title>
<updated>2026-05-26T08:56:36Z</updated>
<author>
<name>yang.zhang</name>
<email>zhangyang01@kylinos.cn</email>
</author>
<published>2026-05-03T00:58:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=d4f4c50b9e60223078a7178e47d338ca484bcbc0'/>
<id>urn:sha1:d4f4c50b9e60223078a7178e47d338ca484bcbc0</id>
<content type='text'>
When msh tries to execute a non-ELF path, lwp_execve() may allocate a PID
before lwp_load() fails. The old error path only dropped the LWP reference,
leaving the PID tree entry pointing to a freed LWP.

In an init-less boot flow, this can poison pid 1 after a failed command from
msh. A later LWP launch may then treat the stale pid 1 entry as a valid parent
LWP, resulting in invalid pgrp/session state and a job-control assertion during
process exit.

Add lwp_pid_rollback() for exec/spawn failures before the process becomes
runnable. Unlike lwp_pid_put(), it always releases the PID lock and does not
enter the "no more pid allocation" state when the PID tree becomes empty.

Use the rollback helper in lwp_execve() failure paths after PID allocation.

Signed-off-by: zhangyang &lt;gaoshanliukou@163.com&gt;
</content>
</entry>
<entry>
<title>完善版权信息</title>
<updated>2026-04-29T22:19:58Z</updated>
<author>
<name>rcitach</name>
<email>yearsince@yeah.net</email>
</author>
<published>2026-04-27T05:26:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=b4436e9b2e93be155090cfcb8e8bafa39d436137'/>
<id>urn:sha1:b4436e9b2e93be155090cfcb8e8bafa39d436137</id>
<content type='text'>
</content>
</entry>
<entry>
<title>修改用户态 data 页权限为 RO</title>
<updated>2026-04-29T22:19:58Z</updated>
<author>
<name>rcitach</name>
<email>yearsince@yeah.net</email>
</author>
<published>2026-04-27T03:19:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=93b77062cb7d05e0581522695315dd21ec269e23'/>
<id>urn:sha1:93b77062cb7d05e0581522695315dd21ec269e23</id>
<content type='text'>
</content>
</entry>
<entry>
<title>修改锁为 rt_spinlock</title>
<updated>2026-04-29T22:19:58Z</updated>
<author>
<name>rcitach</name>
<email>yearsince@yeah.net</email>
</author>
<published>2026-04-27T03:18:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=5db2be988eb1489a79da0ed298c93dae2cb5b387'/>
<id>urn:sha1:5db2be988eb1489a79da0ed298c93dae2cb5b387</id>
<content type='text'>
</content>
</entry>
</feed>
