{"action":"created","issue":{"url":"https://api.github.com/repos/nix-rust/nix/issues/354","repository_url":"https://api.github.com/repos/nix-rust/nix","labels_url":"https://api.github.com/repos/nix-rust/nix/issues/354/labels{/name}","comments_url":"https://api.github.com/repos/nix-rust/nix/issues/354/comments","events_url":"https://api.github.com/repos/nix-rust/nix/issues/354/events","html_url":"https://github.com/nix-rust/nix/pull/354","id":148785966,"number":354,"title":"fcntl: Use bindings from libc instead of our own","user":{"login":"brianp","id":179134,"avatar_url":"https://avatars.githubusercontent.com/u/179134?v=3","gravatar_id":"","url":"https://api.github.com/users/brianp","html_url":"https://github.com/brianp","followers_url":"https://api.github.com/users/brianp/followers","following_url":"https://api.github.com/users/brianp/following{/other_user}","gists_url":"https://api.github.com/users/brianp/gists{/gist_id}","starred_url":"https://api.github.com/users/brianp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianp/subscriptions","organizations_url":"https://api.github.com/users/brianp/orgs","repos_url":"https://api.github.com/users/brianp/repos","events_url":"https://api.github.com/users/brianp/events{/privacy}","received_events_url":"https://api.github.com/users/brianp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-15T22:44:08Z","updated_at":"2016-04-18T00:59:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nix-rust/nix/pulls/354","html_url":"https://github.com/nix-rust/nix/pull/354","diff_url":"https://github.com/nix-rust/nix/pull/354.diff","patch_url":"https://github.com/nix-rust/nix/pull/354.patch"},"body":"**Un-finished** and looking for help. As #264 was tagged \"mentor, good first bug\"\r\n\r\nRef #264\r\n\r\nI couldn't find `F_GET_SEALS`, or `F_ADD_SEALS` in libc.\r\n\r\nIs this a case where I should be making a PR over there? I'm not sure where exactly to address it in libc."},"comment":{"url":"https://api.github.com/repos/nix-rust/nix/issues/comments/211142476","html_url":"https://github.com/nix-rust/nix/pull/354#issuecomment-211142476","issue_url":"https://api.github.com/repos/nix-rust/nix/issues/354","id":211142476,"user":{"login":"kamalmarhubi","id":50936,"avatar_url":"https://avatars.githubusercontent.com/u/50936?v=3","gravatar_id":"","url":"https://api.github.com/users/kamalmarhubi","html_url":"https://github.com/kamalmarhubi","followers_url":"https://api.github.com/users/kamalmarhubi/followers","following_url":"https://api.github.com/users/kamalmarhubi/following{/other_user}","gists_url":"https://api.github.com/users/kamalmarhubi/gists{/gist_id}","starred_url":"https://api.github.com/users/kamalmarhubi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamalmarhubi/subscriptions","organizations_url":"https://api.github.com/users/kamalmarhubi/orgs","repos_url":"https://api.github.com/users/kamalmarhubi/repos","events_url":"https://api.github.com/users/kamalmarhubi/events{/privacy}","received_events_url":"https://api.github.com/users/kamalmarhubi/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T00:59:28Z","updated_at":"2016-04-18T00:59:28Z","body":"I think if you make the change with the `libc` import, the build should pass. I'm still not sure exactly what to do with `F_{GET,SET}_SEALS`."}}