mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-23 18:19:39 +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>
36 lines
610 B
C
36 lines
610 B
C
#ifndef __CR_FS_MAGIC_H__
|
|
#define __CR_FS_MAGIC_H__
|
|
|
|
#include <sys/vfs.h>
|
|
|
|
/*
|
|
* Gather magic numbers in case if distros
|
|
* do not provide appropriate entry in
|
|
* linux/magic.h.
|
|
*/
|
|
|
|
#ifndef NFS_SUPER_MAGIC
|
|
# define NFS_SUPER_MAGIC 0x6969
|
|
#endif
|
|
|
|
#ifndef PIPEFS_MAGIC
|
|
# define PIPEFS_MAGIC 0x50495045
|
|
#endif
|
|
|
|
#ifndef ANON_INODE_FS_MAGIC
|
|
# define ANON_INODE_FS_MAGIC 0x09041934
|
|
#endif
|
|
|
|
#ifndef TMPFS_MAGIC
|
|
# define TMPFS_MAGIC 0x01021994
|
|
#endif
|
|
|
|
#ifndef SOCKFS_MAGIC
|
|
# define SOCKFS_MAGIC 0x534f434b
|
|
#endif
|
|
|
|
#ifndef DEVPTS_SUPER_MAGIC
|
|
#define DEVPTS_SUPER_MAGIC 0x1cd1
|
|
#endif
|
|
|
|
#endif /* __CR_FS_MAGIC_H__ */
|