rpms/gtk-vnc/devel gtk-vnc-0.2.0-execmem.patch, NONE, 1.1 gtk-vnc.spec, 1.4, 1.5
Daniel P. Berrange (berrange)
fedora-extras-commits at redhat.com
Wed Sep 26 20:07:04 UTC 2007
- Previous message: rpms/eclipse/devel eclipse-17vmgenerate16bytecode.patch, NONE, 1.1 eclipse.spec, 1.488, 1.489
- Next message: rpms/pyxf86config/devel .cvsignore, 1.23, 1.24 pyxf86config.spec, 1.44, 1.45 sources, 1.23, 1.24
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: berrange
Update of /cvs/pkgs/rpms/gtk-vnc/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3472
Modified Files:
gtk-vnc.spec
Added Files:
gtk-vnc-0.2.0-execmem.patch
Log Message:
Remove use of PROT_EXEC
Resolves: rhbz #307531
gtk-vnc-0.2.0-execmem.patch:
--- NEW FILE gtk-vnc-0.2.0-execmem.patch ---
diff -rup gtk-vnc-0.2.0.orig/src/coroutine.c gtk-vnc-0.2.0.new/src/coroutine.c
--- gtk-vnc-0.2.0.orig/src/coroutine.c 2007-09-13 17:11:29.000000000 -0400
+++ gtk-vnc-0.2.0.new/src/coroutine.c 2007-09-26 15:48:23.000000000 -0400
@@ -44,8 +44,8 @@ int coroutine_init(struct coroutine *co)
co->cc.stack_size = co->stack_size;
co->cc.stack = mmap(0, co->stack_size,
- PROT_READ | PROT_WRITE | PROT_EXEC,
- MAP_SHARED | MAP_ANONYMOUS | MAP_GROWSDOWN,
+ PROT_READ | PROT_WRITE,
+ MAP_PRIVATE | MAP_ANONYMOUS,
-1, 0);
if (co->cc.stack == MAP_FAILED)
return -1;
Index: gtk-vnc.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gtk-vnc/devel/gtk-vnc.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- gtk-vnc.spec 14 Sep 2007 04:30:57 -0000 1.4
+++ gtk-vnc.spec 26 Sep 2007 20:06:31 -0000 1.5
@@ -3,10 +3,11 @@
Summary: A GTK widget for VNC clients
Name: gtk-vnc
Version: 0.2.0
-Release: 1%{?dist}
+Release: 2%{?dist}
License: LGPLv2+
Group: Development/Libraries
Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+Patch1: %{name}-%{version}-execmem.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
URL: http://gtk-vnc.sf.net/
BuildRequires: gtk2-devel pygtk2-devel python-devel gnutls-devel
@@ -41,6 +42,7 @@
%prep
%setup -q
+%patch1 -p1
%build
%configure
@@ -80,6 +82,9 @@
%{_libdir}/python*/site-packages/gtkvnc.so
%changelog
+* Wed Sep 26 2007 Daniel P. Berrange <berrange at redhat.com> - 0.2.0-2.fc8
+- Remove use of PROT_EXEC for coroutine stack (rhbz #307531 )
+
* Thu Sep 13 2007 Daniel P. Berrange <berrange at redhat.com> - 0.2.0-1.fc8
- Update to 0.2.0 release
- Previous message: rpms/eclipse/devel eclipse-17vmgenerate16bytecode.patch, NONE, 1.1 eclipse.spec, 1.488, 1.489
- Next message: rpms/pyxf86config/devel .cvsignore, 1.23, 1.24 pyxf86config.spec, 1.44, 1.45 sources, 1.23, 1.24
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list