)]}'
{
  "commit": "620f6e8e855d6d447688a5f67a4e176944a084e8",
  "tree": "2be8f032eefc0d3bdaf9a045bd9263da4a2c6823",
  "parents": [
    "6c216ec636f75d834461be15f83ec41a6759bd2b"
  ],
  "author": {
    "name": "Kees Cook",
    "email": "keescook@chromium.org",
    "time": "Wed Apr 04 11:40:19 2012 -0700"
  },
  "committer": {
    "name": "James Morris",
    "email": "james.l.morris@oracle.com",
    "time": "Thu Apr 05 14:51:43 2012 +1000"
  },
  "message": "sysctl: fix write access to dmesg_restrict/kptr_restrict\n\nCommit bfdc0b4 adds code to restrict access to dmesg_restrict,\nhowever, it incorrectly alters kptr_restrict rather than\ndmesg_restrict.\n\nThe original patch from Richard Weinberger\n(https://lkml.org/lkml/2011/3/14/362) alters dmesg_restrict as\nexpected, and so the patch seems to have been misapplied.\n\nThis adds the CAP_SYS_ADMIN check to both dmesg_restrict and\nkptr_restrict, since both are sensitive.\n\nReported-by: Phillip Lougher \u003cplougher@redhat.com\u003e\nSigned-off-by: Kees Cook \u003ckeescook@chromium.org\u003e\nAcked-by: Serge Hallyn \u003cserge.hallyn@canonical.com\u003e\nAcked-by: Richard Weinberger \u003crichard@nod.at\u003e\nCc: stable@vger.kernel.org\nSigned-off-by: James Morris \u003cjames.l.morris@oracle.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "52b3a06a02f8406c4f78eb06cfaad89f51910a21",
      "old_mode": 33188,
      "old_path": "kernel/sysctl.c",
      "new_id": "4ab11879aeb4d15baa3d8d25fa753725084ed809",
      "new_mode": 33188,
      "new_path": "kernel/sysctl.c"
    }
  ]
}
