-
Notifications
You must be signed in to change notification settings - Fork 88
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
fix: Secure the dbus service #357
fix: Secure the dbus service #357
Conversation
@@ -4,8 +4,8 @@ | |||
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" | |||
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> | |||
<busconfig> | |||
<!-- Only root can own the service --> | |||
<policy user="root"> | |||
<!-- Only dde-daemon can own the service --> |
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-daemon
IOWeight=200 | ||
User=dde-daemon |
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-daemon
User=dde-daemon | ||
ProtectSystem=strict | ||
ProtectSystem=strict |
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.
重复了
ProtectSystem=strict | ||
ProtectSystem=strict | ||
CacheDirectory=dde-wallpaper-cache |
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.
应该不是这个cache路径吧
NoNewPrivileges=yes | ||
# 传参可能需要/home | ||
#ProtectHome=yes |
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.
系统监视器传参需要home么
PrivateMounts=yes | ||
# 传参可能需要/tmp | ||
#PrivateTmp=yes |
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.
系统监视器传参需要tmp么
[Install] | ||
WantedBy=multi-user.target | ||
Alias=dbus-org.deepin-SystemMonitorSystemServer.service |
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.
dbus service没有使用这个Alias,那这个Alias就没有用处
<!-- Only root can own the service --> | ||
<policy user="root"> | ||
<!-- Only dde-daemon can own the service --> | ||
<policy user="dde-daemon"> |
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-daemon
6e9fe3b
to
70f553c
Compare
Secure the dbus service Log: Secure the dbus service Task: https://pms.uniontech.com/task-view-355357.html
70f553c
to
251dfcd
Compare
deepin pr auto review关键摘要:
是否建议立即修改:
|
[是否满足兼容性要求] Y |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: jeffshuai, lzwind The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/merge |
360573c
into
linuxdeepin:develop/security2407
Secure the dbus service
Log: Secure the dbus service
Task: https://pms.uniontech.com/task-view-355357.html