From owner-freebsd-threads@FreeBSD.ORG Mon Sep 12 19:55:51 2011 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B826106566B for ; Mon, 12 Sep 2011 19:55:51 +0000 (UTC) (envelope-from gonzalo.a.r@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id C92F78FC15 for ; Mon, 12 Sep 2011 19:55:50 +0000 (UTC) Received: by wwe3 with SMTP id 3so2579828wwe.31 for ; Mon, 12 Sep 2011 12:55:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=g5N97VjydrPDAdFdMH5Kk/hBpJihwWETsXy+ERiiySo=; b=bMgx+ph5JTUARshu6ITCW9tGX7uyaFCzBHbp5V1rMhz4N6FZav8FMfj4UYPnfdMni4 4KkTj2Z6RSWkODPDZiFuaAoXxRrHo1Cp3TMKkdMK01EpOs2Xu268ZSz+Zt7pKfo2icFi rTWxJf+Nfa7sXvOXhUP7OVrpMEKBthE8ykEPQ= MIME-Version: 1.0 Received: by 10.216.156.138 with SMTP id m10mr187513wek.63.1315855863791; Mon, 12 Sep 2011 12:31:03 -0700 (PDT) Received: by 10.216.168.208 with HTTP; Mon, 12 Sep 2011 12:31:03 -0700 (PDT) Date: Mon, 12 Sep 2011 16:31:03 -0300 Message-ID: From: Gonzalo To: freebsd-threads@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: thread impersonation X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2011 19:55:51 -0000 Hello guys. 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 :( 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 :( Thanks in advance ;) Gonzalo