qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v3] linux-user: add option to intercept execve()


From: Vasileios Kalintiris
Subject: Re: [Qemu-devel] [PATCH v3] linux-user: add option to intercept execve() sys
Date: Thu, 12 May 2016 10:57:39 +0000

Hi Petros,

I'm sorry for the off-thread reply (I'm not subscribed at qemu-devel so please 
CC me in your replies).

I believe that we should modify the envp array in order to include the 
Qemu-related variables that a user might define:

>+    return get_errno(execve(qemu_execve_path, new_argp, envp));

This will allow us to pass on QEMU-specific environment variables defined by 
the users down to every execve'd program (another option is to copy the 
qemu-specific arguments but the former is simpler).

Cheers,
Vasileios


reply via email to

[Prev in Thread] Current Thread [Next in Thread]