Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Mar 2006 20:47:23 GMT
From:      Todd Miller <millert@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 93661 for review
Message-ID:  <200603202047.k2KKlNR1061701@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603202047.k2KKlNR1061701>