)]}'
{
  "commit": "2e962e2fec5c35b91e3b541e2b8373504bf91e27",
  "tree": "60f9eec5feb6f7b45fe43f80f9ee81a5a22c4905",
  "parents": [
    "0c96d1f5328e834048480e4696e6867992115c33"
  ],
  "author": {
    "name": "Vishal Goel",
    "email": "vishal.goel@samsung.com",
    "time": "Wed Nov 23 10:46:57 2016 +0530"
  },
  "committer": {
    "name": "Casey Schaufler",
    "email": "casey@schaufler-ca.com",
    "time": "Tue Jan 10 09:47:20 2017 -0800"
  },
  "message": "SMACK: Add new lock for adding entry in smack master list\n\n\"smk_set_access()\" function adds a new rule entry in subject label specific\nlist(rule_list) and in global rule list(smack_rule_list) both. Mutex lock\n(rule_lock) is used to avoid simultaneous updates. But this lock is subject\nlabel specific lock. If 2 processes tries to add different rules(i.e with\ndifferent subject labels) simultaneously, then both the processes can take\nthe \"rule_lock\" respectively. So it will cause a problem while adding\nentries in master rule list.\nNow a new mutex lock(smack_master_list_lock) has been taken to add entry in\nsmack_rule_list to avoid simultaneous updates of different rules.\n\nSigned-off-by: Vishal Goel \u003cvishal.goel@samsung.com\u003e\nSigned-off-by: Himanshu Shukla \u003chimanshu.sh@samsung.com\u003e\nSigned-off-by: Casey Schaufler \u003ccasey@schaufler-ca.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "13743a01b35b5000c56e2a83bd2f973dbf787127",
      "old_mode": 33188,
      "old_path": "security/smack/smackfs.c",
      "new_id": "366b8356f75b45315c43b6067aa569680c20eea4",
      "new_mode": 33188,
      "new_path": "security/smack/smackfs.c"
    }
  ]
}
