mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-22 17:49:13 +00:00
The devpts instance was mounted w/o the newinstance option if, the device number is equal to the root /dev/pts. I think this condition is strong enough to not mount devpts in a temporary place. v2: move the host.bla-bla-bla in kerndat.c Signed-off-by: Andrey Vagin <avagin@openvz.org> Reviewed-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
27 lines
569 B
C
27 lines
569 B
C
#ifndef __CR_KERNDAT_H__
|
|
#define __CR_KERNDAT_H__
|
|
|
|
#include "asm/types.h"
|
|
|
|
/*
|
|
* kerndat stands for "kernel data" and is a collection
|
|
* of run-time information about current kernel
|
|
*/
|
|
|
|
extern int kerndat_init(void);
|
|
extern int kerndat_init_rst(void);
|
|
extern int kerndat_get_dirty_track(void);
|
|
|
|
extern dev_t kerndat_shmem_dev;
|
|
extern bool kerndat_has_dirty_track;
|
|
|
|
extern int tcp_max_wshare;
|
|
extern int tcp_max_rshare;
|
|
|
|
extern int kern_last_cap;
|
|
extern u64 zero_page_pfn;
|
|
|
|
struct stat;
|
|
extern struct stat *kerndat_get_devpts_stat(void);
|
|
|
|
#endif /* __CR_KERNDAT_H__ */
|