2025-02-05 19:39:03 +02:00
|
|
|
(block postgres
|
|
|
|
(blockinherit container)
|
|
|
|
(blockinherit restricted_net_container)
|
|
|
|
(allow process process ( capability ( chown dac_override fowner fsetid kill net_bind_service setfcap setgid setpcap setuid sys_chroot )))
|
|
|
|
|
|
|
|
(allow process postgresql_port_t ( tcp_socket ( name_bind )))
|
2025-02-06 22:51:07 +02:00
|
|
|
(allow process default_t ( dir ( add_name create getattr ioctl lock open read remove_name rmdir search setattr write )))
|
|
|
|
(allow process default_t ( file ( append create getattr ioctl lock map open read rename setattr unlink write link)))
|
|
|
|
(allow process default_t ( fifo_file ( getattr read write append ioctl lock open )))
|
|
|
|
(allow process default_t ( sock_file ( append getattr open read write )))
|
2025-02-05 19:39:03 +02:00
|
|
|
)
|