FRET-qemu/linux-user
Laurent Vivier c4e316cfb5 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>
2017-05-29 14:56:07 +03:00
..
2016-09-22 07:24:21 +03:00
2016-09-22 07:24:21 +03:00
2016-09-22 07:24:21 +03:00
2016-01-29 15:07:22 +00:00
2016-01-29 15:07:22 +00:00
2017-05-10 12:31:19 -04:00
2017-02-16 15:29:30 +01:00
2017-02-14 17:18:03 +01:00
2017-05-29 14:56:07 +03:00
2016-01-29 15:07:22 +00:00
2016-01-29 15:07:22 +00:00