services_postgresql.patch
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
Added a transition on creation of sock_file
Quoted 6 lines · Daniel J Walsh
http://people.fedoraproject.org/~dwalsh/SELinux/F11/services_postgresql.patch
Add
_admininterface
Type for init script,And I believe a couple of transtions to be to
proc_tnotproc_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,
Signature · 1 line
KaiGai Kohei <[email protected]>
Quoted 7 lines · KaiGai Kohei
Quoted 6 lines · Daniel J Walsh
http://people.fedoraproject.org/~dwalsh/SELinux/F11/services_postgresql.patch
Add
_admininterface
Type for init script,
Quoted 7 lines
Quoted 1 line
And I believe a couple of transtions to be to
proc_tnotproc_exec_tIn the latest refpolicy,
sepgsql_proc_tis an alias ofsepgsql_proc_exec_t. Other procedure types also havexxxx_sepgsql_proc_exec_t, so it should follow the convension.Thanks,
ok. Did not make much sense to me, you are creating executables?
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
_admininterface
Type for init script,And I believe a couple of transtions to be to
proc_tnotproc_exec_t
Quoted 8 lines
Quoted 6 lines
In the latest refpolicy,
sepgsql_proc_tis an alias ofsepgsql_proc_exec_t.
Other procedure types also havexxxx_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]>