Skip to content

Instantly share code, notes, and snippets.

View mbien's full-sized avatar
🙂

Michael Bien mbien

🙂
View GitHub Profile
@mbien
mbien / main.c
Last active November 14, 2020 02:41
minimal criu dump
#include <stdio.h>
#include <stdlib.h>
#include <criu.h>
#include <fcntl.h>
// requires setcap cap_checkpoint_restore,cap_sys_ptrace+eip /path/to/exec
int main(int argc, char** argv) {
printf("hello criu\n");
criu_init_opts();