From owner-p4-projects Fri Aug 16 7:10:25 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 008D137B401; Fri, 16 Aug 2002 07:10:15 -0700 (PDT) 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 82FC437B400 for ; Fri, 16 Aug 2002 07:10:15 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F03843E7B for ; Fri, 16 Aug 2002 07:10:15 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from freefall.freebsd.org (perforce@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7GEAEJU006505 for ; Fri, 16 Aug 2002 07:10:15 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7GEAEm4006502 for perforce@freebsd.org; Fri, 16 Aug 2002 07:10:14 -0700 (PDT) Date: Fri, 16 Aug 2002 07:10:14 -0700 (PDT) Message-Id: <200208161410.g7GEAEm4006502@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson Subject: PERFORCE change 16112 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://people.freebsd.org/~peter/p4db/chv.cgi?CH=16112 Change 16112 by rwatson@rwatson_tislabs on 2002/08/16 07:09:59 Add empty mpo_syscall() implementations for mac_none and mac_test, since they do this for all entry points. Affected files ... .. //depot/projects/trustedbsd/mac/sys/security/mac_none/mac_none.c#68 edit .. //depot/projects/trustedbsd/mac/sys/security/mac_test/mac_test.c#37 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/security/mac_none/mac_none.c#68 (text+ko) ==== @@ -98,6 +98,13 @@ } +static int +mac_none_syscall(struct thread *td, int call, void *arg) +{ + + return (0); +} + /* * Label operations. */ @@ -910,6 +917,8 @@ (macop_t)mac_none_destroy }, { MAC_INIT, (macop_t)mac_none_init }, + { MAC_SYSCALL, + (macop_t)mac_none_syscall }, { MAC_INIT_BPFDESC, (macop_t)mac_none_init_bpfdesc }, { MAC_INIT_CRED, ==== //depot/projects/trustedbsd/mac/sys/security/mac_test/mac_test.c#37 (text+ko) ==== @@ -187,6 +187,13 @@ } +static int +mac_test_syscall(struct thread *td, int call, void *arg) +{ + + return (0); +} + /* * Label operations. */ @@ -1118,6 +1125,8 @@ (macop_t)mac_test_destroy }, { MAC_INIT, (macop_t)mac_test_init }, + { MAC_SYSCALL, + (macop_t)mac_test_syscall }, { MAC_INIT_BPFDESC, (macop_t)mac_test_init_bpfdesc }, { MAC_INIT_CRED, To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message