Re: [Valgrind-users] setns syscall with valgrind

2014-05-26 Thread Himanshu S
John, Thanks for the response. We are using 64-bit x86 Linux. As such setns switches the network name space context to the one where the 'fd' in the argument is referring. I will try your suggestion and let you know. On Fri, May 23, 2014 at 6:14 PM, John Reiser wrote: > > In our code we use set

Re: [Valgrind-users] setns syscall with valgrind

2014-05-23 Thread John Reiser
> In our code we use setns system call. [In] valgrind version (3.8.1), it seems > like this syscall is not handled. > > > --2726-- WARNING: unhandled syscall: 308 > --2726-- You may be able to write your own handler. > --2726-- Read the file README_MISSING_SYSCALL_OR_IOCTL. > --2726-- Neverthel

[Valgrind-users] setns syscall with valgrind

2014-05-23 Thread Himanshu S
Hello, I started using valgrind for our code and it is a great tool. In our code we use setns system call. It seems like valgrind version (3.8.1). It seems like this syscall is not handled. --2726-- WARNING: unhandled syscall: 308 --2726-- You may be able to write your own handler. --2726-- Read