[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/3] Define and use symbolic names for important processes
From: |
Justus Winter |
Subject: |
Re: [PATCH 1/3] Define and use symbolic names for important processes |
Date: |
Thu, 29 Aug 2013 12:35:32 +0200 |
User-agent: |
alot/0.3.4 |
Quoting Samuel Thibault (2013-08-29 12:28:34)
> Justus Winter, le Thu 29 Aug 2013 12:22:30 +0200, a écrit :
> > Quoting Samuel Thibault (2013-08-28 23:30:27)
> > > Applied this one, thanks.
> >
> > This one as in the private header file?
>
> Yes.
>
> > I've come across an issue with the header being private. This means
> > that neither procfs (being maintained and compileable out-of-tree) nor
> > the glibc can use the symbolic names.
>
> I'd be very reluctant to expose such kind of information statically.
Agreed, but
> Does procfs really need this information?
Kinda. main.c (main) reads:
> opt_kernel_pid = 2;
Ugh.
> As for glibc, I know it needs
> it at least for reboot(), but I'd rather not give the information
> through a static macro.
This particular case could indeed be handled more elegantly by looking
up the port using /servers/startup as discussed somewhere (irc?).
Justus