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
v3.16.1
ROOT
/
criu
/
namespaces.c
Search
History
1922 lines
|
ISO-8859-1
|
38 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
INVALID_ID
ns_desc_array
:
struct ns_desc*[]
join_ns_flags
:
unsigned int
collect_pid_namespaces
(
bool
)
:
int
check_namespace_opts
(
void
)
{...}
:
int
check_int_str
(
char*
)
{...}
:
int
check_ns_file
(
char*
)
{...}
:
int
set_user_extra_opts
(
struct join_ns*,char*
)
{...}
:
int
join_ns_add
(
const char*,char*,char*
)
{...}
:
int
parse_ns_link
(
char*,size_t,struct ns_desc*
)
{...}
:
unsigned int
check_ns_proc
(
struct fd_link*
)
{...}
:
bool
switch_ns
(
int,struct ns_desc*,int*
)
{...}
:
int
switch_ns_by_fd
(
int,struct ns_desc*,int*
)
{...}
:
int
restore_ns
(
int,struct ns_desc*
)
{...}
:
int
switch_mnt_ns
(
int,int*,int*
)
{...}
:
int
restore_mnt_ns
(
int,int*
)
{...}
:
int
ns_ids
:
struct ns_id*
ns_next_id
:
unsigned int
root_ns_mask
:
unsigned long
nsid_add
(
struct ns_id*,struct ns_desc*,unsigned int,pid_t
)
{...}
:
void
rst_new_ns_id
(
unsigned int,pid_t,struct ns_desc*,enum ns_type
)
{...}
:
struct ns_id*
rst_add_ns_id
(
unsigned int,struct pstree_item*,struct ns_desc*
)
{...}
:
int
lookup_ns_by_kid
(
unsigned int,struct ns_desc*
)
{...}
:
struct ns_id*
lookup_ns_by_id
(
unsigned int,struct ns_desc*
)
{...}
:
struct ns_id*
walk_namespaces
(
struct ns_desc*,int,void*
)
{...}
:
int
generate_ns_id
(
int,unsigned int,struct ns_desc*,struct ns_id**
)
{...}
:
unsigned int
__get_ns_id
(
int,struct ns_desc*,protobuf_c_boolean*,struct ns_id**
)
{...}
:
unsigned int
get_ns_id
(
int,struct ns_desc*,protobuf_c_boolean*
)
{...}
:
unsigned int
dump_one_ns_file
(
int,u32,const struct fd_parms*
)
{...}
:
int
ns_file_info
d
:
struct file_desc
nfe
:
NsFileEntry*
open_ns_fd
(
struct file_desc*,int*
)
{...}
:
int
collect_one_nsfile
(
void*,ProtobufCMessage*,struct cr_img*
)
{...}
:
int
predump_task_ns_ids
(
struct pstree_item*
)
{...}
:
int
dump_task_ns_ids
(
struct pstree_item*
)
{...}
:
int
userns_entry
:
UsernsEntry
userns_id
(
unsigned int,UidGidExtent**,int
)
{...}
:
unsigned int
host_id
(
unsigned int,UidGidExtent**,int
)
{...}
:
unsigned int
host_uid
(
uid_t
)
{...}
:
uid_t
host_gid
(
gid_t
)
{...}
:
gid_t
userns_uid
(
uid_t
)
{...}
:
uid_t
userns_gid
(
gid_t
)
{...}
:
gid_t
parse_id_map
(
pid_t,char*,UidGidExtent***
)
{...}
:
int
collect_user_ns
(
struct ns_id*,void*
)
{...}
:
int
collect_user_namespaces
(
bool
)
{...}
:
int
check_user_ns
(
int
)
{...}
:
int
dump_user_ns
(
pid_t,int
)
{...}
:
int
free_userns_maps
(
void
)
{...}
:
void
do_dump_namespaces
(
struct ns_id*
)
{...}
:
int
dump_namespaces
(
struct pstree_item*,unsigned int
)
{...}
:
int
write_id_map
(
pid_t,UidGidExtent**,int,char*
)
{...}
:
int
unsc_msg
h
:
struct msghdr
iov
:
struct iovec[3]
c
:
char[CMSG_SPACE(sizeof(struct ucred)) + CMSG_SPACE(sizeof(int))]
usernsd_pid
:
int
unsc_msg_init
(
struct unsc_msg*,uns_call_t*,int*,void*,size_t,int
)
{...}
:
void
unsc_msg_pid_fd
(
struct unsc_msg*,pid_t*,int*
)
{...}
:
void
usernsd
(
int
)
{...}
:
int
__userns_call
(
const char*,uns_call_t,int,void*,size_t,int
)
{...}
:
int
start_usernsd
(
void
)
{...}
:
int
exit_usernsd
(
void*,int,pid_t
)
{...}
:
int
stop_usernsd
(
void
)
{...}
:
int
prepare_userns
(
struct pstree_item*
)
{...}
:
int
collect_namespaces
(
bool
)
{...}
:
int
prepare_userns_creds
(
void
)
{...}
:
int
get_join_ns_fd
(
struct join_ns*
)
{...}
:
int
switch_join_ns
(
struct join_ns*
)
{...}
:
int
switch_user_join_ns
(
struct join_ns*
)
{...}
:
int
join_namespaces
(
void
)
{...}
:
int
prepare_namespace
(
struct pstree_item*,unsigned long
)
{...}
:
int
read_pid_ns_img
(
void
)
{...}
:
int
prepare_namespace_before_tasks
(
void
)
{...}
:
int
pid_ns_desc
:
struct ns_desc
user_ns_desc
:
struct ns_desc
collect_pid_ns
(
struct ns_id*,void*
)
{...}
:
int
collect_pid_namespaces
(
bool
)
{...}
:
int
All occurrences
Please wait...
Page is in error, reload to recover