Date: Sun, 30 Jan 2005 18:23:12 GMT From: Wayne Salamon <wsalamon@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 69995 for review Message-ID: <200501301823.j0UINChm041835@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=69995 Change 69995 by wsalamon@rickenbacker on 2005/01/30 18:22:23 Replace syscall() call with direct call to auditctl(). Affected files ... .. //depot/projects/trustedbsd/audit3/tools/regression/audit/test/lib/audittest.c#3 edit Differences ... ==== //depot/projects/trustedbsd/audit3/tools/regression/audit/test/lib/audittest.c#3 (text+ko) ==== @@ -30,7 +30,6 @@ #include <stdbool.h> #include <stdlib.h> #include <fcntl.h> -#include <sys/syscall.h> #include <sys/types.h> #include <sys/stat.h> #include <bsm/audit.h> @@ -81,7 +80,7 @@ auinfo.ai_termid.port = INITIAL_PORT; auinfo.ai_termid.machine = INITIAL_MACHINE; - ret = syscall(SYS_setaudit, &auinfo); + ret = setaudit(&auinfo); if (ret != 0) { perror("setaudit() failed"); exit(-1);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501301823.j0UINChm041835>