rpms/kernel/devel linux-2.6-compile-fixes.patch,1.64,1.65

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Apr 3 04:33:36 UTC 2006


Author: davej

Update of /cvs/dist/rpms/kernel/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv31691

Modified Files:
	linux-2.6-compile-fixes.patch 
Log Message:
build fix


linux-2.6-compile-fixes.patch:
 include/asm-s390/atomic.h |    2 ++
 security/selinux/xfrm.c   |    4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

Index: linux-2.6-compile-fixes.patch
===================================================================
RCS file: /cvs/dist/rpms/kernel/devel/linux-2.6-compile-fixes.patch,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- linux-2.6-compile-fixes.patch	3 Apr 2006 04:16:49 -0000	1.64
+++ linux-2.6-compile-fixes.patch	3 Apr 2006 04:33:32 -0000	1.65
@@ -13,3 +13,23 @@
  /*
   *  include/asm-s390/atomic.h
   *
+--- linux-2.6.16.noarch/security/selinux/xfrm.c~	2006-04-02 23:27:07.000000000 -0500
++++ linux-2.6.16.noarch/security/selinux/xfrm.c	2006-04-02 23:27:40.000000000 -0500
+@@ -281,7 +281,7 @@ u32 selinux_socket_getpeer_dgram(struct 
+ 		int i;
+ 
+ 		for (i = sp->len-1; i >= 0; i--) {
+-			struct xfrm_state *x = sp->x[i].xvec;
++			struct xfrm_state *x = sp->xvec[i];
+ 			if (selinux_authorizable_xfrm(x)) {
+ 				struct xfrm_sec_ctx *ctx = x->security;
+ 				return ctx->ctx_sid;
+@@ -314,7 +314,7 @@ int selinux_xfrm_sock_rcv_skb(u32 isec_s
+ 		 *  Only need to verify the existence of an authorizable sp.
+ 		 */
+ 		for (i = 0; i < sp->len; i++) {
+-			struct xfrm_state *x = sp->x[i].xvec;
++			struct xfrm_state *x = sp->xvec[i];
+ 
+ 			if (x && selinux_authorizable_xfrm(x))
+ 				goto accept;




More information about the fedora-cvs-commits mailing list