Skip to content
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

feat: 对deepin-face服务进行安全加固 #29

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

ECQZXC
Copy link
Contributor

@ECQZXC ECQZXC commented Sep 9, 2024

对deepin-face服务进行安全加固

Task: https://pms.uniontech.com/task-view-361193.html

@deepin-ci-robot
Copy link

deepin pr auto review

关键摘要:

  • debian/rules文件中,dh_auto_install命令的参数--prefix=/usr被重复添加,可能是不必要的。
  • debian/tmpfiles文件中,新增的deepin-face.tmpfiles路径未遵循Debian的文件路径规范。
  • msic/dbus-conf/org.deepin.dde.Face1.conf文件中,权限策略从root更改为deepin-daemon,但未提供修改理由或上下文。
  • msic/systemd/deepin-face.service文件中,服务用户从root更改为deepin-daemon,但未提供修改理由或上下文。
  • msic/systemd/deepin-face.service文件中,添加了ProtectSystem=strict,但未提供修改理由或上下文。
  • msic/systemd/deepin-face.service文件中,添加了ReadWritePaths=/var/log/deepin-face.log,但未提供修改理由或上下文。
  • msic/systemd/deepin-face.service文件中,添加了DeviceAllow=char-video4linux,但未提供修改理由或上下文。
  • msic/systemd/deepin-face.service文件中,添加了DevicePolicy=closed,但未提供修改理由或上下文。
  • msic/systemd/deepin-face.service文件中,添加了NoNewPrivileges=yes,但未提供修改理由或上下文。
  • msic/systemd/deepin-face.service文件中,添加了ProtectHome=yes,但未提供修改理由或上下文。
  • msic/systemd/deepin-face.service文件中,添加了ProtectKernelTunables=yes,但未提供修改理由或上下文。
  • msic/systemd/deepin-face.service文件中,添加了ProtectKernelModules=yes,但未提供修改理由或上下文。
  • msic/systemd/deepin-face.service文件中,添加了ProtectControlGroups=yes,但未提供修改理由或上下文。
  • msic/systemd/deepin-face.service文件中,添加了PrivateMounts=yes,但未提供修改理由或上下文。
  • msic/systemd/deepin-face.service文件中,添加了PrivateTmp=yes,但未提供修改理由或上下文。
  • msic/systemd/deepin-face.service文件中,添加了PrivateDevices=yes,但未提供修改理由或上下文。
  • msic/systemd/deepin-face.service文件中,添加了PrivateNetwork=yes,但未提供修改理由或上下文。
  • msic/systemd/deepin-face.service文件中,添加了PrivateUsers=yes,但未提供修改理由或上下文。
  • msic/systemd/deepin-face.service文件中,添加了RestrictNamespaces=yes,但未提供修改理由或上下文。
  • msic/systemd/deepin-face.service文件中,添加了LockPersonality=yes,但未提供修改理由或上下文。
  • msic/systemd/deepin-face.service文件中,添加了RestrictRealtime=yes,但未提供修改理由或上下文。
  • msic/systemd/deepin-face.service文件中,添加了RemoveIPC=yes,但未提供修改理由或上下文。
  • msic/systemd/deepin-face.service文件中,添加了MemoryDenyWriteExecute=yes,但未提供修改理由或上下文。
  • msic/systemd/deepin-face.service文件中,添加了# 内存占用TODO,但未提供修改理由或上下文。
  • msic/systemd/deepin-face.service文件中,添加了`#MemoryLimit=100M

@ECQZXC
Copy link
Contributor Author

ECQZXC commented Sep 9, 2024

/merge

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Sep 9, 2024

This pr cannot be merged! (status: blocked)

@deepin-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: ECQZXC, fly602, robertkill

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ECQZXC
Copy link
Contributor Author

ECQZXC commented Sep 9, 2024

/merge

@deepin-bot deepin-bot bot merged commit 6fb287e into linuxdeepin:master Sep 9, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants