rpms/sepostgresql/devel sepostgresql-sepgsql-8.3.3-2.patch, 1.2, 1.3 sepostgresql.init, 1.21, 1.22 sepostgresql.spec, 1.22, 1.23

KaiGai Kohei (kaigai) fedora-extras-commits at redhat.com
Wed Aug 13 13:55:19 UTC 2008


Author: kaigai

Update of /cvs/pkgs/rpms/sepostgresql/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1523

Modified Files:
	sepostgresql-sepgsql-8.3.3-2.patch sepostgresql.init 
	sepostgresql.spec 
Log Message:
bugfix: trusted procedure invokation


sepostgresql-sepgsql-8.3.3-2.patch:

Index: sepostgresql-sepgsql-8.3.3-2.patch
===================================================================
RCS file: /cvs/pkgs/rpms/sepostgresql/devel/sepostgresql-sepgsql-8.3.3-2.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sepostgresql-sepgsql-8.3.3-2.patch	11 Jul 2008 08:39:31 -0000	1.2
+++ sepostgresql-sepgsql-8.3.3-2.patch	13 Aug 2008 13:54:49 -0000	1.3
@@ -2503,7 +2503,7 @@
  				estate->es_output_cid,
 diff -rpNU3 base/src/backend/executor/execQual.c sepgsql/src/backend/executor/execQual.c
 --- base/src/backend/executor/execQual.c	2008-01-07 23:51:33.000000000 +0900
-+++ sepgsql/src/backend/executor/execQual.c	2008-06-14 02:36:58.000000000 +0900
++++ sepgsql/src/backend/executor/execQual.c	2008-08-13 22:24:28.000000000 +0900
 @@ -47,6 +47,7 @@
  #include "nodes/makefuncs.h"
  #include "optimizer/planmain.h"
@@ -2512,7 +2512,16 @@
  #include "utils/acl.h"
  #include "utils/builtins.h"
  #include "utils/lsyscache.h"
-@@ -1772,6 +1773,8 @@ ExecEvalOper(FuncExprState *fcache,
+@@ -1494,6 +1495,8 @@ ExecMakeTableFunctionResult(ExprState *f
+ 			FuncExpr   *func = (FuncExpr *) fcache->xprstate.expr;
+ 
+ 			init_fcache(func->funcid, fcache, econtext->ecxt_per_query_memory);
++
++			pgaceCallFunction(&fcache->func);
+ 		}
+ 		returnsSet = fcache->func.fn_retset;
+ 
+@@ -1750,6 +1753,8 @@ ExecEvalFunc(FuncExprState *fcache,
  	/* Go directly to ExecMakeFunctionResult on subsequent uses */
  	fcache->xprstate.evalfunc = (ExprStateEvalFunc) ExecMakeFunctionResult;
  
@@ -2521,6 +2530,42 @@
  	return ExecMakeFunctionResult(fcache, econtext, isNull, isDone);
  }
  
+@@ -1772,6 +1777,8 @@ ExecEvalOper(FuncExprState *fcache,
+ 	/* Go directly to ExecMakeFunctionResult on subsequent uses */
+ 	fcache->xprstate.evalfunc = (ExprStateEvalFunc) ExecMakeFunctionResult;
+ 
++	pgaceCallFunction(&fcache->func);
++
+ 	return ExecMakeFunctionResult(fcache, econtext, isNull, isDone);
+ }
+ 
+@@ -1811,6 +1818,8 @@ ExecEvalDistinct(FuncExprState *fcache,
+ 
+ 		init_fcache(op->opfuncid, fcache, econtext->ecxt_per_query_memory);
+ 		Assert(!fcache->func.fn_retset);
++
++		pgaceCallFunction(&fcache->func);
+ 	}
+ 
+ 	/*
+@@ -1891,6 +1900,8 @@ ExecEvalScalarArrayOp(ScalarArrayOpExprS
+ 		init_fcache(opexpr->opfuncid, &sstate->fxprstate,
+ 					econtext->ecxt_per_query_memory);
+ 		Assert(!sstate->fxprstate.func.fn_retset);
++
++		pgaceCallFunction(&sstate->fxprstate.func);
+ 	}
+ 
+ 	/* Need to prep callinfo structure */
+@@ -3084,6 +3095,8 @@ ExecEvalNullIf(FuncExprState *nullIfExpr
+ 
+ 		init_fcache(op->opfuncid, nullIfExpr, econtext->ecxt_per_query_memory);
+ 		Assert(!nullIfExpr->func.fn_retset);
++
++		pgaceCallFunction(&nullIfExpr->func);
+ 	}
+ 
+ 	/*
 diff -rpNU3 base/src/backend/executor/execScan.c sepgsql/src/backend/executor/execScan.c
 --- base/src/backend/executor/execScan.c	2008-01-07 23:51:33.000000000 +0900
 +++ sepgsql/src/backend/executor/execScan.c	2008-06-14 02:36:58.000000000 +0900


Index: sepostgresql.init
===================================================================
RCS file: /cvs/pkgs/rpms/sepostgresql/devel/sepostgresql.init,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- sepostgresql.init	11 Jul 2008 08:39:31 -0000	1.21
+++ sepostgresql.init	13 Aug 2008 13:54:49 -0000	1.22
@@ -9,7 +9,7 @@
 
 PGVERSION="8.3.3"
 PGMAJORVERSION=`echo "$PGVERSION" | sed 's/^\([0-9]*\.[0-9a-z]*\).*$/\1/'`
-SEPGVERSION="2.952"
+SEPGVERSION="2.964"
 
 # source function library
 . /etc/rc.d/init.d/functions


Index: sepostgresql.spec
===================================================================
RCS file: /cvs/pkgs/rpms/sepostgresql/devel/sepostgresql.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- sepostgresql.spec	11 Jul 2008 08:39:31 -0000	1.22
+++ sepostgresql.spec	13 Aug 2008 13:54:49 -0000	1.23
@@ -24,7 +24,7 @@
 Summary: Security Enhanced PostgreSQL
 Name: sepostgresql
 Version: 8.3.3
-Release: 2.952%{?sepgsql_extension}%{?dist}
+Release: 2.964%{?sepgsql_extension}%{?dist}
 License: BSD
 Group: Applications/Databases
 Url: http://code.google.com/p/sepgsql/
@@ -218,6 +218,9 @@
 %attr(700,sepgsql,sepgsql) %dir %{_localstatedir}/lib/sepgsql/backups
 
 %changelog
+* Wed Aug 13 2008 <kaigai at kaigai.gr.jp> - 8.3.3-2.964
+- bugfix: trusted procedure invokation
+
 * Fri Jul 11 2008 <kaigai at kaigai.gr.jp> - 8.3.3-2.952
 - Security policy module updates
 




More information about the fedora-extras-commits mailing list