On Mar 29, 2011, at 11:11 PM, John Reiser wrote:

>> Thanks for the reply. ... I'm not sure what 2.6.22-rc1 has to do with this 
>> syscall?  Or what, if anything, I can do?
> 
> The eventfd2 syscall was added to the Linux kernel in mid 2007, for Linux 
> 26.22,
> but exp-ptrcheck has no handler for it today.  Section 11.6, Limitations, of 
> the
> valgrind manual  http://valgrind.org/docs/manual/valgrind_manual.pdf:
> 
>    Heap checks: Ptrcheck needs to "understand" which system calls return 
> pointers
>    and which don’t. Many, but not all system calls are handled. If an 
> unhandled one
>    is encountered, Ptrcheck will abort. Fortunately, adding support for a new 
> syscall
>    is very easy.
> 
> So knock on the door of a valgrind developer, and ask nicely.  The best way 
> to do so
> is to file a polite, complete, bug report.  Or, get the source code and do it 
> yourself.
> In the meantime, one possible work-around is to change the usage of the app 
> so that
> eventfd2() is not used.

Ah, thanks!  That makes sense.

I'll take a look.  If it's easy enough that I can figure it out, I'll make the 
change myself; otherwise I'll file an appropriate bug report.

Adam



------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to