aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_sandbox.c
diff options
context:
space:
mode:
authorSimon South <simon@simonsouth.net>2021-11-03 11:53:33 -0400
committerSimon South <simon@simonsouth.net>2021-11-05 10:30:51 -0400
commitf5980e60ed519cb8c5ceded7e04f8e63c842c782 (patch)
treed877a3ef955df440ae23bc9bed9ba87f1ce95fe5 /src/test/test_sandbox.c
parent55571fc8d7c63e88075020cfc0a3012e5aa10927 (diff)
downloadtor-f5980e60ed519cb8c5ceded7e04f8e63c842c782.tar.gz
tor-f5980e60ed519cb8c5ceded7e04f8e63c842c782.zip
sandbox: Allow "clock_gettime64" syscall where defined
On 32-bit architectures where Linux provides the "clock_gettime64" system call, including i386, glibc uses it in place of "clock_gettime". Modify the sandbox implementation to match, to prevent Tor's monotonic-time functions (in src/lib/time/compat_time.c) failing when the sandbox is active.
Diffstat (limited to 'src/test/test_sandbox.c')
0 files changed, 0 insertions, 0 deletions