strace of splice() is invalid

example:
splice(0x4d, 0xa359de90, 0x50, 0, 0x10000, 0x4) = 65536
splice(0x4f, 0, 0x4e, 0xa359de88, 0x10000, 0x4) = 65536

man splice:
ssize_t splice(int fd_in, loff_t *off_in, int fd_out,
                      loff_t *off_out, size_t len, unsigned int flags);


at least FD should not be in hex. offset should be dereferenced,
length should not be in hex, flags should be parsed.

The same, I think, for vmsplice() and tee() syscalls. I use Ubuntu 10.04


mma...@imac:~$ strace -V
strace -- version 4.5.19


-- 
Segmentation fault

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to