-
Notifications
You must be signed in to change notification settings - Fork 40
feat: Add security restriction configurations to all service files #271
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
|
Skipping CI for Draft Pull Request. |
954b8da to
1d4121c
Compare
1d4121c to
a464fa4
Compare
a464fa4 to
3ad37bf
Compare
electricface
left a comment
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.
改好了。
- Use the deepin-daemon user to run services whenever possible, reducing privilege risks; - Add a D-Bus policy to allow the deepin-daemon user to invoke the HandleSystemEvent method; - Deny users other than root and deepin-daemon from calling HandleSystemEvent, strengthening access control; - "Remove the unused update-metadata-info related scripts and services. Task: https://pms.uniontech.com/task-view-385069.html
3ad37bf to
dfe0d4a
Compare
deepin pr auto review我来对这段代码进行审查,主要从安全性、性能和代码质量几个方面进行分析:
建议的进一步改进:
这些改进主要围绕安全性、可靠性和可维护性展开,有助于提高系统的整体质量。 |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: electricface, zhaohuiw42 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 |
reducing privilege risks;
HandleSystemEvent method;
HandleSystemEvent, strengthening access control.