)]}'
{
  "commit": "b88071c53f9ad889cd72e1d60ee03eb78cc620bb",
  "tree": "f3ac1e1e60e310546be242ed0d4a906ff73f7b50",
  "parents": [
    "92074236c8092adf6f8ddb262f71054bed9dc5ad"
  ],
  "author": {
    "name": "David Howells",
    "email": "dhowells@redhat.com",
    "time": "Fri Jun 07 15:13:21 2019 +0100"
  },
  "committer": {
    "name": "David Howells",
    "email": "dhowells@redhat.com",
    "time": "Fri Jul 05 10:12:02 2019 +0100"
  },
  "message": "Add sample notification program\n\nThis needs to be linked with -lkeyutils.\n\nIt is run like:\n\n\t./watch_test\n\nand watches \"/\" for mount changes and the current session keyring for key\nchanges:\n\n\t# keyctl add user a a @s\n\t1035096409\n\t# keyctl unlink 1035096409 @s\n\t# mount -t tmpfs none /mnt/nfsv3tcp/\n\t# umount /mnt/nfsv3tcp\n\nproducing:\n\n\t# ./watch_test\n\tptrs h\u003d4 t\u003d2 m\u003d20003\n\tNOTIFY[00000004-00000002] ty\u003d0003 sy\u003d0002 i\u003d01000010\n\tKEY 2ffc2e5d change\u003d2[linked] aux\u003d1035096409\n\tptrs h\u003d6 t\u003d4 m\u003d20003\n\tNOTIFY[00000006-00000004] ty\u003d0003 sy\u003d0003 i\u003d01000010\n\tKEY 2ffc2e5d change\u003d3[unlinked] aux\u003d1035096409\n\tptrs h\u003d8 t\u003d6 m\u003d20003\n\tNOTIFY[00000008-00000006] ty\u003d0001 sy\u003d0000 i\u003d02000010\n\tMOUNT 00000013 change\u003d0[new_mount] aux\u003d168\n\tptrs h\u003da t\u003d8 m\u003d20003\n\tNOTIFY[0000000a-00000008] ty\u003d0001 sy\u003d0001 i\u003d02000010\n\tMOUNT 00000013 change\u003d1[unmount] aux\u003d168\n\nOther events may be produced, such as with a failing disk:\n\n\tptrs h\u003d5 t\u003d2 m\u003d6000004\n\tNOTIFY[00000005-00000002] ty\u003d0004 sy\u003d0006 i\u003d04000018\n\tBLOCK 00800050 e\u003d6[critical medium] s\u003d5be8\n\nThis corresponds to:\n\n\tprint_req_error: critical medium error, dev sdf, sector 23528 flags 0\n\nin dmesg.\n\nSigned-off-by: David Howells \u003cdhowells@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0561a94f6fdbf8366cf9e8192e11f5da3872366a",
      "old_mode": 33188,
      "old_path": "samples/Kconfig",
      "new_id": "a2b7a7babee55d7b3b742a46f35ae82509d51979",
      "new_mode": 33188,
      "new_path": "samples/Kconfig"
    },
    {
      "type": "modify",
      "old_id": "debf8925f06f4539722f269529c32714ec2c5394",
      "old_mode": 33188,
      "old_path": "samples/Makefile",
      "new_id": "ed3b8bab6e9b61374dc3a7981b3875adae1c585b",
      "new_mode": 33188,
      "new_path": "samples/Makefile"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "6ee61e3ca8d2a1fad5902dd3cdfea80c692ac425",
      "new_mode": 33188,
      "new_path": "samples/watch_queue/Makefile"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "6afdc62201fa513f96821a4d29f160ff2133d40a",
      "new_mode": 33188,
      "new_path": "samples/watch_queue/watch_test.c"
    }
  ]
}
