diff for duplicates of <2819798.f0KhjY3UAe@wuerfel> diff --git a/a/1.txt b/N1/1.txt index 873add6..ad0ec9d 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -100,19 +100,3 @@ struct timespec { This is very similar to c, but trades the problem I described above for a dependency on a gcc extension that is not part of C11 or any earlier standard. - - -From the kernel's point of view, b), c) and d) can all be -treated the same for output data, as we only ever pass back -normalized timespec structures that have zeroes in the upper -bits of timespec. However, for input to the kernel, we would -require an extra conditional on 64-bit kernels to decide whether -we ignore the upper bits (doing tv->tv_nsec &= 0xffffffff) or -a structure that has the upper bits set needs to cause EINVAL. -We could still do that in get_timespec() if we decide to not to -go with a). - -See also https://lwn.net/Articles/457089/ for an earlier discussion -on the topic when debating the x32 ABI. - - Arnd diff --git a/a/content_digest b/N1/content_digest index 8fd6150..c1a3fb0 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -135,22 +135,6 @@ "\n" "This is very similar to c, but trades the problem I described\n" "above for a dependency on a gcc extension that is not part of\n" - "C11 or any earlier standard.\n" - "\n" - "\n" - "From the kernel's point of view, b), c) and d) can all be\n" - "treated the same for output data, as we only ever pass back\n" - "normalized timespec structures that have zeroes in the upper\n" - "bits of timespec. However, for input to the kernel, we would\n" - "require an extra conditional on 64-bit kernels to decide whether\n" - "we ignore the upper bits (doing tv->tv_nsec &= 0xffffffff) or \n" - "a structure that has the upper bits set needs to cause EINVAL.\n" - "We could still do that in get_timespec() if we decide to not to\n" - "go with a).\n" - "\n" - "See also https://lwn.net/Articles/457089/ for an earlier discussion\n" - "on the topic when debating the x32 ABI.\n" - "\n" - "\tArnd" + C11 or any earlier standard. -a97c2a2062b2c37a3d47627284cebe42c69f9b717c4a7807ebb2c399e48ff351 +3de44addc6b89c375cb25007bdbc6d9c82f1372cb5a9e94d9b454e5f19c65814
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox