{"action":"created","issue":{"url":"https://api.github.com/repos/timwr/CVE-2016-5195/issues/30","repository_url":"https://api.github.com/repos/timwr/CVE-2016-5195","labels_url":"https://api.github.com/repos/timwr/CVE-2016-5195/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/timwr/CVE-2016-5195/issues/30/comments","events_url":"https://api.github.com/repos/timwr/CVE-2016-5195/issues/30/events","html_url":"https://github.com/timwr/CVE-2016-5195/issues/30","id":187340749,"number":30,"title":"Compiling issue on android-16","user":{"login":"cryptax","id":2493690,"avatar_url":"https://avatars.githubusercontent.com/u/2493690?v=3","gravatar_id":"","url":"https://api.github.com/users/cryptax","html_url":"https://github.com/cryptax","followers_url":"https://api.github.com/users/cryptax/followers","following_url":"https://api.github.com/users/cryptax/following{/other_user}","gists_url":"https://api.github.com/users/cryptax/gists{/gist_id}","starred_url":"https://api.github.com/users/cryptax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cryptax/subscriptions","organizations_url":"https://api.github.com/users/cryptax/orgs","repos_url":"https://api.github.com/users/cryptax/repos","events_url":"https://api.github.com/users/cryptax/events{/privacy}","received_events_url":"https://api.github.com/users/cryptax/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-04T14:01:17Z","updated_at":"2016-12-19T14:35:38Z","closed_at":"2016-12-19T14:35:38Z","body":"I am trying to compile the PoC on android-16 (Android 4.1.2). In theory, DirtyCow, should be working because it's a Linux kernel 3.0.31. But it's not building :(\r\n\r\nI modified the Makefile:\r\n`ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk APP_PLATFORM=android-16`\r\n\r\nUnfortunately, it fails with several errors:\r\n\r\n```\r\n$ make root\r\nndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk APP_PLATFORM=android-16\r\n...\r\narmeabi-v7a] Compile thumb  : run-as <= run-as.c\r\nIn file included from ./run-as.c:3:\r\nIn file included from /usr/include/sys/capability.h:30:\r\n/usr/include/sys/xattr.h:41:2: error: expected function body after function\r\n      declarator\r\n        __THROW;\r\n        ^\r\n/usr/include/sys/xattr.h:48:2: error: expected function body after function\r\n      declarator\r\n        __THROW;\r\n        ^\r\n/usr/include/sys/xattr.h:53:37: error: expected function body after function\r\n      declarator\r\n                      size_t __size, int __flags) __THROW;\r\n                                                  ^\r\n```\r\n\r\nAny idea?\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/timwr/CVE-2016-5195/issues/comments/267978563","html_url":"https://github.com/timwr/CVE-2016-5195/issues/30#issuecomment-267978563","issue_url":"https://api.github.com/repos/timwr/CVE-2016-5195/issues/30","id":267978563,"user":{"login":"timwr","id":684924,"avatar_url":"https://avatars.githubusercontent.com/u/684924?v=3","gravatar_id":"","url":"https://api.github.com/users/timwr","html_url":"https://github.com/timwr","followers_url":"https://api.github.com/users/timwr/followers","following_url":"https://api.github.com/users/timwr/following{/other_user}","gists_url":"https://api.github.com/users/timwr/gists{/gist_id}","starred_url":"https://api.github.com/users/timwr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timwr/subscriptions","organizations_url":"https://api.github.com/users/timwr/orgs","repos_url":"https://api.github.com/users/timwr/repos","events_url":"https://api.github.com/users/timwr/events{/privacy}","received_events_url":"https://api.github.com/users/timwr/received_events","type":"User","site_admin":false},"created_at":"2016-12-19T14:35:38Z","updated_at":"2016-12-19T14:35:38Z","body":"Duplicate #35 "}}
{"actor":{"display_login":"timwr"}}