From owner-cvs-src-old@FreeBSD.ORG Thu Feb 3 11:40:00 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 793F71065679 for ; Thu, 3 Feb 2011 11:40:00 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 649F88FC0C for ; Thu, 3 Feb 2011 11:40:00 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p13Be0VD078659 for ; Thu, 3 Feb 2011 11:40:00 GMT (envelope-from pjd@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p13Be0Zh078658 for cvs-src-old@freebsd.org; Thu, 3 Feb 2011 11:40:00 GMT (envelope-from pjd@repoman.freebsd.org) Message-Id: <201102031140.p13Be0Zh078658@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to pjd@repoman.freebsd.org using -f From: Pawel Jakub Dawidek Date: Thu, 3 Feb 2011 11:39:49 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/hastd control.c hast.h hastd.c primary.c secondary.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Feb 2011 11:40:00 -0000 pjd 2011-02-03 11:39:49 UTC FreeBSD src repository Modified files: sbin/hastd control.c hast.h hastd.c primary.c secondary.c Log: SVN rev 218218 on 2011-02-03 11:39:49Z by pjd Setup another socketpair between parent and child, so that primary sandboxed worker can ask the main privileged process to connect in worker's behalf and then we can migrate descriptor using this socketpair to worker. This is not really needed now, but will be needed once we start to use capsicum for sandboxing. MFC after: 1 week Revision Changes Path 1.12 +4 -0 src/sbin/hastd/control.c 1.9 +3 -1 src/sbin/hastd/hast.h 1.34 +64 -0 src/sbin/hastd/hastd.c 1.54 +60 -30 src/sbin/hastd/primary.c 1.25 +12 -0 src/sbin/hastd/secondary.c