Index: aws-lc/third_party/boringssl/crypto/fipsmodule/rand/urandom_test.cc =================================================================== --- aws-lc.orig/third_party/boringssl/crypto/fipsmodule/rand/urandom_test.cc +++ aws-lc/third_party/boringssl/crypto/fipsmodule/rand/urandom_test.cc @@ -23,6 +23,8 @@ #if defined(OPENSSL_X86_64) && !defined(BORINGSSL_SHARED_LIBRARY) && \ !defined(BORINGSSL_UNSAFE_DETERMINISTIC_MODE) && defined(USE_NR_getrandom) +#include + #include #include #include @@ -34,6 +36,10 @@ #define PTRACE_O_EXITKILL (1 << 20) #endif +#if !defined(PTRACE_O_TRACESYSGOOD) +#define PTRACE_O_TRACESYSGOOD (1) +#endif + // This test can be run with $OPENSSL_ia32cap=~0x4000000000000000 in order to // simulate the absence of RDRAND of machines that have it. Index: aws-lc/third_party/boringssl/crypto/trust_token/trust_token_test.cc =================================================================== --- aws-lc.orig/third_party/boringssl/crypto/trust_token/trust_token_test.cc +++ aws-lc/third_party/boringssl/crypto/trust_token/trust_token_test.cc @@ -84,8 +84,8 @@ static std::vector