{"action":"created","comment":{"url":"https://api.github.com/repos/bcook-r7/mettle/pulls/comments/67026354","id":67026354,"diff_hunk":"@@ -148,7 +148,15 @@ struct mettle *mettle(void)\n \t\treturn NULL;\n \t}\n \n-\tm->loop = ev_default_loop(EVFLAG_NOENV);\n+\t/*\n+\t * TODO: let libev choose the backend instead of demanding select. On Linux\n+\t * 2.6.22 we get the following with the epoll backend (compiled with much\n+\t * more recent headers):\n+\t *\n+\t * (libev) epoll_wait: Bad file descriptor\n+\t * Abort\n+\t */\n+\tm->loop = ev_default_loop(EVFLAG_NOENV | EVBACKEND_SELECT);","path":"mettle/src/mettle.c","position":13,"original_position":13,"commit_id":"0ebce6cd079355c4f6ed1151ffeaf5523c46314d","original_commit_id":"0ebce6cd079355c4f6ed1151ffeaf5523c46314d","user":{"login":"bcook-r7","id":10031469,"avatar_url":"https://avatars.githubusercontent.com/u/10031469?v=3","gravatar_id":"","url":"https://api.github.com/users/bcook-r7","html_url":"https://github.com/bcook-r7","followers_url":"https://api.github.com/users/bcook-r7/followers","following_url":"https://api.github.com/users/bcook-r7/following{/other_user}","gists_url":"https://api.github.com/users/bcook-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/bcook-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcook-r7/subscriptions","organizations_url":"https://api.github.com/users/bcook-r7/orgs","repos_url":"https://api.github.com/users/bcook-r7/repos","events_url":"https://api.github.com/users/bcook-r7/events{/privacy}","received_events_url":"https://api.github.com/users/bcook-r7/received_events","type":"User","site_admin":false},"body":"it's possible we need to use SELECT in the context of the eio callbacks as well","created_at":"2016-06-14T18:17:17Z","updated_at":"2016-06-14T18:17:17Z","html_url":"https://github.com/bcook-r7/mettle/pull/1#discussion_r67026354","pull_request_url":"https://api.github.com/repos/bcook-r7/mettle/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/bcook-r7/mettle/pulls/comments/67026354"},"html":{"href":"https://github.com/bcook-r7/mettle/pull/1#discussion_r67026354"},"pull_request":{"href":"https://api.github.com/repos/bcook-r7/mettle/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/bcook-r7/mettle/pulls/1","id":73777217,"html_url":"https://github.com/bcook-r7/mettle/pull/1","diff_url":"https://github.com/bcook-r7/mettle/pull/1.diff","patch_url":"https://github.com/bcook-r7/mettle/pull/1.patch","issue_url":"https://api.github.com/repos/bcook-r7/mettle/issues/1","number":1,"state":"open","locked":false,"title":"Get reflected payloads working again","user":{"login":"acammack-r7","id":16652544,"avatar_url":"https://avatars.githubusercontent.com/u/16652544?v=3","gravatar_id":"","url":"https://api.github.com/users/acammack-r7","html_url":"https://github.com/acammack-r7","followers_url":"https://api.github.com/users/acammack-r7/followers","following_url":"https://api.github.com/users/acammack-r7/following{/other_user}","gists_url":"https://api.github.com/users/acammack-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/acammack-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acammack-r7/subscriptions","organizations_url":"https://api.github.com/users/acammack-r7/orgs","repos_url":"https://api.github.com/users/acammack-r7/repos","events_url":"https://api.github.com/users/acammack-r7/events{/privacy}","received_events_url":"https://api.github.com/users/acammack-r7/received_events","type":"User","site_admin":false},"body":"Fix a segfault in the code that adds open file descriptors to the event\r\nloop, and manually choose the select backend for libev as a workaround\r\nfor older kernels.\r\n\r\nNeeded for rapid7#17","created_at":"2016-06-14T17:04:37Z","updated_at":"2016-06-14T18:17:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dcbdfc88406ef3fee515fea4a5f21eaf9e2aebfe","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bcook-r7/mettle/pulls/1/commits","review_comments_url":"https://api.github.com/repos/bcook-r7/mettle/pulls/1/comments","review_comment_url":"https://api.github.com/repos/bcook-r7/mettle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bcook-r7/mettle/issues/1/comments","statuses_url":"https://api.github.com/repos/bcook-r7/mettle/statuses/0ebce6cd079355c4f6ed1151ffeaf5523c46314d","head":{"label":"acammack-r7:reflective_channels","ref":"reflective_channels","sha":"0ebce6cd079355c4f6ed1151ffeaf5523c46314d","user":{"login":"acammack-r7","id":16652544,"avatar_url":"https://avatars.githubusercontent.com/u/16652544?v=3","gravatar_id":"","url":"https://api.github.com/users/acammack-r7","html_url":"https://github.com/acammack-r7","followers_url":"https://api.github.com/users/acammack-r7/followers","following_url":"https://api.github.com/users/acammack-r7/following{/other_user}","gists_url":"https://api.github.com/users/acammack-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/acammack-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acammack-r7/subscriptions","organizations_url":"https://api.github.com/users/acammack-r7/orgs","repos_url":"https://api.github.com/users/acammack-r7/repos","events_url":"https://api.github.com/users/acammack-r7/events{/privacy}","received_events_url":"https://api.github.com/users/acammack-r7/received_events","type":"User","site_admin":false},"repo":{"id":56273040,"name":"mettle","full_name":"acammack-r7/mettle","owner":{"login":"acammack-r7","id":16652544,"avatar_url":"https://avatars.githubusercontent.com/u/16652544?v=3","gravatar_id":"","url":"https://api.github.com/users/acammack-r7","html_url":"https://github.com/acammack-r7","followers_url":"https://api.github.com/users/acammack-r7/followers","following_url":"https://api.github.com/users/acammack-r7/following{/other_user}","gists_url":"https://api.github.com/users/acammack-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/acammack-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acammack-r7/subscriptions","organizations_url":"https://api.github.com/users/acammack-r7/orgs","repos_url":"https://api.github.com/users/acammack-r7/repos","events_url":"https://api.github.com/users/acammack-r7/events{/privacy}","received_events_url":"https://api.github.com/users/acammack-r7/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/acammack-r7/mettle","description":"","fork":true,"url":"https://api.github.com/repos/acammack-r7/mettle","forks_url":"https://api.github.com/repos/acammack-r7/mettle/forks","keys_url":"https://api.github.com/repos/acammack-r7/mettle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/acammack-r7/mettle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/acammack-r7/mettle/teams","hooks_url":"https://api.github.com/repos/acammack-r7/mettle/hooks","issue_events_url":"https://api.github.com/repos/acammack-r7/mettle/issues/events{/number}","events_url":"https://api.github.com/repos/acammack-r7/mettle/events","assignees_url":"https://api.github.com/repos/acammack-r7/mettle/assignees{/user}","branches_url":"https://api.github.com/repos/acammack-r7/mettle/branches{/branch}","tags_url":"https://api.github.com/repos/acammack-r7/mettle/tags","blobs_url":"https://api.github.com/repos/acammack-r7/mettle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/acammack-r7/mettle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/acammack-r7/mettle/git/refs{/sha}","trees_url":"https://api.github.com/repos/acammack-r7/mettle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/acammack-r7/mettle/statuses/{sha}","languages_url":"https://api.github.com/repos/acammack-r7/mettle/languages","stargazers_url":"https://api.github.com/repos/acammack-r7/mettle/stargazers","contributors_url":"https://api.github.com/repos/acammack-r7/mettle/contributors","subscribers_url":"https://api.github.com/repos/acammack-r7/mettle/subscribers","subscription_url":"https://api.github.com/repos/acammack-r7/mettle/subscription","commits_url":"https://api.github.com/repos/acammack-r7/mettle/commits{/sha}","git_commits_url":"https://api.github.com/repos/acammack-r7/mettle/git/commits{/sha}","comments_url":"https://api.github.com/repos/acammack-r7/mettle/comments{/number}","issue_comment_url":"https://api.github.com/repos/acammack-r7/mettle/issues/comments{/number}","contents_url":"https://api.github.com/repos/acammack-r7/mettle/contents/{+path}","compare_url":"https://api.github.com/repos/acammack-r7/mettle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/acammack-r7/mettle/merges","archive_url":"https://api.github.com/repos/acammack-r7/mettle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/acammack-r7/mettle/downloads","issues_url":"https://api.github.com/repos/acammack-r7/mettle/issues{/number}","pulls_url":"https://api.github.com/repos/acammack-r7/mettle/pulls{/number}","milestones_url":"https://api.github.com/repos/acammack-r7/mettle/milestones{/number}","notifications_url":"https://api.github.com/repos/acammack-r7/mettle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/acammack-r7/mettle/labels{/name}","releases_url":"https://api.github.com/repos/acammack-r7/mettle/releases{/id}","deployments_url":"https://api.github.com/repos/acammack-r7/mettle/deployments","created_at":"2016-04-14T22:09:11Z","updated_at":"2016-04-14T22:09:12Z","pushed_at":"2016-06-14T17:03:44Z","git_url":"git://github.com/acammack-r7/mettle.git","ssh_url":"git@github.com:acammack-r7/mettle.git","clone_url":"https://github.com/acammack-r7/mettle.git","svn_url":"https://github.com/acammack-r7/mettle","homepage":null,"size":281,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bcook-r7:channels_2","ref":"channels_2","sha":"3fc5124297a557f026e2d41e7fb06cf75d751023","user":{"login":"bcook-r7","id":10031469,"avatar_url":"https://avatars.githubusercontent.com/u/10031469?v=3","gravatar_id":"","url":"https://api.github.com/users/bcook-r7","html_url":"https://github.com/bcook-r7","followers_url":"https://api.github.com/users/bcook-r7/followers","following_url":"https://api.github.com/users/bcook-r7/following{/other_user}","gists_url":"https://api.github.com/users/bcook-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/bcook-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcook-r7/subscriptions","organizations_url":"https://api.github.com/users/bcook-r7/orgs","repos_url":"https://api.github.com/users/bcook-r7/repos","events_url":"https://api.github.com/users/bcook-r7/events{/privacy}","received_events_url":"https://api.github.com/users/bcook-r7/received_events","type":"User","site_admin":false},"repo":{"id":58449638,"name":"mettle","full_name":"bcook-r7/mettle","owner":{"login":"bcook-r7","id":10031469,"avatar_url":"https://avatars.githubusercontent.com/u/10031469?v=3","gravatar_id":"","url":"https://api.github.com/users/bcook-r7","html_url":"https://github.com/bcook-r7","followers_url":"https://api.github.com/users/bcook-r7/followers","following_url":"https://api.github.com/users/bcook-r7/following{/other_user}","gists_url":"https://api.github.com/users/bcook-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/bcook-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcook-r7/subscriptions","organizations_url":"https://api.github.com/users/bcook-r7/orgs","repos_url":"https://api.github.com/users/bcook-r7/repos","events_url":"https://api.github.com/users/bcook-r7/events{/privacy}","received_events_url":"https://api.github.com/users/bcook-r7/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bcook-r7/mettle","description":"Mettle is a new portable POSIX meterpreter implementation","fork":true,"url":"https://api.github.com/repos/bcook-r7/mettle","forks_url":"https://api.github.com/repos/bcook-r7/mettle/forks","keys_url":"https://api.github.com/repos/bcook-r7/mettle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bcook-r7/mettle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bcook-r7/mettle/teams","hooks_url":"https://api.github.com/repos/bcook-r7/mettle/hooks","issue_events_url":"https://api.github.com/repos/bcook-r7/mettle/issues/events{/number}","events_url":"https://api.github.com/repos/bcook-r7/mettle/events","assignees_url":"https://api.github.com/repos/bcook-r7/mettle/assignees{/user}","branches_url":"https://api.github.com/repos/bcook-r7/mettle/branches{/branch}","tags_url":"https://api.github.com/repos/bcook-r7/mettle/tags","blobs_url":"https://api.github.com/repos/bcook-r7/mettle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bcook-r7/mettle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bcook-r7/mettle/git/refs{/sha}","trees_url":"https://api.github.com/repos/bcook-r7/mettle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bcook-r7/mettle/statuses/{sha}","languages_url":"https://api.github.com/repos/bcook-r7/mettle/languages","stargazers_url":"https://api.github.com/repos/bcook-r7/mettle/stargazers","contributors_url":"https://api.github.com/repos/bcook-r7/mettle/contributors","subscribers_url":"https://api.github.com/repos/bcook-r7/mettle/subscribers","subscription_url":"https://api.github.com/repos/bcook-r7/mettle/subscription","commits_url":"https://api.github.com/repos/bcook-r7/mettle/commits{/sha}","git_commits_url":"https://api.github.com/repos/bcook-r7/mettle/git/commits{/sha}","comments_url":"https://api.github.com/repos/bcook-r7/mettle/comments{/number}","issue_comment_url":"https://api.github.com/repos/bcook-r7/mettle/issues/comments{/number}","contents_url":"https://api.github.com/repos/bcook-r7/mettle/contents/{+path}","compare_url":"https://api.github.com/repos/bcook-r7/mettle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bcook-r7/mettle/merges","archive_url":"https://api.github.com/repos/bcook-r7/mettle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bcook-r7/mettle/downloads","issues_url":"https://api.github.com/repos/bcook-r7/mettle/issues{/number}","pulls_url":"https://api.github.com/repos/bcook-r7/mettle/pulls{/number}","milestones_url":"https://api.github.com/repos/bcook-r7/mettle/milestones{/number}","notifications_url":"https://api.github.com/repos/bcook-r7/mettle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bcook-r7/mettle/labels{/name}","releases_url":"https://api.github.com/repos/bcook-r7/mettle/releases{/id}","deployments_url":"https://api.github.com/repos/bcook-r7/mettle/deployments","created_at":"2016-05-10T09:53:53Z","updated_at":"2016-05-10T09:54:22Z","pushed_at":"2016-06-14T17:04:37Z","git_url":"git://github.com/bcook-r7/mettle.git","ssh_url":"git@github.com:bcook-r7/mettle.git","clone_url":"https://github.com/bcook-r7/mettle.git","svn_url":"https://github.com/bcook-r7/mettle","homepage":"","size":287,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bcook-r7/mettle/pulls/1"},"html":{"href":"https://github.com/bcook-r7/mettle/pull/1"},"issue":{"href":"https://api.github.com/repos/bcook-r7/mettle/issues/1"},"comments":{"href":"https://api.github.com/repos/bcook-r7/mettle/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/bcook-r7/mettle/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/bcook-r7/mettle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bcook-r7/mettle/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/bcook-r7/mettle/statuses/0ebce6cd079355c4f6ed1151ffeaf5523c46314d"}}}}
{"actor":{"display_login":"bcook-r7"}}