mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-18 09:05:10 +00:00
These are structs that (now) tie together ns string and the CLONE_ flag. It's nice to have one (some code becomes simpler) and will help us with auto-namespaces detection. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
16 lines
478 B
C
16 lines
478 B
C
#ifndef __CR_IPC_NS_H__
|
|
#define __CR_IPC_NS_H__
|
|
|
|
#include "crtools.h"
|
|
|
|
struct cr_options;
|
|
extern void show_ipc_var(int fd, struct cr_options *);
|
|
extern void show_ipc_shm(int fd, struct cr_options *);
|
|
extern void show_ipc_msg(int fd, struct cr_options *);
|
|
extern void show_ipc_sem(int fd, struct cr_options *);
|
|
extern int dump_ipc_ns(int ns_pid, const struct cr_fdset *fdset);
|
|
extern int prepare_ipc_ns(int pid);
|
|
|
|
extern struct ns_desc ipc_ns_desc;
|
|
|
|
#endif /* __CR_IPC_NS_H__ */
|