Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Aug 2013 20:01:33 -0700 (PDT)
From:      Don Lewis <truckman@FreeBSD.org>
To:        julian@FreeBSD.org
Cc:        freebsd-arch@FreeBSD.org
Subject:   Re: Reliable process tracking
Message-ID:  <201308090301.r7931XDc059355@gw.catspoiler.org>
In-Reply-To: <5203FA18.20403@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308090301.r7931XDc059355>