Skip to content

Commit

Permalink
Compatibility for Debian 10
Browse files Browse the repository at this point in the history
  • Loading branch information
talex5 committed Mar 27, 2023
1 parent 4c9716d commit 5d6aec4
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions lib_eio_linux/eio_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,25 @@

#include "fork_action.h"

#ifndef SYS_pidfd_send_signal
# define SYS_pidfd_send_signal 424
#endif
#ifndef CLONE_ARGS_SIZE_VER0
struct clone_args {
uint64_t flags;
uint64_t pidfd;
uint64_t child_tid;
uint64_t parent_tid;
uint64_t exit_signal;
uint64_t stack;
uint64_t stack_size;
uint64_t tls;
uint64_t set_tid;
uint64_t set_tid_size;
uint64_t cgroup;
};
#endif

// Make sure we have enough space for at least one entry.
#define DIRENT_BUF_SIZE (PATH_MAX + sizeof(struct dirent64))

Expand Down

0 comments on commit 5d6aec4

Please sign in to comment.