Re: [chrony-dev] [GIT] chrony/chrony.git branch master updated. 4.0-pre3-5-g7d3798d

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


On 2020-09-01T14:30+0200, Miroslav Lichvar wrote:
On Tue, Sep 01, 2020 at 02:08:06PM +0200, Vincent Blut wrote:
Hi Miroslav,

On 2020-09-01T12:11+0200, git@xxxxxxxxxxxxx wrote:
> commit 9ca250755f139c2383ada58198ecfcd7a22954a1
> Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
> Date:   Mon Aug 31 15:13:39 2020 +0200
>
>    sys_linux: allow lstat and readlink in seccomp filter
>
>    These syscalls seem to be needed when gnutls is loading system trusted
>    certificates due to p11-kit >= 0.23.21 getting the program name from
>    /proc/self/exe.

readlinkat() should be added for arm64 and riscv64, then. Patch attached.

Ok. Thanks.

Did you reproduce the issue on those platforms, or do you know how glibc
implements realpath() there?

It’s just that these two architectures take their generic system call definition from “include/uapi/asm-generic/unistd.h” where __NR_readlink is not defined. readlinkat() being a superset of readlink(), there is no point for recent architectures to support the latter.

Attachment: signature.asc
Description: PGP signature



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/