)]}'
{
  "commit": "593a27c4b212e2afdf772a1f8dcb894e91bda0fa",
  "tree": "6b670f6ec0ef138fcfa6e68f3b2a456f86941efd",
  "parents": [
    "dcd6c92267155e70a94b3927bce681ce74b80d1f"
  ],
  "author": {
    "name": "Konstantin Khlebnikov",
    "email": "khlebnikov@openvz.org",
    "time": "Thu Jan 05 13:04:21 2012 +0400"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@suse.de",
    "time": "Tue Jan 24 13:56:10 2012 -0800"
  },
  "message": "tty: cleanup prohibition of direct opening for unix98 pty master\n\ncleanup hack added in v2.6.27-3203-g15582d3\n\ncomment from that patch:\n\n: pty: If the administrator creates a device for a ptmx slave we should not error\n:\n: The open path for ptmx slaves is via the ptmx device. Opening them any\n: other way is not allowed. Vegard Nossum found that previously this was not\n: the case and mknod foo c 128 42; cat foo would produce nasty diagnostics\n:\n: Signed-off-by: Alan Cox \u003calan@redhat.com\u003e\n: Signed-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n\ndevpts_get_tty() returns non-null only for inodes on devpts, but there is no\ninodes for master-devices, /dev/ptmx (/dev/pts/ptmx) is the only way to open them.\nThus we can completely forbid lookup for master-devices and eliminate that hack in\ntty_init_dev() because tty_open() will get EIO from tty_driver_lookup_tty().\n\nSigned-off-by: Konstantin Khlebnikov \u003ckhlebnikov@openvz.org\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d8653ab6f4988cf0402bbf3a527cb00a0865c6b5",
      "old_mode": 33188,
      "old_path": "drivers/tty/pty.c",
      "new_id": "03147fa31d4736e523356ab6f5aeaacd14e78245",
      "new_mode": 33188,
      "new_path": "drivers/tty/pty.c"
    },
    {
      "type": "modify",
      "old_id": "e41b9bbc107dcb688bc6653e5dc379794657dbf9",
      "old_mode": 33188,
      "old_path": "drivers/tty/tty_io.c",
      "new_id": "fbcc140638047b78a7db058dcb7fbfec2cc3641a",
      "new_mode": 33188,
      "new_path": "drivers/tty/tty_io.c"
    },
    {
      "type": "modify",
      "old_id": "5dbb3cb05a8260bdb5e73c2d14368aa152e3783a",
      "old_mode": 33188,
      "old_path": "include/linux/tty.h",
      "new_id": "d3ebd765b548660f96a54d7e7e4b8e560d62380d",
      "new_mode": 33188,
      "new_path": "include/linux/tty.h"
    }
  ]
}
