From owner-p4-projects@FreeBSD.ORG Mon Mar 20 20:47: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 980DF16A43B; Mon, 20 Mar 2006 20:47:28 +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 75B2916A434 for ; Mon, 20 Mar 2006 20:47:28 +0000 (UTC) (envelope-from millert@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18A9743D66 for ; Mon, 20 Mar 2006 20:47:24 +0000 (GMT) (envelope-from millert@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k2KKlNJQ061704 for ; Mon, 20 Mar 2006 20:47:23 GMT (envelope-from millert@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k2KKlNR1061701 for perforce@freebsd.org; Mon, 20 Mar 2006 20:47:23 GMT (envelope-from millert@freebsd.org) Date: Mon, 20 Mar 2006 20:47:23 GMT Message-Id: <200603202047.k2KKlNR1061701@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to millert@freebsd.org using -f From: Todd Miller To: Perforce Change Reviews Cc: Subject: PERFORCE change 93661 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: Mon, 20 Mar 2006 20:47:28 -0000 http://perforce.freebsd.org/chv.cgi?CH=93661 Change 93661 by millert@millert_p3 on 2006/03/20 20:47:12 Update prototypes for {mac,mpo}_thread_syscall_{enter,exit} Affected files ... .. //depot/projects/trustedbsd/sebsd/sys/sys/mac.h#24 edit .. //depot/projects/trustedbsd/sebsd/sys/sys/mac_policy.h#19 edit Differences ... ==== //depot/projects/trustedbsd/sebsd/sys/sys/mac.h#24 (text+ko) ==== @@ -441,8 +441,8 @@ int mac_check_system_swapoff(struct ucred *cred, struct vnode *vp); int mac_check_system_sysctl(struct ucred *cred, struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req); -int mac_thread_syscall_enter(struct thread *td, int *args, int code); -void mac_thread_syscall_exit(struct thread *td, int *args, int code, +int mac_thread_syscall_enter(struct thread *td, register_t *args, int code); +void mac_thread_syscall_exit(struct thread *td, register_t *args, int code, int errcode); int mac_check_vnode_access(struct ucred *cred, struct vnode *vp, int acc_mode); ==== //depot/projects/trustedbsd/sebsd/sys/sys/mac_policy.h#19 (text+ko) ==== @@ -544,8 +544,8 @@ struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req); void (*_mpo_placeholder23)(void); - int (*mpo_thread_syscall_enter)(struct thread *td, int *args, int code); - void (*mpo_thread_syscall_exit)(struct thread *td, int *args, int code, + int (*mpo_thread_syscall_enter)(struct thread *td, register_t *args, int code); + void (*mpo_thread_syscall_exit)(struct thread *td, register_t *args, int code, int error); int (*mpo_check_vnode_access)(struct ucred *cred, struct vnode *vp, struct label *label, int acc_mode);