Re: [OE-core] [PATCH] pseudo: fix memory leak and missed privilege drop

2013-09-03 Thread Peter Seebach
On Sun, 25 Aug 2013 19:40:06 -0500 "Peter A. Bigot" wrote: > qemu.bbclass adds PSEUDO_UNLOAD=1 in qemu_run_binary to avoid reference to > pseudo functions that may not exist in the target environment. This patch > detects the addition of that variable within the environment to which the > call a

Re: [OE-core] [PATCH] pseudo: fix memory leak and missed privilege drop

2013-08-26 Thread Peter A. Bigot
On 08/26/2013 10:54 AM, Mark Hatle wrote: +diff --git a/pseudo_util.c b/pseudo_util.c +index 8d0969e..16c70e0 100644 +--- a/pseudo_util.c b/pseudo_util.c +@@ -95,6 +95,33 @@ dump_env(char **envp) { + } + #endif + ++int ++pseudo_has_unload(char * const *envp) { ++static const char unload

Re: [OE-core] [PATCH] pseudo: fix memory leak and missed privilege drop

2013-08-26 Thread Mark Hatle
On 8/25/13 7:40 PM, Peter A. Bigot wrote: From: "Peter A. Bigot" qemu.bbclass adds PSEUDO_UNLOAD=1 in qemu_run_binary to avoid reference to pseudo functions that may not exist in the target environment. This patch detects the addition of that variable within the environment to which the call a

Re: [OE-core] [PATCH] pseudo: fix memory leak and missed privilege drop

2013-08-25 Thread Saul Wold
On 08/25/2013 05:40 PM, Peter A. Bigot wrote: From: "Peter A. Bigot" qemu.bbclass adds PSEUDO_UNLOAD=1 in qemu_run_binary to avoid reference to pseudo functions that may not exist in the target environment. This patch detects the addition of that variable within the environment to which the ca

Re: [OE-core] [PATCH] pseudo: fix memory leak and missed privilege drop

2013-08-25 Thread Peter A. Bigot
On 08/25/2013 07:40 PM, Peter A. Bigot wrote: From: "Peter A. Bigot" qemu.bbclass adds PSEUDO_UNLOAD=1 in qemu_run_binary to avoid reference to pseudo functions that may not exist in the target environment. This patch detects the addition of that variable within the environment to which the ca

[OE-core] [PATCH] pseudo: fix memory leak and missed privilege drop

2013-08-25 Thread Peter A. Bigot
From: "Peter A. Bigot" qemu.bbclass adds PSEUDO_UNLOAD=1 in qemu_run_binary to avoid reference to pseudo functions that may not exist in the target environment. This patch detects the addition of that variable within the environment to which the call applies, even if not present in the parent en