PERFORCE change 93645 for review
Christian S.J. Peron
csjp at FreeBSD.org
Mon Mar 20 20:06:53 UTC 2006
Todd Miller wrote:
>http://perforce.freebsd.org/chv.cgi?CH=93645
>
>Change 93645 by millert at 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 at FreeBSD.ORG
FreeBSD Committer
FreeBSD Security Team
More information about the trustedbsd-cvs
mailing list