Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Mar 2006 14:06:17 -0600
From:      "Christian S.J. Peron" <csjp@FreeBSD.org>
To:        Todd Miller <millert@FreeBSD.org>
Cc:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   Re: PERFORCE change 93645 for review
Message-ID:  <441F0B39.3000406@FreeBSD.org>
In-Reply-To: <200603201752.k2KHqO5h027598@repoman.freebsd.org>
References:  <200603201752.k2KHqO5h027598@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Todd Miller wrote:

>http://perforce.freebsd.org/chv.cgi?CH=93645
>
>Change 93645 by millert@millert_p3 on 2006/03/20 17:51:24
>
>	Arg pointer in mac_thread_syscall_{enter,exit} should be
>	register_t * not int *.  Fixes compilation problem on amd64.
>
>Affected files ...
>
>.. //depot/projects/trustedbsd/sebsd/sys/security/mac/mac_system.c#10 edit
>
>Differences ...
>
>==== //depot/projects/trustedbsd/sebsd/sys/security/mac/mac_system.c#10 (text+ko) ====
>
>@@ -282,7 +282,7 @@
> }
> 
> int
>-mac_thread_syscall_enter(struct thread *td, int *args, int code)
>+mac_thread_syscall_enter(struct thread *td, register_t *args, int code)
> {
> 	int error;
> 
>@@ -293,7 +293,7 @@
> }
> 
> void
>-mac_thread_syscall_exit(struct thread *td, int *args, int code, int errcode)
>+mac_thread_syscall_exit(struct thread *td, register_t *args, int code, int errcode)
> {
> 
> 	if (!mac_enforce_syscall)
>
>
>  
>
Does this still build on i386?

-- 
Christian S.J. Peron
csjp@FreeBSD.ORG
FreeBSD Committer
FreeBSD Security Team




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