thread impersonation
Tijl Coosemans
tijl at coosemans.org
Sat Sep 17 13:30:44 UTC 2011
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-threads/attachments/20110917/7c8ad27d/attachment.pgp
More information about the freebsd-threads
mailing list