PERFORCE change 86484 for review
Todd Miller
millert at FreeBSD.org
Tue Nov 8 20:20:35 GMT 2005
http://perforce.freebsd.org/chv.cgi?CH=86484
Change 86484 by millert at millert_ibook on 2005/11/08 20:19:58
Don't pass uninitialized data from sebsd_check_ipc_method1()
to avc_has_perm_audit() for the audit data. Just send in NULL.
Affected files ...
.. //depot/projects/trustedbsd/sedarwin7/src/sedarwin/sedarwin/ss/mach_av.c#8 edit
Differences ...
==== //depot/projects/trustedbsd/sedarwin7/src/sedarwin/sedarwin/ss/mach_av.c#8 (text+ko) ====
@@ -69,7 +69,6 @@
sebsd_check_ipc_method1(int subj, int obj, int msgid)
{
struct msgid_classinfo *mcl;
- struct av_decision ad;
access_vector_t perms;
int cl;
@@ -88,5 +87,5 @@
perms = (access_vector_t)1 <<
(msgid - mcl->baseid - (cl * 8 * sizeof(access_vector_t)));
- return avc_has_perm_audit(subj, obj, mcl->classes[cl], perms, &ad);
+ return avc_has_perm_audit(subj, obj, mcl->classes[cl], perms, NULL);
}
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