DragonFly BSD
DragonFly kernel List (threaded) for 2004-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: questions on kern.ps_showallthreads


From: "Devon H. O'Dell" <dodell@xxxxxxxxxxxxxxx>
Date: Sat, 17 Jul 2004 18:04:28 +0200

Simon 'corecode' Schubert wrote:

On 17.07.2004, at 13:42, Devon H. O'Dell wrote:

This probably isn't the most clean fix for this problem (it'd be nice to put it in the comparison section of the for (;;) loop), but the following diff should fix this problem.

--Devon

This might introduce unwanted visibility in jail()ed parts of the system. Maybe
if (!ps_showallthreads || suser_proc(p))
would be a better solution. Untested, no warranty included.


cheers
  simon


Hiten has a revised patch at http://leaf.dragonflybsd.org/~hmp/ps_allthreads.diff that seems to work well.


--Devon



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