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
48373432
ROOT
/
criu
/
sk-unix.c
Search
History
2386 lines
|
ISO-8859-1
|
55 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
LOG_PREFIX
USK_EXTERN
USK_SERVICE
USK_CALLBACK
USK_INHERIT
FAKE_INO
SK_HASH_SIZE
SIOCUNIXFILE
USK_PAIR_MASTER
USK_PAIR_SLAVE
USK_GHOST_FDSTORE
SK_INFO_HASH_SIZE
UNIX_GHOST_FMT
unix_sk_desc
sd
:
struct socket_desc
type
:
unsigned int
state
:
unsigned int
peer_ino
:
unsigned int
rqlen
:
unsigned int
wqlen
:
unsigned int
namelen
:
unsigned int
name
:
char*
nr_icons
:
unsigned int
icons
:
unsigned int*
vfs_dev
:
unsigned int
vfs_ino
:
unsigned int
shutdown
:
unsigned char
deleted
:
bool
mode
:
mode_t
uid
:
uid_t
gid
:
gid_t
list
:
struct list_head
fd
:
int
peer_list
:
struct list_head
peer_node
:
struct list_head
ue
:
UnixSkEntry*
mutex_ghost
:
mutex_t*
unix_resolve_name
(
int,uint32_t,struct unix_sk_desc*,UnixSkEntry*,const struct fd_parms*
)
:
int
unlink_sk
(
struct unix_sk_info*
)
:
int
unix_sk_listen_icon
peer_ino
:
unsigned int
sk_desc
:
struct unix_sk_desc*
next
:
struct unix_sk_listen_icon*
unix_listen_icons
:
struct unix_sk_listen_icon*[SK_HASH_SIZE]
lookup_unix_listen_icons
(
unsigned int
)
{...}
:
struct unix_sk_listen_icon*
show_one_unix
(
char*,const struct unix_sk_desc*
)
{...}
:
void
show_one_unix_img
(
const char*,const UnixSkEntry*
)
{...}
:
void
can_dump_unix_sk
(
const struct unix_sk_desc*
)
{...}
:
int
unix_sk_exception_lookup_id
(
unsigned int
)
{...}
:
bool
write_unix_entry
(
struct unix_sk_desc*
)
{...}
:
int
kerndat_socket_unix_file
(
void
)
{...}
:
int
get_mnt_id
(
int,int*
)
{...}
:
int
resolve_rel_name
(
uint32_t,struct unix_sk_desc*,const struct fd_parms*,char**
)
{...}
:
int
dump_one_unix_fd
(
int,uint32_t,const struct fd_parms*
)
{...}
:
int
unix_resolve_name_old
(
int,uint32_t,struct unix_sk_desc*,UnixSkEntry*,const struct fd_parms*
)
{...}
:
int
unix_resolve_name
(
int,uint32_t,struct unix_sk_desc*,UnixSkEntry*,const struct fd_parms*
)
{...}
:
int
unix_process_name
(
struct unix_sk_desc*,const struct unix_diag_msg*,struct nlattr**
)
{...}
:
int
unix_collect_one
(
const struct unix_diag_msg*,struct nlattr**,struct ns_id*
)
{...}
:
int
unix_receive_one
(
struct nlmsghdr*,struct ns_id*,void*
)
{...}
:
int
__dump_external_socket
(
struct unix_sk_desc*,struct unix_sk_desc*
)
{...}
:
int
dump_external_sockets
(
struct unix_sk_desc*
)
{...}
:
int
fix_external_unix_sockets
(
void
)
{...}
:
int
unix_sk_info
ue
:
UnixSkEntry*
list
:
struct list_head
name
:
char*
name_dir
:
char*
flags
:
unsigned
fdstore_id
:
int
peer
:
struct unix_sk_info*
peer_resolve
:
struct pprep_head
d
:
struct file_desc
hash
:
struct hlist_node
connected
:
struct list_head
node
:
struct list_head
scm_fles
:
struct list_head
ghost_node
:
struct list_head
ghost_dir_pos
:
size_t
queuer
:
struct unix_sk_info*
bound
:
uint8_tbound : 1
listen
:
uint8_tlisten : 1
is_connected
:
uint8_tis_connected : 1
peer_queue_restored
:
uint8_tpeer_queue_restored : 1
scm_fle
l
:
struct list_head
fle
:
struct fdinfo_list_entry*
sk_info_hash
:
struct hlist_head[SK_INFO_HASH_SIZE]
init_sk_info_hash
(
void
)
{...}
:
void
find_unix_sk_by_ino
(
unsigned int
)
{...}
:
struct unix_sk_info*
find_queuer_for
(
int
)
{...}
:
struct unix_sk_info*
get_fle_for_task
(
struct file_desc*,struct pstree_item*,bool
)
{...}
:
struct fdinfo_list_entry*
unix_note_scm_rights
(
int,uint32_t*,int*,int
)
{...}
:
int
chk_restored_scms
(
struct unix_sk_info*
)
{...}
:
int
wake_connected_sockets
(
struct unix_sk_info*
)
{...}
:
int
peer_is_not_prepared
(
struct unix_sk_info*
)
{...}
:
bool
restore_unix_queue
(
int,struct unix_sk_info*
)
{...}
:
int
shutdown_unix_sk
(
int,struct unix_sk_info*
)
{...}
:
int
restore_sk_common
(
int,struct unix_sk_info*
)
{...}
:
int
revert_unix_sk_cwd
(
struct unix_sk_info*,int*,int*,int*
)
{...}
:
int
prep_unix_sk_cwd
(
struct unix_sk_info*,int*,int*,int*
)
{...}
:
int
post_open_standalone
(
struct file_desc*,int
)
{...}
:
int
restore_file_perms
(
struct unix_sk_info*
)
{...}
:
int
keep_deleted
(
struct unix_sk_info*
)
{...}
:
int
bind_on_deleted
(
int,struct unix_sk_info*
)
{...}
:
int
bind_unix_sk
(
int,struct unix_sk_info*
)
{...}
:
int
post_open_interconnected_master
(
struct unix_sk_info*
)
{...}
:
int
pr_info_opening
(
const char*,struct unix_sk_info*,struct fdinfo_list_entry*
)
{...}
:
void
open_unixsk_pair_master
(
struct unix_sk_info*,int*
)
{...}
:
int
open_unixsk_pair_slave
(
struct unix_sk_info*,int*
)
{...}
:
int
setup_second_end
(
int*,struct fdinfo_list_entry*
)
{...}
:
int
open_unixsk_standalone
(
struct unix_sk_info*,int*
)
{...}
:
int
open_unix_sk
(
struct file_desc*,int*
)
{...}
:
int
socket_d_name
(
struct file_desc*,char*,size_t
)
{...}
:
char*
unlink_sk
(
struct unix_sk_info*
)
{...}
:
int
try_resolve_unix_peer
(
struct unix_sk_info*
)
:
void
fixup_unix_peer
(
struct unix_sk_info*
)
:
int
post_prepare_unix_sk
(
struct pprep_head*
)
{...}
:
int
init_unix_sk_info
(
struct unix_sk_info*,UnixSkEntry*
)
{...}
:
int
unix_prepare_root_shared
(
void
)
{...}
:
int
collect_one_unixsk
(
void*,ProtobufCMessage*,struct cr_img*
)
{...}
:
int
set_peer
(
struct unix_sk_info*,struct unix_sk_info*
)
{...}
:
void
add_fake_queuer
(
struct unix_sk_info*
)
{...}
:
int
add_fake_unix_queuers
(
void
)
{...}
:
int
interconnected_pair
(
struct unix_sk_info*,struct unix_sk_info*
)
{...}
:
int
fixup_unix_peer
(
struct unix_sk_info*
)
{...}
:
int
try_resolve_unix_peer
(
struct unix_sk_info*
)
{...}
:
void
unix_sk_id_add
(
unsigned int
)
{...}
:
int
unix_sk_ids_parse
(
char*
)
{...}
:
int
All occurrences
Please wait...
Page is in error, reload to recover