summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorDaniel Pinto <danielpinto52@gmail.com>2020-07-01 20:30:04 +0100
committerDaniel Pinto <danielpinto52@gmail.com>2020-07-20 22:30:00 +0100
commitc79b4397d3839b77e85ceccc5a948f58c9fe37e6 (patch)
treed039549cb26154de3a16b1643de9faa1c146f1cb /README
parentc9751e26119e375fcbc74107e89958957c00ee5e (diff)
downloadtor-c79b4397d3839b77e85ceccc5a948f58c9fe37e6.tar.gz
tor-c79b4397d3839b77e85ceccc5a948f58c9fe37e6.zip
Fix seccomp sandbox rules for openat #27315
The need for casting negative syscall arguments depends on the glibc version. This affects the rules for the openat syscall which uses the constant AT_FDCWD that is defined as a negative number. This commit adds logic to only apply the cast when necessary, on glibc versions from 2.27 onwards.
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions