criu/include/kerndat.h
Andrey Vagin 33a50cfdc8 mount: detect the newinstance option for devpts (v2)
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>
2014-04-08 15:32:35 +04:00

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__ */