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
676b4579
ROOT
/
criu
/
util.c
Search
History
2089 lines
|
ISO-8859-1
|
40 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
_XOPEN_SOURCE
VMA_OPT_LEN
opt2s
(
_o,_s
)
DUP_SAFE
(
fd,out
)
NFTW_FD_MAX
xatol_base
(
const char*,long*,int
)
{...}
:
int
xatol
(
const char*,long*
)
{...}
:
int
xatoi
(
const char*,int*
)
{...}
:
int
xvstrcat
(
char*,const char*,va_list
)
{...}
:
char*
xstrcat
(
char*,const char*,...
)
{...}
:
char*
xsprintf
(
const char*,...
)
{...}
:
char*
vma_opt_str
(
const struct vma_area*,char*
)
{...}
:
void
pr_vma
(
const struct vma_area*
)
{...}
:
void
close_safe
(
int*
)
{...}
:
int
reopen_fd_as_safe
(
char*,int,int,int,bool
)
{...}
:
int
move_fd_from
(
int*,int
)
{...}
:
int
open_proc_pid
:
pid_t
open_proc_self_pid
:
pid_t
set_proc_self_fd
(
int
)
{...}
:
int
set_proc_pid_fd
(
int,int
)
{...}
:
int
get_proc_fd
(
int
)
{...}
:
int
close_pid_proc
(
void
)
{...}
:
int
close_proc
(
void
)
{...}
:
void
set_proc_fd
(
int
)
{...}
:
int
open_proc_sfd
(
char*
)
{...}
:
int
open_pid_proc
(
pid_t
)
{...}
:
int
do_open_proc
(
pid_t,int,const char*,...
)
{...}
:
int
copy_file
(
int,int,size_t
)
{...}
:
int
read_fd_link
(
int,char*,size_t
)
{...}
:
int
is_anon_link_type
(
char*,char*
)
{...}
:
int
cr_system
(
int,int,int,char*,char*const[],unsigned
)
{...}
:
int
close_fds
(
int
)
{...}
:
int
cr_system_userns
(
int,int,int,char*,char*const[],unsigned,int
)
{...}
:
int
fork_and_ptrace_attach
(
int
)
{...}
:
pid_t
status_ready
(
void
)
{...}
:
int
cr_daemon
(
int,int,int
)
{...}
:
int
is_root_user
(
void
)
{...}
:
int
is_empty_dir
(
int
)
{...}
:
int
vaddr_to_pfn
(
int,unsigned long,u64*
)
{...}
:
int
alloc_vma_area
(
void
)
{...}
:
struct vma_area*
mkdirpat
(
int,const char*,int
)
{...}
:
int
is_path_prefix
(
const char*,const char*
)
{...}
:
bool
fopenat
(
int,char*,char*
)
{...}
:
FILE*
split
(
char*,char,char***,int*
)
{...}
:
void
fd_has_data
(
int
)
{...}
:
int
fd_set_nonblocking
(
int,bool
)
{...}
:
void
make_yard
(
char*
)
{...}
:
int
ns_to_string
(
unsigned int
)
{...}
:
const char*
tcp_cork
(
int,bool
)
{...}
:
void
tcp_nodelay
(
int,bool
)
{...}
:
void
get_sockaddr_in
(
struct sockaddr_storage*,char*,unsigned short
)
{...}
:
int
setup_tcp_server
(
char*,char*,unsigned short*
)
{...}
:
int
run_tcp_server
(
bool,int*,int,int
)
{...}
:
int
setup_tcp_client
(
char*
)
{...}
:
int
epoll_add_rfd
(
int,struct epoll_rfd*
)
{...}
:
int
epoll_del_rfd
(
int,struct epoll_rfd*
)
{...}
:
int
epoll_hangup_event
(
int,struct epoll_rfd*
)
{...}
:
int
epoll_run_rfds
(
int,struct epoll_event*,int,int
)
{...}
:
int
epoll_prepare
(
int,struct epoll_event**
)
{...}
:
int
call_in_child_process
(
int,void*
)
{...}
:
int
rlimit_unlimit_nofile
(
void
)
{...}
:
void
mount_detached_fs
(
const char*
)
{...}
:
int
strip_deleted
(
char*,int
)
{...}
:
int
cut_path_ending
(
char*,char*
)
{...}
:
int
is_iptables_nft
(
char*
)
{...}
:
int
get_legacy_iptables_bin
(
bool
)
{...}
:
char*
read_all
(
int,void*,size_t
)
{...}
:
ssize_t
write_all
(
int,const void*,size_t
)
{...}
:
ssize_t
remove_one
(
const char*,const struct stat*,int,struct FTW*
)
{...}
:
int
rmrf
(
char*
)
{...}
:
int
raw_legacy_clone
(
unsigned long,int*
)
{...}
:
__attribute__((returns_twice)) static pid_t
raw_clone
(
unsigned long,int*
)
{...}
:
__attribute__((returns_twice)) static pid_t
wait_for_pid
(
pid_t
)
{...}
:
int
run_command
(
char*,size_t,int,void*
)
{...}
:
int
criu_run_id
:
uint64_t
util_init
(
void
)
{...}
:
void
get_relative_path
(
char*,char*
)
{...}
:
char*
is_sub_path
(
char*,char*
)
{...}
:
bool
is_same_path
(
char*,char*
)
{...}
:
bool
path_is_mountpoint
(
char*,bool*
)
{...}
:
int
resolve_mountpoint
(
char*
)
{...}
:
char*
set_opts_cap_eff
(
void
)
{...}
:
int
All occurrences
Please wait...
Page is in error, reload to recover