Skip to content

Commit a2e2d29

Browse files
committed
Merge #208: bump dd-trace-cpp to 83958bc
2 parents 7934662 + 0bef6ab commit a2e2d29

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

build_env/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,5 @@ RUN apk add --no-cache pcre-dev pcre2-dev zlib-dev openssl-dev perl
7373

7474
# Install Rust toolchain
7575
RUN apk add --no-cache curl
76-
RUN curl proto =https –tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -yq \
76+
RUN curl --proto '=https' –tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -yq \
7777
&& ln -s ~/.cargo/bin/cargo /usr/bin/cargo

build_env/glibc_compat.c

+11
Original file line numberDiff line numberDiff line change
@@ -220,4 +220,15 @@ ssize_t getrandom(void *buf, size_t buflen, unsigned int flags) {
220220
return (ssize_t)bytes_read;
221221
}
222222

223+
#ifdef __x86_64__
224+
#define MEMFD_CREATE_SYSCALL 319
225+
#elif __aarch64__
226+
#define MEMFD_CREATE_SYSCALL 279
227+
#endif
228+
229+
// introduced in glibc 2.27
230+
int memfd_create(const char *name, unsigned flags) {
231+
return syscall(MEMFD_CREATE_SYSCALL, name, flags);
232+
}
233+
223234
#endif

dd-trace-cpp

Submodule dd-trace-cpp updated 112 files

0 commit comments

Comments
 (0)