From owner-p4-projects@FreeBSD.ORG Fri Oct 20 00:32:28 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id E2D8016A4C2; Fri, 20 Oct 2006 00:32:27 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDB0C16A494 for ; Fri, 20 Oct 2006 00:32:27 +0000 (UTC) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C78943D7D for ; Fri, 20 Oct 2006 00:32:27 +0000 (GMT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k9K0WRad079424 for ; Fri, 20 Oct 2006 00:32:27 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k9K0WRJl079421 for perforce@freebsd.org; Fri, 20 Oct 2006 00:32:27 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Fri, 20 Oct 2006 00:32:27 GMT Message-Id: <200610200032.k9K0WRJl079421@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Cc: Subject: PERFORCE change 108138 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Oct 2006 00:32:28 -0000 http://perforce.freebsd.org/chv.cgi?CH=108138 Change 108138 by rwatson@rwatson_zoo on 2006/10/20 00:32:17 Do allow System V IPC and POSIX message queue privileges in Jail. Affected files ... .. //depot/projects/trustedbsd/priv/sys/kern/kern_jail.c#8 edit Differences ... ==== //depot/projects/trustedbsd/priv/sys/kern/kern_jail.c#8 (text+ko) ==== @@ -592,12 +592,12 @@ * The following privileges should be granted to jail once * implemented. */ - /* case PRIV_IPC_READ: */ - /* case PRIV_IPC_WRITE: */ - /* case PRIV_IPC_EXEC: */ - /* case PRIV_IPC_ADMIN: */ - /* case PRIV_IPC_MSGSIZE: */ - /* case PRIV_MQ_ADMIN: */ + case PRIV_IPC_READ: + case PRIV_IPC_WRITE: + case PRIV_IPC_EXEC: + case PRIV_IPC_ADMIN: + case PRIV_IPC_MSGSIZE: + case PRIV_MQ_ADMIN: /* * Jail implements its own inter-process limits, so allow