diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-07-15 13:07:09 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-07-15 13:07:09 -0400 |
commit | 85178e2e93036d0708bafa431fcdf4c1029ad2ff (patch) | |
tree | 67b77c9df2a284359a377049678a0aa800909a36 /src/test/test_circuitlist.c | |
parent | 9fda7e8cd1bbc33479c667ea97a220333f81c148 (diff) | |
download | tor-85178e2e93036d0708bafa431fcdf4c1029ad2ff.tar.gz tor-85178e2e93036d0708bafa431fcdf4c1029ad2ff.zip |
Use format_hex_number_sigsafe to format syscalls in sandbox.c
This way, we don't have to use snprintf, which is not guaranteed to
be signal-safe.
(Technically speaking, strlen() and strlcpy() are not guaranteed to
be signal-safe by the POSIX standard. But I claim that they are on
every platform that supports libseccomp2, which is what matters
here.)
Diffstat (limited to 'src/test/test_circuitlist.c')
0 files changed, 0 insertions, 0 deletions