PERFORCE change 93661 for review
Todd Miller
millert at FreeBSD.org
Mon Mar 20 20:49:23 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=93661
Change 93661 by millert at 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);
More information about the trustedbsd-cvs
mailing list