thread impersonation
John Baldwin
jhb at freebsd.org
Mon Sep 19 12:41:21 UTC 2011
On Monday, September 19, 2011 7:50:04 am Gonzalo wrote:
> What i'm trying to achieve is a program like NFS. Users will connect to this
> program and navigate the virtual filesystem. Each connection is a thread,
> and I need to impersonate them for the user associated to each connection,
> if I use setuid, all thread in the process would be impersonated. In Linux I
> achieved that using "setfsid" but that doesn't exists here in FreeBSD
Yes, per-thread credentials don't exist yet. You can try asking
zml at FreeBSD.org as he was planning to work on that, but I don't know if he has
a patch available. rwatson@ is another good person to ask about this.
--
John Baldwin
More information about the freebsd-threads
mailing list