* [refpolicy] [PATCH 13/15] Allow postgresql to connect to his unix_stream_socket
@ 2011-03-09 21:25 Sven Vermeulen
2011-03-22 12:58 ` Christopher J. PeBenito
0 siblings, 1 reply; 2+ messages in thread
From: Sven Vermeulen @ 2011-03-09 21:25 UTC (permalink / raw)
To: refpolicy
Required in order to start postgresql and test activities with psql command.
Signed-off-by: Sven Vermeulen <sven.vermeulen@siphos.be>
---
policy/modules/services/postgresql.te | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/policy/modules/services/postgresql.te b/policy/modules/services/postgresql.te
index 8ed5067..77e6ca2 100644
--- a/policy/modules/services/postgresql.te
+++ b/policy/modules/services/postgresql.te
@@ -205,7 +205,7 @@ allow postgresql_t self:shm create_shm_perms;
allow postgresql_t self:tcp_socket create_stream_socket_perms;
allow postgresql_t self:udp_socket create_stream_socket_perms;
allow postgresql_t self:unix_dgram_socket create_socket_perms;
-allow postgresql_t self:unix_stream_socket create_stream_socket_perms;
+allow postgresql_t self:unix_stream_socket { connectto create_stream_socket_perms };
allow postgresql_t self:netlink_selinux_socket create_socket_perms;
allow postgresql_t sepgsql_database_type:db_database *;
--
1.7.3.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [refpolicy] [PATCH 13/15] Allow postgresql to connect to his unix_stream_socket
2011-03-09 21:25 [refpolicy] [PATCH 13/15] Allow postgresql to connect to his unix_stream_socket Sven Vermeulen
@ 2011-03-22 12:58 ` Christopher J. PeBenito
0 siblings, 0 replies; 2+ messages in thread
From: Christopher J. PeBenito @ 2011-03-22 12:58 UTC (permalink / raw)
To: refpolicy
On 03/09/11 16:25, Sven Vermeulen wrote:
> Required in order to start postgresql and test activities with psql command.
Sounds like psql needs its own domain. Especially in light of patch 14.
> Signed-off-by: Sven Vermeulen <sven.vermeulen@siphos.be>
> ---
> policy/modules/services/postgresql.te | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/policy/modules/services/postgresql.te b/policy/modules/services/postgresql.te
> index 8ed5067..77e6ca2 100644
> --- a/policy/modules/services/postgresql.te
> +++ b/policy/modules/services/postgresql.te
> @@ -205,7 +205,7 @@ allow postgresql_t self:shm create_shm_perms;
> allow postgresql_t self:tcp_socket create_stream_socket_perms;
> allow postgresql_t self:udp_socket create_stream_socket_perms;
> allow postgresql_t self:unix_dgram_socket create_socket_perms;
> -allow postgresql_t self:unix_stream_socket create_stream_socket_perms;
> +allow postgresql_t self:unix_stream_socket { connectto create_stream_socket_perms };
> allow postgresql_t self:netlink_selinux_socket create_socket_perms;
>
> allow postgresql_t sepgsql_database_type:db_database *;
--
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-22 12:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-09 21:25 [refpolicy] [PATCH 13/15] Allow postgresql to connect to his unix_stream_socket Sven Vermeulen
2011-03-22 12:58 ` Christopher J. PeBenito
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.