diff options
author | rwatson <rwatson@FreeBSD.org> | 2006-02-05 23:15:22 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2006-02-05 23:15:22 +0000 |
commit | ee99b2f3a58425626b42f2ec3e08dd2742492b29 (patch) | |
tree | fe11f865c995bb4689cd971aad36eac0de66fd5b /sys/i386/ibcs2/ibcs2_isc_sysent.c | |
parent | 1bebb42407cf0b0fa9c59375846ea50b496221d1 (diff) | |
download | FreeBSD-src-ee99b2f3a58425626b42f2ec3e08dd2742492b29.zip FreeBSD-src-ee99b2f3a58425626b42f2ec3e08dd2742492b29.tar.gz |
Assign audit event identifiers to ibcs2 ISC system calls.
Obtained from: TrustedBSD Project
Diffstat (limited to 'sys/i386/ibcs2/ibcs2_isc_sysent.c')
-rw-r--r-- | sys/i386/ibcs2/ibcs2_isc_sysent.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sys/i386/ibcs2/ibcs2_isc_sysent.c b/sys/i386/ibcs2/ibcs2_isc_sysent.c index 4589e98..a949560 100644 --- a/sys/i386/ibcs2/ibcs2_isc_sysent.c +++ b/sys/i386/ibcs2/ibcs2_isc_sysent.c @@ -21,23 +21,23 @@ struct sysent isc_sysent[] = { { 0, (sy_call_t *)nosys, AUE_NULL }, /* 0 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 1 = isc_setostype */ - { SYF_MPSAFE | AS(ibcs2_rename_args), (sy_call_t *)ibcs2_rename, AUE_NULL }, /* 2 = ibcs2_rename */ + { SYF_MPSAFE | AS(ibcs2_rename_args), (sy_call_t *)ibcs2_rename, AUE_RENAME }, /* 2 = ibcs2_rename */ { SYF_MPSAFE | AS(ibcs2_sigaction_args), (sy_call_t *)ibcs2_sigaction, AUE_NULL }, /* 3 = ibcs2_sigaction */ - { SYF_MPSAFE | AS(ibcs2_sigprocmask_args), (sy_call_t *)ibcs2_sigprocmask, AUE_NULL }, /* 4 = ibcs2_sigprocmask */ + { AS(ibcs2_sigprocmask_args), (sy_call_t *)ibcs2_sigprocmask, AUE_NULL }, /* 4 = ibcs2_sigprocmask */ { SYF_MPSAFE | AS(ibcs2_sigpending_args), (sy_call_t *)ibcs2_sigpending, AUE_NULL }, /* 5 = ibcs2_sigpending */ - { SYF_MPSAFE | AS(getgroups_args), (sy_call_t *)getgroups, AUE_NULL }, /* 6 = getgroups */ - { SYF_MPSAFE | AS(setgroups_args), (sy_call_t *)setgroups, AUE_NULL }, /* 7 = setgroups */ - { SYF_MPSAFE | AS(ibcs2_pathconf_args), (sy_call_t *)ibcs2_pathconf, AUE_NULL }, /* 8 = ibcs2_pathconf */ - { SYF_MPSAFE | AS(ibcs2_fpathconf_args), (sy_call_t *)ibcs2_fpathconf, AUE_NULL }, /* 9 = ibcs2_fpathconf */ + { SYF_MPSAFE | AS(getgroups_args), (sy_call_t *)getgroups, AUE_GETGROUPS }, /* 6 = getgroups */ + { SYF_MPSAFE | AS(setgroups_args), (sy_call_t *)setgroups, AUE_SETGROUPS }, /* 7 = setgroups */ + { SYF_MPSAFE | AS(ibcs2_pathconf_args), (sy_call_t *)ibcs2_pathconf, AUE_PATHCONF }, /* 8 = ibcs2_pathconf */ + { SYF_MPSAFE | AS(ibcs2_fpathconf_args), (sy_call_t *)ibcs2_fpathconf, AUE_FPATHCONF }, /* 9 = ibcs2_fpathconf */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 10 = nosys */ - { SYF_MPSAFE | AS(ibcs2_wait_args), (sy_call_t *)ibcs2_wait, AUE_NULL }, /* 11 = ibcs2_wait */ - { SYF_MPSAFE | 0, (sy_call_t *)setsid, AUE_NULL }, /* 12 = setsid */ - { SYF_MPSAFE | 0, (sy_call_t *)getpid, AUE_NULL }, /* 13 = getpid */ + { SYF_MPSAFE | AS(ibcs2_wait_args), (sy_call_t *)ibcs2_wait, AUE_WAIT4 }, /* 11 = ibcs2_wait */ + { SYF_MPSAFE | 0, (sy_call_t *)setsid, AUE_SETSID }, /* 12 = setsid */ + { SYF_MPSAFE | 0, (sy_call_t *)getpid, AUE_GETPID }, /* 13 = getpid */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 14 = isc_adduser */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 15 = isc_setuser */ { SYF_MPSAFE | AS(ibcs2_sysconf_args), (sy_call_t *)ibcs2_sysconf, AUE_NULL }, /* 16 = ibcs2_sysconf */ { SYF_MPSAFE | AS(ibcs2_sigsuspend_args), (sy_call_t *)ibcs2_sigsuspend, AUE_NULL }, /* 17 = ibcs2_sigsuspend */ - { SYF_MPSAFE | AS(ibcs2_symlink_args), (sy_call_t *)ibcs2_symlink, AUE_NULL }, /* 18 = ibcs2_symlink */ - { SYF_MPSAFE | AS(ibcs2_readlink_args), (sy_call_t *)ibcs2_readlink, AUE_NULL }, /* 19 = ibcs2_readlink */ + { SYF_MPSAFE | AS(ibcs2_symlink_args), (sy_call_t *)ibcs2_symlink, AUE_SYMLINK }, /* 18 = ibcs2_symlink */ + { SYF_MPSAFE | AS(ibcs2_readlink_args), (sy_call_t *)ibcs2_readlink, AUE_READLINK }, /* 19 = ibcs2_readlink */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 20 = isc_getmajor */ }; |