bug-hurd
[Top][All Lists]
Advanced

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

Re: BUG: /proc/self/exe reports relative paths, should always return abs


From: Samuel Thibault
Subject: Re: BUG: /proc/self/exe reports relative paths, should always return absolute paths?
Date: Sun, 24 Sep 2017 15:22:33 +0200
User-agent: NeoMutt/20170113 (1.7.2)

Hello,

Svante Signell, on dim. 24 sept. 2017 15:17:02 +0200, wrote:
> On Fri, 2017-09-22 at 20:27 +0200, Samuel Thibault wrote:
> > Hello,
> > 
> > > +  file_t file = __file_name_lookup (file_name, O_EXEC, 0);
> > 
> > This creates a file_t, so return paths have to deallocate it (just
> > like it is done at the end of the function).
> 
> Fixed.

Thanks!

I however realize: we of course need the same for spawni() (using getcwd
instead of realpath), since it'll have the same kinds of issues.

Samuel



reply via email to

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