[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Allow clock_gettime64; return ENOSYS so libcs can engage fal
From: |
Colin Watson |
Subject: |
Re: [PATCH] Allow clock_gettime64; return ENOSYS so libcs can engage fallbacks |
Date: |
Sat, 22 Aug 2020 12:30:42 +0100 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Wed, Aug 12, 2020 at 04:40:07PM -0400, S. Gilles wrote:
> libcs such as musl expect ENOSYS to be returned (not EPERM) in their
> fallback code, so change the seccomp filter to be more agreeable to
> them.
I wouldn't be completely surprised if this broke something else in the
somewhat fragile cluster of things that interact with this seccomp
filter, but I agree that ENOSYS at least arguably makes more sense, so
let's give it a try.
> At the same time, clock_gettime is permitted in the filter, so permit
> clock_gettime64 as well -- it will be needed by 2038 in any case.
Indeed, definitely correct.
I've added a NEWS entry and pushed this. Thanks.
--
Colin Watson (he/him) [cjwatson@debian.org]