)]}'
{
  "commit": "9fe5ad9c8cef9ad5873d8ee55d1cf00d9b607df0",
  "tree": "49fb04cf552192e566d2aa6e18f40585230cba5a",
  "parents": [
    "e38b36f325153eaadd1c2a7abc5762079233e540"
  ],
  "author": {
    "name": "Ulrich Drepper",
    "email": "drepper@redhat.com",
    "time": "Wed Jul 23 21:29:43 2008 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Thu Jul 24 10:47:29 2008 -0700"
  },
  "message": "flag parameters add-on: remove epoll_create size param\n\nRemove the size parameter from the new epoll_create syscall and renames the\nsyscall itself.  The updated test program follows.\n\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n#include \u003cfcntl.h\u003e\n#include \u003cstdio.h\u003e\n#include \u003ctime.h\u003e\n#include \u003cunistd.h\u003e\n#include \u003csys/syscall.h\u003e\n\n#ifndef __NR_epoll_create2\n# ifdef __x86_64__\n#  define __NR_epoll_create2 291\n# elif defined __i386__\n#  define __NR_epoll_create2 329\n# else\n#  error \"need __NR_epoll_create2\"\n# endif\n#endif\n\n#define EPOLL_CLOEXEC O_CLOEXEC\n\nint\nmain (void)\n{\n  int fd \u003d syscall (__NR_epoll_create2, 0);\n  if (fd \u003d\u003d -1)\n    {\n      puts (\"epoll_create2(0) failed\");\n      return 1;\n    }\n  int coe \u003d fcntl (fd, F_GETFD);\n  if (coe \u003d\u003d -1)\n    {\n      puts (\"fcntl failed\");\n      return 1;\n    }\n  if (coe \u0026 FD_CLOEXEC)\n    {\n      puts (\"epoll_create2(0) set close-on-exec flag\");\n      return 1;\n    }\n  close (fd);\n\n  fd \u003d syscall (__NR_epoll_create2, EPOLL_CLOEXEC);\n  if (fd \u003d\u003d -1)\n    {\n      puts (\"epoll_create2(EPOLL_CLOEXEC) failed\");\n      return 1;\n    }\n  coe \u003d fcntl (fd, F_GETFD);\n  if (coe \u003d\u003d -1)\n    {\n      puts (\"fcntl failed\");\n      return 1;\n    }\n  if ((coe \u0026 FD_CLOEXEC) \u003d\u003d 0)\n    {\n      puts (\"epoll_create2(EPOLL_CLOEXEC) set close-on-exec flag\");\n      return 1;\n    }\n  close (fd);\n\n  puts (\"OK\");\n\n  return 0;\n}\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nSigned-off-by: Ulrich Drepper \u003cdrepper@redhat.com\u003e\nAcked-by: Davide Libenzi \u003cdavidel@xmailserver.org\u003e\nCc: Michael Kerrisk \u003cmtk.manpages@googlemail.com\u003e\nCc: \u003clinux-arch@vger.kernel.org\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4541073dd837a8ebf6add002f39810f80ee7294b",
      "old_mode": 33188,
      "old_path": "arch/x86/ia32/ia32entry.S",
      "new_id": "e4bd1793a5e415bc90b5a39a5e77f2182e01be60",
      "new_mode": 33188,
      "new_path": "arch/x86/ia32/ia32entry.S"
    },
    {
      "type": "modify",
      "old_id": "f59aba5ff0f0c4cb8c6acd981570b61da528771a",
      "old_mode": 33188,
      "old_path": "arch/x86/kernel/syscall_table_32.S",
      "new_id": "d44395ff34c34f99d91726b975961503c6f7380b",
      "new_mode": 33188,
      "new_path": "arch/x86/kernel/syscall_table_32.S"
    },
    {
      "type": "modify",
      "old_id": "2fdad42040442d391b9089662c08f17cbcefa11a",
      "old_mode": 33188,
      "old_path": "fs/eventpoll.c",
      "new_id": "0c87474f7917776d92fb1427c93f118535ef624f",
      "new_mode": 33188,
      "new_path": "fs/eventpoll.c"
    },
    {
      "type": "modify",
      "old_id": "b3daf503ab937199b93a1e741f2c6d6bcf72e999",
      "old_mode": 33188,
      "old_path": "include/asm-x86/unistd_32.h",
      "new_id": "d7394673b772442677ed3ec7063a4ea384ad7b62",
      "new_mode": 33188,
      "new_path": "include/asm-x86/unistd_32.h"
    },
    {
      "type": "modify",
      "old_id": "c8cb88d70c6be27252c76625b2d9da6ac6959310",
      "old_mode": 33188,
      "old_path": "include/asm-x86/unistd_64.h",
      "new_id": "3a341d791792ad41999893f7034e529cce28e880",
      "new_mode": 33188,
      "new_path": "include/asm-x86/unistd_64.h"
    },
    {
      "type": "modify",
      "old_id": "1cfaa40059c8445d8021614984fe08fcdbfb328e",
      "old_mode": 33188,
      "old_path": "include/linux/eventpoll.h",
      "new_id": "f1e1d3c471250bf67d7b50d8e7fd62240c4deef1",
      "new_mode": 33188,
      "new_path": "include/linux/eventpoll.h"
    },
    {
      "type": "modify",
      "old_id": "93a7e7f017a655d9fb72035d707bf5fa1bd51420",
      "old_mode": 33188,
      "old_path": "include/linux/syscalls.h",
      "new_id": "06f2bf76c0306d1965d5d70c0613f1e1cc481975",
      "new_mode": 33188,
      "new_path": "include/linux/syscalls.h"
    }
  ]
}
