)]}'
{
  "commit": "4aab1e896a0a9d57420ff2867caa5a369123d8cb",
  "tree": "92212870353a9493c10fb46a0dd9b6ce27230012",
  "parents": [
    "78b7280cce23293f7570ad52c1ffe1485c6d9669"
  ],
  "author": {
    "name": "David Howells",
    "email": "dhowells@redhat.com",
    "time": "Fri Mar 11 17:57:33 2011 +0000"
  },
  "committer": {
    "name": "James Morris",
    "email": "jmorris@namei.org",
    "time": "Thu Mar 17 11:59:49 2011 +1100"
  },
  "message": "KEYS: Make request_key() and co. return an error for a negative key\n\nMake request_key() and co. return an error for a negative or rejected key.  If\nthe key was simply negated, then return ENOKEY, otherwise return the error\nwith which it was rejected.\n\nWithout this patch, the following command returns a key number (with the latest\nkeyutils):\n\n\t[root@andromeda ~]# keyctl request2 user debug:foo rejected @s\n\t586569904\n\nTrying to print the key merely gets you a permission denied error:\n\n\t[root@andromeda ~]# keyctl print 586569904\n\tkeyctl_read_alloc: Permission denied\n\nDoing another request_key() call does get you the error, as long as it hasn\u0027t\nexpired yet:\n\n\t[root@andromeda ~]# keyctl request user debug:foo\n\trequest_key: Key was rejected by service\n\nSigned-off-by: David Howells \u003cdhowells@redhat.com\u003e\nSigned-off-by: James Morris \u003cjmorris@namei.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "427fddcaeb19b78049b3e1028349cb6b731ed8f9",
      "old_mode": 33188,
      "old_path": "security/keys/keyctl.c",
      "new_id": "eca51918c951d3a28db16bf0f61c749722b6ac64",
      "new_mode": 33188,
      "new_path": "security/keys/keyctl.c"
    }
  ]
}
