Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CIP-Admins
pcidentd
Commits
2f8ca02c
Commit
2f8ca02c
authored
Nov 02, 2017
by
Simon Ruderich
Browse files
debian/pcidentd.service: restrict service
These are all (relevant) options I found to restrict this service.
parent
7197154d
Changes
1
Hide whitespace changes
Inline
Side-by-side
debian/pcidentd.service
View file @
2f8ca02c
...
...
@@ -6,9 +6,23 @@ Wants=network.target
Type
=
simple
ExecStart
=
/usr/bin/pcidentd
User
=
pcidentd
AmbientCapabilities
=
CAP_NET_BIND_SERVICE
CapabilityBoundingSet
=
CAP_NET_BIND_SERVICE
MemoryDenyWriteExecute
=
yes
NoNewPrivileges
=
yes
PrivateDevices
=
yes
PrivateTmp
=
yes
ProtectControlGroups
=
yes
ProtectHome
=
yes
ProtectKernelModules
=
yes
ProtectKernelTunables
=
yes
ProtectSystem
=
strict
RestrictAddressFamilies
=
AF_UNIX AF_INET AF_INET6
RestrictNamespaces
=
yes
RestrictRealtime
=
yes
SystemCallArchitectures
=
native
SystemCallFilter
=
~@clock @cpu-emulation @debug @keyring @module @mount @obsolete @privileged @raw-io
[Install]
WantedBy
=
multi-user.target
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment