repo stringlengths 1 152 ⌀ | file stringlengths 14 221 | code stringlengths 501 25k | file_length int64 501 25k | avg_line_length float64 20 99.5 | max_line_length int64 21 134 | extension_type stringclasses 2
values |
|---|---|---|---|---|---|---|
criu | criu-master/criu/arch/mips/crtools.c | #include <signal.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <elf.h>
#include <sys/mman.h>
#include <sys/syscall.h>
#include <sys/auxv.h>
#include <sys/wait.h>
#include "types.h"
#include "log.h"
#include "asm/parasite-syscall.h"
#include "asm/restorer.h"
#include <compel/asm/fpu.h>
#includ... | 8,280 | 31.992032 | 83 | c |
criu | criu-master/criu/arch/mips/restorer.c | #include <unistd.h>
#include "types.h"
#include "restorer.h"
#include "asm/restorer.h"
#include <compel/asm/fpu.h>
#include <compel/plugins/std/syscall-codes.h>
#include <compel/plugins/std/string.h>
#include <compel/plugins/std/syscall.h>
#include "log.h"
#include "cpu.h"
int restore_nonsigframe_gpregs(UserMipsRegs... | 1,283 | 25.75 | 94 | c |
criu | criu-master/criu/arch/mips/vdso-pie.c | #include <unistd.h>
#include "asm/types.h"
#include <compel/plugins/std/string.h>
#include <compel/plugins/std/syscall.h>
#include "parasite-vdso.h"
#include "log.h"
#include "common/bug.h"
#ifdef LOG_PREFIX
#undef LOG_PREFIX
#endif
#define LOG_PREFIX "vdso: "
static void insert_trampoline(uintptr_t from, uintptr_t t... | 1,247 | 21.690909 | 98 | c |
criu | criu-master/criu/arch/mips/include/asm/restore.h | #ifndef __CR_ASM_RESTORE_H__
#define __CR_ASM_RESTORE_H__
#include "asm/restorer.h"
#include "images/core.pb-c.h"
/* clang-format off */
#define JUMP_TO_RESTORER_BLOB(new_sp, restore_task_exec_start, task_args) \
asm volatile( \
"move $4, %0 \n" \
"move $25, %1 \n" \
"move $5, %2 \n" \
"mo... | 687 | 21.933333 | 75 | h |
criu | criu-master/criu/arch/mips/include/asm/restorer.h | #ifndef __CR_ASM_RESTORER_H__
#define __CR_ASM_RESTORER_H__
#include "asm/types.h"
#include <compel/asm/fpu.h>
#include "images/core.pb-c.h"
#include <compel/plugins/std/syscall-codes.h>
#include <compel/asm/sigframe.h>
static inline void restore_tls(tls_t *ptls)
{
/* clang-format off */
asm volatile("move $4, %0 ... | 2,619 | 27.478261 | 83 | h |
criu | criu-master/criu/arch/mips/include/asm/syscall32.h | #ifndef __CR_SYSCALL32_H__
#define __CR_SYSCALL32_H__
extern long sys_socket(int domain, int type, int protocol);
extern long sys_connect(int sockfd, struct sockaddr *addr, int addrlen);
extern long sys_sendto(int sockfd, void *buff, size_t len, unsigned int flags, struct sockaddr *addr, int addr_len);
extern long sys... | 1,069 | 58.444444 | 120 | h |
criu | criu-master/criu/arch/mips/include/asm/thread_pointer.h | /* __thread_pointer definition. Generic version.
Copyright (C) 2021 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softw... | 1,021 | 35.5 | 71 | h |
criu | criu-master/criu/arch/mips/include/asm/vdso.h | #ifndef __CR_ASM_VDSO_H__
#define __CR_ASM_VDSO_H__
#include "asm/int.h"
#include "asm-generic/vdso.h"
/* This definition is used in pie/util-vdso.c to initialize the vdso symbol
* name string table 'vdso_symbols'
*/
/*
* This is a minimal amount of symbols
* we should support at the moment.
*/
#define VDSO_SYM... | 720 | 29.041667 | 85 | h |
criu | criu-master/criu/arch/ppc64/cpu.c | #undef LOG_PREFIX
#define LOG_PREFIX "cpu: "
#include <sys/auxv.h>
#include <errno.h>
#include <asm/cputable.h>
#include "asm/types.h"
#include "cr_options.h"
#include "image.h"
#include "util.h"
#include "log.h"
#include "cpu.h"
#include "protobuf.h"
#include "images/cpuinfo.pb-c.h"
static compel_cpuinfo_t rt_cpu... | 3,507 | 23.193103 | 86 | c |
criu | criu-master/criu/arch/ppc64/crtools.c | #include <string.h>
#include <unistd.h>
#include <elf.h>
#include <sys/user.h>
#include <asm/unistd.h>
#include <sys/uio.h>
#include "types.h"
#include <compel/asm/fpu.h>
#include "asm/restorer.h"
#include "asm/dump.h"
#include "cr_options.h"
#include "common/compiler.h"
#include <compel/ptrace.h>
#include "parasite-... | 12,472 | 24.300203 | 112 | c |
criu | criu-master/criu/arch/ppc64/sigframe.c | #include <stdlib.h>
#include <stdint.h>
#include "asm/sigframe.h"
#include "asm/types.h"
#include "log.h"
#include "common/bug.h"
/*
* The signal frame has been built using local addresses. Since it has to be
* used in the context of the checkpointed process, the v_regs pointer in the
* signal frame must be updat... | 1,318 | 27.673913 | 89 | c |
criu | criu-master/criu/arch/ppc64/vdso-pie.c | #include <unistd.h>
#include "asm/types.h"
#include <compel/plugins/std/string.h>
#include <compel/plugins/std/syscall.h>
#include "parasite-vdso.h"
#include "log.h"
#include "common/bug.h"
#ifdef LOG_PREFIX
#undef LOG_PREFIX
#endif
#define LOG_PREFIX "vdso: "
/* This symbols are defined in vdso-trampoline.S */
ext... | 4,087 | 27.788732 | 104 | c |
criu | criu-master/criu/arch/ppc64/include/asm/restore.h | #ifndef __CR_ASM_RESTORE_H__
#define __CR_ASM_RESTORE_H__
#include "asm/restorer.h"
#include "images/core.pb-c.h"
/*
* Set R2 to blob + 8000 which is the default value
* Jump to restore_task_exec_start + 8 since R2 is already set (local call)
*/
/* clang-format off */
#define JUMP_TO_RESTORER_BLOB(new_sp, restore... | 845 | 23.882353 | 75 | h |
criu | criu-master/criu/arch/ppc64/include/asm/restorer.h | #ifndef __CR_ASM_RESTORER_H__
#define __CR_ASM_RESTORER_H__
#include <asm/ptrace.h>
#include <asm/elf.h>
#include <asm/types.h>
#include "asm/types.h"
#include <compel/asm/infect-types.h>
#include <compel/asm/sigframe.h>
/*
* Clone trampoline
*
* See glibc sysdeps/powerpc/powerpc64/sysdep.h for FRAME_MIN_SIZE def... | 3,663 | 27.850394 | 75 | h |
criu | criu-master/criu/arch/ppc64/include/asm/thread_pointer.h | /* __thread_pointer definition. powerpc version.
Copyright (C) 2021 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softw... | 1,135 | 33.424242 | 71 | h |
criu | criu-master/criu/arch/ppc64/include/asm/types.h | #ifndef __CR_ASM_TYPES_H__
#define __CR_ASM_TYPES_H__
#include <stdbool.h>
#include <signal.h>
#include "images/core.pb-c.h"
#include "page.h"
#include "bitops.h"
#include "asm/int.h"
#include <compel/plugins/std/asm/syscall-types.h>
typedef UserPpc64RegsEntry UserRegsEntry;
#define CORE_ENTRY__MARCH CORE_ENTRY__M... | 1,108 | 20.745098 | 76 | h |
criu | criu-master/criu/arch/ppc64/include/asm/vdso.h | #ifndef __CR_ASM_VDSO_H__
#define __CR_ASM_VDSO_H__
#include "asm/int.h"
#include "asm-generic/vdso.h"
/* This definition is used in pie/util-vdso.c to initialize the vdso symbol
* name string table 'vdso_symbols'
*
* Poke from kernel file arch/powerpc/kernel/vdso64/vdso64.lds.S
*
* Note that '__kernel_datapage_... | 1,541 | 44.352941 | 109 | h |
criu | criu-master/criu/arch/s390/cpu.c | #undef LOG_PREFIX
#define LOG_PREFIX "cpu: "
#include <sys/auxv.h>
#include <errno.h>
#include "asm/types.h"
#include "cr_options.h"
#include "image.h"
#include "util.h"
#include "log.h"
#include "cpu.h"
#include "protobuf.h"
#include "images/cpuinfo.pb-c.h"
static compel_cpuinfo_t rt_cpuinfo;
static const char *... | 3,150 | 20.582192 | 108 | c |
criu | criu-master/criu/arch/s390/crtools.c | #include <string.h>
#include <unistd.h>
#include <elf.h>
#include <sys/user.h>
#include <asm/unistd.h>
#include <sys/uio.h>
#include "types.h"
#include <compel/asm/fpu.h>
#include "asm/restorer.h"
#include "asm/dump.h"
#include "cr_options.h"
#include "common/compiler.h"
#include <compel/ptrace.h>
#include "parasite-... | 18,072 | 22.380336 | 94 | c |
criu | criu-master/criu/arch/s390/vdso-pie.c | #include <unistd.h>
#include "asm/types.h"
#include <compel/plugins/std/string.h>
#include <compel/plugins/std/syscall.h>
#include "parasite-vdso.h"
#include "log.h"
#include "common/bug.h"
#ifdef LOG_PREFIX
#undef LOG_PREFIX
#endif
#define LOG_PREFIX "vdso: "
/*
* Trampoline instruction sequence
*/
typedef struc... | 1,477 | 22.83871 | 97 | c |
criu | criu-master/criu/arch/s390/include/asm/restore.h | #ifndef __CR_ASM_RESTORE_H__
#define __CR_ASM_RESTORE_H__
#include "asm/restorer.h"
#include "images/core.pb-c.h"
/*
* Load stack to %r15, return address in %r14 and argument 1 into %r2
*/
/* clang-format off */
#define JUMP_TO_RESTORER_BLOB(new_sp, restore_task_exec_start, \
task_args) \
asm volatile... | 766 | 24.566667 | 69 | h |
criu | criu-master/criu/arch/s390/include/asm/restorer.h | #ifndef __CR_ASM_RESTORER_H__
#define __CR_ASM_RESTORER_H__
#include <asm/ptrace.h>
#include <asm/types.h>
#include "asm/types.h"
#include "sigframe.h"
/*
* Clone trampoline - see glibc sysdeps/unix/sysv/linux/s390/s390-64/clone.S
*/
/* clang-format off */
#define RUN_CLONE_RESTORE_FN(ret, clone_flags, new_sp, pa... | 3,667 | 31.75 | 112 | h |
criu | criu-master/criu/arch/s390/include/asm/thread_pointer.h | /* __thread_pointer definition. Generic version.
Copyright (C) 2021 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softw... | 1,021 | 35.5 | 71 | h |
criu | criu-master/criu/arch/s390/include/asm/vdso.h | #ifndef __CR_ASM_VDSO_H__
#define __CR_ASM_VDSO_H__
#include "asm/int.h"
#include "asm-generic/vdso.h"
/*
* This is a minimal amount of symbols
* we should support at the moment.
*/
#define VDSO_SYMBOL_MAX 4
#define VDSO_SYMBOL_GTOD 0
/*
* These definitions are used in pie/util-vdso.c to initialize the vdso sym... | 809 | 30.153846 | 104 | h |
criu | criu-master/criu/arch/x86/cpu.c | #include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <sys/types.h>
#include "bitops.h"
#include "asm/cpu.h"
#include <compel/asm/fpu.h>
#include <compel/cpu.h>
#include "common/compiler.h"
#include "cr_options.h"
#include "image.h"
#include "util.h"
#include "lo... | 14,140 | 29.542117 | 119 | c |
criu | criu-master/criu/arch/x86/crtools.c | #include "compel/asm/fpu.h"
#include "compel/infect.h"
#include "compel/plugins/std/syscall-codes.h"
#include "cpu.h"
#include "cr_options.h"
#include "images/core.pb-c.h"
#include "log.h"
#include "protobuf.h"
#include "types.h"
#include "asm/compat.h"
#undef LOG_PREFIX
#define LOG_PREFIX "x86: "
#define XSAVE_PB_N... | 21,277 | 31.735385 | 115 | c |
criu | criu-master/criu/arch/x86/kerndat.c | #include <elf.h>
#include <sched.h>
#include <signal.h>
#include <stdlib.h>
#include <sys/wait.h>
#include <sys/ptrace.h>
#include <sys/types.h>
#include <sys/uio.h>
#include <unistd.h>
#include "compel/asm/fpu.h"
#include "compel/plugins/std/syscall-codes.h"
#include "cpu.h"
#include "kerndat.h"
#include "log.h"
#inc... | 5,813 | 21.889764 | 93 | c |
criu | criu-master/criu/arch/x86/restorer.c | #include <asm/prctl.h>
#include <unistd.h>
#include "types.h"
#include "restorer.h"
#include "asm/compat.h"
#include "asm/restorer.h"
#include <compel/asm/fpu.h>
#include <compel/plugins/std/syscall-codes.h>
#include <compel/plugins/std/string.h>
#include <compel/plugins/std/syscall.h>
#include "log.h"
#include "cpu.... | 2,525 | 21.353982 | 87 | c |
criu | criu-master/criu/arch/x86/sigaction_compat.c | #include "log.h"
#include "asm/restorer.h"
#include <compel/asm/fpu.h>
#include "asm/compat.h"
#include <compel/plugins/std/syscall-codes.h>
#ifdef CR_NOGLIBC
#include <compel/plugins/std/string.h>
#endif
#include "cpu.h"
asm(" .pushsection .text \n"
" .global restore_rt_sigaction \n"
" .code32 \n"
... | 1,450 | 26.377358 | 80 | c |
criu | criu-master/criu/arch/x86/sigframe.c | #include <stdlib.h>
#include <stdint.h>
#include "asm/sigframe.h"
#include "asm/types.h"
#include "log.h"
int sigreturn_prep_fpu_frame(struct rt_sigframe *sigframe, struct rt_sigframe *rsigframe)
{
/*
* Use local sigframe to check native/compat type,
* but set address for rsigframe.
*/
fpu_state_t *fpu_state... | 1,067 | 27.864865 | 110 | c |
criu | criu-master/criu/arch/x86/sys-exec-tbl.c |
static struct syscall_exec_desc sc_exec_table_64[] = {
#include "sys-exec-tbl-64.c"
{}, /* terminator */
};
#ifdef CONFIG_COMPAT
static struct syscall_exec_desc sc_exec_table_32[] = {
#include "sys-exec-tbl-32.c"
{}, /* terminator */
};
#endif
struct syscall_exec_desc;
static inline struct syscall_exec_desc *find... | 988 | 22.547619 | 101 | c |
criu | criu-master/criu/arch/x86/include/asm/compat.h | #ifndef __CR_ASM_COMPAT_H__
#define __CR_ASM_COMPAT_H__
#ifdef CR_NOGLIBC
#include <compel/plugins/std/syscall.h>
#include <compel/plugins/std/syscall-codes.h>
#else
#define sys_mmap mmap
#define sys_munmap munmap
#endif
#include <sys/mman.h>
static inline void *alloc_compat_syscall_stack(void)
{
void *mem = (voi... | 2,597 | 29.209302 | 111 | h |
criu | criu-master/criu/arch/x86/include/asm/dump.h | #ifndef __CR_ASM_DUMP_H__
#define __CR_ASM_DUMP_H__
extern int save_task_regs(void *, user_regs_struct_t *, user_fpregs_struct_t *);
extern int arch_alloc_thread_info(CoreEntry *core);
extern void arch_free_thread_info(CoreEntry *core);
extern int get_task_futex_robust_list_compat(pid_t pid, ThreadCoreEntry *info);
s... | 895 | 25.352941 | 80 | h |
criu | criu-master/criu/arch/x86/include/asm/restore.h | #ifndef __CR_ASM_RESTORE_H__
#define __CR_ASM_RESTORE_H__
#include "asm/restorer.h"
#include "images/core.pb-c.h"
/* clang-format off */
#define JUMP_TO_RESTORER_BLOB(new_sp, restore_task_exec_start, \
task_args) \
asm volatile( \
"movq %0, %%rbx \n" \
"movq %1, %%rax ... | 1,445 | 23.1 | 65 | h |
criu | criu-master/criu/arch/x86/include/asm/restorer.h | #ifndef __CR_ASM_RESTORER_H__
#define __CR_ASM_RESTORER_H__
#include "asm/types.h"
#include <compel/asm/fpu.h>
#include <compel/asm/infect-types.h>
#include "images/core.pb-c.h"
#include <compel/plugins/std/syscall-codes.h>
#include <compel/asm/sigframe.h>
#include "asm/compat.h"
#ifdef CONFIG_COMPAT
extern void rest... | 6,534 | 30.570048 | 88 | h |
criu | criu-master/criu/arch/x86/include/asm/syscall32.h | #ifndef __CR_SYSCALL32_H__
#define __CR_SYSCALL32_H__
extern long sys_socket(int domain, int type, int protocol);
extern long sys_connect(int sockfd, struct sockaddr *addr, int addrlen);
extern long sys_sendto(int sockfd, void *buff, size_t len, unsigned int flags, struct sockaddr *addr, int addr_len);
extern long sys... | 1,069 | 58.444444 | 120 | h |
criu | criu-master/criu/arch/x86/include/asm/thread_pointer.h | /* __thread_pointer definition. x86 version.
Copyright (C) 2021 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software ... | 1,224 | 32.108108 | 71 | h |
criu | criu-master/criu/arch/x86/include/asm/vdso.h | #ifndef __CR_ASM_VDSO_H__
#define __CR_ASM_VDSO_H__
#include "asm/int.h"
#include "asm-generic/vdso.h"
/* This definition is used in pie/util-vdso.c to initialize the vdso symbol
* name string table 'vdso_symbols'
*/
/*
* This is a minimal amount of symbols
* we should support at the moment.
*/
#define VDSO_SYM... | 2,297 | 29.236842 | 109 | h |
criu | criu-master/criu/include/aio.h | #ifndef __CR_AIO_H__
#define __CR_AIO_H__
#include "linux/aio_abi.h"
#include "images/mm.pb-c.h"
unsigned int aio_estimate_nr_reqs(unsigned int size);
int dump_aio_ring(MmEntry *mme, struct vma_area *vma);
void free_aios(MmEntry *mme);
struct parasite_ctl;
int parasite_collect_aios(struct parasite_ctl *, struct vm_are... | 990 | 26.527778 | 72 | h |
criu | criu-master/criu/include/autofs.h | #ifndef __CR_AUTOFS_H__
#define __CR_AUTOFS_H__
#ifndef AUTOFS_MINOR
#define AUTOFS_MINOR 235
#endif
#include <stdbool.h>
bool is_autofs_pipe(unsigned long inode);
struct mount_info;
int autofs_parse(struct mount_info *pm);
int autofs_dump(struct mount_info *pm);
int autofs_mount(struct mount_info *mi, const char *... | 4,934 | 23.310345 | 117 | h |
criu | criu-master/criu/include/bpfmap.h | #ifndef __CR_BPFMAP_H__
#define __CR_BPFMAP_H__
#include "files.h"
#include "bpfmap-file.pb-c.h"
#include "bpfmap-data.pb-c.h"
struct bpfmap_file_info {
BpfmapFileEntry *bpfe;
struct file_desc d;
};
struct bpfmap_data_rst {
BpfmapDataEntry *bde;
void *data;
struct bpfmap_data_rst *next;
};
#define BPFMAP_DATA_... | 966 | 27.441176 | 96 | h |
criu | criu-master/criu/include/cgroup-props.h | #ifndef __CR_CGROUP_PROPS_H__
#define __CR_CGROUP_PROPS_H__
#include <stdbool.h>
typedef struct {
const char *name;
size_t nr_props;
const char **props;
} cgp_t;
extern cgp_t cgp_global;
extern cgp_t cgp_global_v2;
extern const cgp_t *cgp_get_props(const char *name);
extern bool cgp_should_skip_controller(const c... | 511 | 22.272727 | 58 | h |
criu | criu-master/criu/include/cgroup.h | #ifndef __CR_CGROUP_H__
#define __CR_CGROUP_H__
#include "int.h"
#include "images/core.pb-c.h"
struct pstree_item;
struct parasite_dump_cgroup_args;
extern u32 root_cg_set;
int dump_thread_cgroup(const struct pstree_item *, u32 *, struct parasite_dump_cgroup_args *args, int id);
int dump_cgroups(void);
int prepare_ta... | 2,409 | 22.627451 | 109 | h |
criu | criu-master/criu/include/cr_options.h | #ifndef __CR_OPTIONS_H__
#define __CR_OPTIONS_H__
#include <stdbool.h>
#include <sys/capability.h>
#include "common/config.h"
#include "common/list.h"
#include "int.h"
#include "image.h"
/* Configuration and CLI parsing order defines */
#define PARSING_GLOBAL_CONF 1
#define PARSING_USER_CONF 2
#define PARSING_ENV... | 6,027 | 23.208835 | 98 | h |
criu | criu-master/criu/include/criu-log.h | /*
This file defines types and macros for CRIU plugins.
Copyright (C) 2013 Parallels, Inc
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(... | 1,571 | 30.44 | 78 | h |
criu | criu-master/criu/include/criu-plugin.h | /*
* This file defines types and macros for CRIU plugins.
* Copyright (C) 2013-2014 Parallels, Inc
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, o... | 5,233 | 33.662252 | 116 | h |
criu | criu-master/criu/include/crtools.h | #ifndef __CR_CRTOOLS_H__
#define __CR_CRTOOLS_H__
#include <sys/types.h>
#include "common/list.h"
#include "servicefd.h"
#include "images/inventory.pb-c.h"
#define CR_FD_PERM (S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)
extern int check_img_inventory(bool restore);
extern int write_img_inventory(InventoryEntry *he);
ex... | 1,518 | 28.784314 | 78 | h |
criu | criu-master/criu/include/file-lock.h | #ifndef __FILE_LOCK_H__
#define __FILE_LOCK_H__
#include "common/list.h"
#include "protobuf.h"
#include "images/file-lock.pb-c.h"
#define FL_UNKNOWN -1
#define FL_POSIX 1
#define FL_FLOCK 2
#define FL_OFD 4
#define FL_LEASE 8
/* for posix fcntl() and lockf() */
#ifndef F_RDLCK
#define F_RDLCK 0
#define F_W... | 1,953 | 23.123457 | 76 | h |
criu | criu-master/criu/include/files-reg.h | #ifndef __CR_FILES_REG_H__
#define __CR_FILES_REG_H__
#include "files.h"
#include "util.h"
#include "images/regfile.pb-c.h"
#include "images/ghost-file.pb-c.h"
struct cr_imgset;
struct fd_parms;
struct file_remap {
char *rpath;
bool is_dir;
int rmnt_id;
uid_t uid;
gid_t gid;
};
struct reg_file_info {
struct ... | 1,743 | 25.830769 | 116 | h |
criu | criu-master/criu/include/files.h | #ifndef __CR_FILES_H__
#define __CR_FILES_H__
#include <sys/stat.h>
#include "int.h"
#include "common/compiler.h"
#include "fcntl.h"
#include "common/lock.h"
#include "common/list.h"
#include "pid.h"
#include "rst_info.h"
#include "images/fdinfo.pb-c.h"
#include "images/fown.pb-c.h"
#include "images/vma.pb-c.h"
str... | 6,140 | 29.705 | 116 | h |
criu | criu-master/criu/include/filesystems.h | #ifndef __CR_FILESYSTEMS_H__
#define __CR_FILESYSTEMS_H__
extern struct fstype *find_fstype_by_name(char *fst);
extern struct fstype *decode_fstype(u32 fst);
extern bool add_fsname_auto(const char *names);
struct mount_info;
typedef int (*mount_fn_t)(struct mount_info *mi, const char *src, const char *fstype, unsigned... | 950 | 27.818182 | 112 | h |
criu | criu-master/criu/include/fsnotify.h | #ifndef __CR_FSNOTIFY_H__
#define __CR_FSNOTIFY_H__
#include "files.h"
#include "protobuf.h"
#include "images/fsnotify.pb-c.h"
#define KERNEL_FS_EVENT_ON_CHILD 0x08000000
#ifndef INOTIFY_IOC_SETNEXTWD
#define INOTIFY_IOC_SETNEXTWD _IOW('I', 0, __s32)
#endif
extern int is_inotify_link(char *link);
extern int is_fan... | 679 | 26.2 | 53 | h |
criu | criu-master/criu/include/hugetlb.h | #ifndef __CR_HUGETLB_H_
#define __CR_HUGETLB_H_
#include <sys/types.h>
#include <stddef.h>
#include "vma.h"
#define ANON_HUGEPAGE_PREFIX "/anon_hugepage"
#define ANON_HUGEPAGE_PREFIX_LEN (sizeof(ANON_HUGEPAGE_PREFIX) - 1)
enum hugepage_size {
HUGETLB_16KB,
HUGETLB_64KB,
HUGETLB_512KB,
HUGETLB_1MB,
HUGETLB_2MB... | 1,617 | 25.096774 | 112 | h |
criu | criu-master/criu/include/image.h | #ifndef __CR_IMAGE_H__
#define __CR_IMAGE_H__
#include <stdbool.h>
#include "common/compiler.h"
#include "servicefd.h"
#include "image-desc.h"
#include "fcntl.h"
#include "magic.h"
#include "bfd.h"
#include "log.h"
#include "common/bug.h"
#define PAGE_RSS 1
#define PAGE_ANON 2
/*
* Top bit set in the tgt id means... | 5,062 | 27.44382 | 107 | h |
criu | criu-master/criu/include/imgset.h | #ifndef __CR_IMGSET_H__
#define __CR_IMGSET_H__
#include "image-desc.h"
#include "log.h"
#include "common/bug.h"
#include "image.h"
struct cr_imgset {
int fd_off;
int fd_nr;
struct cr_img **_imgs;
};
static inline struct cr_img *img_from_set(const struct cr_imgset *imgset, int type)
{
int idx;
idx = type - img... | 915 | 23.756757 | 115 | h |
criu | criu-master/criu/include/kerndat.h | #ifndef __CR_KERNDAT_H__
#define __CR_KERNDAT_H__
#include <stdbool.h>
#include "int.h"
#include "common/config.h"
#include "asm/kerndat.h"
#include "util-vdso.h"
#include "hugetlb.h"
#include <compel/ptrace.h>
struct stat;
/*
* kerndat stands for "kernel data" and is a collection
* of run-time information about c... | 2,361 | 20.279279 | 64 | h |
criu | criu-master/criu/include/libnetlink.h | #ifndef __CR_LIBNETLINK_H__
#define __CR_LIBNETLINK_H__
#define CR_NLMSG_SEQ 24680 /* arbitrary chosen */
struct ns_id;
extern int do_rtnl_req(int nl, void *req, int size,
int (*receive_callback)(struct nlmsghdr *h, struct ns_id *ns, void *),
int (*error_callback)(int err, struct ns_id *ns, void *),... | 748 | 33.045455 | 95 | h |
criu | criu-master/criu/include/log.h | #ifndef __CR_LOG_H__
#define __CR_LOG_H__
#include <inttypes.h>
#ifndef CR_NOGLIBC
#include <string.h>
#include <errno.h>
#include <stdarg.h>
#endif /* CR_NOGLIBC */
#define LOG_UNSET (-1)
#define LOG_MSG (0) /* Print message regardless of log level */
#define LOG_ERROR (1) /* Errors only, when we're in trouble ... | 2,117 | 31.090909 | 120 | h |
criu | criu-master/criu/include/lsm.h | #ifndef __CR_LSM_H__
#define __CR_LSM_H__
#include "images/inventory.pb-c.h"
#include "images/creds.pb-c.h"
#include "images/fdinfo.pb-c.h"
#define AA_SECURITYFS_PATH "/sys/kernel/security/apparmor"
/*
* Get the Lsmtype for the current host.
*/
extern Lsmtype host_lsm_type(void);
/*
* Initialize the Lsmtype for ... | 1,258 | 20.706897 | 77 | h |
criu | criu-master/criu/include/magic.h | #ifndef __CR_MAGIC_H__
#define __CR_MAGIC_H__
/*
* Basic multi-file images
*/
#define CRTOOLS_IMAGES_V1 1
/*
* v1.1 has common magic in the head of each image file,
* except for inventory
*/
#define CRTOOLS_IMAGES_V1_1 2
/*
* Raw images are images in which data is stored in some
* non-crtool format (ip tool d... | 5,137 | 37.631579 | 68 | h |
criu | criu-master/criu/include/mem.h | #ifndef __CR_MEM_H__
#define __CR_MEM_H__
#include <stdbool.h>
#include "int.h"
#include "vma.pb-c.h"
#include "pid.h"
#include "proc_parse.h"
#include "inventory.pb-c.h"
struct parasite_ctl;
struct vm_area_list;
struct page_pipe;
struct pstree_item;
struct vma_area;
struct mem_dump_ctl {
bool pre_dump;
bool lazy;... | 1,601 | 29.807692 | 99 | h |
criu | criu-master/criu/include/memfd.h | #ifndef __CR_MEMFD_H__
#define __CR_MEMFD_H__
#include <sys/stat.h>
#include "int.h"
#include "common/config.h"
struct fd_parms;
struct file_desc;
extern int is_memfd(dev_t dev);
extern int dump_one_memfd_cond(int lfd, u32 *id, struct fd_parms *parms);
extern const struct fdtype_ops memfd_dump_ops;
extern int memfd... | 829 | 23.411765 | 73 | h |
criu | criu-master/criu/include/mount-v2.h | #ifndef __CR_MOUNT_V2_H__
#define __CR_MOUNT_V2_H__
#include "linux/mount.h"
#include "linux/openat2.h"
#include "common/list.h"
#include <compel/plugins/std/syscall-codes.h>
#ifndef MOVE_MOUNT_SET_GROUP
#define MOVE_MOUNT_SET_GROUP 0x00000100 /* Set sharing group instead */
#endif
#ifndef MOVE_MOUNT_F_EMPTY_PATH
#... | 2,714 | 27.28125 | 114 | h |
criu | criu-master/criu/include/mount.h | #ifndef __CR_MOUNT_H__
#define __CR_MOUNT_H__
#include <sys/types.h>
#include "common/list.h"
struct proc_mountinfo;
struct pstree_item;
struct fstype;
struct ns_id;
#define MS_PROPAGATE (MS_SHARED | MS_PRIVATE | MS_UNBINDABLE | MS_SLAVE)
/*
* Here are a set of flags which we know how to handle for the one mount ... | 7,903 | 31.933333 | 118 | h |
criu | criu-master/criu/include/namespaces.h | #ifndef __CR_NS_H__
#define __CR_NS_H__
#include <sys/socket.h>
#include "common/compiler.h"
#include "files.h"
#include "common/list.h"
#include "images/netdev.pb-c.h"
#ifndef CLONE_NEWNS
#define CLONE_NEWNS 0x00020000
#endif
#ifndef CLONE_NEWPID
#define CLONE_NEWPID 0x20000000
#endif
#ifndef CLONE_NEWUTS
#define... | 6,748 | 26.546939 | 118 | h |
criu | criu-master/criu/include/net.h | #ifndef __CR_NET_H__
#define __CR_NET_H__
#include <linux/netlink.h>
#include "common/list.h"
#include "external.h"
#ifndef RTM_GETNSID
#define RTM_GETNSID 90
#endif
struct cr_imgset;
struct ns_id;
extern int dump_net_ns(struct ns_id *ns);
extern int prepare_net_namespaces(void);
extern void fini_net_namespaces(voi... | 1,561 | 25.033333 | 94 | h |
criu | criu-master/criu/include/netfilter.h | #ifndef __CR_NETFILTER_H__
#define __CR_NETFILTER_H__
struct inet_sk_desc;
extern int iptables_lock_connection(struct inet_sk_desc *);
extern int iptables_unlock_connection(struct inet_sk_desc *);
struct inet_sk_info;
extern int iptables_unlock_connection_info(struct inet_sk_info *);
extern void preload_netfilter_mo... | 815 | 30.384615 | 76 | h |
criu | criu-master/criu/include/page-pipe.h | #ifndef __CR_PAGE_PIPE_H__
#define __CR_PAGE_PIPE_H__
#include <sys/uio.h>
#include "common/list.h"
#define PAGE_ALLOC_COSTLY_ORDER 3 /* from the kernel source code */
struct kernel_pipe_buffer {
struct page *page;
unsigned int offset, len;
const struct pipe_buf_operations *ops;
unsigned int flags;
unsigned long... | 5,020 | 31.185897 | 119 | h |
criu | criu-master/criu/include/page-xfer.h | #ifndef __CR_PAGE_XFER__H__
#define __CR_PAGE_XFER__H__
#include "pagemap.h"
struct ps_info {
int pid;
unsigned short port;
};
extern int cr_page_server(bool daemon_mode, bool lazy_dump, int cfd);
/* User buffer for read-mode pre-dump*/
#define PIPE_MAX_BUFFER_SIZE (PIPE_MAX_SIZE << PAGE_SHIFT)
/*
* page_xfer --... | 2,437 | 30.25641 | 120 | h |
criu | criu-master/criu/include/pagemap-cache.h | #ifndef __CR_PAGEMAP_H__
#define __CR_PAGEMAP_H__
#include <sys/types.h>
#include "int.h"
#include "common/list.h"
struct vma_area;
#define PAGEMAP_PFN_OFF(addr) (PAGE_PFN(addr) * sizeof(u64))
typedef struct {
pid_t pid; /* which process it belongs */
unsigned long start; /* start of area */
unsigned lon... | 821 | 23.909091 | 90 | h |
criu | criu-master/criu/include/pagemap.h | #ifndef __CR_PAGE_READ_H__
#define __CR_PAGE_READ_H__
#include "common/list.h"
#include "images/pagemap.pb-c.h"
#include "page.h"
/*
* page_read -- engine, that reads pages from image file(s)
*
* Several page-read's can be arranged in a chain to read
* pages from a series of snapshot.
*
* A task's address space... | 4,385 | 28.635135 | 102 | h |
criu | criu-master/criu/include/parasite-syscall.h | #ifndef __CR_PARASITE_SYSCALL_H__
#define __CR_PARASITE_SYSCALL_H__
#include "pid.h"
#include "common/list.h"
#include "common/config.h"
#include "asm/parasite-syscall.h"
struct parasite_dump_thread;
struct parasite_dump_misc;
struct parasite_drain_fd;
struct vm_area_list;
struct pstree_item;
struct list_head;
struct... | 2,057 | 38.576923 | 115 | h |
criu | criu-master/criu/include/parasite-vdso.h | #ifndef __CR_PARASITE_VDSO_H__
#define __CR_PARASITE_VDSO_H__
#include "common/config.h"
#include "util-vdso.h"
#include "images/vma.pb-c.h"
struct parasite_ctl;
struct vm_area_list;
/* Check if symbol present in symtable */
static inline bool vdso_symbol_empty(struct vdso_symbol *s)
{
return s->offset == VDSO_BAD_... | 2,977 | 31.725275 | 114 | h |
criu | criu-master/criu/include/parasite.h | #ifndef __CR_PARASITE_H__
#define __CR_PARASITE_H__
#define PARASITE_MAX_SIZE (64 << 10)
#ifndef __ASSEMBLY__
#include <sys/un.h>
#include <sys/time.h>
#include <time.h>
#include <signal.h>
#include "linux/rseq.h"
#include "image.h"
#include "util-pie.h"
#include "common/lock.h"
#include "infect-rpc.h"
#include "... | 5,428 | 20.290196 | 109 | h |
criu | criu-master/criu/include/path.h | #ifndef __CR_PATH_H__
#define __CR_PATH_H__
#include "namespaces.h"
#include "pstree.h"
/* Absolute paths are used on dump and relative paths are used on restore */
static inline int is_root(char *p)
{
return (!strcmp(p, "/"));
}
/* True for the root mount (the topmost one) */
static inline int is_root_mount(struct... | 1,055 | 24.756098 | 91 | h |
criu | criu-master/criu/include/pid.h | #ifndef __CR_PID_H__
#define __CR_PID_H__
#include <compel/task-state.h>
#include "stdbool.h"
#include "rbtree.h"
/*
* Task states, used in e.g. struct pid's state.
*/
enum __criu_task_state {
/* Values shared with compel */
TASK_ALIVE = COMPEL_TASK_ALIVE,
TASK_DEAD = COMPEL_TASK_DEAD,
TASK_STOPPED = COMPEL_TAS... | 1,598 | 23.227273 | 68 | h |
criu | criu-master/criu/include/pipes.h | #ifndef __CR_PIPES_H__
#define __CR_PIPES_H__
#include "images/pipe-data.pb-c.h"
#include "images/pipe.pb-c.h"
extern struct collect_image_info pipe_cinfo;
extern struct collect_image_info pipe_data_cinfo;
extern const struct fdtype_ops pipe_dump_ops;
static inline u32 pipe_id(const struct fd_parms *p)
{
return p->... | 1,690 | 26.274194 | 92 | h |
criu | criu-master/criu/include/plugin.h | #ifndef __CR_PLUGIN_H__
#define __CR_PLUGIN_H__
#include "criu-plugin.h"
#include "common/compiler.h"
#include "common/list.h"
#ifndef CR_PLUGIN_DEFAULT
#define CR_PLUGIN_DEFAULT "/usr/lib/criu/"
#endif
void cr_plugin_fini(int stage, int err);
int cr_plugin_init(int stage);
typedef struct {
struct list_head head;
... | 2,072 | 42.1875 | 109 | h |
criu | criu-master/criu/include/proc_parse.h | #ifndef __CR_PROC_PARSE_H__
#define __CR_PROC_PARSE_H__
#include <sys/types.h>
#include "compel/infect.h"
#define PROC_TASK_COMM_LEN 32
#define PROC_TASK_COMM_LEN_FMT "(%31s"
struct proc_pid_stat {
int pid;
char comm[PROC_TASK_COMM_LEN];
char state;
int ppid;
int pgid;
int sid;
int tty_nr;
int tty_pgrp;... | 2,505 | 22.203704 | 79 | h |
criu | criu-master/criu/include/protobuf.h | #ifndef __CR_PROTOBUF_H__
#define __CR_PROTOBUF_H__
#include <stdbool.h>
#include "protobuf-desc.h"
#include "common/compiler.h"
#include "util.h"
struct cr_img;
extern int do_pb_read_one(struct cr_img *, void **objp, int type, bool eof);
#define pb_read_one(fd, objp, type) do_pb_read_one(fd, (void **)objp, type, ... | 1,687 | 27.133333 | 109 | h |
criu | criu-master/criu/include/pstree.h | #ifndef __CR_PSTREE_H__
#define __CR_PSTREE_H__
#include "common/list.h"
#include "common/lock.h"
#include "pid.h"
#include "xmalloc.h"
#include "images/core.pb-c.h"
/*
* That's the init process which usually inherit
* all orphaned children in the system.
*/
#define INIT_PID (1)
struct pstree_item {
struct pstree... | 3,688 | 25.731884 | 95 | h |
criu | criu-master/criu/include/rbtree.h | /*
* RBtree implementation adopted from the Linux kernel sources.
*/
#ifndef __CR_RBTREE_H__
#define __CR_RBTREE_H__
#include <stddef.h>
#include "common/compiler.h"
#define RB_RED 0
#define RB_BLACK 1
#define RB_MASK 3
struct rb_node {
unsigned long rb_parent_color; /* Keeps both parent anc color */
struct ... | 2,736 | 27.810526 | 106 | h |
criu | criu-master/criu/include/restorer.h | #ifndef __CR_RESTORER_H__
#define __CR_RESTORER_H__
#include <signal.h>
#include <limits.h>
#include <sys/resource.h>
#include <linux/filter.h>
#include "common/config.h"
#include "types.h"
#include "int.h"
#include "types.h"
#include "common/compiler.h"
#include <compel/asm/fpu.h>
#include "common/lock.h"
#include "... | 8,164 | 23.373134 | 88 | h |
criu | criu-master/criu/include/rst-malloc.h | #ifndef __CR_RST_MALLOC__H__
#define __CR_RST_MALLOC__H__
/*
* On restore we need differetn types of memory allocation.
* Here's an engine that tries to generalize them all. The
* main difference is in how the buffer with objects is being
* grown up.
*
* Buffers, that are to be used by restorer will be remapped
... | 2,687 | 31.385542 | 79 | h |
criu | criu-master/criu/include/sched.h | #ifndef __CR_SCHED_H__
#define __CR_SCHED_H__
#include <linux/types.h>
#ifndef ptr_to_u64
#define ptr_to_u64(ptr) ((__u64)((uintptr_t)(ptr)))
#endif
#ifndef u64_to_ptr
#define u64_to_ptr(x) ((void *)(uintptr_t)x)
#endif
/*
* This structure is needed by clone3(). The kernel
* calls it 'struct clone_args'. As CRIU w... | 798 | 22.5 | 57 | h |
criu | criu-master/criu/include/seccomp.h | #ifndef __CR_SECCOMP_H__
#define __CR_SECCOMP_H__
#include <linux/seccomp.h>
#include <linux/filter.h>
#include "images/seccomp.pb-c.h"
#include "images/core.pb-c.h"
#ifndef SECCOMP_MODE_DISABLED
#define SECCOMP_MODE_DISABLED 0
#endif
#ifndef SECCOMP_MODE_STRICT
#define SECCOMP_MODE_STRICT 1
#endif
#ifndef SECCOMP... | 1,913 | 24.52 | 91 | h |
criu | criu-master/criu/include/servicefd.h | #ifndef __CR_SERVICE_FD_H__
#define __CR_SERVICE_FD_H__
#include <stdio.h>
#include <stdbool.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include "criu-log.h"
enum sfd_type {
SERVICE_FD_MIN,
LOG_FD_OFF,
IMG_FD_OFF,
IMG_STREAMER_FD_OFF,
PROC_FD_OFF, /* fd with /proc for all proc_ calls */
PROC... | 1,398 | 25.903846 | 76 | h |
criu | criu-master/criu/include/shmem.h | #ifndef __CR_SHMEM_H__
#define __CR_SHMEM_H__
#include "int.h"
#include "common/lock.h"
#include "images/vma.pb-c.h"
struct vma_area;
extern int collect_shmem(int pid, struct vma_area *vma);
extern int collect_sysv_shmem(unsigned long shmid, unsigned long size);
extern int cr_dump_shmem(void);
extern int add_shmem_a... | 815 | 34.478261 | 91 | h |
criu | criu-master/criu/include/sizes.h | #ifndef __CR_SIZES_H__
#define __CR_SIZES_H__
/*
* Copied from the Linux kernel header include/linux/sizes.h
*/
#define SZ_1 0x00000001
#define SZ_2 0x00000002
#define SZ_4 0x00000004
#define SZ_8 0x00000008
#define SZ_16 0x00000010
#define SZ_32 0x00000020
#define SZ_64 0x00000040
#define SZ_128 0x00000... | 1,130 | 21.176471 | 60 | h |
criu | criu-master/criu/include/sk-inet.h | #ifndef __CR_SK_INET_H__
#define __CR_SK_INET_H__
#include <netinet/tcp.h>
#include "sockets.h"
#include "files.h"
#include "common/list.h"
#include "images/sk-inet.pb-c.h"
#define INET_ADDR_LEN 48 /* max of INET_ADDRSTRLEN and INET6_ADDRSTRLEN */
#ifndef TCP_REPAIR
#define TCP_REPAIR 19 /* TCP sock is under repa... | 2,375 | 21.628571 | 98 | h |
criu | criu-master/criu/include/sockets.h | #ifndef __CR_SOCKETS_H__
#define __CR_SOCKETS_H__
#include <alloca.h>
#include <stdbool.h>
#include <sys/socket.h>
#include "images/sk-opts.pb-c.h"
#include "images/fdinfo.pb-c.h"
struct fdinfo_list_entry;
struct sk_opts_entry;
struct file_desc;
struct fd_parms;
struct cr_imgset;
struct nlmsghdr;
struct cr_img;
str... | 4,616 | 33.977273 | 93 | h |
criu | criu-master/criu/include/syscall.h | #ifndef __CR_SYSCALL_H__
#define __CR_SYSCALL_H__
static inline int sys_fsopen(const char *fsname, unsigned int flags)
{
return syscall(__NR_fsopen, fsname, flags);
}
static inline int sys_fsconfig(int fd, unsigned int cmd, const char *key, const char *value, int aux)
{
return syscall(__NR_fsconfig, fd, cmd, key, va... | 504 | 28.705882 | 101 | h |
criu | criu-master/criu/include/sysctl.h | #ifndef __CR_SYSCTL_H__
#define __CR_SYSCTL_H__
struct sysctl_req {
char *name;
void *arg;
int type;
int flags;
};
extern int sysctl_op(struct sysctl_req *req, size_t nr_req, int op, unsigned int ns);
enum {
CTL_READ,
CTL_WRITE,
};
#define CTL_SHIFT 4 /* Up to 16 types */
#define CTL_U32 1 /* Single u32 *... | 993 | 22.116279 | 85 | h |
criu | criu-master/criu/include/sysfs_parse.h | #ifndef __CR_SYSFS_PARSE_H__
#define __CR_SYSFS_PARSE_H__
#define SYSFS_AUFS "/sys/fs/aufs/"
#define SBINFO_LEN (3 + 16 + 1) /* si_%lx */
#define SBINFO_PATH_LEN (sizeof SYSFS_AUFS + SBINFO_LEN) /* /sys/fs/aufs/<sbinfo> */
#define AUFSBR_PATH_LEN (SBINFO_PATH_LEN + 6 + 1) /* /sys/fs/aufs/<sbinfo>/br%3d */
struct ... | 546 | 31.176471 | 84 | h |
criu | criu-master/criu/include/tls.h | #ifndef __CR_TLS_H__
#define __CR_TLS_H__
#ifdef CONFIG_GNUTLS
int tls_x509_init(int sockfd, bool is_server);
void tls_terminate_session(bool async);
ssize_t tls_send(const void *buf, size_t len, int flags);
ssize_t tls_recv(void *buf, size_t len, int flags);
int tls_send_data_from_fd(int fd, unsigned long len);
in... | 707 | 25.222222 | 57 | h |
criu | criu-master/criu/include/tty.h | #ifndef __CR_TTY_H__
#define __CR_TTY_H__
#include <linux/major.h>
#include <linux/vt.h>
#include "files.h"
/* Kernel's limit */
#define TERMIOS_NCC 19
/* Popular serial console's majors, which not defined in <linux/major.h> */
#define USB_SERIAL_MAJOR 188
#define LOW_DENSE_SERIAL_MAJOR 204
extern const stru... | 990 | 22.595238 | 75 | h |
criu | criu-master/criu/include/tun.h | #ifndef __CR_TUN_H__
#define __CR_TUN_H__
#ifndef TUN_MINOR
#define TUN_MINOR 200
#endif
extern struct ns_id *ns;
#include <linux/netlink.h>
#include "images/netdev.pb-c.h"
extern const struct fdtype_ops tunfile_dump_ops;
extern int dump_tun_link(NetDeviceEntry *nde, struct cr_imgset *fds, struct nlattr **info);
s... | 576 | 24.086957 | 91 | h |
criu | criu-master/criu/include/util-vdso.h | #ifndef __CR_UTIL_VDSO_H__
#define __CR_UTIL_VDSO_H__
/*
* VDSO management common definitions.
*
* This header file is included by the criu main code and the parasite code.
* It contains definitions shared by these 2 parts.
*
* This file should not be included except in pie/util-vdso.c, include/vdso.h
* and inc... | 2,596 | 23.271028 | 102 | h |
criu | criu-master/criu/include/util.h | #ifndef __CR_UTIL_H__
#define __CR_UTIL_H__
/*
* Some bits are stolen from perf and kvm tools
*/
#include <signal.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <sys/types.h>
#include <sys/statfs.h>
#include <sys/sysmacros.h>
#include <dirent.h>
#include <poll.h>
#include "int.h"
#include "co... | 14,016 | 32.939467 | 117 | h |
criu | criu-master/criu/include/vdso.h | #ifndef __CR_VDSO_H__
#define __CR_VDSO_H__
#include <sys/mman.h>
#include <stdbool.h>
#include "common/config.h"
#include "util-vdso.h"
extern struct vdso_maps vdso_maps;
extern struct vdso_maps vdso_maps_compat;
extern int vdso_init_dump(void);
extern int vdso_init_restore(void);
extern int kerndat_vdso_fill_symt... | 657 | 25.32 | 115 | h |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.