diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-08-08 17:04:50 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-08-08 17:04:50 +0200 |
| commit | 17a0470620d8031c82bff3f45a7688a06bd77fdd (patch) | |
| tree | 5fded82afb16de5f808857e58363cfd819d2ed3d /executor/syscalls.h | |
| parent | d46deef51c0809429c414eea99566b82b6d5fbbf (diff) | |
executor: manually define struct fsxattr
It should be in <linux/fs.h> but is not there on some distros/arches as expected.
Travis build fails with:
<stdin>: In function ‘remove_dir’:
<stdin>:152:13: error: variable ‘attr’ has initializer but incomplete type
<stdin>:152:13: error: excess elements in struct initializer [-Werror]
<stdin>:152:13: error: (near initialization for ‘attr’) [-Werror]
<stdin>:152:21: error: storage size of ‘attr’ isn’t known
<stdin>:153:20: error: ‘FS_IOC_FSSETXATTR’ undeclared (first use in this function)
<stdin>:153:20: note: each undeclared identifier is reported only once for each function it appears in
<stdin>:152:21: error: unused variable ‘attr’ [-Werror=unused-variable]
cc1: all warnings being treated as errors
https://travis-ci.org/google/syzkaller/jobs/413574080
Diffstat (limited to 'executor/syscalls.h')
0 files changed, 0 insertions, 0 deletions
