)]}'
{
  "commit": "862a62937e76a91da218c1ee4dceb7b0700fed67",
  "tree": "b8205ebf4bc54987f37c18e788a574b19ee4fc87",
  "parents": [
    "9cee4c5b7b706157554cb06ca949997240da725a"
  ],
  "author": {
    "name": "Yann Droneaud",
    "email": "ydroneaud@opteya.com",
    "time": "Tue Jul 02 18:39:34 2013 +0200"
  },
  "committer": {
    "name": "Ben Myers",
    "email": "bpm@sgi.com",
    "time": "Tue Jul 09 15:53:57 2013 -0500"
  },
  "message": "xfs: use get_unused_fd_flags(0) instead of get_unused_fd()\n\nMacro get_unused_fd() is used to allocate a file descriptor with\ndefault flags. Those default flags (0) can be \"unsafe\":\nO_CLOEXEC must be used by default to not leak file descriptor\nacross exec().\n\nInstead of macro get_unused_fd(), functions anon_inode_getfd()\nor get_unused_fd_flags() should be used with flags given by userspace.\nIf not possible, flags should be set to O_CLOEXEC to provide userspace\nwith a default safe behavor.\n\nIn a further patch, get_unused_fd() will be removed so that\nnew code start using anon_inode_getfd() or get_unused_fd_flags()\nwith correct flags.\n\nThis patch replaces calls to get_unused_fd() with equivalent call to\nget_unused_fd_flags(0) to preserve current behavor for existing code.\n\nThe hard coded flag value (0) should be reviewed on a per-subsystem basis,\nand, if possible, set to O_CLOEXEC.\n\nSigned-off-by: Yann Droneaud \u003cydroneaud@opteya.com\u003e\nReviewed-by: Ben Myers \u003cbpm@sgi.com\u003e\nSigned-off-by: Ben Myers \u003cbpm@sgi.com\u003e\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5e999680094ac87ba68fe21de542525fb2058ee8",
      "old_mode": 33188,
      "old_path": "fs/xfs/xfs_ioctl.c",
      "new_id": "dc5b65983e5f3e5db6a52038aaf4c369ddeb44b2",
      "new_mode": 33188,
      "new_path": "fs/xfs/xfs_ioctl.c"
    }
  ]
}
