)]}'
{
  "commit": "f23571e866309a2048030ef6a5f0725cf139d4c9",
  "tree": "0116bcef462f367307b2db927b249b7ce21039c2",
  "parents": [
    "5db5a39b6462c8360c9178b28f4b07c320dfca1c"
  ],
  "author": {
    "name": "Tetsuo Handa",
    "email": "penguin-kernel@I-love.SAKURA.ne.jp",
    "time": "Thu Jun 24 14:57:16 2010 +0900"
  },
  "committer": {
    "name": "James Morris",
    "email": "jmorris@namei.org",
    "time": "Mon Aug 02 15:34:45 2010 +1000"
  },
  "message": "TOMOYO: Copy directly to userspace buffer.\n\nWhen userspace program reads policy from /sys/kernel/security/tomoyo/\ninterface, TOMOYO uses line buffered mode. A line has at least one word.\n\nCommit 006dacc \"TOMOYO: Support longer pathname.\" changed a word\u0027s max length\nfrom 4000 bytes to max kmalloc()able bytes. By that commit, a line\u0027s max length\nchanged from 8192 bytes to more than max kmalloc()able bytes.\n\nMax number of words in a line remains finite. This patch changes the way of\nbuffering so that all words in a line are firstly directly copied to userspace\nbuffer as much as possible and are secondly queued for next read request.\nWords queued are guaranteed to be valid until /sys/kernel/security/tomoyo/\ninterface is close()d.\n\nSigned-off-by: Tetsuo Handa \u003cpenguin-kernel@I-love.SAKURA.ne.jp\u003e\nSigned-off-by: James Morris \u003cjmorris@namei.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a3c3b5de3b75f2e3facbf2c1bb17452b40fa4a91",
      "old_mode": 33188,
      "old_path": "security/tomoyo/common.c",
      "new_id": "7cb6c0459d968673ad4a0ed96e1c387bd03aeaaf",
      "new_mode": 33188,
      "new_path": "security/tomoyo/common.c"
    },
    {
      "type": "modify",
      "old_id": "67b9aeae80a74bab9230ef4224229117b756c5e0",
      "old_mode": 33188,
      "old_path": "security/tomoyo/common.h",
      "new_id": "ef8fecddb65a11fa17792308baf5fbb8f61844e1",
      "new_mode": 33188,
      "new_path": "security/tomoyo/common.h"
    },
    {
      "type": "modify",
      "old_id": "95a77599ff98300f0371dc3a821026cd80b338da",
      "old_mode": 33188,
      "old_path": "security/tomoyo/memory.c",
      "new_id": "a4aba4d9ca2e69a2362453e38bacde4e63c88427",
      "new_mode": 33188,
      "new_path": "security/tomoyo/memory.c"
    }
  ]
}
