[CRIU] CRIU in ArchLinux

Cyrill Gorcunov gorcunov at openvz.org
Wed Oct 17 11:58:34 EDT 2012


On Wed, Oct 17, 2012 at 07:49:28PM +0400, Andrew Grigorev wrote:
> 17.10.2012 19:46, Cyrill Gorcunov пишет:
> >On Wed, Oct 17, 2012 at 07:45:16PM +0400, Cyrill Gorcunov wrote:
> >>Need to think...
> >Andrew, which kernel headers version is installed? (if at all)
> 
> ei-grad at ei-grad ~ $ pacman -Q linux-headers
> linux-headers 3.6.2-1
> ei-grad at ei-grad ~ $ uname -a
> Linux ei-grad 3.6.2-1-ARCH #1 SMP PREEMPT Fri Oct 12 23:58:58 CEST
> 2012 x86_64 GNU/Linux

Could you please check if the following patch helps.
-------------- next part --------------
>From 56a76b3ecac6d90f0a9498e7dc0e1b92e076a8b2 Mon Sep 17 00:00:00 2001
From: Cyrill Gorcunov <gorcunov at openvz.org>
Date: Wed, 17 Oct 2012 19:57:32 +0400
Subject: [PATCH] restorer: Add sys/resource.h header

Otherwise PRIO_PROCESS may be not found.

Reported-by: Andrew Grigorev <andrew at ei-grad.ru>
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 restorer.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/restorer.c b/restorer.c
index 53f058b..08aca60 100644
--- a/restorer.c
+++ b/restorer.c
@@ -11,6 +11,7 @@
 #include <fcntl.h>
 #include <unistd.h>
 #include <sched.h>
+#include <sys/resource.h>
 
 #include "compiler.h"
 #include "types.h"
-- 
1.7.7.6



More information about the CRIU mailing list