Hi,

I did one more miniaudit for umove() return code checks, and found a few
bugs, one of them (in sched_setaffinity parser) looks quite nasty.
Here are reproducers:

#include <unistd.h>
#include <syscall.h>
int main(void){return syscall(SYS_sched_setaffinity, 0, -1L, main);}

#include <sys/msg.h>
int main(void){return msgrcv(-1L, main, 0x7fffffff, 0, 0);}

#include <unistd.h>
#include <syscall.h>
int main(void){return syscall(SYS_query_module, main, 0, main, -1L, main);}

Proposed patch could be found at
http://strace.git.sourceforge.net/git/gitweb.cgi?p=strace/strace;a=commitdiff;h=ldv/umove


-- 
ldv

Attachment: pgpv53znrUSEm.pgp
Description: PGP signature

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to