)]}'
{
  "commit": "d076bc7ce1dd23fcc2084db69e9c03bfb12e624c",
  "tree": "76378d2b78acb149e57d3610776c3d61a001d497",
  "parents": [
    "d23d9267bc0393c8522aa6c3654e844f20c903eb"
  ],
  "author": {
    "name": "Eric Paris",
    "email": "eparis@redhat.com",
    "time": "Tue Mar 20 14:35:12 2012 -0400"
  },
  "committer": {
    "name": "flintman",
    "email": "flintman@flintmancomputers.com",
    "time": "Mon Oct 12 21:03:04 2015 -0400"
  },
  "message": "SELinux: allow default source/target selectors for user/role/range\n\nWhen new objects are created we have great and flexible rules to\ndetermine the type of the new object.  We aren\u0027t quite as flexible or\nmature when it comes to determining the user, role, and range.  This\npatch adds a new ability to specify the place a new objects user, role,\nand range should come from.  For users and roles it can come from either\nthe source or the target of the operation.  aka for files the user can\neither come from the source (the running process and todays default) or\nit can come from the target (aka the parent directory of the new file)\n\nexamples always are done with\ndirectory context: system_u:object_r:mnt_t:s0-s0:c0.c512\nprocess context: unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023\n\n[no rule]\n\tunconfined_u:object_r:mnt_t:s0   test_none\n[default user source]\n\tunconfined_u:object_r:mnt_t:s0   test_user_source\n[default user target]\n\tsystem_u:object_r:mnt_t:s0       test_user_target\n[default role source]\n\tunconfined_u:unconfined_r:mnt_t:s0 test_role_source\n[default role target]\n\tunconfined_u:object_r:mnt_t:s0   test_role_target\n[default range source low]\n\tunconfined_u:object_r:mnt_t:s0 test_range_source_low\n[default range source high]\n\tunconfined_u:object_r:mnt_t:s0:c0.c1023 test_range_source_high\n[default range source low-high]\n\tunconfined_u:object_r:mnt_t:s0-s0:c0.c1023 test_range_source_low-high\n[default range target low]\n\tunconfined_u:object_r:mnt_t:s0 test_range_target_low\n[default range target high]\n\tunconfined_u:object_r:mnt_t:s0:c0.c512 test_range_target_high\n[default range target low-high]\n\tunconfined_u:object_r:mnt_t:s0-s0:c0.c512 test_range_target_low-high\n\nChange-Id: I7b259aee39241825aa69882701099f1089108f4e\nSigned-off-by: Eric Paris \u003ceparis@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d871e8ad2103c6d3a90a86c3c6bc6fa982de256c",
      "old_mode": 33188,
      "old_path": "security/selinux/include/security.h",
      "new_id": "ba53400195c0739d14f7594989060dafb42ee766",
      "new_mode": 33188,
      "new_path": "security/selinux/include/security.h"
    },
    {
      "type": "modify",
      "old_id": "45e8fb0515f8793c18cb665cca245988b61517e0",
      "old_mode": 33188,
      "old_path": "security/selinux/ss/context.h",
      "new_id": "212e3479a0d98e0b32b643ef78d97f5174b7f692",
      "new_mode": 33188,
      "new_path": "security/selinux/ss/context.h"
    },
    {
      "type": "modify",
      "old_id": "fbf9c5816c716a0d9898d7ae5dd91ae6f12575a2",
      "old_mode": 33188,
      "old_path": "security/selinux/ss/mls.c",
      "new_id": "40de8d3f208ecf95db162f4ae355d0d53ba99265",
      "new_mode": 33188,
      "new_path": "security/selinux/ss/mls.c"
    },
    {
      "type": "modify",
      "old_id": "23e9cba8d4d2f5e43f0a5ec4e182ebc9b46121a5",
      "old_mode": 33188,
      "old_path": "security/selinux/ss/policydb.c",
      "new_id": "273eb0913c05b0cea66078f642950c6c2b3d1730",
      "new_mode": 33188,
      "new_path": "security/selinux/ss/policydb.c"
    },
    {
      "type": "modify",
      "old_id": "b846c0387180942e2f50d31edc2982594f3dde2e",
      "old_mode": 33188,
      "old_path": "security/selinux/ss/policydb.h",
      "new_id": "a949f1ad43bbe70c06022fd75d7dcfc513fe6e7f",
      "new_mode": 33188,
      "new_path": "security/selinux/ss/policydb.h"
    },
    {
      "type": "modify",
      "old_id": "72b20b1089dff7238f91be1317596957ebf12248",
      "old_mode": 33188,
      "old_path": "security/selinux/ss/services.c",
      "new_id": "051657332171c108470466a12a645e149d10eb63",
      "new_mode": 33188,
      "new_path": "security/selinux/ss/services.c"
    }
  ]
}
