On Tue, May 25, 2010 at 11:30:07PM +0200, Samuel Thibault wrote: > Emilio Pozuelo Monfort, le Tue 25 May 2010 23:03:43 +0200, a écrit : > > > Oh, I haven't noticed this file before. :-) > > > > It's the list of symbols libc.so should export. Since _hurd_exec is a public > > API, I guessed _file_name should be too. But if we don't want it to be > > public, I > > can probably put the prototype in hurd/hurdexec.h and include "hurdexec.h" > > from > > execve.c. > > I believe it should be as public as _hurd_exec.
Oh, definately since it should be used instead of _hurd_exec, which is used in some places of the Hurd. I wasn't questioning whether it should be in the file or not, just in what section of the file. > > > I don't really know how this file works but this seems to be a section > > > devoted to compatibility to an older version of glibc so I doubt this is > > > the correct place to put a new function. You might want to ask Samuel > > > or Thomas about it, or if that fails, libc-alpha and Roland. > > The additional symbol needs to be added to a new GLIBC_2.foobar stanza > corresponding to the version of glibc in which it'll eventuelly get > added. Thanks for clearing this up. Regards, Fredrik