crash.software
Projects
Pull Requests
Issues
Builds
criu
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
criu
Files
🤬
Sign In
b548ed94
ROOT
/
test
/
others
/
pipes
/
pipe.c
Search
History
694 lines
|
ISO-8859-1
|
15 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
CS_PARENT
CS_CHILD
CS_DUMP
CS_RESTORE
CE
die
(
fmt,...
)
READ_FD
WRITE_FD
CLASH_FD
MAX_FORKS
CRIU_BINARY
IMG_DIR
DUMP_LOG_FILE
RESTORE_LOG_FILE
RESTORE_PID_FILE
INHERIT_FD_OPTION
OLD_LOG_FILE
NEW_LOG_FILE
sighandler_t
:
void(*)(int)
ulong
:
unsigned long
cli_flags
:
char*
cflag
:
int
dflag
:
int
lflag
:
int
nflag
:
int
oflag
:
int
qflag
:
int
rflag
:
int
vflag
:
int
pid_number
:
char[8]
inh_pipe_opt
:
char[16]
inh_pipe_arg
:
char[64]
inh_file_opt
:
char[16]
inh_file_arg
:
char[64]
dump_argv
:
char*[]
restore_argv
:
char*[]
max_msgs
:
int
max_forks
:
int
parent_pid
:
int
child_pid
:
int
criu_dump_pid
:
int
criu_restore_pid
:
int
chld_handler
(
int
)
:
void
parent
(
int*
)
:
int
child
(
int*,int,int
)
:
int
checkpoint_child
(
int,int*
)
:
void
restore_child
(
int*,char*
)
:
void
write_to_fd
(
int,char*,int,int
)
:
void
ls_proc_fd
(
int
)
:
void
pipe_name
(
int
)
:
char*
who
(
pid_t
)
:
char*
pipe_safe
(
int[2]
)
:
void
signal_safe
(
int,sighandler_t
)
:
void
open_safe
(
char*,int
)
:
int
close_safe
(
int
)
:
void
write_safe
(
int,char*,int
)
:
void
read_safe
(
int,char*,int
)
:
int
dup_safe
(
int
)
:
int
move_fd
(
int,int
)
:
void
mkdir_safe
(
char*,int
)
:
void
unlink_safe
(
char*
)
:
void
execv_safe
(
char*,char*[],int
)
:
void
prctl_safe
(
int,ulong,ulong,ulong,ulong
)
:
void
dup2_safe
(
int,int
)
:
int
usage
(
char*
)
{...}
:
void
main
(
int,char*[]
)
{...}
:
int
parent
(
int*
)
{...}
:
int
child
(
int*,int,int
)
{...}
:
int
chld_handler
(
int
)
{...}
:
void
checkpoint_child
(
int,int*
)
{...}
:
void
restore_child
(
int*,char*
)
{...}
:
void
write_to_fd
(
int,char*,int,int
)
{...}
:
void
ls_proc_fd
(
int
)
{...}
:
void
pipe_name
(
int
)
{...}
:
char*
who
(
pid_t
)
{...}
:
char*
pipe_safe
(
int[2]
)
{...}
:
void
fork_safe
(
void
)
{...}
:
pid_t
signal_safe
(
int,sighandler_t
)
{...}
:
void
open_safe
(
char*,int
)
{...}
:
int
close_safe
(
int
)
{...}
:
void
write_safe
(
int,char*,int
)
{...}
:
void
read_safe
(
int,char*,int
)
{...}
:
int
dup_safe
(
int
)
{...}
:
int
dup2_safe
(
int,int
)
{...}
:
int
move_fd
(
int,int
)
{...}
:
void
mkdir_safe
(
char*,int
)
{...}
:
void
unlink_safe
(
char*
)
{...}
:
void
execv_safe
(
char*,char*[],int
)
{...}
:
void
waitpid_safe
(
pid_t,int*,int,int
)
{...}
:
pid_t
prctl_safe
(
int,ulong,ulong,ulong,ulong
)
{...}
:
void
All occurrences
Please wait...
Page is in error, reload to recover