tech-kern archive

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

Re: __ps_strings and compat32



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?

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index