GDBserver
|
Go to the source code of this file.
Enumerations | |
enum | linux_ns_type { LINUX_NS_IPC , LINUX_NS_MNT , LINUX_NS_NET , LINUX_NS_PID , LINUX_NS_USER , LINUX_NS_UTS , NUM_LINUX_NS_TYPES } |
Functions | |
int | linux_ns_same (pid_t pid, enum linux_ns_type type) |
int | linux_mntns_open_cloexec (pid_t pid, const char *filename, int flags, mode_t mode) |
int | linux_mntns_unlink (pid_t pid, const char *filename) |
ssize_t | linux_mntns_readlink (pid_t pid, const char *filename, char *buf, size_t bufsiz) |
Variables | |
bool | debug_linux_namespaces |
enum linux_ns_type |
Enumerator | |
---|---|
LINUX_NS_IPC | |
LINUX_NS_MNT | |
LINUX_NS_NET | |
LINUX_NS_PID | |
LINUX_NS_USER | |
LINUX_NS_UTS | |
NUM_LINUX_NS_TYPES |
Definition at line 29 of file linux-namespaces.h.
|
extern |
Definition at line 951 of file linux-namespaces.c.
References linux_mntns_access_fs(), linux_mntns_get_helper(), MNSH_FS_DIRECT, MNSH_FS_ERROR, MNSH_FS_HELPER, mnsh_recv_fd(), mnsh_send_open, and linux_mnsh::pid.
|
extern |
Definition at line 1018 of file linux-namespaces.c.
References linux_mntns_access_fs(), linux_mntns_get_helper(), MNSH_FS_DIRECT, MNSH_FS_ERROR, MNSH_FS_HELPER, mnsh_recv_intstr(), mnsh_send_readlink, and linux_mnsh::pid.
|
extern |
Definition at line 985 of file linux-namespaces.c.
References linux_mntns_access_fs(), linux_mntns_get_helper(), MNSH_FS_DIRECT, MNSH_FS_ERROR, MNSH_FS_HELPER, mnsh_recv_int(), mnsh_send_unlink, and linux_mnsh::pid.
|
extern |
Definition at line 146 of file linux-namespaces.c.
References linux_ns::filename, linux_ns::id, linux_ns_filename(), and linux_ns_get_namespace().
|
extern |
Definition at line 34 of file linux-namespaces.c.
Referenced by linux_mntns_get_helper(), mnsh_recv_message(), and mnsh_send_message().