{"action":"opened","issue":{"url":"https://api.github.com/repos/unbit/uwsgi/issues/883","labels_url":"https://api.github.com/repos/unbit/uwsgi/issues/883/labels{/name}","comments_url":"https://api.github.com/repos/unbit/uwsgi/issues/883/comments","events_url":"https://api.github.com/repos/unbit/uwsgi/issues/883/events","html_url":"https://github.com/unbit/uwsgi/issues/883","id":67597677,"number":883,"title":"glibc compatibility issue","user":{"login":"voxik","id":14406,"avatar_url":"https://avatars.githubusercontent.com/u/14406?v=3","gravatar_id":"","url":"https://api.github.com/users/voxik","html_url":"https://github.com/voxik","followers_url":"https://api.github.com/users/voxik/followers","following_url":"https://api.github.com/users/voxik/following{/other_user}","gists_url":"https://api.github.com/users/voxik/gists{/gist_id}","starred_url":"https://api.github.com/users/voxik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voxik/subscriptions","organizations_url":"https://api.github.com/users/voxik/orgs","repos_url":"https://api.github.com/users/voxik/repos","events_url":"https://api.github.com/users/voxik/events{/privacy}","received_events_url":"https://api.github.com/users/voxik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-10T13:39:23Z","updated_at":"2015-04-10T13:39:23Z","closed_at":null,"body":"uwsgi can't be build against recent glibc. This seems to be due to fix of regression [1]. This simple patch is fixing the issue:\r\n\r\n```\r\n--- a/core/utils.c\r\n+++ b/core/utils.c\r\n@@ -3514,7 +3514,7 @@\r\n \t\ttmpdir = \"/tmp\";\r\n \t}\r\n #ifdef O_TMPFILE\r\n-\tfd = open(tmpdir, O_TMPFILE | O_RDWR);\r\n+\tfd = open(tmpdir, O_TMPFILE | O_RDWR, S_IRUSR | S_IWUSR);\r\n \tif (fd >= 0) {\r\n \t\treturn fd;\r\n \t}\r\n```\r\n\r\n[1] https://sourceware.org/bugzilla/show_bug.cgi?id=17523"}}