Skip to contentSkip to conversation

services_postgresql.patch

refpolicy Daniel J Walsh 2 participants 4 messages May 22, 2009 – May 23, 2009

lore
Share & tools
lore
#2 lore raw
Quoted 7 lines · KaiGai Kohei
Quoted 6 lines · Daniel J Walsh

http://people.fedoraproject.org/~dwalsh/SELinux/F11/services_postgresql.patch

Add _admin interface
Type for init script,

Quoted 7 lines
Quoted 1 line

And I believe a couple of transtions to be to proc_t not proc_exec_t

In the latest refpolicy, sepgsql_proc_t is an alias of sepgsql_proc_exec_t. Other procedure types also have xxxx_sepgsql_proc_exec_t, so it should follow the convension.

Thanks,

ok. Did not make much sense to me, you are creating executables?

#3 lore raw
Quoted 11 lines · Daniel J Walsh
Quoted 10 lines · KaiGai Kohei
Quoted 8 lines · Daniel J Walsh

http://people.fedoraproject.org/~dwalsh/SELinux/F11/services_postgresql.patch

Add _admin interface
Type for init script,

And I believe a couple of transtions to be to proc_t not proc_exec_t

Quoted 8 lines
Quoted 6 lines

In the latest refpolicy, sepgsql_proc_t is an alias of sepgsql_proc_exec_t.
Other procedure types also have xxxx_sepgsql_proc_exec_t, so it should follow the convension.

Thanks,

ok. Did not make much sense to me, you are creating executables?

Yes, db_procedure class objects are executable stuff.

We assume xxxx_proc_exec_t types are assigned to SQL procedures. SQL procedures are invoked and executed as a part of SQL query, and some of them (with sepgsql_trusted_proc_exec_t) can causes domain transition during execution of the procedure.

It is an analogy of executable programs in database.

Thanks,

Signature · 1 line
KaiGai Kohei <[email protected]>