{"action":"created","comment":{"url":"https://api.github.com/repos/tailhook/unshare/pulls/comments/76888458","id":76888458,"diff_hunk":"@@ -195,5 +205,7 @@ mod ffi {\n     extern {\n         pub fn pivot_root(new_root: *const c_char, put_old: *const c_char)\n             -> c_int;\n+\n+        pub fn setns(fd: c_int, nstype: c_int) -> c_int;","path":"src/child.rs","position":22,"original_position":22,"commit_id":"b665097798fce5aea32ae58cf32c29da07ebbfa9","original_commit_id":"b665097798fce5aea32ae58cf32c29da07ebbfa9","user":{"login":"anti-social","id":305899,"avatar_url":"https://avatars.githubusercontent.com/u/305899?v=3","gravatar_id":"","url":"https://api.github.com/users/anti-social","html_url":"https://github.com/anti-social","followers_url":"https://api.github.com/users/anti-social/followers","following_url":"https://api.github.com/users/anti-social/following{/other_user}","gists_url":"https://api.github.com/users/anti-social/gists{/gist_id}","starred_url":"https://api.github.com/users/anti-social/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anti-social/subscriptions","organizations_url":"https://api.github.com/users/anti-social/orgs","repos_url":"https://api.github.com/users/anti-social/repos","events_url":"https://api.github.com/users/anti-social/events{/privacy}","received_events_url":"https://api.github.com/users/anti-social/received_events","type":"User","site_admin":false},"body":"`nix::sched::setns` appeared in `nix==0.5.0` and it breaks several places in `unshare`. So I think updating `nix` should be another PR.","created_at":"2016-08-30T22:03:39Z","updated_at":"2016-08-30T22:03:39Z","html_url":"https://github.com/tailhook/unshare/pull/7#discussion_r76888458","pull_request_url":"https://api.github.com/repos/tailhook/unshare/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/tailhook/unshare/pulls/comments/76888458"},"html":{"href":"https://github.com/tailhook/unshare/pull/7#discussion_r76888458"},"pull_request":{"href":"https://api.github.com/repos/tailhook/unshare/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/tailhook/unshare/pulls/7","id":83352453,"html_url":"https://github.com/tailhook/unshare/pull/7","diff_url":"https://github.com/tailhook/unshare/pull/7.diff","patch_url":"https://github.com/tailhook/unshare/pull/7.patch","issue_url":"https://api.github.com/repos/tailhook/unshare/issues/7","number":7,"state":"open","locked":false,"title":"Allow changing namespaces for child process #6","user":{"login":"anti-social","id":305899,"avatar_url":"https://avatars.githubusercontent.com/u/305899?v=3","gravatar_id":"","url":"https://api.github.com/users/anti-social","html_url":"https://github.com/anti-social","followers_url":"https://api.github.com/users/anti-social/followers","following_url":"https://api.github.com/users/anti-social/following{/other_user}","gists_url":"https://api.github.com/users/anti-social/gists{/gist_id}","starred_url":"https://api.github.com/users/anti-social/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anti-social/subscriptions","organizations_url":"https://api.github.com/users/anti-social/orgs","repos_url":"https://api.github.com/users/anti-social/repos","events_url":"https://api.github.com/users/anti-social/events{/privacy}","received_events_url":"https://api.github.com/users/anti-social/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-30T21:39:43Z","updated_at":"2016-08-30T22:03:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"deb0e2487d8b20ca4ecab37fbe67c502ecc07476","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/tailhook/unshare/pulls/7/commits","review_comments_url":"https://api.github.com/repos/tailhook/unshare/pulls/7/comments","review_comment_url":"https://api.github.com/repos/tailhook/unshare/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tailhook/unshare/issues/7/comments","statuses_url":"https://api.github.com/repos/tailhook/unshare/statuses/b665097798fce5aea32ae58cf32c29da07ebbfa9","head":{"label":"anti-social:_setns","ref":"_setns","sha":"b665097798fce5aea32ae58cf32c29da07ebbfa9","user":{"login":"anti-social","id":305899,"avatar_url":"https://avatars.githubusercontent.com/u/305899?v=3","gravatar_id":"","url":"https://api.github.com/users/anti-social","html_url":"https://github.com/anti-social","followers_url":"https://api.github.com/users/anti-social/followers","following_url":"https://api.github.com/users/anti-social/following{/other_user}","gists_url":"https://api.github.com/users/anti-social/gists{/gist_id}","starred_url":"https://api.github.com/users/anti-social/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anti-social/subscriptions","organizations_url":"https://api.github.com/users/anti-social/orgs","repos_url":"https://api.github.com/users/anti-social/repos","events_url":"https://api.github.com/users/anti-social/events{/privacy}","received_events_url":"https://api.github.com/users/anti-social/received_events","type":"User","site_admin":false},"repo":{"id":48544348,"name":"unshare","full_name":"anti-social/unshare","owner":{"login":"anti-social","id":305899,"avatar_url":"https://avatars.githubusercontent.com/u/305899?v=3","gravatar_id":"","url":"https://api.github.com/users/anti-social","html_url":"https://github.com/anti-social","followers_url":"https://api.github.com/users/anti-social/followers","following_url":"https://api.github.com/users/anti-social/following{/other_user}","gists_url":"https://api.github.com/users/anti-social/gists{/gist_id}","starred_url":"https://api.github.com/users/anti-social/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anti-social/subscriptions","organizations_url":"https://api.github.com/users/anti-social/orgs","repos_url":"https://api.github.com/users/anti-social/repos","events_url":"https://api.github.com/users/anti-social/events{/privacy}","received_events_url":"https://api.github.com/users/anti-social/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anti-social/unshare","description":"The low-level linux contation creation library for rust","fork":true,"url":"https://api.github.com/repos/anti-social/unshare","forks_url":"https://api.github.com/repos/anti-social/unshare/forks","keys_url":"https://api.github.com/repos/anti-social/unshare/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anti-social/unshare/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anti-social/unshare/teams","hooks_url":"https://api.github.com/repos/anti-social/unshare/hooks","issue_events_url":"https://api.github.com/repos/anti-social/unshare/issues/events{/number}","events_url":"https://api.github.com/repos/anti-social/unshare/events","assignees_url":"https://api.github.com/repos/anti-social/unshare/assignees{/user}","branches_url":"https://api.github.com/repos/anti-social/unshare/branches{/branch}","tags_url":"https://api.github.com/repos/anti-social/unshare/tags","blobs_url":"https://api.github.com/repos/anti-social/unshare/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anti-social/unshare/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anti-social/unshare/git/refs{/sha}","trees_url":"https://api.github.com/repos/anti-social/unshare/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anti-social/unshare/statuses/{sha}","languages_url":"https://api.github.com/repos/anti-social/unshare/languages","stargazers_url":"https://api.github.com/repos/anti-social/unshare/stargazers","contributors_url":"https://api.github.com/repos/anti-social/unshare/contributors","subscribers_url":"https://api.github.com/repos/anti-social/unshare/subscribers","subscription_url":"https://api.github.com/repos/anti-social/unshare/subscription","commits_url":"https://api.github.com/repos/anti-social/unshare/commits{/sha}","git_commits_url":"https://api.github.com/repos/anti-social/unshare/git/commits{/sha}","comments_url":"https://api.github.com/repos/anti-social/unshare/comments{/number}","issue_comment_url":"https://api.github.com/repos/anti-social/unshare/issues/comments{/number}","contents_url":"https://api.github.com/repos/anti-social/unshare/contents/{+path}","compare_url":"https://api.github.com/repos/anti-social/unshare/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anti-social/unshare/merges","archive_url":"https://api.github.com/repos/anti-social/unshare/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anti-social/unshare/downloads","issues_url":"https://api.github.com/repos/anti-social/unshare/issues{/number}","pulls_url":"https://api.github.com/repos/anti-social/unshare/pulls{/number}","milestones_url":"https://api.github.com/repos/anti-social/unshare/milestones{/number}","notifications_url":"https://api.github.com/repos/anti-social/unshare/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anti-social/unshare/labels{/name}","releases_url":"https://api.github.com/repos/anti-social/unshare/releases{/id}","deployments_url":"https://api.github.com/repos/anti-social/unshare/deployments","created_at":"2015-12-24T13:46:38Z","updated_at":"2015-12-24T13:46:39Z","pushed_at":"2016-08-30T21:36:01Z","git_url":"git://github.com/anti-social/unshare.git","ssh_url":"git@github.com:anti-social/unshare.git","clone_url":"https://github.com/anti-social/unshare.git","svn_url":"https://github.com/anti-social/unshare","homepage":null,"size":1621,"stargazers_count":0,"watchers_count":0,"language":"Rust","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":"tailhook:master","ref":"master","sha":"9f6b59e8e5f8843f181086be441bb79ebdff925a","user":{"login":"tailhook","id":321799,"avatar_url":"https://avatars.githubusercontent.com/u/321799?v=3","gravatar_id":"","url":"https://api.github.com/users/tailhook","html_url":"https://github.com/tailhook","followers_url":"https://api.github.com/users/tailhook/followers","following_url":"https://api.github.com/users/tailhook/following{/other_user}","gists_url":"https://api.github.com/users/tailhook/gists{/gist_id}","starred_url":"https://api.github.com/users/tailhook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tailhook/subscriptions","organizations_url":"https://api.github.com/users/tailhook/orgs","repos_url":"https://api.github.com/users/tailhook/repos","events_url":"https://api.github.com/users/tailhook/events{/privacy}","received_events_url":"https://api.github.com/users/tailhook/received_events","type":"User","site_admin":false},"repo":{"id":40760503,"name":"unshare","full_name":"tailhook/unshare","owner":{"login":"tailhook","id":321799,"avatar_url":"https://avatars.githubusercontent.com/u/321799?v=3","gravatar_id":"","url":"https://api.github.com/users/tailhook","html_url":"https://github.com/tailhook","followers_url":"https://api.github.com/users/tailhook/followers","following_url":"https://api.github.com/users/tailhook/following{/other_user}","gists_url":"https://api.github.com/users/tailhook/gists{/gist_id}","starred_url":"https://api.github.com/users/tailhook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tailhook/subscriptions","organizations_url":"https://api.github.com/users/tailhook/orgs","repos_url":"https://api.github.com/users/tailhook/repos","events_url":"https://api.github.com/users/tailhook/events{/privacy}","received_events_url":"https://api.github.com/users/tailhook/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tailhook/unshare","description":"The low-level linux contation creation library for rust","fork":false,"url":"https://api.github.com/repos/tailhook/unshare","forks_url":"https://api.github.com/repos/tailhook/unshare/forks","keys_url":"https://api.github.com/repos/tailhook/unshare/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tailhook/unshare/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tailhook/unshare/teams","hooks_url":"https://api.github.com/repos/tailhook/unshare/hooks","issue_events_url":"https://api.github.com/repos/tailhook/unshare/issues/events{/number}","events_url":"https://api.github.com/repos/tailhook/unshare/events","assignees_url":"https://api.github.com/repos/tailhook/unshare/assignees{/user}","branches_url":"https://api.github.com/repos/tailhook/unshare/branches{/branch}","tags_url":"https://api.github.com/repos/tailhook/unshare/tags","blobs_url":"https://api.github.com/repos/tailhook/unshare/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tailhook/unshare/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tailhook/unshare/git/refs{/sha}","trees_url":"https://api.github.com/repos/tailhook/unshare/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tailhook/unshare/statuses/{sha}","languages_url":"https://api.github.com/repos/tailhook/unshare/languages","stargazers_url":"https://api.github.com/repos/tailhook/unshare/stargazers","contributors_url":"https://api.github.com/repos/tailhook/unshare/contributors","subscribers_url":"https://api.github.com/repos/tailhook/unshare/subscribers","subscription_url":"https://api.github.com/repos/tailhook/unshare/subscription","commits_url":"https://api.github.com/repos/tailhook/unshare/commits{/sha}","git_commits_url":"https://api.github.com/repos/tailhook/unshare/git/commits{/sha}","comments_url":"https://api.github.com/repos/tailhook/unshare/comments{/number}","issue_comment_url":"https://api.github.com/repos/tailhook/unshare/issues/comments{/number}","contents_url":"https://api.github.com/repos/tailhook/unshare/contents/{+path}","compare_url":"https://api.github.com/repos/tailhook/unshare/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tailhook/unshare/merges","archive_url":"https://api.github.com/repos/tailhook/unshare/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tailhook/unshare/downloads","issues_url":"https://api.github.com/repos/tailhook/unshare/issues{/number}","pulls_url":"https://api.github.com/repos/tailhook/unshare/pulls{/number}","milestones_url":"https://api.github.com/repos/tailhook/unshare/milestones{/number}","notifications_url":"https://api.github.com/repos/tailhook/unshare/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tailhook/unshare/labels{/name}","releases_url":"https://api.github.com/repos/tailhook/unshare/releases{/id}","deployments_url":"https://api.github.com/repos/tailhook/unshare/deployments","created_at":"2015-08-15T13:15:40Z","updated_at":"2016-08-30T12:30:56Z","pushed_at":"2016-08-30T21:39:43Z","git_url":"git://github.com/tailhook/unshare.git","ssh_url":"git@github.com:tailhook/unshare.git","clone_url":"https://github.com/tailhook/unshare.git","svn_url":"https://github.com/tailhook/unshare","homepage":null,"size":2618,"stargazers_count":9,"watchers_count":9,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tailhook/unshare/pulls/7"},"html":{"href":"https://github.com/tailhook/unshare/pull/7"},"issue":{"href":"https://api.github.com/repos/tailhook/unshare/issues/7"},"comments":{"href":"https://api.github.com/repos/tailhook/unshare/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/tailhook/unshare/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/tailhook/unshare/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tailhook/unshare/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/tailhook/unshare/statuses/b665097798fce5aea32ae58cf32c29da07ebbfa9"}}}}
{"actor":{"display_login":"anti-social"}}