Date: Tue, 27 Aug 2002 22:16:58 -0700 (PDT) From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 16684 for review Message-ID: <200208280516.g7S5Gw4x076037@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208280516.g7S5Gw4x076037>