Re: [chrony-dev] [PATCH] sys_linux: allow clock_gettime64 in seccomp filter

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


On Thu, May 14, 2020 at 03:26:20PM +0200, Vincent Blut wrote:
> #ifdef __NR_clock_gettime64
>     SCMP_SYS(clock_gettime64),
> #endif
> 
> would fly for you‽

Yes.

> By the way, shouldn’t we add *time64 variants to some of our already
> whistelisted syscalls?

Yes, that would probably make sense. It looks like they were added in
the same libseccomp commit, so maybe they could be all together in a
single ifdef?

-- 
Miroslav Lichvar


-- 
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


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