-
Notifications
You must be signed in to change notification settings - Fork 109
fix: 解决grub2通过x11检测分辨率失败的问题 #1011
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
安全加固保护了home目录,然而grub需要读取home下的.Xauthority文件才能和x11通讯. 导致检查支持的分辨率的时候被x服务拒绝 Log: Influence: 安全加固
Reviewer's guide (collapsed on small PRs)Reviewer's GuideAdjusts the deepin-grub2 systemd service so grub’s resolution-detection helper can access the user’s X11 authority data despite home directory hardening, fixing X11-based resolution probing failures under security hardening. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
deepin pr auto review这段代码修改涉及的是 Linux 系统中 以下是对该 1. 语法逻辑
2. 代码质量
3. 代码性能
4. 代码安全 —— 重点关注这是本次修改的核心部分,涉及安全边界的变更。
总结该修改在语法和逻辑上是正确的,注释也增加了代码的可维护性。但在安全性上,这是一个“降级”操作(放宽了沙盒限制)。 最终建议: |
|
[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 |
安全加固保护了home目录,然而grub需要读取home下的.Xauthority文件才能和x11通讯. 导致检查支持的分辨率的时候被x服务拒绝
Log:
Influence: 安全加固
Summary by Sourcery
Bug Fixes: