)]}' { "commit": "d15dfb2ff5835a04c66d328f27939fc4e0362c0f", "tree": "12ac9dd1a1c64741d649aaa0ce21a7c929cbb147", "parents": [ "7c59c70200a86387d3c97e9d7f34e2b8dbed88b3" ], "author": { "name": "Greg Hackmann", "email": "ghackmann@google.com", "time": "Sat Mar 26 11:37:55 2016 -0700" }, "committer": { "name": "Greg Hackmann", "email": "ghackmann@google.com", "time": "Mon Mar 28 10:29:16 2016 -0700" }, "message": "clock_nanosleep: add CLOCK_THREAD_CPUTIME_ID special case\n\nPOSIX makes \"the CPU-time clock of the calling thread\" (i.e.,\nCLOCK_THREAD_CPUTIME_ID) a special case which returns EINVAL instead of\nENOTSUP.\n\nHowever, the clock_nanosleep syscall treats this clock just like any\nother, and returns -EOPNOTSUPP to indicate an unimplemented nanosleep\nhandler. So we need to handle this ourselves in userspace.\n\nThis change fixes the LTP clock_nanosleep01 testcase.\n\nChange-Id: If3bed940d276834bcd114d8c17f96197e9384711\nSigned-off-by: Greg Hackmann \u003cghackmann@google.com\u003e\n", "tree_diff": [ { "type": "modify", "old_id": "8e2146f46966fa0bd9ceecca4b6da76f92c7504e", "old_mode": 33188, "old_path": "libc/bionic/clock_nanosleep.cpp", "new_id": "eade850a0b0b1eff08d471e0a272a1609dbb2dc0", "new_mode": 33188, "new_path": "libc/bionic/clock_nanosleep.cpp" }, { "type": "modify", "old_id": "6cdabd219f70491bb1f06e7808b28dee79c9d8ca", "old_mode": 33188, "old_path": "tests/time_test.cpp", "new_id": "b1f63648c0fa58da8fb3b6d9b8bb15756c0abe6a", "new_mode": 33188, "new_path": "tests/time_test.cpp" } ] }