- (dtucker) [sandbox-seccomp-filter.c] Allow clock_gettimeofday.

This commit is contained in:
Darren Tucker 2013-06-02 09:17:09 +10:00
parent 65cf74079a
commit e9887d1c37
2 changed files with 2 additions and 0 deletions

View File

@ -60,6 +60,7 @@
with the equivalent calls to free.
- (dtucker) [configure.ac misc.c] Look for clock_gettime in librt and fall
back to time(NULL) if we can't find it anywhere.
- (dtucker) [sandbox-seccomp-filter.c] Allow clock_gettimeofday.
20130529
- (dtucker) [configure.ac openbsd-compat/bsd-misc.h] bz#2087: Add a null

View File

@ -91,6 +91,7 @@ static const struct sock_filter preauth_insns[] = {
SC_DENY(open, EACCES),
SC_ALLOW(getpid),
SC_ALLOW(gettimeofday),
SC_ALLOW(clock_gettime),
#ifdef __NR_time /* not defined on EABI ARM */
SC_ALLOW(time),
#endif