trunk: Add db_procedure install permission from KaiGai Kohei.

This commit is contained in:
Chris PeBenito 2009-01-23 19:49:36 +00:00
parent 019dfaf9dc
commit 466e22a8ba
5 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,4 @@
- Add db_procedure install permission from KaiGai Kohei.
- Add support for network interfaces with access controlled by a Boolean
from the CLIP project.
- Several fixes from the CLIP project.

View File

@ -739,6 +739,7 @@ inherits database
{
execute
entrypoint
install
}
class db_column

View File

@ -123,7 +123,7 @@ mlsconstrain db_column { drop setattr relabelfrom select update insert use }
mlsconstrain db_tuple { relabelfrom select update delete use }
( h1 dom h2 );
mlsconstrain db_procedure { execute }
mlsconstrain db_procedure { execute install }
( h1 dom h2 );
mlsconstrain db_blob { drop setattr relabelfrom read write }

View File

@ -664,7 +664,7 @@ mlsconstrain { db_table db_column } { getattr use select }
( t1 == mlsdbread ) or
( t2 == mlstrustedobject ));
mlsconstrain { db_procedure } { getattr execute }
mlsconstrain { db_procedure } { getattr execute install }
(( l1 dom l2 ) or
(( t1 == mlsdbreadtoclr ) and ( h1 dom l2 )) or
( t1 == mlsdbread ) or

View File

@ -1,5 +1,5 @@
policy_module(postgresql, 1.8.2)
policy_module(postgresql, 1.8.3)
gen_require(`
class db_database all_db_database_perms;
@ -303,7 +303,7 @@ allow sepgsql_client_type sepgsql_sysobj_t:db_table { getattr use select };
allow sepgsql_client_type sepgsql_sysobj_t:db_column { getattr use select };
allow sepgsql_client_type sepgsql_sysobj_t:db_tuple { use select };
allow sepgsql_client_type sepgsql_proc_t:db_procedure { getattr execute };
allow sepgsql_client_type sepgsql_proc_t:db_procedure { getattr execute install };
allow sepgsql_client_type sepgsql_trusted_proc_t:db_procedure { getattr execute entrypoint };
allow sepgsql_client_type sepgsql_blob_t:db_blob { create drop getattr setattr read write };