diff options
| author | Laurent Vivier | 2017-03-02 01:54:48 +0100 |
|---|---|---|
| committer | Riku Voipio | 2017-05-29 13:56:07 +0200 |
| commit | c4e316cfb5e3f4b58d5d6fb6cb6c2279a5c3229a (patch) | |
| tree | 2a09875c757f17450afff02fc9b5960d0eeb76e3 /include/exec/exec-all.h | |
| parent | linux-user: fix fadvise64_64() on ppc (diff) | |
| download | qemu-c4e316cfb5e3f4b58d5d6fb6cb6c2279a5c3229a.tar.gz qemu-c4e316cfb5e3f4b58d5d6fb6cb6c2279a5c3229a.tar.xz qemu-c4e316cfb5e3f4b58d5d6fb6cb6c2279a5c3229a.zip | |
linux-user: fix inotify
When a fd is opened using inotify_init(), a read provides
one or more inotify_event structures:
struct inotify_event {
int wd;
uint32_t mask;
uint32_t cookie;
uint32_t len;
char name[];
};
The integer fields must be byte-swapped to the target endianness.
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions
