GitHub PushEvent at 2014-02-19 18:24:45
Repository: buxton
Actor: phmccarty
Payload: {"shas":[["5ef15f26605b4a46deb79fb1654638c889f1d014","bec093221bc522f416bb22c781419af97a3cbce2@linux.intel.com","client: support non-direct set-label","Patrick McCarty",false],["e224d3887ddc177c7f28920ae599268f0638dce1","bec093221bc522f416bb22c781419af97a3cbce2@linux.intel.com","util: add helper function to create groups from keys","Patrick McCarty",false],["4335480681faab190d063e6a01ae8f7958d2dd0e","bec093221bc522f416bb22c781419af97a3cbce2@linux.intel.com","util: add free func for _BuxtonKey*","Patrick McCarty",false],["4702994dc28364a2bfff7f44617febcfe9e948f7","bec093221bc522f416bb22c781419af97a3cbce2@linux.intel.com","direct: enforce groups for set_value\n\nAlso, enable the Smack check for client->group.","Patrick McCarty",false],["317c7a473f89ea4e82af10cb5e350e161eb8db20","bec093221bc522f416bb22c781419af97a3cbce2@linux.intel.com","direct: enforce groups for get_value","Patrick McCarty",false],["370602da835463b93a6b16956e60f63935d84e44","bec093221bc522f416bb22c781419af97a3cbce2@linux.intel.com","direct: enforce groups for unset_value","Patrick McCarty",false],["dd78d88e6f261eee6686ad9efdc55a1e64a78fab","bec093221bc522f416bb22c781419af97a3cbce2@linux.intel.com","serialize: accept NULL values for strings\n\nThere is an assert that disallows NULL string values, so remove it.\n\nAlso, in case a key's value is NULL, its length will not count towards\nthe serialize \"size\", so the first deserialize lookahead check fails. We\nhave not been passing NULL values around, so this conditional never\nfailed.\n\nNote that NULL values only make sense for the STRING type, so make sure\nwe check for non-strings in the appropriate length check.","Patrick McCarty",false],["45e9d261929a1982a25f087859a307e55483b9da","07dd1d6cf12120bb0585d2eb50da402be35d56e5@intel.com","shared: Add test workaround for set label\n\nIn order to let tests set_label in order to create groups to be used\nby buxton add a temporary workaround to look at an environemnt variable\nthat when set to \"0\" will skip the check for root.","William Douglas",false],["fd003084fc2366d9f0b1d73fdacb3a47741f9482","bec093221bc522f416bb22c781419af97a3cbce2@linux.intel.com","test: create groups for check_buxton tests\n\nNow that groups are required to exist before setting keys, make sure the\ncheck_buxton test suite has the appropriate groups initialized.","Patrick McCarty",false],["4177e5ed7347dad4705fea0794645b1263323c8a","bec093221bc522f416bb22c781419af97a3cbce2@linux.intel.com","test: workaround test failure in memory_backend_check\n\nSince the memory backend does not understand groups (yet), doing a\nget_value for a key within an existing group will return the dummy group\ndata value (\"BUXTON_GROUP_VALUE\").\n\nWork around the issue for now by validating that the call returns what\nwe expect it to.","Patrick McCarty",false],["cb45082c41cf437d0d62c270bbc5c85d10fece1b","bec093221bc522f416bb22c781419af97a3cbce2@linux.intel.com","direct: set layer UID for set_label\n\nBy not setting the layer UID before calling set_value here, the daemon\nwill open the user layer for the daemon itself. Instead, the daemon\nshould open the user layer for that user.\n\nIn a future commit, set_label will be disallowed for non-root clients,\nbut for consistency, make sure the UID is set.","Patrick McCarty",false],["14028702f3fc0ce0aa61e7535b484ee8291f9041","bec093221bc522f416bb22c781419af97a3cbce2@linux.intel.com","test: start fixing check_daemon tests","Patrick McCarty",false],["cc4311b50f609ea996e782d34cd436651b7b1fc7","07dd1d6cf12120bb0585d2eb50da402be35d56e5@intel.com","shared: Set layer type on get_value\n\nWhen setting which layer to use to get a key in get value, also set the\nlayer type. Fix test that breaks because of the new correct behavior.","William Douglas",false],["6c5bcfd76d95d2c3ea16e1400ec9f9056c947f12","07dd1d6cf12120bb0585d2eb50da402be35d56e5@intel.com","shared: Improve logging","William Douglas",false],["22e316bacf02dc6ccea2203c97df87eebcf39ef3","07dd1d6cf12120bb0585d2eb50da402be35d56e5@intel.com","shared: Zero memory before string copy","William Douglas",false],["978de3b91cfa14077cb9fd36d97e6a7f3fbc54c5","07dd1d6cf12120bb0585d2eb50da402be35d56e5@intel.com","shared: Check group exists first before label test\n\nIn get_value_for_layer if smack isn't enabled then the label will not be\nset and so a valid test for group existance will be skipped. To avoid this,\ncheck the group exists if the key has a name otherwise continue as normal\nand the smack check will only test group access if a client label is\npassed.\n\nAlso fix up tests to not pass a client label if smack is not enabled on the\nsystem.","William Douglas",false],["526a7a89c68f3fd2bccdcde09597122a0af17bc3","07dd1d6cf12120bb0585d2eb50da402be35d56e5@intel.com","test: Fix tests by ensuring group exists prior to set_value","William Douglas",false]],"size":17,"ref":"refs/heads/master","head":"526a7a89c68f3fd2bccdcde09597122a0af17bc3"}