Date: Sat, 17 Sep 2011 15:51:47 -0300 From: Gonzalo <gonzalo.a.r@gmail.com> To: Tijl Coosemans <tijl@coosemans.org> Cc: freebsd-threads@freebsd.org Subject: Re: thread impersonation Message-ID: <CA%2B02-EEOXcuNwjFMMS-6_Z0MB3kG2SAg5SOFq2KUx1wG0Tn75w@mail.gmail.com> In-Reply-To: <201109171520.09423.tijl@coosemans.org> References: <CA%2B02-EGUyKuCeRVoy36u2Ubnu7JJxvXtFzp3FzCFEGdNd-DGgQ@mail.gmail.com> <201109171520.09423.tijl@coosemans.org>
next in thread | previous in thread | raw e-mail | index | archive | help
So, as a imagined, is not possible a thread impersonation on FreeBSD? 2011/9/17 Tijl Coosemans <tijl@coosemans.org> > On Monday 12 September 2011 21:31:03 Gonzalo wrote: > > I'm new in freeBSD and I'm looking a way to impersonate threads in > FreeBSD. > > In Linux I did that with setfsuid, but that only work in linux and is not > > portable :( > > There's seteuid(2) or setuid(2) which are portable. They change the uid of > the entire process though, not per thread. > > > I saw that in FreeBSD there is Jails, that could work? Is possible to > create > > a Jail for every new thread and "impersonate the Jail"? Maybe I'm saying > > things without sense :( > > A jail is a form of virtualisation. It's not related to what you're trying > to do. You can read more about jails in the handbook: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-intro.html >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B02-EEOXcuNwjFMMS-6_Z0MB3kG2SAg5SOFq2KUx1wG0Tn75w>