{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/osquery/issues/1884","repository_url":"https://api.github.com/repos/facebook/osquery","labels_url":"https://api.github.com/repos/facebook/osquery/issues/1884/labels{/name}","comments_url":"https://api.github.com/repos/facebook/osquery/issues/1884/comments","events_url":"https://api.github.com/repos/facebook/osquery/issues/1884/events","html_url":"https://github.com/facebook/osquery/pull/1884","id":137607639,"number":1884,"title":"Darwin: Use undocumented getgroupcount() before getgrouplist","user":{"login":"russellhancox","id":69123,"avatar_url":"https://avatars.githubusercontent.com/u/69123?v=3","gravatar_id":"","url":"https://api.github.com/users/russellhancox","html_url":"https://github.com/russellhancox","followers_url":"https://api.github.com/users/russellhancox/followers","following_url":"https://api.github.com/users/russellhancox/following{/other_user}","gists_url":"https://api.github.com/users/russellhancox/gists{/gist_id}","starred_url":"https://api.github.com/users/russellhancox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/russellhancox/subscriptions","organizations_url":"https://api.github.com/users/russellhancox/orgs","repos_url":"https://api.github.com/users/russellhancox/repos","events_url":"https://api.github.com/users/russellhancox/events{/privacy}","received_events_url":"https://api.github.com/users/russellhancox/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/osquery/labels/CLA%20Signed","name":"CLA Signed","color":"009900"},{"url":"https://api.github.com/repos/facebook/osquery/labels/os%20x","name":"os x","color":"d4c5f9"},{"url":"https://api.github.com/repos/facebook/osquery/labels/virtual%20tables","name":"virtual tables","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-03-01T15:39:44Z","updated_at":"2016-03-02T18:44:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/facebook/osquery/pulls/1884","html_url":"https://github.com/facebook/osquery/pull/1884","diff_url":"https://github.com/facebook/osquery/pull/1884.diff","patch_url":"https://github.com/facebook/osquery/pull/1884.patch"},"body":"This fixes group lookups on OS X when a user is in more than 64 groups.\r\n\r\nWhile the getgroupcount function is undocumented and not included in any headers, it has been exported from libSystem.B (via libsystem_info) since 10.6 and is used by the getgroups function, so it's very unlikely to disappear anytime soon."},"comment":{"url":"https://api.github.com/repos/facebook/osquery/issues/comments/191367220","html_url":"https://github.com/facebook/osquery/pull/1884#issuecomment-191367220","issue_url":"https://api.github.com/repos/facebook/osquery/issues/1884","id":191367220,"user":{"login":"osqueryer","id":9722826,"avatar_url":"https://avatars.githubusercontent.com/u/9722826?v=3","gravatar_id":"","url":"https://api.github.com/users/osqueryer","html_url":"https://github.com/osqueryer","followers_url":"https://api.github.com/users/osqueryer/followers","following_url":"https://api.github.com/users/osqueryer/following{/other_user}","gists_url":"https://api.github.com/users/osqueryer/gists{/gist_id}","starred_url":"https://api.github.com/users/osqueryer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osqueryer/subscriptions","organizations_url":"https://api.github.com/users/osqueryer/orgs","repos_url":"https://api.github.com/users/osqueryer/repos","events_url":"https://api.github.com/users/osqueryer/events{/privacy}","received_events_url":"https://api.github.com/users/osqueryer/received_events","type":"User","site_admin":false},"created_at":"2016-03-02T18:44:03Z","updated_at":"2016-03-02T18:44:03Z","body":"Build origin/pr/1884/merge (Job: 2420) is good! :+1: \n"}}