Accepting request 215373 from devel:tools

- Update to version 1.1: BUGs fixed,
  * Errors from memory dumping are not handled resulting in
    corrupted dumps
  * EOF detection in stacked images is done with error
  * Stacked images don't work on non-shared FS (missing pagemap-s) (forwarded request 215372 from tiwai)

OBS-URL: https://build.opensuse.org/request/show/215373
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/criu?expand=0&rev=3
This commit is contained in:
Stephan Kulow 2014-01-28 14:37:59 +00:00 committed by Git OBS Bridge
commit c72058ab52
5 changed files with 62 additions and 7 deletions

View File

@ -0,0 +1,25 @@
struct ptrace_peeksiginfo_args is defined in linux/ptrace.h but not in sys/ptrace.h.
---
include/ptrace.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- a/include/ptrace.h
+++ b/include/ptrace.h
@@ -19,6 +19,8 @@
#ifndef PTRACE_PEEKSIGINFO
#define PTRACE_PEEKSIGINFO 0x4209
+#endif
+
struct ptrace_peeksiginfo_args {
__u64 off; /* from which siginfo to start */
__u32 flags;
@@ -27,7 +29,6 @@ struct ptrace_peeksiginfo_args {
/* Read signals from a shared (process wide) queue */
#define PTRACE_PEEKSIGINFO_SHARED (1 << 0)
-#endif
#ifndef PTRACE_GETREGSET
# define PTRACE_GETREGSET 0x4204

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1e4b720f03c02ded75917a4cae7752c53c56609b2fc4e271f985caedc6818d80
size 322908

3
criu-1.1.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ff7700e3e55f1fca5ec559b4adee57f64f647a9920a1bd11c510cc67ed137f7d
size 323535

View File

@ -1,3 +1,30 @@
-------------------------------------------------------------------
Tue Jan 28 12:42:34 CET 2014 - tiwai@suse.de
- Update to version 1.1: BUGs fixed,
* Errors from memory dumping are not handled resulting in
corrupted dumps
* EOF detection in stacked images is done with error
* Stacked images don't work on non-shared FS (missing pagemap-s)
-------------------------------------------------------------------
Tue Jan 21 12:23:27 CET 2014 - tiwai@suse.de
- Update to version 1.1-rc2: Bugs fixed,
* Crash in criu check
* RPC check always fail on 3.11 kernel
* Failed fork() didn't abort restore
* Dump fail not reported via RPC
* RPC client disconnect wasn't handled
* Page server could connect to self for writing images
* Hang on pre-dumping task livig in net-namespace
* VDSO page mis-handle on pre-dump
* FPU state loss on pre-dump
* Memory tracking turns ON w/o request
* Various fixes (and improvements) in build system
- Fix missing struct ptrace_peeksiginfo_args on FACTORY:
always-define-ptrace_peeksiginfo_args.diff
-------------------------------------------------------------------
Wed Jan 8 16:40:12 CET 2014 - tiwai@suse.de

View File

@ -16,9 +16,8 @@
#
%define package_version 1.1-rc1
Name: criu
Version: 1.0.99.1
Version: 1.1
Release: 0
Summary: Checkpoint/Restore In Userspace Tools
License: GPL-2.0
@ -28,7 +27,8 @@ BuildRequires: asciidoc
BuildRequires: protobuf-c
BuildRequires: xmlto
BuildRequires: pkgconfig(systemd)
Source0: http://download.openvz.org/criu/criu-%{package_version}.tar.bz2
Source0: http://download.openvz.org/criu/criu-%{version}.tar.bz2
Patch1: always-define-ptrace_peeksiginfo_args.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: x86_64
@ -40,7 +40,10 @@ files. You can then use the files to restore and run the application from
the point it was frozen at.
%prep
%setup -q -n %{name}-%{package_version}
%setup -q -n %{name}-%{version}
%if 0%{suse_version} > 1310
%patch1 -p1
%endif
%build
export CFLAGS="%optflags"