APPLIED: [PATCH] UBUNTU: SAUCE: selftests/seccomp: allow clock_nanosleep instead of nanosleep

Seth Forshee seth.forshee at canonical.com
Thu Apr 9 21:13:11 UTC 2020


On Wed, Apr 08, 2020 at 08:59:07PM -0300, Thadeu Lima de Souza Cascardo wrote:
> glibc 2.31 calls clock_nanosleep when its nanosleep function is used. So
> the restart_syscall fails after that. In order to deal with it, we trace
> clock_nanosleep and nanosleep. Then we check for either.
> 
> This works just fine on systems with both glibc 2.30 and glibc 2.31,
> whereas it failed before on a system with glibc 2.31.
> 
> Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo at canonical.com>

Applied to focal/master-next and unstable/master, thanks!



More information about the kernel-team mailing list