chore: bump version to 6.1.103 - #1217
Conversation
update changelog to 6.1.103 Log: update changelog to 6.1.103
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis PR updates the Debian package changelog to reflect a new release version 6.1.103. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
deepin pr auto review★ 总体评分:40分■ 【总体评价】
■ 【详细分析】
■ 【改进建议代码示例】 // 假设在 src/system/system_manager.cpp 或相关权限管理文件中
// 增加安全启动状态检测与过滤逻辑
#include <fstream>
#include <string>
bool IsSecureBootEnabled() {
std::ifstream file("/sys/firmware/efi/efivars/SecureBoot-8be4df61-93ca-11d2-aa0d-00e098032b8c", std::ios::binary);
if (!file.is_open()) {
return false;
}
char buf[4];
if (file.read(buf, 4)) {
return buf[3] == 1;
}
return false;
}
bool IsAppAdaptedToSecureBoot(const std::string& appPath) {
// 实现应用白名单校验或签名校验逻辑
return false;
}
// 在原有的DBus接口处理函数入口处调用
void HandleDBusMethodCall(...) {
if (IsSecureBootEnabled()) {
if (!IsAppAdaptedToSecureBoot(callerPath)) {
// 静默拒绝,不抛出polkit提权弹窗
return;
}
}
// 原有的 polkit 校验及业务逻辑
} |
|
@mhduiy: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: fly602, mhduiy The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
误报,当前仅修改changelog |
|
TAG Bot TAG: 6.1.103 |
|
TAG Bot ✅ Tag created successfully 📋 Tag Details
|
Update debian/changelog to 6.1.103.
Summary by Sourcery
Build: