util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC/PATCH] Add hardening settings to uuidd.service
@ 2018-11-12 21:10 Andreas Henriksson
  2018-11-22 10:32 ` Karel Zak
  2018-11-23 11:10 ` [PATCH v2] " Andreas Henriksson
  0 siblings, 2 replies; 5+ messages in thread
From: Andreas Henriksson @ 2018-11-12 21:10 UTC (permalink / raw)
  To: util-linux; +Cc: Andreas Henriksson

This limits what the uuid daemon has access to when it runs.

Further improving this with additional option or making
things even tighter is most likely possible.

Signed-off-by: Andreas Henriksson <andreas@fatal.se>
---
 misc-utils/uuidd.service.in | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/misc-utils/uuidd.service.in b/misc-utils/uuidd.service.in
index 45f1f7334..dd38b645c 100644
--- a/misc-utils/uuidd.service.in
+++ b/misc-utils/uuidd.service.in
@@ -17,8 +17,7 @@ ProtectKernelModules=yes
 ProtectControlGroups=yes
 RestrictAddressFamilies=AF_UNIX
 MemoryDenyWriteExecute=yes
-SystemCallFilter=@default @file-system @basic-io @system-service @signal @io-eve
-nt @network-io
+SystemCallFilter=@default @file-system @basic-io @system-service @signal @io-event @network-io
 
 [Install]
 Also=uuidd.socket
-- 
2.19.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-11-29 10:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-12 21:10 [RFC/PATCH] Add hardening settings to uuidd.service Andreas Henriksson
2018-11-22 10:32 ` Karel Zak
2018-11-22 11:43   ` Andreas Henriksson
2018-11-23 11:10 ` [PATCH v2] " Andreas Henriksson
2018-11-29 10:03   ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).