summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2006-10-24 13:49:44 +0000
committerrwatson <rwatson@FreeBSD.org>2006-10-24 13:49:44 +0000
commit60192de8e9cae156ec93abdb86136cdf657a1fca (patch)
treea2e55f8fbff081c13c48fedd778f13ed33a87e6c /sys/compat
parent87c4109c0a89467d9de6caa85c0b8e7e279ac25b (diff)
downloadFreeBSD-src-60192de8e9cae156ec93abdb86136cdf657a1fca.zip
FreeBSD-src-60192de8e9cae156ec93abdb86136cdf657a1fca.tar.gz
Hook up audit functions in the freebsd32 compatibility code. It is
believed these likely don't require wrappers. Reported by: sobomax MFC after: 3 days
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/freebsd32/syscalls.master24
1 files changed, 15 insertions, 9 deletions
diff --git a/sys/compat/freebsd32/syscalls.master b/sys/compat/freebsd32/syscalls.master
index 212f597..beeeb22 100644
--- a/sys/compat/freebsd32/syscalls.master
+++ b/sys/compat/freebsd32/syscalls.master
@@ -733,15 +733,21 @@
const struct timespec32 *timeout); }
443 AUE_NULL NOPROTO { int thr_wake(long id); }
444 AUE_MODUNLOAD NOPROTO { int kldunloadf(int fileid, int flags); }
-445 AUE_AUDIT UNIMPL audit
-446 AUE_AUDITON UNIMPL auditon
-447 AUE_GETAUID UNIMPL getauid
-448 AUE_SETAUID UNIMPL setauid
-449 AUE_GETAUDIT UNIMPL getaudit
-450 AUE_SETAUDIT UNIMPL setaudit
-451 AUE_GETAUDIT_ADDR UNIMPL getaudit_addr
-452 AUE_SETAUDIT_ADDR UNIMPL setaudit_addr
-453 AUE_AUDITCTL UNIMPL auditctl
+445 AUE_AUDIT STD { int audit(const void *record, \
+ u_int length); }
+446 AUE_AUDITON STD { int auditon(int cmd, void *data, \
+ u_int length); }
+447 AUE_GETAUID STD { int getauid(uid_t *auid); }
+448 AUE_SETAUID STD { int setauid(uid_t *auid); }
+449 AUE_GETAUDIT STD { int getaudit(struct auditinfo *auditinfo); }
+450 AUE_SETAUDIT STD { int setaudit(struct auditinfo *auditinfo); }
+451 AUE_GETAUDIT_ADDR STD { int getaudit_addr( \
+ struct auditinfo_addr *auditinfo_addr, \
+ u_int length); }
+452 AUE_SETAUDIT_ADDR STD { int setaudit_addr( \
+ struct auditinfo_addr *auditinfo_addr, \
+ u_int length); }
+453 AUE_AUDITCTL STD { int auditctl(char *path); }
454 AUE_NULL STD { int freebsd32_umtx_op(void *obj, int op,\
u_long val, void *uaddr, \
void *uaddr2); }
OpenPOWER on IntegriCloud