On Thu, Sep 22, 2016 at 12:21:20AM +0300, Eugene Syromyatnikov wrote:
> long sys_fadvise64(int fd, loff_t offset, size_t len, int advice);

At the same time, the implementation does
SYSCALL_DEFINE4(fadvise64, int, fd, loff_t, offset, size_t, len, int, advice)
{
        return sys_fadvise64_64(fd, offset, len, advice);
}

This is an implicit cast from size_t to loff_t, so for all intents and
purposes (see e.g. the check for len < 0 inside sys_fadvise64_64) it's
the same loff_t type.  I don't think it worths the change.


-- 
ldv

Attachment: pgpgOz05FyubP.pgp
Description: PGP signature

------------------------------------------------------------------------------
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to