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
42c4be2a
ROOT
/
criu
/
include
/
util.h
Search
History
413 lines
|
ISO-8859-1
|
13 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
__CR_UTIL_H__
PREF_SHIFT_OP
(
pref,op,size
)
KBYTES_SHIFT
MBYTES_SHIFT
GBYTES_SHIFT
KBYTES
(
size
)
MBYTES
(
size
)
GBYTES
(
size
)
KILO
(
size
)
MEGA
(
size
)
GIGA
(
size
)
pr_info_vma
(
vma_area
)
pr_vma_list
(
head
)
pr_info_vma_list
(
head
)
reopen_fd_as
(
new_fd,old_fd
)
reopen_fd_as_nocheck
(
new_fd,old_fd
)
PROC_SELF
PROC_GEN
PROC_NONE
__open_proc
(
pid,ier,flags,fmt,...
)
open_proc
(
pid,fmt,...
)
open_proc_rw
(
pid,fmt,...
)
open_proc_path
(
pid,fmt,...
)
opendir_proc
(
pid,fmt,...
)
fopen_proc
(
pid,fmt,...
)
DEVZERO
KDEV_MINORBITS
KDEV_MINORMASK
MKKDEV
(
ma,mi
)
is_hex_digit
(
c
)
CRS_CAN_FAIL
PSFDS
USEC_PER_SEC
NSEC_PER_SEC
LAST_PID_PATH
PID_MAX_PATH
block_sigmask
(
saved_mask,sig_mask
)
restore_sigmask
(
saved_mask
)
block_sigmask
(
saved_mask,sig_mask
)
restore_sigmask
(
saved_mask
)
cleanup_free
service_fd_rlim_cur
:
int
pr_vma
(
const struct vma_area*
)
:
void
move_fd_from
(
int*,int
)
:
int
close_safe
(
int*
)
:
int
reopen_fd_as_safe
(
char*,int,int,int,bool
)
:
int
close_proc
(
void
)
:
void
open_pid_proc
(
pid_t
)
:
int
close_pid_proc
(
void
)
:
int
set_proc_fd
(
int
)
:
int
do_open_proc
(
pid_t,int,const char*,...
)
:
int
kdev_major
(
u32
)
{...}
:
u32
kdev_minor
(
u32
)
{...}
:
u32
kdev_to_odev
(
u32
)
{...}
:
dev_t
copy_file
(
int,int,size_t
)
:
int
is_anon_link_type
(
char*,char*
)
:
int
cr_system
(
int,int,int,char*,char*const[],unsigned
)
:
int
cr_system_userns
(
int,int,int,char*,char*const[],unsigned,int
)
:
int
cr_daemon
(
int,int,int
)
:
int
status_ready
(
void
)
:
int
is_root_user
(
void
)
:
int
set_proc_self_fd
(
int
)
:
int
dir_dots
(
const struct dirent*
)
{...}
:
bool
is_empty_dir
(
int
)
:
int
read_fd_link
(
int,char*,size_t
)
:
int
vaddr_to_pfn
(
int,unsigned long,u64*
)
:
int
strstartswith2
(
const char*,const char*,char*
)
{...}
:
bool
strstartswith
(
const char*,const char*
)
{...}
:
bool
issubpath
(
const char*,const char*
)
{...}
:
bool
get_relative_path
(
char*,char*
)
:
char*
is_sub_path
(
char*,char*
)
:
bool
is_same_path
(
char*,char*
)
:
bool
strip_deleted
(
char*,int
)
:
int
cut_path_ending
(
char*,char*
)
:
int
mkdirpat
(
int,const char*,int
)
:
int
is_path_prefix
(
const char*,const char*
)
:
bool
split
(
char*,char,char***,int*
)
:
void
fd_has_data
(
int
)
:
int
make_yard
(
char*
)
:
int
sk_wait_data
(
int
)
{...}
:
int
fd_set_nonblocking
(
int,bool
)
:
void
tcp_nodelay
(
int,bool
)
:
void
tcp_cork
(
int,bool
)
:
void
ns_to_string
(
unsigned int
)
:
const char*
xatol
(
const char*,long*
)
:
int
xatoi
(
const char*,int*
)
:
int
xstrcat
(
char*,const char*,...
)
:
char*
xsprintf
(
const char*,...
)
:
char*
setup_tcp_server
(
char*,char*,unsigned short*
)
:
int
run_tcp_server
(
bool,int*,int,int
)
:
int
setup_tcp_client
(
char*
)
:
int
rmrf
(
char*
)
:
int
epoll_rfd
fd
:
int
read_event
:
int(*)(struct epoll_rfd*)
hangup_event
:
int(*)(struct epoll_rfd*)
epoll_add_rfd
(
int,struct epoll_rfd*
)
:
int
epoll_del_rfd
(
int,struct epoll_rfd*
)
:
int
epoll_run_rfds
(
int,struct epoll_event*,int,int
)
:
int
epoll_prepare
(
int,struct epoll_event**
)
:
int
rlimit_unlimit_nofile
(
void
)
:
void
call_in_child_process
(
int,void*
)
:
int
print_stack_trace
(
pid_t
)
{...}
:
void
mount_detached_fs
(
const char*
)
:
int
get_legacy_iptables_bin
(
bool,bool
)
:
char*
set_opts_cap_eff
(
void
)
:
int
cleanup_freep
(
void*
)
{...}
:
void
run_command
(
char*,size_t,int,void*
)
:
int
criu_run_id
:
uint64_t
util_init
(
void
)
:
void
resolve_mountpoint
(
char*
)
:
char*
All occurrences
Please wait...
Page is in error, reload to recover