summary refs log tree commit diff stats
path: root/results/classifier/zero-shot-user-mode/instruction/1075339
blob: 1cb7de29e054ceaae293e18ceec5733099b50efd (plain) (blame)
1
2
3
4
5
6
7
8
9
instruction: 0.595
runtime: 0.299
syscall: 0.105



linux-user emulation of setsockopt ignores optlen

setsockopt always treats the argument as a 4-byte int. This breaks timeout options (for which it's an 8- or 16-byte timeval structure, depending on word size) and possibly other socket options. int is probably a safe default, but options whose values are other types need special-case conversion code.