From owner-p4-projects Tue Aug 27 22:17: 5 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id E1DF237B401; Tue, 27 Aug 2002 22:16:59 -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 70F1337B400 for ; Tue, 27 Aug 2002 22:16:59 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B44443E3B for ; Tue, 27 Aug 2002 22:16:59 -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 g7S5GxJU076040 for ; Tue, 27 Aug 2002 22:16:59 -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 g7S5Gw4x076037 for perforce@freebsd.org; Tue, 27 Aug 2002 22:16:58 -0700 (PDT) Date: Tue, 27 Aug 2002 22:16:58 -0700 (PDT) Message-Id: <200208280516.g7S5Gw4x076037@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 16684 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=16684 Change 16684 by rwatson@rwatson_paprika on 2002/08/27 22:16:33 Adopt consistent sorting of new pre-syscall entry point as found in mac (store with other process-related entry points rather than in the access control section). Affected files ... .. //depot/projects/trustedbsd/mac/sys/sys/mac_policy.h#122 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/sys/mac_policy.h#122 (text+ko) ==== @@ -222,6 +222,7 @@ struct vnode *vp, struct label *vnodelabel); void (*mpo_create_proc0)(struct ucred *cred); void (*mpo_create_proc1)(struct ucred *cred); + void (*mpo_pre_syscall_return)(void); void (*mpo_relabel_cred)(struct ucred *cred, struct label *newlabel); @@ -349,7 +350,6 @@ int (*mpo_check_vnode_write)(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *label); - void (*mpo_pre_syscall_return)(void); }; typedef const void *macop_t; @@ -426,6 +426,7 @@ MAC_EXECVE_WILL_TRANSITION, MAC_CREATE_PROC0, MAC_CREATE_PROC1, + MAC_PRE_SYSCALL_RETURN, MAC_RELABEL_CRED, MAC_CHECK_BPFDESC_RECEIVE, MAC_CHECK_CRED_RELABEL, @@ -476,7 +477,6 @@ MAC_CHECK_VNODE_SETUTIMES, MAC_CHECK_VNODE_STAT, MAC_CHECK_VNODE_WRITE, - MAC_PRE_SYSCALL_RETURN, }; struct mac_policy_op_entry { To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message