@@ -154,6 +154,8 @@ LOG: SELinux: allowed { add_name } scontext=unconfined_u:unconfined_r:sepgsql_r
154
154
CREATE FUNCTION regtest_func(text,int[]) RETURNS bool LANGUAGE plpgsql
155
155
AS 'BEGIN RAISE NOTICE ''regtest_func => %'', $1; RETURN true; END';
156
156
LOG: SELinux: allowed { search } scontext=unconfined_u:unconfined_r:sepgsql_regtest_superuser_t:s0 tcontext=system_u:object_r:sepgsql_schema_t:s0 tclass=db_schema name="pg_catalog" permissive=0
157
+ LINE 1: CREATE FUNCTION regtest_func(text,int[]) RETURNS bool LANGUA...
158
+ ^
157
159
LOG: SELinux: allowed { add_name } scontext=unconfined_u:unconfined_r:sepgsql_regtest_superuser_t:s0 tcontext=unconfined_u:object_r:sepgsql_schema_t:s0 tclass=db_schema name="regtest_schema" permissive=0
158
160
LOG: SELinux: allowed { create } scontext=unconfined_u:unconfined_r:sepgsql_regtest_superuser_t:s0 tcontext=unconfined_u:object_r:sepgsql_proc_exec_t:s0 tclass=db_procedure name="regtest_schema.regtest_func(pg_catalog.text,integer[])" permissive=0
159
161
CREATE AGGREGATE regtest_agg (
@@ -247,6 +249,8 @@ LOG: SELinux: allowed { create } scontext=unconfined_u:unconfined_r:sepgsql_reg
247
249
CREATE FUNCTION regtest_func_2(int) RETURNS bool LANGUAGE plpgsql
248
250
AS 'BEGIN RETURN $1 * $1 < 100; END';
249
251
LOG: SELinux: allowed { search } scontext=unconfined_u:unconfined_r:sepgsql_regtest_superuser_t:s0 tcontext=system_u:object_r:sepgsql_schema_t:s0 tclass=db_schema name="pg_catalog" permissive=0
252
+ LINE 1: CREATE FUNCTION regtest_func_2(int) RETURNS bool LANGUAGE pl...
253
+ ^
250
254
LOG: SELinux: allowed { add_name } scontext=unconfined_u:unconfined_r:sepgsql_regtest_superuser_t:s0 tcontext=unconfined_u:object_r:sepgsql_schema_t:s0 tclass=db_schema name="regtest_schema" permissive=0
251
255
LOG: SELinux: allowed { create } scontext=unconfined_u:unconfined_r:sepgsql_regtest_superuser_t:s0 tcontext=unconfined_u:object_r:sepgsql_proc_exec_t:s0 tclass=db_procedure name="regtest_schema.regtest_func_2(integer)" permissive=0
252
256
RESET SESSION AUTHORIZATION;