Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
criu
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhul
criu
Commits
27477e33
Commit
27477e33
authored
May 20, 2016
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
image.h: Move TASK_FOO states into pid.h
Signed-off-by:
Pavel Emelyanov
<
xemul@virtuozzo.com
>
parent
97b716a8
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
9 deletions
+8
-9
files-reg.c
criu/files-reg.c
+0
-1
image.h
criu/include/image.h
+0
-7
pid.h
criu/include/pid.h
+7
-0
ptrace.c
criu/ptrace.c
+1
-0
tty.c
criu/tty.c
+0
-1
No files found.
criu/files-reg.c
View file @
27477e33
...
...
@@ -20,7 +20,6 @@
#include "file-ids.h"
#include "mount.h"
#include "files.h"
#include "image.h"
#include "list.h"
#include "rst-malloc.h"
#include "fs-magic.h"
...
...
criu/include/image.h
View file @
27477e33
...
...
@@ -94,13 +94,6 @@
#define TASK_COMM_LEN 16
#define TASK_UNDEF 0x0
#define TASK_ALIVE 0x1
#define TASK_DEAD 0x2
#define TASK_STOPPED 0x3
#define TASK_HELPER 0x4
#define TASK_THREAD 0x5
#define CR_PARENT_LINK "parent"
extern
bool
fdinfo_per_id
;
...
...
criu/include/pid.h
View file @
27477e33
...
...
@@ -24,6 +24,13 @@ struct pid {
struct
rb_node
node
;
};
#define TASK_UNDEF 0x0
#define TASK_ALIVE 0x1
#define TASK_DEAD 0x2
#define TASK_STOPPED 0x3
#define TASK_HELPER 0x4
#define TASK_THREAD 0x5
/*
* When we have to restore a shared resource, we mush select which
* task should do it, and make other(s) wait for it. In order to
...
...
criu/ptrace.c
View file @
27477e33
...
...
@@ -18,6 +18,7 @@
#include "asm/types.h"
#include "util.h"
#include "ptrace.h"
#include "pid.h"
#include "proc_parse.h"
#include "crtools.h"
#include "seccomp.h"
...
...
criu/tty.c
View file @
27477e33
...
...
@@ -20,7 +20,6 @@
#include "cr_options.h"
#include "imgset.h"
#include "servicefd.h"
#include "image.h"
#include "rst-malloc.h"
#include "log.h"
#include "list.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment