Files
tor/src
Pierre Bourdon eb0749d649 sandbox: replace SCMP_CMP_NEG with masked equality checks
For some syscalls the kernel ABI uses 32 bit signed integers. Whether
these 32 bit integer values are sign extended or zero extended to the
native 64 bit register sizes is undefined and dependent on the {arch,
compiler, libc} being used. Instead of trying to detect which cases
zero-extend and which cases sign-extend, this commit uses a masked
equality check on the lower 32 bits of the value.
2022-05-04 07:19:40 +02:00
..
2021-12-16 10:21:18 +01:00
2021-10-06 15:12:04 -04:00
2021-10-06 15:12:04 -04:00