<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/components/lwp/lwp_signal.c, branch copilot/bug-security-related-issue</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/components/lwp/lwp_signal.c?h=copilot%2Fbug-security-related-issue</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/components/lwp/lwp_signal.c?h=copilot%2Fbug-security-related-issue'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2025-02-18T06:33:56Z</updated>
<entry>
<title>[lwp]检查killpg的signo参数的有效性 (#9981)</title>
<updated>2025-02-18T06:33:56Z</updated>
<author>
<name>heyuanjie87</name>
<email>943313837@qq.com</email>
</author>
<published>2025-02-18T06:33:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=4b25b5ed9a0437cf2de9d46995f4d2d875cf3dd5'/>
<id>urn:sha1:4b25b5ed9a0437cf2de9d46995f4d2d875cf3dd5</id>
<content type='text'>
* [lwp]对检查killpg的signo参数的有效性</content>
</entry>
<entry>
<title>feat: add signal kill all functionality</title>
<updated>2025-01-06T11:34:16Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-11-12T09:35:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=dc3270f14ee0a3902df8103f1c1e485bd0f4629f'/>
<id>urn:sha1:dc3270f14ee0a3902df8103f1c1e485bd0f4629f</id>
<content type='text'>
This change introduces the `lwp_signal_kill_all` function, which allows a
signal to be sent to all processes in the system. The function iterates
over all PIDs and sends the specified signal to each process, except those
that are protected from signals. This enhancement provides a convenient way
to broadcast signals across all processes in the system.

Changes:
- Added `lwp_signal_kill_all` function in `lwp_signal.c` to broadcast a
  signal to all processes by iterating over all PIDs using the existing
  `lwp_pid_for_each` function.
- Introduced a new `kill_all_param` structure to encapsulate the signal
  information needed for killing processes.
- Added internal `_kill_each` helper function for sending the signal to each
  PID.
- Updated `lwp_signal.h` with the new function prototype for `lwp_signal_kill_all`.
- Modified `sys_kill` in `lwp_syscall.c` to call `lwp_signal_kill_all` when
  a process is not specified.

Signed-off-by: Shell &lt;smokewood@qq.com&gt;
</content>
</entry>
<entry>
<title>sync smart &amp; dfs (#8672)</title>
<updated>2024-03-28T15:42:56Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-03-28T15:42:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=83e95bdff4c48c661b50e1eec56d5fd293b28fbb'/>
<id>urn:sha1:83e95bdff4c48c661b50e1eec56d5fd293b28fbb</id>
<content type='text'>
Signed-off-by: xqyjlj &lt;xqyjlj@126.com&gt;
Signed-off-by: Shell &lt;smokewood@qq.com&gt;
Co-authored-by: xqyjlj &lt;xqyjlj@126.com&gt;</content>
</entry>
<entry>
<title>🎯 Sync smart &amp; scheduler codes (#8537)</title>
<updated>2024-02-23T09:49:15Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-02-23T09:49:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=71560bafb5735220696ca24a42ba4a668b55949b'/>
<id>urn:sha1:71560bafb5735220696ca24a42ba4a668b55949b</id>
<content type='text'>
Signed-off-by: Shell &lt;smokewood@qq.com&gt;
Co-authored-by: xqyjlj &lt;xqyjlj@126.com&gt;</content>
</entry>
<entry>
<title>[smart] fixup of lwp recycling and mm varea (#8206)</title>
<updated>2023-11-02T12:23:11Z</updated>
<author>
<name>Shell</name>
<email>wangxiaoyao@rt-thread.com</email>
</author>
<published>2023-11-02T12:23:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=c2036e769ae5a16931e40f834cc0687342dc89ce'/>
<id>urn:sha1:c2036e769ae5a16931e40f834cc0687342dc89ce</id>
<content type='text'>
Signed-off-by: shell &lt;wangxiaoyao@rt-thread.com&gt;
Signed-off-by: Shell &lt;smokewood@qq.com&gt;
Co-authored-by: xqyjlj &lt;xqyjlj@126.com&gt;</content>
</entry>
<entry>
<title>🎈 perf: perf rt_hw_interrupt_disable/enable (#8042)</title>
<updated>2023-10-25T12:31:25Z</updated>
<author>
<name>xqyjlj</name>
<email>xqyjlj@126.com</email>
</author>
<published>2023-10-25T12:31:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=3283f54c7a0444b2e51ec79a4da57e7871528f05'/>
<id>urn:sha1:3283f54c7a0444b2e51ec79a4da57e7871528f05</id>
<content type='text'>
Signed-off-by: Shell &lt;smokewood@qq.com&gt;
Co-authored-by: Shell &lt;smokewood@qq.com&gt;</content>
</entry>
<entry>
<title>[smart] Replace irq disable/enable codes in futex (#7941)</title>
<updated>2023-10-14T05:07:45Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2023-10-14T05:07:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=4158c8e88ec531cefd669579bf98f279a221b2c8'/>
<id>urn:sha1:4158c8e88ec531cefd669579bf98f279a221b2c8</id>
<content type='text'>
Signed-off-by: Shell &lt;smokewood@qq.com&gt;</content>
</entry>
<entry>
<title>[smart] fix of cmd_kill (#8071)</title>
<updated>2023-09-22T07:06:07Z</updated>
<author>
<name>Shell</name>
<email>wangxiaoyao@rt-thread.com</email>
</author>
<published>2023-09-22T07:06:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=b826afe8f96b2c7f286f6ca6071c92019677d91a'/>
<id>urn:sha1:b826afe8f96b2c7f286f6ca6071c92019677d91a</id>
<content type='text'>
Signed-off-by: Shell &lt;smokewood@qq.com&gt;</content>
</entry>
<entry>
<title>Add the system call signalfd (#8001)</title>
<updated>2023-09-11T06:06:08Z</updated>
<author>
<name>zmq810150896</name>
<email>50894086+zmq810150896@users.noreply.github.com</email>
</author>
<published>2023-09-11T06:06:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=7c3d966df6402e5b975ea4d5a7345a58f4746491'/>
<id>urn:sha1:7c3d966df6402e5b975ea4d5a7345a58f4746491</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[smart/signal] fixups of signal (#7998)</title>
<updated>2023-09-09T01:37:38Z</updated>
<author>
<name>Shell</name>
<email>wangxiaoyao@rt-thread.com</email>
</author>
<published>2023-09-09T01:37:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=459024f306ec9c47207b174ef6c4f8e7724ef965'/>
<id>urn:sha1:459024f306ec9c47207b174ef6c4f8e7724ef965</id>
<content type='text'>
Signed-off-by: Shell &lt;smokewood@qq.com&gt;</content>
</entry>
</feed>
