1. Fixed a crash issue where clients created through the security context could not obtain the corresponding WClient object. 2. Clients created via security context use a new socket connection, which is not managed by WSocket by default. 3. The wlroots protocol provides limited information for monitoring such wl_clients. 4. This commit adapts the wlroots implementation: in `security_context_handle_commit`, a new WSocket object is created for the listening socket, and the new wl_client object created from this socket is added to WClient for management. Influence: 1. Test the creation of clients using the security context. 2. Verify that the created clients can correctly obtain the WClient object. 3. Ensure that newly created sockets are correctly managed. 修复:修复通过安全上下文创建的客户端崩溃问题 1. 修复了通过安全上下文创建的客户端无法获取对应的 WClient 对象导致崩溃的 问题。 2. 通过安全上下文创建的客户端使用新的套接字连接,默认情况下不由 WSocket 管理。 3. wlroots 协议为监控此类 wl_clients 提供的相关信息有限。 4. 本次提交采纳了 wlroots 的实现:在 `security_context_handle_commit` 中,为监听的套接字创建一个新的 WSocket 对象,并将由此套接字创建的新 wl_client 对象添加到 WClient 中进行管理。 Influence: 1. 测试使用安全上下文创建客户端的过程。 2. 验证创建的客户端能否正确获取 WClient 对象。 3. 确保新创建的套接字能够得到正确的管理。 |
||
|---|---|---|
| .. | ||
| Apache-2.0.txt | ||
| CC-BY-4.0.txt | ||
| CC0-1.0.txt | ||
| GPL-2.0-only.txt | ||
| GPL-3.0-only.txt | ||
| HPND.txt | ||
| LGPL-3.0-only.txt | ||
| MIT.txt | ||