fixes in development policy

This commit is contained in:
KaiGai Kohei 2009-03-28 02:23:48 +00:00
commit ec4b913f79
3 changed files with 5 additions and 5 deletions

View file

@ -7777,9 +7777,9 @@ diff -rpNU3 base/src/backend/security/sepgsql/policy/sepostgresql-devel.fc.templ
+
diff -rpNU3 base/src/backend/security/sepgsql/policy/sepostgresql-devel.te sepgsql-new/src/backend/security/sepgsql/policy/sepostgresql-devel.te
--- base/src/backend/security/sepgsql/policy/sepostgresql-devel.te 1970-01-01 09:00:00.000000000 +0900
+++ sepgsql-new/src/backend/security/sepgsql/policy/sepostgresql-devel.te 2009-03-13 18:14:33.000000000 +0900
+++ sepgsql-new/src/backend/security/sepgsql/policy/sepostgresql-devel.te 2009-03-28 11:17:32.000000000 +0900
@@ -0,0 +1,128 @@
+policy_module(sepostgresql-devel, 3.26)
+policy_module(sepostgresql-devel, 3.27)
+
+gen_require(`
+ class db_database all_db_database_perms;
@ -7824,7 +7824,7 @@ diff -rpNU3 base/src/backend/security/sepgsql/policy/sepostgresql-devel.te sepgs
+')
+
+# workaround for sepgsql tests
+allow sepgsql_test_t sepgsql_test_sepgsql_blob_t : db_blob { import export };
+allow sepgsql_test_t user_sepgsql_blob_t : db_blob { import export };
+dontaudit sepgsql_test_t sepgsql_blob_type : db_blob *;
+
+allow sepgsql_test_t tmpfile : dir search_dir_perms;

View file

@ -9,7 +9,7 @@
PGVERSION="8.3.7"
PGMAJORVERSION=`echo "$PGVERSION" | sed 's/^\([0-9]*\.[0-9a-z]*\).*$/\1/'`
SEPGVERSION="1770"
SEPGVERSION="1771"
# source function library
. /etc/rc.d/init.d/functions

View file

@ -12,7 +12,7 @@
Summary: Security Enhanced PostgreSQL
Name: sepostgresql
Version: 8.3.7
Release: 1770%{?dist}
Release: 1771%{?dist}
License: BSD
Group: Applications/Databases
Url: http://code.google.com/p/sepgsql/