aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/loop_arm.const
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-12-27 13:08:02 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-12-27 13:11:57 +0100
commit2b084c988691b067fb5b28a5f9f7693c27670d18 (patch)
tree8e0e93bb9bfcc47e31418f00b1af4a168e8878fb /sys/linux/loop_arm.const
parent43cf01dd41b16b2aa2840291391031cf0b56b950 (diff)
pkg/csource: use 0 for missing syscall args
We don't specify trailing unused args for some syscalls (e.g. ioctl that does not use its arg). Executor always filled tailing unsed args with 0's but pkg/csource didn't. Some such syscalls actually check that the unsed arg is 0 and as the result failed with C repro. We could statically check and eliminate all such cases, but it turns out the warning fires in 1500+ cases: https://gist.githubusercontent.com/dvyukov/e59ba1d9a211ee32fa0ba94fab86a943/raw/a3ace5a63f7281f0298f51ea9842ead1e4713418/gistfile1.txt So instead fill such args with 0's in pkg/csource too.
Diffstat (limited to 'sys/linux/loop_arm.const')
0 files changed, 0 insertions, 0 deletions