)]}'
{
  "commit": "bee9c8a4ffd3ec65bb56aaa04423c4f6f9c4012c",
  "tree": "4aa2964cc68dd30dcdd55d1dcb4294363e3e7cd3",
  "parents": [
    "f19a5ff9ab85313f5b30cfc9fbed3a2eea60a59d"
  ],
  "author": {
    "name": "Baptiste Jonglez",
    "email": "git@bitsofnetworks.org",
    "time": "Mon Oct 30 11:36:06 2017 +0100"
  },
  "committer": {
    "name": "Richard Levitte",
    "email": "levitte@openssl.org",
    "time": "Tue Oct 31 11:19:47 2017 +0100"
  },
  "message": "afalg: Use eventfd2 syscall instead of eventfd\n\nThe eventfd syscall is deprecated and is not available on aarch64, causing\nbuild to fail:\n\n    engines/e_afalg.c: In function \u0027eventfd\u0027:\n    engines/e_afalg.c:108:20: error: \u0027__NR_eventfd\u0027 undeclared (first use in this function)\n         return syscall(__NR_eventfd, n);\n                        ^\n\nInstead, switch to the newer eventfd2 syscall, which is supposed to be\nsupported by all architectures.\n\nThis kind of issues would be avoided by simply using the eventfd(2)\nwrapper from the libc, but there must be subtle reasons not to...\n\nTested on a aarch64 system running OpenSUSE Leap 42.1 (gcc118 from\nhttps://cfarm.tetaneutral.net/machines/list/ ) and also cross-compiling\nfor aarch64 with LEDE (kernel 4.9).\n\nThis properly fixes #1685.\n\nCLA: trivial\nFixes: 7f458a48 (\"ALG: Add AFALG engine\")\nSigned-off-by: Baptiste Jonglez \u003cgit@bitsofnetworks.org\u003e\n\nReviewed-by: Matt Caswell \u003cmatt@openssl.org\u003e\nReviewed-by: Richard Levitte \u003clevitte@openssl.org\u003e\n(Merged from https://github.com/openssl/openssl/pull/4617)\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7e682554ed953a627d3175e44e7f118461bc70d3",
      "old_mode": 33188,
      "old_path": "engines/e_afalg.c",
      "new_id": "e6fa5472d37ccb0e80eb5524d2d93386e7524ae2",
      "new_mode": 33188,
      "new_path": "engines/e_afalg.c"
    }
  ]
}
