tech-kern archive

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

Re: __ps_strings and compat32



On Wed, Jan 05, 2011 at 05:45:57AM +0000, David Holland wrote:
> On Tue, Jan 04, 2011 at 01:09:34PM +0100, Joerg Sonnenberger wrote:
>  > Hi all,
>  > while investigating ways to access the auxillary vector, I found that we
>  > currently don't deal correctly with struct ps_strings in 32bit compat.
>  > This structure is placed by the kernel into the initial stack and
>  > referenced in userland by __ps_strings. It is used by setproctitle(3)
>  > and therefore e.g. by programs that want to include a status report in
>  > the ps(1) output. This naturally works only by chance, if at all in
>  > compat32. How do we want to deal with it?
> 
> What's the actual problem? Using a 64-bit ps_strings in a 32-bit process?

Yes.

Joerg


Home | Main Index | Thread Index | Old Index