Re: Unable to start process with valgrind, failing with setns

Mark Wielaard <[email protected]>
Newsgroups gmane.comp.debugging.valgrind
Message-ID <[email protected]>
Hi Bhargav,

On Mon, Mar 16, 2020 at 10:44:42AM +0530, bhargav p wrote:
> I am trying to start a process with valgrind. In my code, I am using setns
> call.
> 
> When I start process with valgrind, seeing below error and process is
> getting exited.
> 
>  "Failed to switch to namespace ns1: Function not implemented"
> 
> 
> If I start process without valgrind, I am not seeing this error message.
> 
> 
> Can someone please help me how to resolve this?

There is a bug report about this already:
https://bugs.kde.org/show_bug.cgi?id=343099
It does have a patch attached. Maybe you can test it?

Cheers,

Mark
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.