Skip to content

Commit

Permalink
criu: defining new constants for restoring BPF map files
Browse files Browse the repository at this point in the history
    include/image-desc.h - defined a new constant CR_FD_BPFMAP_FILE
    which represents file descriptors of BPF map files

    include/protobuf-desc.h - defined a new constant PB_BPFMAP_FILE
    which represents a protobuf image that stores information about
    BPF map files

Signed-off-by: Abhishek Vijeev <[email protected]>
  • Loading branch information
abhishekvijeev committed Apr 30, 2020
1 parent e94a85b commit 2d11419
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions criu/include/image-desc.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ enum {
CR_FD_PIPES,
CR_FD_TTY_FILES,
CR_FD_MEMFD_FILE,
CR_FD_BPFMAP_FILE,

CR_FD_AUTOFS,

Expand Down
1 change: 1 addition & 0 deletions criu/include/protobuf-desc.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ enum {
PB_SNAPSHOT_ID, /* Contains a single id. Used for reading/writing ids from proxy or cache. */
PB_MEMFD_FILE,
PB_MEMFD_INODE, /* 60 */
PB_BPFMAP_FILE,
PB_TIMENS,

/* PB_AUTOGEN_STOP */
Expand Down

0 comments on commit 2d11419

Please sign in to comment.