Date: Sun, 5 Feb 2006 23:22:42 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 91194 for review Message-ID: <200602052322.k15NMgH1082587@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=91194 Change 91194 by rwatson@rwatson_peppercorn on 2006/02/05 23:21:54 Make syscalls.xenix consistent with other mappings of system calls to audit event identifiers: remove signal receive related events which are actually defined as AUE_NULL. Convert xenix_eaccess() to AUE_EACCESS. Affected files ... .. //depot/projects/trustedbsd/audit3/sys/i386/ibcs2/ibcs2_xenix.h#4 edit .. //depot/projects/trustedbsd/audit3/sys/i386/ibcs2/ibcs2_xenix_syscall.h#4 edit .. //depot/projects/trustedbsd/audit3/sys/i386/ibcs2/ibcs2_xenix_sysent.c#4 edit .. //depot/projects/trustedbsd/audit3/sys/i386/ibcs2/syscalls.xenix#4 edit Differences ... ==== //depot/projects/trustedbsd/audit3/sys/i386/ibcs2/ibcs2_xenix.h#4 (text+ko) ==== ==== //depot/projects/trustedbsd/audit3/sys/i386/ibcs2/ibcs2_xenix_syscall.h#4 (text+ko) ==== ==== //depot/projects/trustedbsd/audit3/sys/i386/ibcs2/ibcs2_xenix_sysent.c#4 (text+ko) ==== @@ -28,7 +28,7 @@ { AS(xenix_rdchk_args), (sy_call_t *)xenix_rdchk, AUE_NULL }, /* 7 = xenix_rdchk */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 8 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 9 = nosys */ - { SYF_MPSAFE | AS(xenix_chsize_args), (sy_call_t *)xenix_chsize, AUE_NULL }, /* 10 = xenix_chsize */ + { SYF_MPSAFE | AS(xenix_chsize_args), (sy_call_t *)xenix_chsize, AUE_FTRUNCATE }, /* 10 = xenix_chsize */ { SYF_MPSAFE | AS(xenix_ftime_args), (sy_call_t *)xenix_ftime, AUE_NULL }, /* 11 = xenix_ftime */ { SYF_MPSAFE | AS(xenix_nap_args), (sy_call_t *)xenix_nap, AUE_NULL }, /* 12 = xenix_nap */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 13 = xenix_sdget */ @@ -55,12 +55,12 @@ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 34 = xenix_unexecseg */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 35 = nosys */ { SYF_MPSAFE | AS(select_args), (sy_call_t *)select, AUE_SELECT }, /* 36 = select */ - { SYF_MPSAFE | AS(xenix_eaccess_args), (sy_call_t *)xenix_eaccess, AUE_NULL }, /* 37 = xenix_eaccess */ + { SYF_MPSAFE | AS(xenix_eaccess_args), (sy_call_t *)xenix_eaccess, AUE_EACCESS }, /* 37 = xenix_eaccess */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 38 = xenix_paccess */ - { SYF_MPSAFE | AS(ibcs2_sigaction_args), (sy_call_t *)ibcs2_sigaction, AUE_SIGACTION }, /* 39 = ibcs2_sigaction */ - { SYF_MPSAFE | AS(ibcs2_sigprocmask_args), (sy_call_t *)ibcs2_sigprocmask, AUE_SIGPROCMASK }, /* 40 = ibcs2_sigprocmask */ - { SYF_MPSAFE | AS(ibcs2_sigpending_args), (sy_call_t *)ibcs2_sigpending, AUE_SIGPENDING }, /* 41 = ibcs2_sigpending */ - { SYF_MPSAFE | AS(ibcs2_sigsuspend_args), (sy_call_t *)ibcs2_sigsuspend, AUE_SIGSUSPEND }, /* 42 = ibcs2_sigsuspend */ + { SYF_MPSAFE | AS(ibcs2_sigaction_args), (sy_call_t *)ibcs2_sigaction, AUE_NULL }, /* 39 = ibcs2_sigaction */ + { SYF_MPSAFE | AS(ibcs2_sigprocmask_args), (sy_call_t *)ibcs2_sigprocmask, AUE_NULL }, /* 40 = ibcs2_sigprocmask */ + { SYF_MPSAFE | AS(ibcs2_sigpending_args), (sy_call_t *)ibcs2_sigpending, AUE_NULL }, /* 41 = ibcs2_sigpending */ + { SYF_MPSAFE | AS(ibcs2_sigsuspend_args), (sy_call_t *)ibcs2_sigsuspend, AUE_NULL }, /* 42 = ibcs2_sigsuspend */ { AS(ibcs2_getgroups_args), (sy_call_t *)ibcs2_getgroups, AUE_GETGROUPS }, /* 43 = ibcs2_getgroups */ { AS(ibcs2_setgroups_args), (sy_call_t *)ibcs2_setgroups, AUE_SETGROUPS }, /* 44 = ibcs2_setgroups */ { SYF_MPSAFE | AS(ibcs2_sysconf_args), (sy_call_t *)ibcs2_sysconf, AUE_NULL }, /* 45 = ibcs2_sysconf */ ==== //depot/projects/trustedbsd/audit3/sys/i386/ibcs2/syscalls.xenix#4 (text+ko) ==== @@ -17,7 +17,7 @@ 7 AUE_NULL STD { int xenix_rdchk(int fd); } 8 AUE_NULL UNIMPL nosys 9 AUE_NULL UNIMPL nosys -10 AUE_NULL MSTD { int xenix_chsize(int fd, long size); } +10 AUE_FTRUNCATE MSTD { int xenix_chsize(int fd, long size); } 11 AUE_NULL MSTD { int xenix_ftime(struct timeb *tp); } 12 AUE_NULL MSTD { int xenix_nap(int millisec); } 13 AUE_NULL UNIMPL xenix_sdget @@ -46,16 +46,16 @@ 36 AUE_SELECT MNOPROTO { int select(u_int nd, fd_set *in, \ fd_set *ou, fd_set *ex, \ struct timeval *tv); } -37 AUE_NULL MSTD { int xenix_eaccess(char *path, int flags); } +37 AUE_EACCESS MSTD { int xenix_eaccess(char *path, int flags); } 38 AUE_NULL UNIMPL xenix_paccess -39 AUE_SIGACTION MSTD { int ibcs2_sigaction(int sig, \ +39 AUE_NULL MSTD { int ibcs2_sigaction(int sig, \ struct ibcs2_sigaction *act, \ struct ibcs2_sigaction *oact); } -40 AUE_SIGPROCMASK MSTD { int ibcs2_sigprocmask(int how, \ +40 AUE_NULL MSTD { int ibcs2_sigprocmask(int how, \ ibcs2_sigset_t *set, \ ibcs2_sigset_t *oset); } -41 AUE_SIGPENDING MSTD { int ibcs2_sigpending(ibcs2_sigset_t *mask); } -42 AUE_SIGSUSPEND MSTD { int ibcs2_sigsuspend(ibcs2_sigset_t *mask); } +41 AUE_NULL MSTD { int ibcs2_sigpending(ibcs2_sigset_t *mask); } +42 AUE_NULL MSTD { int ibcs2_sigsuspend(ibcs2_sigset_t *mask); } 43 AUE_GETGROUPS STD { int ibcs2_getgroups(int gidsetsize, \ ibcs2_gid_t *gidset); } 44 AUE_SETGROUPS STD { int ibcs2_setgroups(int gidsetsize, \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602052322.k15NMgH1082587>