Date: Thu, 13 Nov 2003 07:36:31 -0800 (PST) From: Andrew Reisse <areisse@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 42243 for review Message-ID: <200311131536.hADFaVGr023942@repoman.freebsd.org>
index | next in thread | raw e-mail
http://perforce.freebsd.org/chv.cgi?CH=42243 Change 42243 by areisse@areisse_ibook on 2003/11/13 07:35:33 call mac_execve and mac_syscall Affected files ... .. //depot/projects/trustedbsd/sedarwin/libmac/mac.c#2 edit .. //depot/projects/trustedbsd/sedarwin/libmac/mac_exec.c#2 edit Differences ... ==== //depot/projects/trustedbsd/sedarwin/libmac/mac.c#2 (text+ko) ==== @@ -460,3 +460,8 @@ } return (1); } + +int mac_syscall (const char *policy, int call, void *arg) +{ + return syscall (346, policy, call, arg); +} ==== //depot/projects/trustedbsd/sedarwin/libmac/mac_exec.c#2 (text+ko) ==== @@ -34,12 +34,8 @@ #include <sys/types.h> #include <sys/mac.h> -extern int __mac_execve(char *fname, char **argv, char **envv, - struct mac *mac_p); - int mac_execve(char *fname, char **argv, char **envv, struct mac *label) { - - return (__mac_execve(fname, argv, envv, label)); + return (syscall (342, fname, argv, envv, label)); }help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311131536.hADFaVGr023942>
