)]}'
{
  "commit": "5ba5db1a29ef54dc3ee2efbc5bdb3d95b77fc928",
  "tree": "f8591cde74a9e6c302fa400b5bc734814d2b2736",
  "parents": [
    "cb974884b68b7b2001dfcd8f46c446c0ff8c6336"
  ],
  "author": {
    "name": "David Benjamin",
    "email": "davidben@google.com",
    "time": "Fri Jul 14 16:30:43 2023 -0400"
  },
  "committer": {
    "name": "Boringssl LUCI CQ",
    "email": "boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Tue Jul 18 19:46:50 2023 +0000"
  },
  "message": "Support Android\u0027s \"baremetal\" target\n\nThis corresponds to the libcrypto_baremetal build target in Android,\nwhich is an embedded-style platform that uses a subset of the bionic\nlibc. It will also, eventually, use getentropy for its PRNG.\n\nAs part of this, generalize the OPENSSL_TRUSTY exclusion for file BIOs\nto OPENSSL_NO_FILESYSTEM. Upstream OpenSSL uses OPENSSL_NO_STDIO, but\nthat excludes all of FILE entirely. We already require FILE in quite a\nfew places (urandom.c, self_test.c) for writing to stderr, and FILE is\npart of C standard library. So, let\u0027s tentatively say that we require\nyou have FILE and stderr.\n\nInstead, OPENSSL_NO_FILESYSTEM is saying you don\u0027t have fopen. You\u0027re\nstill required to have the three std{in,out,err} FILEs, and given a\nFILE, you need to allow the standard operations on it. (Possibly in\nforms that always fail.)\n\nTo keep us honest, whenever a function is excluded, I\u0027ve dropped it from\nthe header too, and followed callers up the chain. I have not attempted\nto make the tests work when these are excluded. Later CLs in this series\nwill do the same for NO_SOCK and NO_POSIX_IO. This was a little tedious,\nbut not too bad.\n\n(I assume we\u0027ll end up changing our minds on this a lot. For now, let\u0027s\ntry this.)\n\nI haven\u0027t yet restored OPENSSL_RAND_TRUSTY or removed the OPENSSL_TRUSTY\nifdef on file.c. Having a separate CL makes it a bit easier to revert if\nsomething goes wrong.\n\nThis depends on\nhttps://android-review.googlesource.com/c/platform/bionic/+/2659335,\nwhich fixes the header bionic uses for getentropy.\n\nBug: 629, b:291102972\nChange-Id: Idd839cd3fa4253128de54bd1be7da261dbcdeb7c\nReviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/61726\nAuto-Submit: David Benjamin \u003cdavidben@google.com\u003e\nReviewed-by: Bob Beck \u003cbbe@google.com\u003e\nCommit-Queue: Bob Beck \u003cbbe@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d0281c85488a8fa2e9b12c5b9927e310a60a49b0",
      "old_mode": 33188,
      "old_path": "crypto/bio/file.c",
      "new_id": "f0801ba9e2006a8a78b7473650ebb9eb276df5bc",
      "new_mode": 33188,
      "new_path": "crypto/bio/file.c"
    },
    {
      "type": "modify",
      "old_id": "6b9833d9710b5d1d967e4481bed06e952c7242f1",
      "old_mode": 33188,
      "old_path": "crypto/conf/conf.c",
      "new_id": "18bec19aabd4a3513fc63e0a57cfb12aafb8b722",
      "new_mode": 33188,
      "new_path": "crypto/conf/conf.c"
    },
    {
      "type": "modify",
      "old_id": "a34496f86cebc935edb64184f7177d2497b61be8",
      "old_mode": 33188,
      "old_path": "crypto/x509/by_dir.c",
      "new_id": "95a69bf0d6579f96bffe9fa3390a26a20cc34955",
      "new_mode": 33188,
      "new_path": "crypto/x509/by_dir.c"
    },
    {
      "type": "modify",
      "old_id": "7c056f08158918aaf3fe29935fcf1075aff3cd9c",
      "old_mode": 33188,
      "old_path": "crypto/x509/by_file.c",
      "new_id": "33bd9781928dae0e988902b149fe24987096dc3f",
      "new_mode": 33188,
      "new_path": "crypto/x509/by_file.c"
    },
    {
      "type": "modify",
      "old_id": "748bd88acdf50be4b6832e3150a47f88369b3bfa",
      "old_mode": 33188,
      "old_path": "crypto/x509/x509_d2.c",
      "new_id": "7db1d2f340fb84e9ebc0a6fd8e39a1610c5443e7",
      "new_mode": 33188,
      "new_path": "crypto/x509/x509_d2.c"
    },
    {
      "type": "modify",
      "old_id": "a155c0f46a248c26e9a0fd364759b7f3a55db501",
      "old_mode": 33188,
      "old_path": "decrepit/ssl/ssl_decrepit.c",
      "new_id": "c6df9a11ed109faaf6e853d3dda1c94ec668f428",
      "new_mode": 33188,
      "new_path": "decrepit/ssl/ssl_decrepit.c"
    },
    {
      "type": "modify",
      "old_id": "707a4b1553c598cc3ca2470a2a2a31aeed594c3a",
      "old_mode": 33188,
      "old_path": "include/openssl/bio.h",
      "new_id": "ce139cccfd7789344759db06d9967b247aa36058",
      "new_mode": 33188,
      "new_path": "include/openssl/bio.h"
    },
    {
      "type": "modify",
      "old_id": "c9027c1db5a62f22d613ffae30ce0219caa9fbe6",
      "old_mode": 33188,
      "old_path": "include/openssl/conf.h",
      "new_id": "f217e980ff9881a8fb5b844717fdee383ba74bde",
      "new_mode": 33188,
      "new_path": "include/openssl/conf.h"
    },
    {
      "type": "modify",
      "old_id": "ffbf51eb2416160670b6c6ef2d64d8259fcc3977",
      "old_mode": 33188,
      "old_path": "include/openssl/ssl.h",
      "new_id": "4aba1051a61f8159bf97438433f1c3eae46cde15",
      "new_mode": 33188,
      "new_path": "include/openssl/ssl.h"
    },
    {
      "type": "modify",
      "old_id": "92eaf75c75bd486bb2ff22152bbea712996f1d4f",
      "old_mode": 33188,
      "old_path": "include/openssl/target.h",
      "new_id": "f830c14ceab5f827659c802182e9730933ecee6c",
      "new_mode": 33188,
      "new_path": "include/openssl/target.h"
    },
    {
      "type": "modify",
      "old_id": "c80b14e5aa847b08f157e736981d64972e7100f9",
      "old_mode": 33188,
      "old_path": "include/openssl/x509.h",
      "new_id": "7ce29180f4f070c1533e1e73a843c140a03397ed",
      "new_mode": 33188,
      "new_path": "include/openssl/x509.h"
    },
    {
      "type": "modify",
      "old_id": "9e06ec893f6ebdfdc1d6f54f2fa5e168c74b1db5",
      "old_mode": 33188,
      "old_path": "ssl/ssl_file.cc",
      "new_id": "0071153ce0800e81adad3ee22f605c560c8eb523",
      "new_mode": 33188,
      "new_path": "ssl/ssl_file.cc"
    },
    {
      "type": "modify",
      "old_id": "e4b3775b316cede49c1fd22d6596785411d98f2f",
      "old_mode": 33188,
      "old_path": "ssl/ssl_x509.cc",
      "new_id": "5514cf2030ebe55aedc99dde4ba68712d7b5375b",
      "new_mode": 33188,
      "new_path": "ssl/ssl_x509.cc"
    }
  ]
}
