summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/guix-daemon.cil.in15
1 files changed, 13 insertions, 2 deletions
diff --git a/etc/guix-daemon.cil.in b/etc/guix-daemon.cil.in
index 0d7945843ee..8ff67160381 100644
--- a/etc/guix-daemon.cil.in
+++ b/etc/guix-daemon.cil.in
@@ -264,6 +264,7 @@
264 link unlink 264 link unlink
265 map 265 map
266 rename 266 rename
267 append
267 open read write relabelfrom))) 268 open read write relabelfrom)))
268 (allow guix_daemon_t 269 (allow guix_daemon_t
269 guix_store_content_t 270 guix_store_content_t
@@ -277,7 +278,7 @@
277 (fifo_file (create getattr open read unlink write))) 278 (fifo_file (create getattr open read unlink write)))
278 (allow guix_daemon_t 279 (allow guix_daemon_t
279 guix_store_content_t 280 guix_store_content_t
280 (sock_file (create getattr unlink write))) 281 (sock_file (create getattr setattr unlink write)))
281 282
282 ;; Access to configuration files and directories 283 ;; Access to configuration files and directories
283 (allow guix_daemon_t 284 (allow guix_daemon_t
@@ -362,7 +363,7 @@
362 (tcp_socket (name_bind name_connect accept listen))) 363 (tcp_socket (name_bind name_connect accept listen)))
363 (allow guix_daemon_t 364 (allow guix_daemon_t
364 self 365 self
365 (udp_socket (connect getattr bind getopt setopt))) 366 (udp_socket (connect getattr bind getopt setopt read write)))
366 (allow guix_daemon_t 367 (allow guix_daemon_t
367 self 368 self
368 (fifo_file (write read))) 369 (fifo_file (write read)))
@@ -376,6 +377,7 @@
376 self 377 self
377 (unix_dgram_socket (create bind connect sendto read write))) 378 (unix_dgram_socket (create bind connect sendto read write)))
378 379
380 ;; For some esoteric build jobs (i.e. PostgreSQL).
379 (allow guix_daemon_t 381 (allow guix_daemon_t
380 node_t 382 node_t
381 (tcp_socket (node_bind))) 383 (tcp_socket (node_bind)))
@@ -386,6 +388,15 @@
386 port_t 388 port_t
387 (tcp_socket (name_connect))) 389 (tcp_socket (name_connect)))
388 (allow guix_daemon_t 390 (allow guix_daemon_t
391 tmpfs_t
392 (file (map read write)))
393 (allow guix_daemon_t
394 hugetlbfs_t
395 (file (map read write)))
396 (allow guix_daemon_t
397 postgresql_port_t
398 (tcp_socket (name_connect name_bind)))
399 (allow guix_daemon_t
389 rtp_media_port_t 400 rtp_media_port_t
390 (udp_socket (name_bind))) 401 (udp_socket (name_bind)))
391 (allow guix_daemon_t 402 (allow guix_daemon_t