PERFORCE change 16684 for review

Robert Watson rwatson at freebsd.org
Wed Aug 28 05:16:58 GMT 2002


http://people.freebsd.org/~peter/p4db/chv.cgi?CH=16684

Change 16684 by rwatson at 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 at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list