From owner-p4-projects@FreeBSD.ORG Tue Jan 13 19:37:23 2009 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 41B1D1065675; Tue, 13 Jan 2009 19:37:23 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 020A91065670 for ; Tue, 13 Jan 2009 19:37:23 +0000 (UTC) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E2F078FC19 for ; Tue, 13 Jan 2009 19:37:22 +0000 (UTC) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n0DJbMqr075649 for ; Tue, 13 Jan 2009 19:37:22 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n0DJbMRX075647 for perforce@freebsd.org; Tue, 13 Jan 2009 19:37:22 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Tue, 13 Jan 2009 19:37:22 GMT Message-Id: <200901131937.n0DJbMRX075647@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 156109 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: Tue, 13 Jan 2009 19:37:24 -0000 http://perforce.freebsd.org/chv.cgi?CH=156109 Change 156109 by rwatson@rwatson_freebsd_capabilities on 2009/01/13 19:37:09 Add an explicit sy_flags field to make up for the removal of the previously abused and overloaded sy_count field. Define the SYF_CAPENABLED flag again. Affected files ... .. //depot/projects/trustedbsd/capabilities/src/sys/sys/sysent.h#4 edit Differences ... ==== //depot/projects/trustedbsd/capabilities/src/sys/sys/sysent.h#4 (text+ko) ==== @@ -60,8 +60,14 @@ /* optional argument conversion function. */ u_int32_t sy_entry; /* DTrace entry ID for systrace. */ u_int32_t sy_return; /* DTrace return ID for systrace. */ + u_int32_t sy_flags; /* General flags for system calls. */ }; +/* + * struct sysent flags + */ +#define SYF_CAPENABLED 0x00000001 + struct image_params; struct __sigset; struct trapframe;