bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH] Use the new file_exec_file_name RPC


From: Carl Fredrik Hammar
Subject: Re: [PATCH] Use the new file_exec_file_name RPC
Date: Thu, 29 Jul 2010 19:37:53 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

Hi,

On Mon, Jul 26, 2010 at 07:42:25PM +0200, Emilio Pozuelo Monfort wrote:
> Also I've tested with the Debian package (which is at 2.11.2) so I
> needed to change the Versions file. I changed it to 2.11.2, but I
> got quite some warnings that GLIBC_2_11_2 was undefined. I changed
> it to 2_11 and it worked fine. No idea why.

I guess Roland will sort this out when he reviews or applies this.

> >From 2d7cf2259596bcb74913851705302fe24ba5c7ef Mon Sep 17 00:00:00 2001
> From: Emilio Pozuelo Monfort <address@hidden>
> Date: Sat, 22 May 2010 18:26:29 +0200
> Subject: [PATCH] Use the new file_exec_file_name RPC
> 
> This fixes the problem that a script could end up with /dev/fd/N
> in argv[0] because the exec server couldn't guess the file name.

This could be a bit more specific:

Pass the file name of executable to the exec server, which it needs to
execute #!-scripts.  Currently, the exec server tries to guess the name
from argv[0] but argv[0] only contains the executable name by convention.

Regards,
  Fredrik



reply via email to

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