Skip to content

Commit

Permalink
test commit
Browse files Browse the repository at this point in the history
  • Loading branch information
saleha-muzammil committed Aug 3, 2024
2 parents 88fa30a + ecbb6e8 commit fe458ad
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions probe_src/libprobe/generated/libc_hooks.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
#include <ftw.h>
#include <sys/wait.h>
#include <threads.h>
<<<<<<< HEAD
#include "../src/prov_enable.c"
=======
>>>>>>> ecbb6e8ea2433c165586298c196b4613b1f9141f

static FILE * (*unwrapped_fopen)(const char *filename, const char *opentype);
static FILE * (*unwrapped_freopen)(const char *filename, const char *opentype, FILE *stream);
Expand Down
3 changes: 3 additions & 0 deletions probe_src/libprobe/src/prov_buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,13 @@
#include <pthread.h>
#include <threads.h>

<<<<<<< HEAD
#ifndef CLONE_VFORK
#define CLONE_VFORK 0x00004000
#endif

=======
>>>>>>> ecbb6e8ea2433c165586298c196b4613b1f9141f
#ifndef likely
#define likely(x) __builtin_expect(!!(x), 1)
#endif
Expand Down
3 changes: 3 additions & 0 deletions probe_src/libprobe/src/prov_ops.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@
#include <sys/types.h>
#include <limits.h>
#include <linux/stat.h>
<<<<<<< HEAD
#include "../generated/libc_hooks.h"
#include "../include/prov_ops.h"

=======
>>>>>>> ecbb6e8ea2433c165586298c196b4613b1f9141f
#define BORROWED
#ifndef likely
#define likely(x) __builtin_expect((x), 1)
Expand Down

0 comments on commit fe458ad

Please sign in to comment.