Reliable process tracking
Julian Elischer
julian at freebsd.org
Fri Aug 9 03:05:55 UTC 2013
On 8/9/13 11:01 AM, Don Lewis wrote:
> On 9 Aug, Julian Elischer wrote:
>
>> I've been pondering the possibility of appending a universe (jail)
>> number to the
>> UIDS, PIDS and various other things. (classes maybe?).
>>
>> It wouldn't have to be everywhere, but ther eare a number of places
>> where comparisons would
>> DTRT if they were comparing "my_jail+my_uid" with "his_jail+his_uid",
>> instead of just the UIDs.
>> It would also help with the "multiple roots" problem, and might
>> simplify some of the current code.
> If that's all you want, then why not just compare
> proc1->p_fd->fd_jdir to proc2->p_fd->fd_jdir
> for the jail check?
>
>
>
because multiple jails can have the same root directory?
there are other tests one can do too, if one is willing to do multiple
tests everywhere.
More information about the freebsd-arch
mailing list